Add more hurd exception to local headers list
[glibc.git] / ChangeLog
blob9ed2ebd629e9f6954f3c9d642532a7dfef47f6be
1 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
4         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
5         i386-linux-gnu).
7 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9         [BZ #20178]
10         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
11         on failure instead of exit.
13 2016-05-30  Roland McGrath  <roland@hack.frob.com>
15         [BZ #3629]
16         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17         of POSIX.1-2008.
19 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
22           Use PLT entry for calling _hurd_self_sigstate.
24 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
26         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
27         available logical processors with SMT level type sharing L2
28         cache for Intel processors.
30 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
32         [BZ #20160]
33         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
34         argument to itself before returning the result.
35         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
36         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
37         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
38         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
39         Likewise.
40         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
41         Likewise.
42         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
43         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
44         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
45         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
46         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
47         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
49         [BZ #20160]
50         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
51         argument to itself before returning the result.
52         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
53         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
54         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
55         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
56         Likewise.
57         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
58         Likewise.
59         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
60         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
61         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
62         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
63         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
64         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
66 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
68         * libm-test.inc: Replace usage of M_El with
69         (lit_e): New macro.
71 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
73         * libm-test.inc: Replace usage of M_PI_4l with
74         (lit_pi_4_d): New macro.
76 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
78         * libm-test.inc: Replace usage of M_PIl with
79         (lit_pi): New macro.
81 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
83         * libm-test.inc: Replace usage of M_PI2l with
84         (lit_pi_2_d): New macro.
86         * math/test-double.h (LITM): New macro.
87         * math/test-float.h (LITM): Likewise.
88         * math/test-ldouble.h (LITM): Likewise.
90 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
92         * libm-test.inc (M_PI_34l): Rename to
93         (lit_pi_3_m_4_d): New Macro.
94         (M_PI_34_LOG10El): Rename to
95         (lit_pi_3_m_4_ln10_m_d): New Macro.
96         (M_PI2_LOG10El): Rename to
97         (lit_pi_2_ln10_m_d):  New Macro.
98         (M_PI4_LOG10El): Rename to
99         (lit_pi_4_ln10_m_d):  New Macro.
100         (M_PI_LOG10El): Rename to
101         (lit_pi_ln10_d):  New Macro.
103 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
105         [BZ #20157]
106         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
107         determine whether to negate low half if [_ARCH_PPCGR], and integer
108         comparison otherwise.
109         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
110         determine whether to negate low half.
112         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
113         (NO_TEST_INLINE_DOUBLE): Likewise.
114         (TEST_COND_x86_64): Likewise.
115         (TEST_COND_x86): Likewise.
116         (M_PI_6l): Likewise.
118 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
120         * math/libm-test.inc:
121         (TEST_FLOAT): Change usage to TEST_COND_binary32.
122         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
123         (TEST_LDOUBLE): Update usage to evaluate as true if
124         the guarded tests match the property being tested.
125         (LDBL_MAX_EXP): Change to MAX_EXP.
126         (LDBL_MIN_EXP): Change to MIN_EXP.
127         (LDBL_MANT_DIG): Change to MANT_DIG, except for
128         nexttoward tests.
130 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
132         * math/libm-test.inc:
133         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
134         (TYPE_MIN): Likewise.
135         (TYPE_TRUE_MIN): Likewise.
136         (TYPE_MAX): Likewise.
137         (MIN_EXP): Likewise.
138         (MAX_EXP): Likewise.
139         (MANT_DIG): Likewise.
141         (FSTR_MAX): New macro.
142         (__CONCATX): Likewise.
143         (QTYPE_STR): Likewise.
144         (TEST_COND_binary32): Likewise.
145         (TEST_COND_binary64): Likewise.
146         (TEST_COND_binary128): Likewise.
147         (TEST_COND_ibm128): Likewise.
148         (TEST_COND_intel96): Likewise.
149         (TEST_COND_m68k96): Likewise.
151         (TEST_COND_flt_32): Redefine as equivalent format test macro.
152         (TEST_COND_dbl_64): Likewise.
153         (TEST_COND_ldbl_96_intel): Likewise.
154         (TEST_COND_ldbl_96_m68k): Likewise.
155         (TEST_COND_ldbl_128): Likewise.
156         (TEST_COND_ldbl_128ibm): Likewise.
158         (plus_zero): Redefine using LIT macro.
159         (minus_zero): Likewise.
160         (plus_infty): Redefine as (INF).
161         (minux_infty): Redefine as (-INF).
162         (max_value): Redefine as TYPE_MAX.
163         (min_value): Redefine as TYPE_MIN.
164         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
166         (print_float): Refactor to use snprintf to convert FLOAT values
167         to string. This brings it closer to dropin replacement of strtof
168         for the TS 18661 defined types.
169         (update_stats): Likewise.
170         (print_complex_function_ulps): Likewise.
171         (print_max_error): Likewise.
172         (print_complex_max_error): Likewise.
173         (check_float_internal): Likewise.
175         * math/test-float.h (PREFIX): New macro.
176         (LIT): Likewise.
177         (TYPE_STR): Likewise.
178         (FTOSTR): Likewise.
180         * math/test-double.h (PREFIX): New macro.
181         (LIT): Likewise.
182         (TYPE_STR): Likewise.
183         (FTOSTR): Likewise.
185         * math/test-ldouble.h (PREFIX): New macro.
186         (LIT): Likewise.
187         (TYPE_STR): Likewise.
188         (FTOSTR): Likewise.
190 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
192         [BZ #20156]
193         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
194         to itself when zero or not finite.
195         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
196         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
197         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
198         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
200 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
202         [BZ #20153]
203         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
204         x * x + x for infinities and NaNs.
206         [BZ #20151]
207         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
208         argument to itself before returning result.
209         (__ieee754_y0l): Likewise.
210         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
211         (__ieee754_y1l).
213         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
214         (atan_test_data): Likewise.
215         (ceil_test_data): Likewise.
216         (cos_test_data): Likewise.
217         (cosh_test_data): Likewise.
218         (erf_test_data): Likewise.
219         (exp2_test_data): Likewise.
220         (fabs_test_data): Likewise.
221         (floor_test_data): Likewise.
222         (ilogb_test_data): Likewise.
223         (j0_test_data): Likewise.
224         (j1_test_data): Likewise.
225         (jn_test_data): Likewise.
226         (lgamma_test_data): Likewise.
227         (lrint_test_data): Likewise.
228         (llrint_test_data): Likewise.
229         (logb_test_data): Likewise.
230         (lround_test_data): Likewise.
231         (llround_test_data): Likewise.
232         (nearbyint_test_data): Likewise.
233         (rint_test_data): Likewise.
234         (round_test_data): Likewise.
235         (sin_test_data): Likewise.
236         (sincos_test_data): Likewise.
237         (sinh_test_data): Likewise.
238         (sqrt_test_data): Likewise.
239         (tan_test_data): Likewise.
240         (tanh_test_data): Likewise.
241         (tgamma_test_data): Likewise.
242         (trunc_test_data): Likewise.
243         (y0_test_data): Likewise.
244         (y1_test_data): Likewise.
245         (yn_test_data): Likewise.
247         * math/libm-test.inc: Update comment about NaN testing.
248         (TEST_SNAN): New macro.
249         (snan_value): Likewise.
250         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
251         (fpclassify_test_data): Add sNaN tests.
252         (isfinite_test_data): Likewise.
253         (isinf_test_data): Likewise.
254         (isnan_test_data): Likewise.
255         (isnormal_test_data): Likewise.
256         (issignaling_test_data): Likewise.
257         (signbit_test_data): Likewise.
258         * math/gen-libm-test.pl (%beautify): Add snan_value.
259         (show_exceptions): Add argument $test_snan.
260         (parse_args): Handle snan_value as non-finite.  Update call to
261         show_exceptions.
262         * math/Makefile (libm-test-no-inline-cflags): Add
263         -fsignaling-nans.
265 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
267         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
268         (CFLAGS-oldsendmsg.c): Add rule.
269         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
270         Correct recvmsg symbol name.
271         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
272         Likewise.
274 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
276         * sysdeps/unix/sysv/linux/Makefile
277         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
278         oldsendmmsg.
279         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
280         sendmmsg.
281         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
282         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
283         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
284         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
286         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
287         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
289         Likewise.
290         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
292         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
293         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
294         iovlen and controllen fields to adjust to POSIX specification.
295         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
297         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
298         and change to correct expected type.
299         (msghdr.msg_controllen): Likewise.
300         (cmsghdr.cmsg_len): Likewise.
301         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
302         expected POSIX assumption about the size.
303         (msghdr.msg_controllen): Likewise.
304         (msghdr.__glibc_reserved1): Likewise.
305         (msghdr.__glibc_reserved2): Likewise.
306         (cmsghdr.cmsg_len): Likewise.
307         (cmsghdr.__glibc_reserved1): Likewise.
308         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
309         Add ptw-oldrecvmsg and ptw-oldsendmsg.
310         (CFLAGS-sendmsg.c): Remove rule.
311         (CFLAGS-recvmsg.c): Likewise.
312         (CFLAGS-oldsendmsg.c): Add rule.
313         (CFLAGS-oldrecvmsg.c): Likewise.
314         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
315         recvmsg and sendmsg.
316         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
317         Likewise.
318         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
319         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
320         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
321         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
322         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
323         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
324         Likewise.
325         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
326         Likewise.
327         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
328         Likewise.
329         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
330         Likewise.
331         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
332         Likewise.
333         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
334         Likewise.
335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
336         (GLIBC_2.24): Likewise.
337         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
338         Likewise.
339         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
340         Likewise.
341         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
342         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
343         Likewise.
344         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
345         Likewise.
346         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
347         Likewise.
348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
349         (GLIBC_2.24): Likewise.
350         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
351         Likewise.
352         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
353         Likewise.
354         * sysdeps/unix/sysv/linux/Makefile
355         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
356         (CFLAGS-sendmsg.c): Add rule.
357         (CFLAGS-recvmsg.c): Likewise.
358         (CFLAGS-oldsendmsg.c): Likewise.
359         (CFLAGS-oldrecvmsg.c): Likewise.
360         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
361         initialization.
362         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
363         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
364         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
365         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
366         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
367         iovlen and controllen fields to adjust to POSIX specification.
368         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
369         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
370         added recvmsg and sendmsg.
371         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
384         Likewise.
385         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
387         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
388         Likewise.
389         Likewise.
390         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
399         Likewise.
400         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
403         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
404         from auto-generation.
405         (sendmsg): Likewise.
406         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
407         (sendmsg): Likewise.
408         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
409         (sendmsg): Likewise.
410         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
411         (sendmsg): Likewise.
412         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
413         (sendmsg): Likewise.
414         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
415         (sendmsg): Likewise.
416         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
417         Likewise.
418         (sendmsg): Likewise.
419         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
420         (sendmsg): Likewise.
421         * sysdeps/unix/sysv/linux/i386/kernel-features.h
422         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
423         Remove.
424         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
425         Likewise.
426         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
427         Undefine.
428         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
429         Likewise.
430         * sysdeps/unix/sysv/linux/kernel-features.h
431         (__ASSUME_SENDMSG_SYSCALL): Define.
432         (__ASSUME_RECVMSG_SYSCALL): Likewise.
433         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
434         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
435         Remove.
436         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
437         Likewise.
438         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
439         Undefine.
440         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
441         Likewise.
442         * sysdeps/unix/sysv/linux/s390/kernel-features.h
443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
444         Remove.
445         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
446         Likewise.
447         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
448         Undefine.
449         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
450         Likewise.
451         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
452         (__ASSUME_SENDMSG_SYSCALL): Undefine.
453         (__ASSUME_RECVMSG_SYSCALL): Likewise.
454         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
455         (__ASSUME_SENDMSG_SYSCALL): Likewise.
456         (__ASSUME_RECVMSG_SYSCALL): Likewise.
457         * sysdeps/unix/sysv/linux/sh/kernel-features.h
458         (__ASSUME_SENDMSG_SYSCALL): Likewise.
459         (__ASSUME_RECVMSG_SYSCALL): Likewise.
461 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
463         * stdlib/gen-tst-strtod-round.c: Add backslash to
464         compile command in comment.
465         (printfp): Remove the literal suffix, and define an infinite
466         value as INF to avoid expansion clash with INFINITY.
467         (round_str): Remove the literal suffix.
468         (round_for_all): Likewise, remove the now duplicate ldbl-64
469         entry, and remove some magic constants.
471         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
472         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
473         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
474         (_CONCAT): New macro.
475         (CONCAT): Likewise.
476         (CHOOSE_ld): Likewise.
477         (CHOOSE_f): Likewise.
478         (CHOOSE_d): Likewise.
479         (FTYPE_MEMBER): Likewise.
480         (BOOL_MEMBER): Likewise.
481         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
482         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
483         (_XNTRY): Likewise.
484         (XNTRY): Likewise.
485         (_ENTRY): Likewise.
486         (ENTRY): Likewise.
487         (test_exactness): Generate members via macro.
488         (test_results): Likewise.
489         (test): Update members.
490         (TEST): Redefine using new macros.
491         (INF): New macro.
492         (fetestmodes): New structure.
493         (do_test): Refactor to be type generic.
494         (test_in_one_mode): Refactor duplicate code into
495         (GEN_ONE_TEST): New macro.
497         * stdlib/tst-strtod-round-data.h: Regenerate.
499         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
500         Extend to pass additional arbitrary parameters to
501         generators.
503 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
505         [BZ #15479]
506         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
507         floating-point state after first floating-point operation on
508         input.  Restore full floating-point state instead of just rounding
509         mode.
510         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
511         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
512         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
513         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
514         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
516         [BZ #15479]
517         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
518         floating-point state after first floating-point operation on
519         input.  Restore full floating-point state instead of just rounding
520         mode.
521         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
522         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
523         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
524         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
525         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
527 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
529         [BZ #19727]
530         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
531         valid high surrogate.
532         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
533         of an utf16 surrogate.
534         * iconv/gconv_simple.c (BODY): Likewise.
535         * iconvdata/bug-iconv12.c: New file.
536         * iconvdata/Makefile (tests): Add bug-iconv12.
538 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
540         [BZ #19726]
541         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
542         outptrp in case of an illegal input.
543         * iconv/tst-iconv6.c: New file.
544         * iconv/Makefile (tests): Add tst-iconv6.
546 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
548         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
549         an error in case of a value in range of an utf16 low surrogate.
551 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
553         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
554         an error in case of a value in range of an utf16 low surrogate.
556 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
558         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
559         Move to ...
560         * sysdeps/s390/Makefile: ... here.
561         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
562         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
563         (BRANCH_ON_COUNT): New define.
564         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
565         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
566         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
567         run on s390-32, too.
568         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
569         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
570         run on s390-32, too.
571         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
572         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
573         run on s390-32, too.
575 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
577         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
578         etf3eh or new vector loop-variant.
580 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
582         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
583         etf3eh or new vector loop-variant.
585 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
587         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
588         or new vector loop-variant.
590 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
592         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
593         Rename to TR_LOOP and usage of tr instead of troo instruction.
595 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
597         * sysdeps/s390/multiarch/gconv_simple.c: New File.
598         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
600 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
602         * sysdeps/s390/multiarch/8bit-generic.c: New File.
603         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
604         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
605         New override define.
606         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
608 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
610         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
611         * sysdeps/s390/configure.ac: Add test for S390 vector register
612         support in gcc.
613         * sysdeps/s390/configure: Regenerated.
615 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
617         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
618         Install file from $(objpfx)gconv-modules.
619         ($(objpfx)gconv-modules): Concatenate architecture specific file
620         in variable sysdeps-gconv-modules and gconv-modules in src dir.
621         * sysdeps/s390/gconv-modules: New file.
622         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
623         Deleted.
624         ($(objpfx)gconv-modules-s390): Deleted.
625         (sysdeps-gconv-modules): New variable.
627 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
629         [BZ #15479]
630         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
631         of immediate operand to rounding instruction.
632         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
633         Likewise.
634         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
635         Likewise.
636         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
637         Likewise.
639 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
641         * math/libm-test.inc (MIN_EXP): Directly define as
642         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
644 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
646         * math/libm-test.inc (MANT_DIG): Directly define as
647         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
649 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
651         * stdlib/gen-tst-strtod-round.c (main):
652           Change usage to more closely match the generated
653           output.  Add usage and compilation instructions.
654           (string_to_fp): Add and use FILE* parameter as
655           output target.
656           (print_fp): Likewise.
657           (round_str): Likewise.
658           (round_for_all): Likewise.
659         * stdlib/tst-strtod-round.c (tests): Move into
660         * stdlib/tst-strtod-round-data.h: New file.
662 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
664         [BZ #15479]
665         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
666         (__round): Do not force "inexact" exception.
667         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
668         variable.
669         (__round): Do not force "inexact" exception.
670         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
671         (__roundf): Do not force "inexact" exception.
672         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
673         (__roundl): Do not force "inexact" exception.
674         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
675         (__roundl): Do not force "inexact" exception.
676         * math/libm-test.inc (round_test_data): Do not allow spurious
677         "inexact" exceptions.
679         [BZ #15479]
680         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
681         exception in comment.
682         (huge): Remove variable.
683         (__floor): Do not force "inexact" exception.
684         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
685         "inexact" exception in comment.
686         (huge): Remove variable.
687         (__floor): Do not force "inexact" exception.
688         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
689         exception in comment.
690         (huge): Remove variable.
691         (__floorf): Do not force "inexact" exception.
692         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
693         exception in comment.
694         (huge): Remove variable.
695         (__floorl): Do not force "inexact" exception.
697         [BZ #15479]
698         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
699         exception in comment.
700         (huge): Remove variable.
701         (__ceil): Do not force "inexact" exception.
702         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
703         "inexact" exception in comment.
704         (huge): Remove variable.
705         (__ceil): Do not force "inexact" exception.
706         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
707         (__ceilf): Do not force "inexact" exception.
708         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
709         exception in comment.
710         (huge): Remove variable.
711         (__ceill): Do not force "inexact" exception.
713 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
715         * config.h.in (BIND_NOW): New.
716         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
717         * configure: Regenerated.
718         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
719         indirect branch via the GOT slot.
721 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
723         [BZ #19765]
724         * sysdeps/s390/mempcpy.S: New File.
725         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
726         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
727         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
728         Add mempcpy variants.
729         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
730         (memcpy): Adjust to be usable from mempcpy entry point.
731         (__memcpy_mvcle): Likewise.
732         * sysdeps/s390/s390-64/memcpy.S: Likewise.
733         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
734         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
735         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
736         (__memcpy_z10): Likewise.
737         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
739 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
741         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
742         Remove __GI_ symbol.
743         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
744         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
745         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
746         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
747         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
748         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
750 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
752         * sysdeps/s390/s390-64/memcpy.S (memcpy):
753         Use cghi instead of chi to compare 64bit value.
755 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
757         * sysdeps/s390/s390-32/memcpy.S (memcpy):
758         Jump to 1MB check before executing mvc-loop.
760 2016-05-24  Florian Weimer  <fweimer@redhat.com>
762         [BZ #6527]
763         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
764         unconditionally.
765         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
767 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
769         * stdlib/tst-strtod6.c (do_test): Use new type generic
770         invocation of the test function.
771         (test): Refactor into ...
772         (TEST_STRTOD): New macro base function.
774 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
776         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
777         (TEST_STRTOD): New macro.
778         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
780 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
782         * stdlib/tst-strtod6.c (do_test): Use new type generic
783         invocation of the test function.
784         (test): Refactor into ...
785         (TEST_STRTOD): New macro base function.
787 2016-05-23  Florian Weimer  <fweimer@redhat.com>
789         CVE-2016-4429
790         [BZ #20112]
791         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
792         payload.
794 2016-05-23  Florian Weimer  <fweimer@redhat.com>
796         [BZ #20111]
797         * bits/sockaddr.h (_SS_SIZE): Define.
798         * bits/socket.h (_SS_SIZE): Remove.
799         (_SS_PADSIZE): Adjust to account for all padding.
800         (struct sockaddr_storage): Update comment.  Avoid implicit
801         padding.
802         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
803         (_SS_PADSIZE): Adjust to account for all padding.
804         (struct sockaddr_storage): Update comment.  Avoid implicit
805         padding.
806         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
807         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
808         (_SS_PADSIZE): Adjust to account for all padding.
809         (struct sockaddr_storage): Update comment.  Avoid implicit
810         padding.
811         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
812         __SS_SIZE is 126 in this version.
813         * inet/tst-sockaddr.c: New file.
814         * inet/Makefile (tests): Add tst-sockaddr.c
815         (tst-sockaddr.c): Compile with non-strict aliasing.
817 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
819         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
820         [XPG3 || XPG4].
821         (NL_ARGMAX): Also expect for [XPG3].
822         (NL_LANGMAX): Likewise.
823         (NL_MSGMAX): Likewise.
824         (NL_NMAX): Likewise.
825         (NL_SETMAX): Likewise.
826         (NL_TEXTMAX): Likewise.
827         (NZERO): Likewise.
828         (TMP_MAX): Likewise.
829         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
830         variable.
832         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
833         (PF_MAX): Update value.
834         (AF_KCM): New macro.
835         (SOL_NETBEUI): Likewise.
836         (SOL_LLC): Likewise.
837         (SOL_DCCP): Likewise.
838         (SOL_NETLINK): Likewise.
839         (SOL_TIPC): Likewise.
840         (SOL_RXRPC): Likewise.
841         (SOL_PPPOL2TP): Likewise.
842         (SOL_BLUETOOTH): Likewise.
843         (SOL_PNPIPE): Likewise.
844         (SOL_RDS): Likewise.
845         (SOL_IUCV): Likewise.
846         (SOL_CAIF): Likewise.
847         (SOL_ALG): Likewise.
848         (SOL_NFC): Likewise.
849         (SOL_KCM): Likewise.
850         (MSG_BATCH): New enum value and macro.
852 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
854         [BZ #18185]
855         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
856         sharing L2 cache to 2 for Knights Landing.
858 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
860         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
861         (FTW_DP): Do not expect for [XPG3 || XPG4].
862         (FTW_SL): Do not expect for [XPG3].
863         (FTW_SLN): Likewise.
864         (FTW_PHYS): Likewise.
865         (FTW_MOUNT): Likewise.
866         (FTW_DEPTH): Likewise.
867         (FTW_CHDIR): Likewise.
868         (nftw): Likewise.
869         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
870         variable.
872 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
874         * manual/errno.texi: Fix various typos & grammar errors.
876 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
878         * manual/intro.texi: Fix duplicated typo.
880 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
882         [BZ #13304]
883         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
884         <float.h>, <math_private.h> and <stdlib.h>.
885         (add_split): New function.
886         (mul_split): Likewise.
887         (ext_val): New typedef.
888         (store_ext_val): New function.
889         (mul_ext_val): New function.
890         (compare): New function.
891         (add_split_ext): New function.
892         (__fmal): After checking for Inf, NaN and zero, compute result as
893         an exact sum of scaled double values in round-to-nearest before
894         adding those up and adjusting for other rounding modes.
895         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
896         tests of fma.
897         * math/auto-libm-test-out: Regenerated.
899 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
901         [BZ #20119]
902         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
903         processor level type mask for CPUID with EAX == 11.
905 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
907         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
908         logical threads if the HTT bit is 0.
909         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
910         (index_cpu_HTT): Likewise.
911         (reg_HTT): Likewise.
913 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
915         [BZ #20115]
916         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
917         Remove alignments on jump targets.
919 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
921         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
922         (getpwent): Likewise.
923         (setpwent): Likewise.
924         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
925         variable.
927         * conform/data/search.h-data (insque): Do not expect for [XPG3].
928         (remque): Likewise.
929         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
930         variable.
932 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
934         * math/libm-test.inc: Update comment not to refer to signs of NaNs
935         not being tested.
937 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
940         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
941         call.
942         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
943         (__condvar_cleanup1): Likewise.
945 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
947         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
948         New
949         (__pthread_unwind): Renamed to ...
950         (PTHREAD_UNWIND): This.
951         (__pthread_enable_asynccancel): Replace
952         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
954 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
956         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
957         (CLONE_NEWCGROUP): New macro.
959         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
960         (Q_GETNEXTQUOTA): New macro.
962 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
964         [BZ #19907]
965         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
966         buffer updated by the previous run.
967         * string/test-memcpy.c (do_one_test): Likewise.
968         * benchtests/bench-memmove.c (do_one_test): Add a comment.
969         * string/test-memmove.c (do_one_test): Likewise.
971 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
973         [BZ #20094]
974         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
975         not [__USE_XOPEN].
976         (unlockpt): Likewise.
977         (ptsname): Likewise.
978         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
979         variable.
981         [BZ #20076]
982         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
983         instead of [__USE_UNIX98].
984         (S_ISSOCK): Likewise.
985         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
986         variable.
988         [BZ #20074]
989         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
990         [__USE_POSIX].
991         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
992         variable.
994         [BZ #20051]
995         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
996         (ttyslot): Do not declare.
997         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
998         (ttyslot): New prototype.
999         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
1000         variable.
1001         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1003 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
1005         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
1007 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1009         Fix race condition in tst-mallocfork2, use fewer resources.
1010         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
1011         to current process group.
1012         (signal_sender): Yield in the non-sleeping case.
1014 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
1016         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
1017         (ecvt): Likewise.
1018         (fcvt): Likewise.
1019         (gcvt): Likewise.
1020         (getsubopt): Likewise.
1021         (grantpt): Likewise.
1022         (initstate): Likewise.
1023         (l64a): Likewise.
1024         (mktemp): Likewise.
1025         (mkstemp): Likewise.
1026         (ptsname): Likewise.
1027         (random): Likewise.
1028         (realpath): Likewise.
1029         (setstate): Likewise.
1030         (srandom): Likewise.
1031         (ttyslot): Likewise.
1032         (unlockpt): Likewise.
1033         (valloc): Likewise.
1035         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
1036         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
1037         variable.
1039 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1041         [BZ #20072]
1042         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
1043         init_cpu_features only if SHARED is defined.
1044         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
1046 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
1048         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
1049         non-inclusive caches on Intel processors.
1051 2016-05-13  Florian Weimer  <fweimer@redhat.com>
1053         * malloc/malloc.c (dumped_main_arena_start)
1054         (dumped_main_arena_end): New variables.
1055         (DUMPED_MAIN_ARENA_CHUNK): New macro.
1056         (do_check_chunk): Skip dumped fake mmapped chunks.
1057         (munmap_chunk): Likewise.
1058         (__libc_free): Do not adjust statistics for fake mmapped chunks.
1059         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
1060         mmapped chunks.
1061         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
1062         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
1063         and dumped_main_arena_end to cover the dumped heap.
1065 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
1067         * conform/data/time.h-data (getdate_err): Do not expect for
1068         [XPG3].
1069         (getdate): Likewise.
1070         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
1071         variable.
1073         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
1074         (F_ULOCK): Likewise.
1075         (F_TEST): Likewise.
1076         (F_TLOCK): Likewise.
1077         (useconds_t): Likewise.
1078         (intptr_t): Do not expect for [XPG3] or [XPG4].
1079         (brk): Do not expect for [XPG3]
1080         (fchown): Likewise.
1081         (fchdir): Likewise.
1082         (ftruncate): Likewise.
1083         (getdtablesize): Likewise.
1084         (gethostid): Likewise.
1085         (getpagesize): Likewise.
1086         (getpgid): Likewise.
1087         (getsid): Likewise.
1088         (getwd): Likewise.
1089         (lchown): Likewise.
1090         (lockf): Likewise.
1091         (readlink): Likewise.
1092         (sbrk): Likewise.
1093         (setpgrp): Likewise.
1094         (setregid): Likewise.
1095         (setreuid): Likewise.
1096         (symlink): Likewise.
1097         (sync): Likewise.
1098         (truncate): Likewise.
1099         (ualarm): Likewise.
1100         (usleep): Likewise.
1101         (vfork): Likewise.
1102         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
1103         variable.
1105         [BZ #20054]
1106         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
1107         not [__USE_UNIX98].
1108         * conform/data/unistd.h-data (gethostname): Do not expect for
1109         [XPG3].
1111         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
1112         [!POSIX] (S_IFBLK): Likewise.
1113         [!POSIX] (S_IFCHR): Likewise.
1114         [!POSIX] (S_IFIFO): Likewise.
1115         [!POSIX] (S_IFREG): Likewise.
1116         [!POSIX] (S_IFDIR): Likewise.
1117         [!POSIX] (S_IFLNK): Likewise.
1118         [!POSIX] (S_IFSOCK): Likewise.
1119         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
1120         variable.
1121         (test-xfail-XPG4/fcntl.h/conform): Likewise.
1123 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
1125         * sysdeps/aarch64/memset.S (__memset):
1126         Rewrite of optimized memset.
1128 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1130         [BZ #19703]
1131         Partially async-signal-safe fork for single-threaded processes.
1132         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
1133         variable.  Do not acquire and reset/release malloc and libio locks
1134         in single-threaded processes.
1135         * malloc/tst-mallocfork2.c: New file.
1136         * malloc/Makefile (tests): Add it.
1138 2016-05-12  Florian Weimer  <fweimer@redhat.com>
1140         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
1141         argument.  Use scratch buffer instead of extend_alloca.
1142         (gethosts): Use scratch buffer instead of extend_alloca.
1143         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
1144         extend_alloca.
1145         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
1147 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
1149         [BZ #20055]
1150         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
1151         instead of [__USE_UNIX98].
1152         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
1153         [__USE_UNIX98].
1154         * conform/data/termios.h-data (tcgetsid): Do not expect for
1155         [XPG3].
1156         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
1157         variable.
1158         (test-xfail-XPG4/termios.h/conform): Likewise.
1160 2016-05-11  Florian Weimer  <fweimer@redhat.com>
1162         Do not use mcheck in localedef.
1163         * locale/programs/localedef.c (turn_on_mcheck)
1164         (__malloc_initialize_hook): Remove.
1166 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1168         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
1169         * sysdeps/s390/s390-64/Makefile: Likewise.
1171 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
1173         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
1174         Remove ifunc-defines.sym.
1175         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
1176         Likewise.
1177         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
1178         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
1179         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
1180         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
1181         rtld-global-offsets.sym.
1182         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
1183         * sysdeps/x86/cpu-features-offsets.sym: This.
1184         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
1185         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
1187 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
1189         [BZ #20073]
1190         * io/sys/stat.h (fchmod): Declare for
1191         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
1192         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
1193         variable.
1195         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
1196         [XPG3] (S_IFSOCK): Likewise.
1197         [XPG3] (S_ISVTX): Likewise.
1198         [XPG3] (S_ISLNK): Likewise.
1199         [XPG3] (S_ISSOCK): Likewise.
1200         [XPG3] (fchmod): Likewise.
1201         [XPG3] (lstat): Likewise.
1202         [XPG3] (mknod): Likewise.
1204         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
1205         [XPG3].  Expect type long and XFAIL for [XPG4].
1206         (st_blocks): Likewise.
1208         [BZ #20044]
1209         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
1210         (pthread_atfork): New prototype.
1211         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
1212         variable.
1214         [BZ #20043]
1215         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
1216         prototype.
1218 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1220         [BZ #20017]
1221         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
1222         gmtime.
1224 2016-05-10  Florian Weimer  <fweimer@redhat.com>
1226         [BZ #19994]
1227         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
1228         flag in _res.options.
1230 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
1232         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
1233         [XPG3 || XPG4].
1234         (blksize_t): Likewise.
1235         (clockid_t): Likewise.
1236         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
1237         variable.
1238         (test-xfail-XPG4/sys/types.h/conform): Likewise.
1240 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
1242         * sysdeps/unix/sysv/linux/s390/init-first.c:
1243         Add VDSO_SYMBOL(getcpu).
1244         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
1245         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
1246         Add VDSO_SYMBOL(getcpu).
1247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
1248         New define HAVE_GETCPU_VSYSCALL.
1249         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1251 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
1253         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
1254         instead of <sysdeps/x86_64/cacheinfo.c>.
1255         * sysdeps/x86_64/cacheinfo.c: Moved to ...
1256         * sysdeps/x86/cacheinfo.c: Here.
1258 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1260         * malloc/malloc-internal.h: Adjust header file guard.
1262 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1264         [BZ #19787]
1265         * inet/getnameinfo.c (check_sprintf_result): New function.
1266         (CHECKED_SNPRINTF): New macro.
1267         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
1268         to the host buffer.
1269         (gni_host_local): Use checked_copy to copy the host name.
1270         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
1271         (gni_serv_local): Use checked_copy to copy the service name.
1272         (getnameinfo): Remove unnecessary truncation of result buffers.
1274 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1276         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
1277         in case of inet_ntop failure.
1279 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1281         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
1282         avoid long lines.
1283         (gni_host_inet_numeric): Likewise.  Reduce scope of local
1284         variables.
1285         (gni_host_inet, gni_host_local): Add comment.
1286         (gni_host): Add comment.  Use temporary to avoid long lines.
1288 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1290         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
1291         registers specifiers where general purpose registers specifiers should
1292         have been used.
1294 2016-05-04  Florian Weimer  <fweimer@redhat.com>
1296         [BZ #19779]
1297         CVE-2016-1234
1298         Avoid copying names of directory entries.
1299         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
1300         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
1301         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
1302         (struct readdir_result): New type.
1303         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
1304         (GL_READDIR): New macros.
1305         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
1306         (convert_dirent, convert_dirent64): New functions.
1307         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
1308         convert_dirent64.  Adjust references to the readdir result.
1309         * sysdeps/unix/sysv/linux/i386/glob64.c:
1310         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
1311         * posix/bug-glob2.c (LONG_NAME): Define.
1312         (filesystem): Add LONG_NAME.
1313         (my_DIR): Increase the size of room_for_dirent.
1315 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
1317         [BZ #20041]
1318         * misc/sys/select.h (__need_timespec): Only define if
1319         [__USE_XOPEN2K].
1320         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
1321         variable.
1322         (test-xfail-XPG4/utmpx.h/conform): Likewise.
1323         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1324         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1326 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1327             Segher Boessenkool  <segher@gcc.gnu.org>
1329         [BZ #20004]
1330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
1331         (__novec_swapcontext): Add missing load.
1333 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
1335         [BZ #20023]
1336         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
1337         <time.h>.
1338         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
1339         variable.
1340         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1342 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
1345         flags CLONE_VM compare.
1347 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1349         [BZ #20031]
1350         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
1351         completely empty.
1353 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1355         [BZ #19573]
1356         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
1357         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
1358         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
1359         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
1360         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
1361         (hesiod_free_list): Mark as hidden.
1362         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
1363         res_set, res_get.
1364         * hesiod/hesiod.c: Remove unnecessary forward declarations.
1365         (init, __hesiod_res_get, __hesiod_res_set): Remove.
1366         (hesiod_init): Remove obsolete res_ninit call.
1367         (hesiod_end): Do not free resolver state.  Do not invoke callback.
1368         (hesiod_bind): Do not call init.
1369         (get_txt_records): Use res_mkquery, res_send instead of
1370         res_nmkquery, res_nsend.
1371         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
1372         instead of _nss_hesiod_init.
1373         (_nss_hesiod_initgroups_dyn): Likewise.
1374         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
1375         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
1376         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
1378 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1380         * hesiod/hesiod_p.h (DEF_RHS): Remove.
1381         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
1383 2016-05-02  Florian Weimer  <fweimer@redhat.com>
1385         * hesiod/hesiod.h: Remove RCS keyword.
1386         * hesiod/hesiod_p.h: Likewise.
1388         * hesiod/hesiod.c: Likewise.
1390 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
1392         [BZ #12450]
1393         * locale/iso-639.def: Add Samogitian/sgs.
1395 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
1397         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
1399         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
1401 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
1402             Carlos O'Donell  <carlos@redhat.com>
1404         [BZ #19072]
1405         * grp/Makefile (headers): Add grp-merge.h
1406         (routines): Add grp-merge.
1407         * grp/getgrgid_r.c: Include grp-merge.h.
1408         (DEEPCOPY_FN): Define.
1409         (MERGE_FN): Define.
1410         * grp/getgrname_r.c: Include grp-merge.h.
1411         (DEEPCOPY_FN): Define.
1412         (MERGE_FN): Define.
1413         * grp/grp-merge.c: New file.
1414         * grp/grp-merge.h: New file.
1415         * include/grp-merge.h: New file.
1416         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
1417         __copy_grp@GLIBC_PRIVATE.
1418         * manual/nss.texi (Actions in the NSS configuration): Describe
1419         return, continue, and merge.
1420         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
1421         (DEEPCOPY_FN): Define.
1422         (MERGE_FN): Define.
1423         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
1424         (DEEPCOPY_FN): Define.
1425         (MERGE_FN): Define.
1426         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
1427         [!MERGE_FN]: Define __merge_einval.
1428         (CHECK_MERGE): Define.
1429         (REENTRANT_NAME): Process merge if do_merge is true.
1430         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
1431         (__nss_getent_r): Likewise.
1432         * nss/nsswitch.c (nss_parse_service_list): Likewise.
1433         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
1435 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1437         [BZ #20012]
1438         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
1439         length to calculate the buffer to read.
1440         (fmemopen_write): Set the buffer position based on bytes written.
1441         (fmemopen_seek): Return EINVAL for invalid whence modes.
1443         [BZ #19957]
1444         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
1445         tst-getpid2.
1446         (test): Add tst-clone2.
1447         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
1448         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
1449         pid/tid fields for CLONE_VM.
1450         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1451         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1452         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1453         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
1454         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
1455         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1456         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
1457         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1459         Likewise.
1460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1461         Likewise.
1462         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
1463         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
1464         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
1465         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1466         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1467         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1468         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1469         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
1471 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1473         [BZ #19642]
1474         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
1475         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
1476         (gni_serv_local, gni_serv): New functions extracted from
1477         getnameinfo.
1478         (getnameinfo): Call gni_host and gni_serv to perform the
1479         processing.  Always free scratch buffer.
1481 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1483         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
1484         remaining bytes in the dest string, with zeros.
1486 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1488         [BZ #20010]
1489         CVE-2016-3706
1490         * sysdeps/posix/getaddrinfo.c
1491         (convert_hostent_to_gaih_addrtuple): New function.
1492         (gethosts): Call convert_hostent_to_gaih_addrtuple.
1493         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
1494         AF_INET data.
1496 2016-04-29  Florian Weimer  <fweimer@redhat.com>
1498         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
1499         callback function gl_readdir.
1500         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
1501         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
1502         (glob_in_dir): Remove len.  Use strdup instead of malloc and
1503         memcpy to copy the name.
1504         * manual/pattern.texi (Calling Glob): Document requirements for
1505         implementations of the gl_readdir callback function.
1506         * manual/examples/mkdirent.c: New example.
1507         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
1508         per the manual guidance.
1509         * posix/tst-gnuglob.c (my_readdir): Likewise.
1511 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
1513         [BZ #20014]
1514         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
1515         not [__USE_POSIX].
1516         (getchar_unlocked): Likewise.
1517         (putc_unlocked): Likewise.
1518         (putchar_unlocked): Likewise.
1519         (flockfile): Likewise.
1520         (ftrylockfile): Likewise.
1521         (funlockfile): Likewise.
1522         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
1523         variable.
1524         (test-xfail-XPG4/stdio.h/conform): Likewise.
1526         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
1527         Expect constant.
1528         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
1529         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
1530         variable.
1531         (test-xfail-XPG4/langinfo.h/conform): Likewise.
1532         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1534         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
1535         [__USE_LARGEFILE64] (off64_t): Likewise.
1536         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
1537         variable.
1539 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1541         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
1543 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1545         * resolv/inet_addr.c: Reindent preprocessor conditionals.
1546         * resolv/res_init.c: Likewise.
1547         * resolv/res_mkquery.c: Likewise.
1549 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1551         * resolv/res_init.c (isascii): Do not define.  Use definition in
1552         <ctype.h>.
1553         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
1554         (LOG_AUTH): Remove.
1555         (SPRINTF): Remove, adjust caller.
1556         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
1558 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1560         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
1561         SUNSECURITY conditional.
1562         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
1564 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1566         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
1567         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
1568         Remove BSD-related preprocessor conditionals.
1569         * conf/portability.h: Remove.
1571 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1573         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
1574         * resolv/res_data.c: Likewise.
1576 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1578         * resolv/res_comp.c: Remove code conditional on __ultrix__.
1579         * resolv/res_data.c: Remove code conditional on ultrix.
1581 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1583         * resolv/res_init.c (RFC1535): Do not define.  Remove
1584         RFC1535 preprocessor conditionals.
1585         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
1586         because there configuration options which make the resolver
1587         behavior different.
1589 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1591         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
1592         RESOLVSORT preprocessor conditionals.
1593         * resolv/nss_dns/dns-host.c: Likewise.
1594         * resolv/res_init.c: Likewise.
1596 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1598         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
1599         is never defined.
1601 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1603         * inet/inet_lnaof.c: Remove SCSS keyword.
1604         * inet/inet_mkadr.c: Likewise.
1605         * inet/inet_net.c: Likewise.
1606         * inet/inet_netof.c: Likewise.
1607         * inet/rcmd.c: Likewise.
1608         * inet/rexec.c: Likewise.
1609         * inet/ruserpass.c: Likewise.
1611 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1613         * resolv/inet_addr.c: Remove _LIBC conditionals.
1614         * resolv/res_data.c: Likewise.
1615         * resolv/res_init.c: Likewise.
1616         * resolv/res_mkquery.c: Likewise.
1617         * resolv/res_libc.c: Update comment.
1618         * resolv/README: Update.
1620 2016-04-28  Florian Weimer  <fweimer@redhat.com>
1622         * resolv/gethnamaddr.c: Remove SCSS keyword.
1623         * resolv/herror.c: Likewise.
1624         * resolv/inet_addr.c: Likewise.
1625         * resolv/inet_net_ntop.c: Likewise.
1626         * resolv/inet_net_pton.c: Likewise.
1627         * resolv/inet_neta.c: Likewise.
1628         * resolv/inet_ntop.c: Likewise.
1629         * resolv/inet_pton.c: Likewise.
1630         * resolv/ns_date.c: Remove RCS keyword.
1631         * resolv/ns_name.c: Likewise.
1632         * resolv/ns_netint.c: Likewise.
1633         * resolv/ns_parse.c: Likewise.
1634         * resolv/ns_print.c: Likewise.
1635         * resolv/ns_samedomain.c: Likewise.
1636         * resolv/ns_ttl.c: Likewise.
1637         * resolv/nsap_addr.c: Likewise.
1638         * resolv/res_comp.c: Remove SCSS and RCS keyword.
1639         * resolv/res_data.c: Remove RCS keyword.
1640         * resolv/res_debug.c: Remove SCSS and RCS keyword.
1641         * resolv/res_init.c: Likewise.
1642         * resolv/res_mkquery.c: Likewise.
1643         * resolv/res_query.c: Likewise.
1644         * resolv/res_send.c: Likewise.
1646 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1648         * conform/data/stdio.h-data (fdopen): Expect also for
1649         [XPG3 || XPG4].
1651         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
1652         (fseeko): Likewise.
1653         (ftello): Likewise.
1654         (ftrylockfile): Likewise.
1655         (funlockfile): Likewise.
1656         (getc_unlocked): Likewise.
1657         (getchar_unlocked): Likewise.
1658         (putc_unlocked): Likewise.
1659         (putchar_unlocked): Likewise.
1661 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1663         [BZ #19868]
1664         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
1665         DNS packet syntax checks (which were not needed before).  Skip
1666         over non-PTR records.
1668 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1670         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
1671         definition.  Include <stddef.h> instead.
1673 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1675         [BZ #19831]
1676         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
1677         function.
1678         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
1679         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
1681 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1683         [BZ #19862]
1684         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
1685         (getanswer_r): Do not call syslog.
1686         (gaih_getanswer_slice): Likewise.
1687         * resolv/gethnamaddr.c (AskedForGot): Remove.
1688         (getanswer): Do not call syslog.
1689         (gethostbyaddr): Likewise.
1691 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
1693         * conform/data/signal.h-data (union sigval): Expect also if
1694         [XOPEN2K].
1695         (struct sigevent): Likewise.
1696         (SIGEV_NONE): Likewise.
1697         (SIGEV_SIGNAL): Likewise.
1698         (SIGEV_THREAD): Likewise.
1699         (SIGRTMIN): Likewise.
1700         (SIGRTMAX): Likewise.
1701         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
1702         variable.
1703         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1705 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1707         [BZ #19830]
1708         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
1709         (gaih_getanswer_slice): Likewise.
1710         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
1711         Also check for availability of RR metadata.
1713 2016-04-27  Florian Weimer  <fweimer@redhat.com>
1715         [BZ #19825]
1716         * resolv/res_send.c (send_vc): Remove early *resplen2
1717         initialization.  Set *resplen2 on socket error.  Call
1718         close_and_return_error for other errors.
1720 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1722         * sysdeps/unix/sysv/linux/netiucv/iucv.h
1723         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
1724         (SCM_IUCV_TRGCLS): New define.
1726 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1728         [BZ #20005]
1729         * libio/fmemopen.c (fmemopen_write): Update internal position after
1730         write.
1731         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
1732         * stdio-common/tst-fmemopen4.c: New file..
1734 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
1736         [BZ #19996]
1737         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
1738         not [__USE_XOPEN2K].
1739         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
1740         variable.
1742         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
1743         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
1744         variable.
1746         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
1747         [__USE_XOPEN2K8].
1748         [__USE_LARGEFILE64] (off64_t): Likewise.
1749         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
1750         variable.
1752 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
1754         [BZ #19989]
1755         * libio/stdio.h (cuserid): Do not declare if
1756         [__USE_XOPEN2K && !__USE_GNU].
1757         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
1758         variable.
1760 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1762         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1763         (sysdep_routines): Add P8 and PPC64 strcspn targets.
1764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1765         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
1766         ifunc'ed strcspn.
1767         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
1768         [EALIGN]: Removed.
1769         [END]: Likewise
1770         [STRSPN]: Define instead of the above to control symbol name.
1771         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
1772         New file.
1773         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
1774         Likewise.
1775         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
1776         Likewise.
1777         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
1778         Likewise.
1779         * sysdeps/powerpc/powerpc64/power8/strspn.S:
1780         [INITIAL_MASK]: New macro.
1781         [STRCSPN]: Likewise.
1782         [UPDATE_MASK]: Likewise.
1783         [USE_AS_STRCSPN]: Lisewise.
1785 2016-04-25  Florian Weimer  <fweimer@redhat.com>
1787         [BZ #19931]
1788         * stdio-common/tst-vfprintf-width-prec.c: New file.
1789         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
1790         (tests-special): Add tst-vfprintf-width-prec-mem.out.
1791         (generated): Add mtrace-related files.
1792         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
1793         (tst-%-mem.out): New pattern rule, replaces
1794         tst-printf-bz18872-mem.out.
1795         * stdio-common/vfprintf.c (vfprintf): When handling a precision
1796         specifier, deallocate any previously allocated work buffer.
1798 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
1800         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
1801         Add nop before __startcontext, add explaining comments.
1803 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
1805         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
1806         any more. Notably since IPV6_PKTINFO has been reintroduced with a
1807         completely different API.
1809         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
1810         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
1811         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
1812         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
1813         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
1814         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
1815         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
1816         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
1817         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
1818         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
1820 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
1822         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
1824 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
1826         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
1827         when it is the default of 0.
1829 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1831         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
1832         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1833         (sysdep_routines): Add new strcasestr targets.
1834         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1835         (__libc_ifunc_impl_list): Likewise.
1836         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
1837         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
1838         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
1839         * sysdeps/powerpc/powerpc64/power8/Makefile:
1840         New file to add strcasestr-ppc64 to sysdep_routines.
1841         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
1842         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
1844 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
1846         * benchtests/Makefile (wcsmbs-benchset): Include only for
1847         native builds and runs.
1848         (LOCALES): Likewise.
1849         (bench-build): Build timing-type here instead of the bench
1850         target.  Generate locale only for native builds.
1851         * benchtests/README: Add note for cross-building.
1853         * benchtests/Makefile (bench-clean): Clean up extra-objs.
1855         * benchtests/README: Update README to include instructions on
1856         using bench-build.
1858         * Makefile.in (bench-build): New target.
1859         * Rules (PHONY): Add bench-build target.
1860         * benchtests/Makefile (bench): Depend on bench-build.
1861         (bench-build): New target.
1863 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1865         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
1866         profil_reply_port.
1867         (profile_waiter): Do not initialize profil_reply_port.
1868         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
1869         frequency instead of tick length in us.
1871 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
1873         [BZ #18712]
1874         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
1875         (__old_mempcpy_small): Likewise.
1876         (__old_strcpy_small): Likewise.
1877         (__old_stpcpy_small): Likewise.
1878         (__old_strpbrk_c2): Fix compat symbol name.
1879         (__old_strpbrk_c3): Likewise.
1880         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
1881         (__mempcpy_small): Remove.
1882         (__strcpy_small): Remove.
1883         (__stpcpy_small): Remove.
1885 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
1887         [BZ #19400]
1888         * locale/iso-639.def: Add the Talossan/tzl language.
1890 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1892         [BZ #16983]
1893         * locale/programs/ld-address.c (address_finish): Update postal_fmt
1894         comment.  Add "ln" to strchr check on postal_fmt.
1896 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
1898         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
1899         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
1900         tel_dom_fmt.
1902 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1904         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
1905         (sysdep_routines): Added __strlen_power8.
1906         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
1907         __strlen_power8 entry.
1908         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
1909         Implementation for POWER8.
1910         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
1911         for __strlen_power8.
1912         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
1913         Implementation for POWER8.
1915 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
1917         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
1919 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
1921         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
1922         Goldmont and Airmont processors.
1924 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
1926         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
1927         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
1928         (__STRING2_SMALL_GET32): Remove.
1929         (memset): Remove.
1930         (__memset_1): Remove.
1931         (__memset_gc): Remove.
1932         (__mempcpy): Remove.
1933         (mempcpy): Remove.
1934         (__mempcpy_args): Remove.
1935         (strchr): Remove.
1936         (strcpy): Remove.
1937         (strcpy_args): Remove.
1938         (__stpcpy_args): Remove.
1939         (__strcmp_cc): Remove.
1940         (__strcmp_gc): Remove.
1941         (strstr): Remove.
1943 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
1945         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
1946         * nis/nis_call.c (nis_server_cache_add): Likewise.
1948 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1950         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
1952 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1954         * malloc/arena.c (__malloc_fork_lock_parent)
1955         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
1956         internal_function attribute.
1958 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
1960         * stdio-common/printf_fp.c (__printf_fp_l):
1961         Rename ___printf_fp_l to __printf_fp_l and
1962         remove strong alias. Use libc_hidden_def instead
1963         of ldbl_hidden_def macro.
1965 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1967         Remove malloc hooks from fork handler.  They are no longer needed
1968         because malloc runs right before fork, and no malloc calls from
1969         other fork handlers are not possible anymore.
1970         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
1971         declarations.
1972         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
1973         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
1974         (atfork_recursive_cntr): Remove.
1975         (__malloc_fork_lock_parent): Do not override malloc hooks and
1976         thread_arena.
1977         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
1978         thread_arena.
1979         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
1980         thread_arena instead of save_arena.
1982 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1984         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
1985         (thread_atfork, thread_atfork_static): Remove.
1986         * sysdeps/mach/hurd/malloc-machine.h:
1987         (thread_atfork, thread_atfork_static): Remove.
1989 2016-04-14  Florian Weimer  <fweimer@redhat.com>
1991         [BZ #19431]
1992         Run the malloc fork handler as late as possible to avoid deadlocks.
1993         * malloc/malloc-internal.h: New file.
1994         * malloc/malloc.c: Include it.
1995         * malloc/arena.c (ATFORK_MEM): Remove.
1996         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
1997         Update comment.
1998         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
1999         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
2000         Remove outdated comment.
2001         (ptmalloc_init): Do not call thread_atfork.  Remove
2002         thread_atfork_static.
2003         * malloc/tst-malloc-fork-deadlock.c: New file.
2004         * Makefile (tests): Add tst-malloc-fork-deadlock.
2005         (tst-malloc-fork-deadlock): Link against libpthread.
2006         * manual/memory.texi (Aligned Memory Blocks): Update safety
2007         annotation comments.
2008         * sysdeps/nptl/fork.c (__libc_fork): Call
2009         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
2010         __malloc_fork_unlock_child.
2011         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2013 2016-04-14  Florian Weimer  <fweimer@redhat.com>
2015         [BZ #19613]
2016         Remove union wait.
2017         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
2018         (w_stopsig, w_stopval): Remove.
2019         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
2020         stat_loc argument.
2021         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
2022         (__WAIT_STATUS_DEFN): Remove.
2023         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2024         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
2025         (wait, wait3, wait4): Use int * for the stat_loc argument.
2026         * posix/wait.c (__wait): Likewise.
2027         * posix/wait3.c (__wait3): Likewise.
2028         * posix/wait4.c (__wait4): Likewise.
2029         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
2030         (__WAIT_STATUS_DEFN): Remove.
2031         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
2032         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
2033         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
2034         argument.
2035         * sysdeps/posix/wait.c (__libc_wait): Likewise.
2036         * sysdeps/posix/wait3.c (__wait3): Likewise.
2037         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
2038         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
2039         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
2040         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
2041         stat_loc argument.
2042         * manual/process.texi (BSD Wait Functions): Remove union wait.
2044 2016-04-13  Andreas Schwab  <schwab@suse.de>
2046         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
2047         (test-extras): Add tst-tlsalign-vars.
2048         * math/Makefile: Wrap long lines.
2049         (libm-vec-test-wrappers): Define.
2050         (test-extras): Add $(libm-vec-test-wrappers).
2051         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
2052         * nss/Makefile (extra-test-objs): Add nss_test1.os.
2053         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
2054         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
2055         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
2056         (extra-test-objs): Add corresponding objects.
2058 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
2060         [BZ #19928]
2061         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
2062         New.
2063         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
2064         times of shared cache size.
2065         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
2066         (VMOVNT): New.
2067         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
2068         (VMOVNT): Likewise.
2069         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
2070         (VMOVNT): Likewise.
2071         (VMOVU): Changed to movups for smaller code sizes.
2072         (VMOVA): Changed to movaps for smaller code sizes.
2073         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
2074         comments.
2075         (PREFETCH): New.
2076         (PREFETCH_SIZE): Likewise.
2077         (PREFETCHED_LOAD_SIZE): Likewise.
2078         (PREFETCH_ONE_SET): Likewise.
2079         Rewrite to use forward and backward loops, which move 4 vector
2080         registers at a time, to support overlapping addresses and use
2081         non temporal store if size is above the threshold and there is
2082         no overlap between destination and source.
2084 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
2086         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
2087         Include dl-vdso.
2088         * sysdeps/unix/sysv/linux/mips/Versions: Add
2089         __vdso_clock_gettime.
2090         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
2091         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
2092         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
2093         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
2094         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
2095         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
2096         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
2097         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
2098         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
2100 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2102         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
2103         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
2104         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2105         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2106         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2107         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2110         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
2111         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
2112         syscalls generation.
2113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2114         [__NR_pwrite64] (__NR_write): Remove define.
2115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2116         [__NR_pwrite64] (__NR_write): Remove define.
2117         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
2118         Remove define.
2119         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
2120         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
2121         Remove define.
2122         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
2123         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
2124         Linux implementation as base.
2125         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2127         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
2128         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
2129         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2130         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
2132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2133         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
2134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
2135         syscall generation.
2136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2137         [__NR_pread64] (__NR_pread): Remove define.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
2139         [__NR_pread64] (__NR_pread): Likewise.
2140         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
2141         define.
2142         (__libc_pread): Use SYSCALL_LL macro on offset argument.
2143         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
2144         Remove define.
2145         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
2146         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
2147         Linux implementation as base.
2148         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2149         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2150         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2152         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
2153         definition.
2154         (__ALIGNMENT_COUNT): Likewise.
2155         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
2156         (__ALIGNMENT_COUNT): Likewise.
2157         (SYSCALL_LL): New define.
2158         (SYSCALL_LL64): Likewise.
2159         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
2160         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
2161         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
2162         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
2164         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2165         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
2166         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2167         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2168         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2169         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
2171 2016-04-11  Florian Weimer  <fweimer@redhat.com>
2173         [BZ #19865]
2174         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
2175         original buffer before retry.
2177 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2179         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
2180         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
2181         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
2182         GLRO(dl_auxv) list.
2183         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
2184         including <ldsodefs.h>.
2185         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
2187 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
2189         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
2190         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
2191         $(CPPFLAGS).
2193 2016-04-09  Khem Raj  <raj.khem@gmail.com>
2195         [BZ #17950]
2196         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
2197         Add -mfpmath=387.
2199 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
2201         * sysdeps/i386/configure.ac: Change == to = when calling test.
2202         * sysdeps/x86_64/configure.ac: Likewise.
2203         * sysdeps/i386/configure: Regenerated.
2204         * sysdeps/x86_64/configure: Likewise.
2206 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
2208         [BZ #16137]
2209         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
2210         * benchtests/bench-strcoll.c (input_files): Likewise.
2211         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2212         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
2213         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
2215 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
2217         [BZ #19929]
2218         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
2219         [__USE_XOPEN2K8 && !__USE_GNU].
2220         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
2221         variable.
2223         [BZ #19925]
2224         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
2225         define if [!__USE_MISC && __USE_XOPEN2K].
2226         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
2227         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
2228         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
2229         Likewise.
2230         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
2231         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
2232         variable.
2233         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2235 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2237         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2238         (sysdep_routines): Add new strspn targets.
2239         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2240         (__libc_ifunc_impl_list): Add strspn.
2241         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
2242         New file.
2243         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
2244         Likewise.
2245         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
2246         Likewise.
2247         * sysdeps/powerpc/powerpc64/power8/strspn.S:
2248         Likewise.
2250 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2252         * misc/hsearch_r.c: Include <limits.h>.
2254 2016-04-07  Florian Weimer  <fweimer@redhat.com>
2256         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
2258 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2260         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2261         (MEMCPY_SYMBOL): New.
2262         (MEMPCPY_SYMBOL): Likewise.
2263         (MEMMOVE_CHK_SYMBOL): Likewise.
2264         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
2265         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
2266         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
2267         Provide alias for memcpy in libc.a and ld.so.
2269 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2271         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2272         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
2273         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
2274         Disabled fro now.
2275         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
2276         symbols.  Properly check USE_MULTIARCH on __memset symbols.
2278 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
2280         * benchtests/Makefile (string-benchset): Add memcpy-large,
2281         memmove-large and memset-large.
2282         * benchtests/bench-memcpy-large.c: New file.
2283         * benchtests/bench-memmove-large.c: Likewise.
2284         * benchtests/bench-memmove-large.c: Likewise.
2285         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
2287 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2289         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
2290         32-bit displacement to avoid long nop between instructions.
2292 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
2294         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
2295         a comment on VMOVU and VMOVA.
2297 2016-04-04  Florian Weimer  <fweimer@redhat.com>
2299         [BZ #19633]
2300         Use specified locale for number formatting in strfmon_l.
2301         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
2302         (__nl_lookup_word): New inline functions.
2303         * include/printf.h (__print_fp_l): Declare.
2304         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
2305         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
2306         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
2307         (___printf_fp): New function.
2308         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
2309         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
2310         * stdlib/tst-strfmon_l.c (do_test): New test.
2311         * stdlib/Makefile (tests): Add kt.
2312         (LOCALES): Build additional locales.
2313         (tst-strfmon_l.out): Require locales.
2315 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2317         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
2318         if not in libc.
2319         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2320         Likewise.
2321         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
2322         Likewise.
2323         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2324         Likewise.
2326 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
2328         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2329         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
2330         with unaligned_erms.
2331         (__memmove_erms): Skip if source == destination.
2332         (__memmove_unaligned_erms): Don't check source == destination
2333         first.
2335 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2337         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
2338         bit_arch_Fast_Copy_Backward for Intel Core proessors.
2340 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2342         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
2343         * string/strspn.c (strspn): Likewise.
2345 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2347         * benchtests/bench-memset.c (do_test): Support 64-byte
2348         alignment.
2349         (test_main): Test 64-byte alignment.
2351 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2353         * benchtests/bench-memmove.c (test_main): Test 64-byte
2354         alignment.
2356 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
2358         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
2360 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2362         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
2363         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
2364         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
2366         * string/strpbrk.c (strpbrk): Rewrite function.
2367         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
2368         (__strpbrk_c2): Likewise.
2369         (__strpbrk_c3): Likewise.
2370         * string/string-inlines.c
2371         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
2372         Likewise.
2373         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
2374         Likewise.
2376         * string/strspn.c (strcspn): Rewrite function.
2377         * string/bits/string2.h (strspn): Use __builtin_strcspn.
2378         (__strspn_c1): Remove inline function.
2379         (__strspn_c2): Likewise.
2380         (__strspn_c3): Likewise.
2381         * string/string-inlines.c
2382         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
2383         compatibility symbol.
2384         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
2385         Likewise.
2386         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
2387         Likewise.
2388         * string/string-inlines.c: Include generic version.
2390 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
2391             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2393         * string/Version (libc): Add GLIBC_2.24.
2394         * string/strcspn.c (strcspn): Rewrite function.
2395         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
2396         (__strcspn_c1): Remove inline function.
2397         (__strcspn_c2): Likewise.
2398         (__strcspn_c3): Likewise.
2399         * string/string-inline.c
2400         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
2401         compatibility symbol.
2402         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
2403         Likewise.
2404         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
2405         Likewise.
2406         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
2408 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
2410         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
2411         Use ahi instead of aghi to adjust stack pointer.
2413 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2415         [BZ #19853]
2416         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
2417         TEST to take significant digits as second parameter.
2418         [TEST]: Redefine in terms of TEST_N taking 30
2419         significant digits.
2420         (do_test): Add test case to demonstrate precision
2421         failure in the ldbl-128ibm printf.
2422         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
2423         (__mpn_extract_long_double): Carry 7 extra intermediate
2424         bits of precision to aide computing difference when
2425         signs differ.
2427 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2429         [BZ #19881]
2430         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2431         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
2432         memset-avx512-unaligned-erms.
2433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2434         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
2435         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
2436         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
2437         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
2438         __memset_sse2_unaligned_erms, __memset_erms,
2439         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
2440         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2441         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
2442         file.
2443         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2444         Likewise.
2445         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
2446         Likewise.
2447         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
2448         Likewise.
2450 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
2452         [BZ #19776]
2453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2454         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
2455         memmove-avx512-unaligned-erms.
2456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2457         (__libc_ifunc_impl_list): Test
2458         __memmove_chk_avx512_unaligned_2,
2459         __memmove_chk_avx512_unaligned_erms,
2460         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
2461         __memmove_chk_sse2_unaligned_2,
2462         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
2463         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
2464         __memmove_avx512_unaligned_erms, __memmove_erms,
2465         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
2466         __memcpy_chk_avx512_unaligned_2,
2467         __memcpy_chk_avx512_unaligned_erms,
2468         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
2469         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
2470         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
2471         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
2472         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
2473         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
2474         __mempcpy_chk_avx512_unaligned_erms,
2475         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
2476         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
2477         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
2478         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
2479         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
2480         __mempcpy_erms.
2481         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
2482         file.
2483         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2484         Likwise.
2485         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2486         Likwise.
2487         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
2488         Likwise.
2490 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2492         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
2493         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
2494         (La_s390_64_regs): Likewise.
2495         (La_s390_32_retval): Append vector register lrv_v24.
2496         (La_s390_64_retval): Likeweise.
2497         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
2498         Handle extended structs La_s390_32_regs and La_s390_32_retval.
2499         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
2500         Handle extended structs La_s390_64_regs and La_s390_64_retval.
2502 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2504         [BZ #19916]
2505         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
2506         to create a non-vector/vector version for _dl_runtime_resolve and
2507         _dl_runtime_profile. Move implementation to ...
2508         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
2509         (_dl_runtime_resolve) Save and restore fpr/vrs.
2510         (_dl_runtime_profile) Save and restore vrs and fix some issues
2511         if _dl_call_pltexit is called.
2512         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
2513         Choose the correct resolver function if running on a machine with vx.
2514         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
2515         to create a non-vector/vector version for _dl_runtime_resolve and
2516         _dl_runtime_profile. Move implementation to ...
2517         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
2518         (_dl_runtime_resolve) Save and restore fpr/vrs.
2519         (_dl_runtime_profile) Save and restore vrs and fix some issues
2520         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
2521         Choose the correct resolver function if running on a machine with vx.
2523 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2525         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
2527 2016-03-31  Florian Weimer  <fweimer@redhat.com>
2529         [BZ #19509]
2530         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
2531         skip_map != NULL.
2532         * elf/tst-dlsym-error.c: New file.
2533         * elf/Makefile (tests): Add tst-dlsym-error.
2534         (tst-dlsym-error): Link against libdl.
2536 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
2538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2539         (__ASSUME_FUTIMESAT): Remove macro.
2540         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
2542 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2544         [BZ #19879]
2545         CVE-2016-3075
2546         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
2547         copy name.
2549 2016-03-29  Florian Weimer  <fweimer@redhat.com>
2551         [BZ #19837]
2552         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
2553         error if parse_line fails.
2555 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2557         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
2558         (index_cpu_ERMS): Likewise.
2559         (reg_ERMS): Likewise.
2561 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
2563         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
2564         PER_LINUX_FDPIC): Add.
2566 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2569         memcpy-avx512-no-vzeroupper.
2570         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
2571         to ...
2572         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
2573         (MEMCPY): Don't define.
2574         (MEMCPY_CHK): Likewise.
2575         (MEMPCPY): Likewise.
2576         (MEMPCPY_CHK): Likewise.
2577         (MEMPCPY_CHK): Renamed to ...
2578         (__mempcpy_chk_avx512_no_vzeroupper): This.
2579         (MEMPCPY_CHK): Renamed to ...
2580         (__mempcpy_chk_avx512_no_vzeroupper): This.
2581         (MEMCPY_CHK): Renamed to ...
2582         (__memmove_chk_avx512_no_vzeroupper): This.
2583         (MEMCPY): Renamed to ...
2584         (__memmove_avx512_no_vzeroupper): This.
2585         (__memcpy_avx512_no_vzeroupper): New alias.
2586         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
2588 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2590         [BZ #18858]
2591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2592         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
2593         and mempcpy-avx512-no-vzeroupper.
2594         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
2595         New.
2596         (MEMPCPY): Likewise.
2597         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
2598         (MEMPCPY_CHK): New.
2599         (MEMPCPY): Likewise.
2600         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
2601         (MEMPCPY): Likewise.
2602         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
2603         (MEMPCPY): Likewise.
2604         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
2605         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
2606         Likewise.
2607         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
2608         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
2610 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
2611              Amit Pawar  <Amit.Pawar@amd.com>
2613         [BZ #19583]
2614         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
2615         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
2616         processors.  Set Fast_Copy_Backward for AMD Excavator
2617         processors.
2618         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
2619         New.
2620         (index_arch_Fast_Unaligned_Copy): Likewise.
2621         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
2622         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
2624 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2626         [BZ #19791]
2627         * resolv/res_send.c (close_and_return_error): New function.
2628         (send_dg): Initialize *resplen2 after reopen failure.  Call
2629         close_and_return_error for error returns.  On error paths without
2630         __res_iclose, initialze *resplen2 explicitly.  Update comment for
2631         successful return.
2633 2016-03-25  Florian Weimer  <fweimer@redhat.com>
2635         [BZ# 19860]
2636         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
2637         zero if the compiler does not provide the AVX512F bit.
2639 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
2641         [BZ #19848]
2642         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
2643         from 8 to 4.
2644         (__ieee754_powl): Compare integer exponent against 4 not 8.
2645         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
2646         from 8 to 4.
2647         (__ieee754_powl): Compare integer exponent against 4 not 8.
2648         * math/auto-libm-test-in: Add more tests of pow.
2649         * math/auto-libm-test-out: Regenerated.
2650         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
2651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2653 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2655         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
2656         Make code unconditional.
2657         [!__NR_utimensat]: Remove conditional code.
2658         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
2659         Make code unconditional.
2660         [!__NR_utimensat]: Remove conditional code.
2661         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
2662         Make code unconditional.
2663         [!__NR_utimensat]: Remove conditional code.
2665 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
2667         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
2668         Make code unconditional.
2670 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
2672         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
2673         call-clobbered %eax on retry path.
2674         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
2676 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2678         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
2679         Don't set %rcx twice before "rep movsb".
2681 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
2683         [BZ #19583]
2684         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
2685         inline.  Check family before setting family, model and
2686         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
2687         bits here.
2688         (init_cpu_features): Replace HAS_CPU_FEATURE and
2689         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
2690         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
2691         for Intel processors with usable AVX2.  Call get_common_indeces
2692         for other processors with family == NULL.
2693         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
2694         (CPU_FEATURES_ARCH_P): Likewise.
2695         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
2696         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
2698 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2700         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
2701         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
2702         $(shared-thread-library) instead of hardcoding the path to libpthread.
2704 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
2706         * sysdeps/unix/sysv/linux/kernel-features.h
2707         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
2708         * sysdeps/unix/sysv/linux/getdents.c
2709         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
2710         [!have_no_getdents64_defined]: Likewise.
2711         (__GETDENTS): Remove __have_no_getdents64 conditional.
2713 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
2715         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
2716         Remove macro.
2717         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
2718         <kernel-features.h>.
2719         (signalfd) [__NR_signalfd4]: Make code unconditional.
2720         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
2722 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2724         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
2725         style.
2727 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
2729         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
2730         (__pthread_enable_asynccancel): Use JUMPTARGET to call
2731         __pthread_unwind.
2732         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
2733         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
2734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
2735         (__condvar_cleanup1): Likewise.
2737 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
2739         [BZ #19822]
2740         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
2741         move it to the final $@ location.
2743 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2745         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
2746         access where posix_spawn success and pid argument is null.
2747         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
2748         success case.
2750 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
2752         * sysdeps/mach/hurd/i386/c++-types.data: New file.
2754         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
2756         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
2757         and __fcntl.
2758         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
2759         __fcntl only.
2760         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
2761         adding attribute_hidden to __open and __fcntl.
2763         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
2764         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
2765         depend on libc-modules.h,
2766         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
2768 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
2770         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
2771         Remove macro.
2772         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
2773         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
2774         entry.
2776         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
2777         Remove macro.
2778         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
2779         include <kernel-features.h>.
2780         [!__ASSUME_FALLOCATE]: Remove conditional code.
2781         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
2783 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
2785         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
2786         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
2787         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
2788         (_ZGVdN4v_cos_avx2): Likewise.
2789         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
2790         (_ZGVdN4v_cos): Likewise.
2791         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
2792         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
2793         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
2794         (_ZGVdN4v_exp_avx2): Likewise.
2795         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
2796         (_ZGVdN4v_exp): Likewise.
2797         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
2798         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
2799         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
2800         (_ZGVdN4v_log_avx2): Likewise.
2801         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
2802         (_ZGVdN4v_log): Likewise.
2803         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
2804         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
2805         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
2806         (_ZGVdN4vv_pow_avx2): Likewise.
2807         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
2808         (_ZGVdN4vv_pow): Likewise.
2809         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
2810         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
2811         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
2812         (_ZGVdN4v_sin_avx2): Likewise.
2813         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
2814         (_ZGVdN4v_sin): Likewise.
2815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
2816         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
2817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
2818         (_ZGVdN4vvv_sincos_avx2): Likewise.
2819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
2820         (_ZGVdN4vvv_sincos): Likewise.
2821         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
2822         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
2823         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
2824         (_ZGVbN4v_cosf_sse4): Likewise.
2825         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
2826         (_ZGVdN8v_cosf_avx2): Likewise.
2827         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
2828         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
2829         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
2830         (_ZGVbN4v_expf_sse4): Likewise.
2831         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
2832         (_ZGVdN8v_expf_avx2): Likewise.
2833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
2834         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
2835         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
2836         (_ZGVbN4v_logf_sse4): Likewise.
2837         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
2838         (_ZGVdN8v_logf_avx2): Likewise.
2839         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
2840         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
2841         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
2842         (_ZGVbN4vv_powf_sse4): Likewise.
2843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
2844         (_ZGVdN8vv_powf_avx2): Likewise.
2845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
2846         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
2847         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
2848         (_ZGVbN4vvv_sincosf_sse4): Likewise.
2849         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
2850         (_ZGVdN8vvv_sincosf_avx2): Likewise.
2851         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
2852         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
2853         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
2854         (_ZGVbN4v_sinf_sse4): Likewise.
2855         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
2856         (_ZGVdN8v_sinf_avx2): Likewise.
2857         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2858         Use JUMPTARGET to call callee.
2859         (WRAPPER_IMPL_SSE2_ff): Likewise.
2860         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2861         (WRAPPER_IMPL_AVX): Likewise.
2862         (WRAPPER_IMPL_AVX_ff): Likewise.
2863         (WRAPPER_IMPL_AVX_fFF): Likewise.
2864         (WRAPPER_IMPL_AVX512): Likewise.
2865         (WRAPPER_IMPL_AVX512_ff): Likewise.
2866         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
2867         Likewise.
2868         (WRAPPER_IMPL_SSE2_ff): Likewise.
2869         (WRAPPER_IMPL_SSE2_fFF): Likewise.
2870         (WRAPPER_IMPL_AVX): Likewise.
2871         (WRAPPER_IMPL_AVX_ff): Likewise.
2872         (WRAPPER_IMPL_AVX_fFF): Likewise.
2873         (WRAPPER_IMPL_AVX512): Likewise.
2874         (WRAPPER_IMPL_AVX512_ff): Likewise.
2875         (WRAPPER_IMPL_AVX512_fFF): Likewise.
2877 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2879         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
2880         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
2881         qualifier.
2882         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
2883         internal_function qualifiers.
2885 2016-03-15  Carlos O'Donell <carlos@redhat.com>
2887         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
2888         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
2889         * math/atest-exp.c (exp_mpn): Mark chk unused.
2890         * math/atest-exp2.c (exp_mpn): Likwise.
2891         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
2892         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
2894 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
2896         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
2897         Remove macro.
2898         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
2899         <kernel-features.h>.
2900         [__NR_ppoll]: Make code unconditional.
2901         [!__ASSUME_PPOLL]: Remove conditional code.
2903         * sysdeps/unix/sysv/linux/kernel-features.h
2904         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
2905         (__ASSUME_ACCEPT4): Likewise.
2906         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2907         Define.
2908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
2909         Likewise.
2910         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2911         Likewise.
2912         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
2913         Likewise.
2914         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
2915         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
2916         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2917         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2918         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2919         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2920         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2921         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2922         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2923         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2924         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2925         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2926         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2927         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2928         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2929         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2930         Likewise.
2931         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2932         Likewise.
2933         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2934         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2935         0x040300].
2936         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2937         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
2938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2939         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2940         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2941         0x030300].
2942         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
2943         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2944         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2945         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2946         0x040300].
2947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2948         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2949         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2950         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2951         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2952         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2953         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
2954         0x030300].
2955         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2956         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2957         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2958         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2959         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2960         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2961         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2962         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2963         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2964         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
2965         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
2966         0x040300].
2967         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2968         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2969         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2970         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
2971         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2972         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2973         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2974         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2975         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2976         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2978         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2979         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2980         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2981         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2982         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2983         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2984         Likewise.
2985         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2986         Likewise.
2988 2016-03-15  Andreas Schwab  <schwab@suse.de>
2990         [BZ #19257]
2991         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
2992         statp->_u._ext.nscount as loop count.
2994 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
2996         * math/test-signgam-finite-c99.c: Also #undef
2997         __LIBC_INTERNAL_MATH_INLINES.
2998         * math/test-signgam-main.c: Likewise.
3000 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
3002         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
3003         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
3004         (MADV_FREE): Likewise.
3005         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
3006         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
3007         EPOLLEXCLUSIVE.
3009 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
3011         * timezone/README: Remove mention of checktab.awk. Mention wiki
3012         SharedSourceFiles.
3014 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
3016         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
3017         WUNTRACED.
3019 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3021         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
3022         order to match the type of p when calling atomic_exchange_acq().
3024 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3026         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
3027         cfi_offset calls.
3028         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
3029         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
3030         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
3031         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
3032         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
3034 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
3036         * timezone/checktab.awk: Removed.
3038 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
3040         * manual/math.texi (Errors in Math Functions): Document relaxed
3041         accuracy goals for IBM long double.
3042         * math/libm-test.inc (test_exceptions): Always allow spurious
3043         "underflow" and "inexact" exceptions for IBM long double.
3045 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
3047         [BZ #19762]
3048         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3049         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
3050         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3051         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
3052         (bit_arch_*): This for feature array.
3053         (bit_*): Renamed to ...
3054         (bit_cpu_*): This for cpu array.
3055         (index_*): Renamed to ...
3056         (index_arch_*): This for feature array.
3057         (index_*): Renamed to ...
3058         (index_cpu_*): This for cpu array.
3059         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
3060         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
3061         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
3062         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
3063         bit_##name with index_cpu_##name and bit_cpu_##name.
3064         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
3065         bit_##name with index_arch_##name and bit_arch_##name.
3067 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
3069         [BZ #19792]
3070         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
3071         Terminate FDE before return label.
3073 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
3075         [BZ #19790]
3076         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
3077         (rintl): Define as macro.
3078         [USE_AS_NEARBYINTL] (__rintl): Likewise.
3079         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
3080         of fesetround.  Ensure results are evaluated before end of scope.
3081         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
3082         USE_AS_NEARBYINTL and include s_rintl.c.
3083         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
3084         Disable exception traps in new environment.
3085         (libc_feholdsetround_ppc_ctx): Likewise.
3087 2016-03-08  Roland McGrath  <roland@hack.frob.com>
3089         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
3090         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
3091         (tst_audit10_aux) [__AVX512F__]: ... here.
3093 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
3095         * include/sys/auxv.h: New file.
3097 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3099         [BZ #19759]
3100         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
3102 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3104         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
3105         operand modifier.
3106         (feclearexcept): Likewise.
3108 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
3110         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
3111         to reflect the entire 32-bit HWCAP.
3112         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
3113         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
3115 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
3117         [BZ #19783]
3118         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
3119         $(test-via-rtld-prefix).
3120         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
3122 2016-03-08  Florian Weimer  <fweimer@redhat.com>
3124         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
3125         union wait.  Report any non-zero exit status as error.
3127 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3129         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
3130         configured with --enable-hardcoded-path-in-tests.
3132 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
3134         [BZ #19677]
3135         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3136         (__ieee754_remainderl): Put zero low parts in canonical form.
3137         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
3138         file.  Based on
3139         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
3140         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
3141         with wrapper round test-fmodrem-ldbl-128ibm.c.
3142         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
3143         file.
3144         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
3145         Likewise.
3146         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
3147         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
3149 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3151         [BZ #19610]
3152         * elf/ldconfig.c (opt_link): Update comment.
3153         (options): Update help string for option -X.
3154         (search_dir): Unlink stale symbolic link only if updating symbolic
3155         links.
3156         * elf/tst-ldconfig-X.sh: New file.
3157         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
3158         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
3160 2016-03-07  Andreas Schwab  <schwab@suse.de>
3162         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
3163         needed arguments.
3165 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
3167         [BZ #15333]
3168         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
3169         to lstat64.
3171 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3173         * libio/filedoalloc.c (isatty): Remove.
3174         (local_isatty): Add comment.  Call __isatty directly.
3175         (_IO_file_doallocate): Update comment.  Assume _LIBC.
3176         * libio/wfiledoalloc.c (isatty): Remove.
3177         (_IO_wfile_doallocate): Update comment.
3179 2016-03-07  Florian Weimer  <fweimer@redhat.com>
3181         [BZ #19269]
3182         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
3183         tst-audit4-aux.o.
3184         (tst-audit10): Depend on tst-audit10-aux.o.
3185         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
3186         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
3187         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
3188         instead of inline AVX code.
3189         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
3190         instead of inline AVX512 code.
3191         * sysdeps/x86_64/tst-audit4-aux.c: New file
3192         * sysdeps/x86_64/tst-audit10-aux.c: New file
3194         [BZ #19648]
3195         * test-skeleton.c (main): Do not set RLIMIT_DATA.
3197 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3199         [BZ #14750]
3200         [BZ #10354]
3201         [BZ #18433]
3202         * include/sched.h (__clone): Add hidden prototype.
3203         (__clone2): Likewise.
3204         * include/unistd.h (__dup): Likewise.
3205         * posix/Makefile (tests): Add tst-spawn2.
3206         * posix/tst-spawn2.c: New file.
3207         * sysdeps/posix/dup.c (__dup): Add hidden definition.
3208         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
3209         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
3210         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
3211         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
3212         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
3213         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
3214         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
3215         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
3216         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
3217         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
3218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
3219         Likewise.
3220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
3221         Likewise.
3222         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
3223         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
3224         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
3225         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
3226         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
3227         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
3228         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
3229         * sysdeps/unix/sysv/linux/nptl-signals.h
3230         (____nptl_is_internal_signal): New function.
3231         * sysdeps/unix/sysv/linux/spawni.c: New file.
3233         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
3234         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
3235         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
3236         * posix/tst-execvp2.c (do_test): Likewise.
3237         * posix/tst-execvp3.c (do_test): Likewise.
3238         * posix/tst-execvp4.c (do_test): Likewise.
3239         * posix/tst-execvpe1.c: New file.
3240         * posix/tst-execvpe2.c: Likewise.
3241         * posix/tst-execvpe3.c: Likewise.
3242         * posix/tst-execvpe4.c: Likewise.
3243         * posix/tst-execvpe5.c: Likewise.
3244         * posix/tst-execvpe6.c: Likewise.
3246         [BZ #19534]
3247         * posix/execl.c (execl): Remove dynamic memory allocation.
3248         * posix/execle.c (execle): Likewise.
3249         * posix/execlp.c (execlp): Likewise.
3251 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3253         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
3254         Replace .text with .text.avx512.
3255         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
3256         Likewise.
3258 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
3260         * sysdeps/generic/libnsl.abilist: New file.
3261         * sysdeps/generic/libutil.abilist: New file.
3263 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3265         [BZ #19762]
3266         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
3267         HAS_ARCH_FEATURE with Fast_Rep_String.
3268         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
3269         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
3270         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
3271         Likewise.
3272         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
3273         Likewise.
3274         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
3275         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
3276         Likewise.
3277         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
3278         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
3279         Likewise.
3281 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3283         [BZ #19745]
3284         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
3285         with *%rax in call.
3287 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3289         [BZ #19745]
3290         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
3291         with *__libc_start_main@GOTPCREL(%rip) in call.
3293 2016-03-04  Roland McGrath  <roland@hack.frob.com>
3295         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
3296         inside conditional for nonempty $(CXX).
3298         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
3299         nonempty.
3301         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
3302         to test for empty $(CXX) rather than $(CXX) of "no".
3304 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
3306         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
3308 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
3309             H.J. Lu  <hongjiu.lu@intel.com>
3311         [BZ #18880]
3312         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
3313         instead of Slow_BSF, and also check for Fast_Copy_Backward to
3314         enable __memcpy_ssse3_back.
3316 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3318         [BZ #19758]
3319         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
3320         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
3322 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
3324         [BZ #19490]
3325         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
3326         (__fentry__): Likewise.
3328 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
3330         * gmon/Makefile (noprof): Add $(sysdep_noprof).
3331         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
3333 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3335         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
3336         __mcount_internal directly.
3337         (C_LABEL(__fentry__)): Likewise.
3338         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
3339         directly.
3341 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
3343         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
3344         (__start_context): Call __setcontext directly.
3346 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
3348         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3349         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3350         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
3351         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3352         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3353         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3354         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
3355         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3356         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3357         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
3358         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3359         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3360         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3361         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3362         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3363         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3364         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
3365         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3366         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3367         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
3368         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
3369         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3370         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3371         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
3372         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
3373         Remove conditional code.
3374         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3375         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
3376         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3377         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3378         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
3379         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3380         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
3381         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3382         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
3383         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3384         * sysdeps/unix/sysv/linux/tile/kernel-features.h
3385         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
3387 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
3389         * NEWS (2.23): Fix typo in bug 19048 text.
3391 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
3393         [BZ #14259]
3394         * Makeconfig: Rename msgcatdir to localedir.
3395         Rename inst_msgcatdir to inst_localedir.
3396         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
3397         * config.make.in: Add localedir.
3398         * elf/Makefile ($(objpfx)sotruss): Use localedir.
3399         (ldd-rewrite): Likewise.
3400         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
3401         (install-others): Use inst_localedir.
3402         (CPPFLAGS): Use localedir.
3403         * locale/Makefile (locale-CPPFLAGS): Likewise.
3404         * po/Makefile (mo-installed): Use inst_localedir.
3406         [BZ #19575]
3407         * localedata/charmaps/GB18030: Update comments regarding PAU to
3408         non-PUA mappings.
3410 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
3412         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
3413         test for header.
3414         * sysdeps/unix/sysv/linux/configure: Regenerated.
3415         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
3416         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
3417         Remove conditional code.
3418         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
3420         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3421         Define to 3.2.0.
3422         (arch_minimum_kernel): Likewise.
3423         * sysdeps/unix/sysv/linux/configure: Regenerated.
3424         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
3425         Define to 2.6.32.
3426         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
3427         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
3428         (arch_minimum_kernel): Define to 2.6.32.
3429         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
3430         * README: Document Linux 3.2 requirement.
3431         * manual/install.texi (Linux): Document Linux 3.2 headers
3432         requirement.
3433         * INSTALL: Regenerated.
3435 2016-02-24  Andreas Schwab  <schwab@suse.de>
3437         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
3438         if !NO_LONG_DOUBLE.
3440 2016-02-22  Roland McGrath  <roland@hack.frob.com>
3442         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
3443         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
3445 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
3447         [BZ #19512]
3448         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
3450 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3452         * posix/tst-dir.c: Include libc-internal.h.
3454 2016-02-20  Florian Weimer  <fweimer@redhat.com>
3456         [BZ #19056]
3457         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
3458         * manual/filesys.texi (Reading/Closing Directory): Mention
3459         deprecaion.
3460         * posix/tst-dir.c (main): Disable deprecation warning in test.
3462 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
3464         [BZ #19679]
3465         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
3466         Renamed to ...
3467         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
3468         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3469         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
3470         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3471         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3472         * sysdeps/x86_64/dl-trampoline.h
3473         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
3474         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
3476 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3478         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
3480 2016-02-19  Mark Wielaard  <mjw@redhat.com>
3482         * elf/elf.h (R_386_GOT32X): New.
3483         (R_386_NUM): Update.
3484         (R_X86_64_GOTPCRELX: New.
3485         (R_X86_64_REX_GOTPCRELX): New.
3486         (R_X86_64_NUM): Update.
3488 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
3490         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
3492 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
3494         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
3495         assign attr->stackaddr to it, and adjust it down when
3496         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
3497         [_STACK_GROWS_UP]: Delete assert.
3498         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
3499         Implement stack grows up logic.
3500         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
3501         stack grows up logic.
3503 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3505         * NEWS: Update with 2.24 template.
3507 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3509         [BZ #19678]
3510         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3511         Ensure +0.0 is returned when taking the next value below the least
3512         positive value.
3514 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3516         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
3517         available.  Do not define NO_THREADS.
3518         * malloc/malloc.c: Do not check NO_THREADS.
3519         * malloc/arena.c: Likewise.
3521 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3523         * malloc/malloc.c (__libc_mallinfo): Update comment.
3524         (struct malloc_par): Remove max_total_mem member, it was always 0.
3525         (int_mallinfo): Store 0 into usmblks (no functional change).
3526         * malloc/hooks.c (struct malloc_state): Document that
3527         max_total_mem is always 0.
3528         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
3529         always 0.
3530         * manual/memory.texi (Statistics of Malloc): Likewise.
3532 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3534         * malloc/malloc.c (sysmalloc): Do not update arena_max.
3535         * malloc/arena.c (arena_max): Remove.
3536         (heap_trim, _int_new_arena): Do not update arena_max.
3538 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3540         * resolv/res_init.c (res_ninit): Update comment.
3542 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3544         [BZ #19505]
3545         * posix/spawn_int.h: Add headers and include guard.
3546         (__spawn_valid_fd): New function.
3547         * posix/spawn_faction_addopen.c
3548         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
3549         * posix/spawn_faction_addclose.c
3550         (posix_spawn_file_actions_addclose): Likewise.
3551         * posix/spawn_faction_adddup2.c
3552         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
3553         second file descriptor.
3554         * posix/spawn_valid_fd.c: New file.
3555         * posix/tst-posix_spawn-fd.c: New file.
3556         * posix/Makefile (routines): Add spawn_valid_fd.
3557         (tests): Add tst-posix_spawn-fd.
3559 2016-02-19  Florian Weimer  <fweimer@redhat.com>
3561         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
3562         (do_test): Limit the number of arenas, so that we can use fewer
3563         outer threads.  Limit timeout to 3 seconds, in preparation for a
3564         larger TIMEOUT value.
3566 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
3568         [BZ #19674]
3569         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
3570         sign in overflowing and underflowing results when overflow or
3571         underflow is detected early.  Include sign in result before rather
3572         than after scaling.
3574         [BZ #19603]
3575         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
3576         (__ieee754_remainderl): Adjust sign of integer version of low part
3577         when taking absolute value of high part.
3578         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3579         * math/libm-test.inc (remainder_test_data): Add another test.
3580         (remquo_test_data): Likewise.
3582 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
3584         [BZ #19602]
3585         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
3586         equal high parts and both low parts zero specially.
3587         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
3588         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
3589         Add test-fmodl-ldbl-128ibm.
3591         [BZ #19595]
3592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
3593         common logic for all cases of shifting subnormal results.  Do not
3594         insert sign bit in shifted mantissa.  Always pass -1023 as biased
3595         exponent to ldbl_insert_mantissa in subnormal case.
3597         [BZ #19594]
3598         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
3599         on high and low parts then adjust result and use
3600         ldbl_canonicalize_int if needed.
3602         [BZ #19593]
3603         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
3604         on high part and __floor or __ceil on low part then use
3605         ldbl_canonicalize_int if needed.
3607         [BZ #19592]
3608         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
3609         high and low parts then use ldbl_canonicalize_int if needed.
3611         [BZ #17899]
3612         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
3613         New function.
3614         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
3615         on high and low parts then use ldbl_canonicalize_int if needed.
3617 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3619         * configure: Regenerated.
3621         * po/libc.pot: Regenerated.
3623         * po/be.po: Updated translation.
3624         * po/bg.po: Likewise.
3625         * po/ca.po: Likewise.
3626         * po/cs.po: Likewise.
3627         * po/da.po: Likewise.
3628         * po/el.po: Likewise.
3629         * po/eo.po: Likewise.
3630         * po/es.po: Likewise.
3631         * po/fi.po: Likewise.
3632         * po/fr.po: Likewise.
3633         * po/gl.po: Likewise.
3634         * po/hr.po: Likewise.
3635         * po/hu.po: Likewise.
3636         * po/ia.po: Likewise.
3637         * po/id.po: Likewise.
3638         * po/it.po: Likewise.
3639         * po/ja.po: Likewise.
3640         * po/lt.po: Likewise.
3641         * po/nb.po: Likewise.
3642         * po/nl.po: Likewise.
3643         * po/pt_BR.po: Likewise.
3644         * po/rw.po: Likewise.
3645         * po/sk.po: Likewise.
3646         * po/sl.po: Likewise.
3647         * po/sv.po: Likewise.
3648         * po/tr.po: Likewise.
3649         * po/zh_CN.po: Likewise.
3650         * po/zh_TW.po: Likewise.
3652         * version.h (RELEAES): Set to "development".
3653         (VERSION): Set to 2.23.90.
3655         * version.h (RELEASE): Set to "stable".
3656         (VERSION): Set to 2.23.
3657         * include/feature.h (__GLIBC_MINOR__): Set to 23.
3659         * NEWS: Updated fixed bugs.
3661 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
3662             Wilco Dijkstra  <wdijkstr@arm.com>
3664         [BZ #19462]
3665         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
3666         (_STRING_INLINE_unaligned): This.
3667         * include/string.h: Include <string_private.h>.
3668         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
3669         _STRING_INLINE_unaligned.
3670         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
3671         (_STRING_INLINE_unaligned): New.
3672         * sysdeps/aarch64/string_private.h: New file.
3673         * sysdeps/generic/string_private.h: Likewise.
3674         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
3675         * sysdeps/s390/string_private.h: Likewise.
3676         * sysdeps/x86/string_private.h: Likewise.
3677         * sysdeps/m68k/m680x0/m68020/bits/string.h
3678         (_STRING_ARCH_unaligned): Renamed to ...
3679         (_STRING_INLINE_unaligned): This.
3680         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
3681         to ...
3682         (_STRING_INLINE_unaligned): This.
3683         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
3684         to ...
3685         (_STRING_INLINE_unaligned): This.
3686         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
3687         to ...
3688         (_STRING_INLINE_unaligned): This.
3690 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
3691             H.J. Lu  <hongjiu.lu@intel.com>
3693         [BZ #19590]
3694         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
3695         relocation.
3697 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
3699         [BZ #18665]
3700         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
3701         *herrno_p.
3702         (gaih_getanswer): Document functional behviour. Return tryagain
3703         if any result is tryagain.
3704         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
3705         when freed.
3706         * resolv/res_send.c: Add copyright text.
3707         (__libc_res_nsend): Document that MAXPACKET is expected.
3708         (send_vc): Document. Remove buffer reuse.
3709         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
3710         size of the buffer. Add Dprint for truncated UDP buffer.
3712 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
3714         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
3715         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
3716         * INSTALL: Regenerate.
3718 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
3719             Jonathan Wakely  <jwakely@redhat.com>
3720             Carlos O'Donell  <carlos@redhat.com>
3722         [BZ 19439]
3723         * math/Makefile (tests): Add test-math-isinff.
3724         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
3725         * math/bits/mathcalls.h [__USE_MISC]: Use
3726         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
3727         functions not in C++11 and which don't conflict e.g. isinff,
3728         isinfl etc.
3729         * math/test-math-isinff.cc: New file.
3731 2016-02-12  Florian Weimer  <fweimer@redhat.com>
3733         * misc/bug18240.c (do_test): Set RLIMIT_AS.
3735 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3737         [BZ #19529]
3738         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
3740 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3742         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
3744 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
3746         [BZ #19550]
3747         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
3748         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
3749         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
3750         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
3751         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
3752         New syscall entry.
3753         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
3754         New syscall entry.
3755         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
3756         syscall entry.
3758 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
3760         [BZ #18240]
3761         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
3762         unsigned int wraparound.
3764 2016-01-27  Florian Weimer  <fweimer@redhat.com>
3766         [BZ #18240]
3767         * misc/bug18240.c: New test.
3768         * misc/Makefile (tests): Add it.
3770 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
3771             Joseph Myers  <joseph@codesourcery.com>
3773         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
3774         load in branch delay slot when less than a word of input left.
3776 2016-01-27  Andreas Schwab  <schwab@suse.de>
3778         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
3779         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
3780         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
3781         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
3783 2016-01-26  David S. Miller  <davem@davemloft.net>
3785         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
3787 2016-01-25  David S. Miller  <davem@davemloft.net>
3789         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
3790         __sqrtl_finite.
3791         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
3792         instead using versioned_symbol.
3793         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
3794         of entries.
3796         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
3797         __sqrtl_finite to GLIBC_2.23
3799 2016-01-25  Ricchard Henderson  <rth@redhat.com>
3801         * sysdeps/alpha/fpu/libm-test-ulps: Update.
3803 2016-01-25  Andreas Schwab  <schwab@suse.de>
3805         [BZ #17514]
3806         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
3807         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
3808         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
3809         * nptl/tst-mutex-errorcheck.c: New file.
3811 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3813         [BZ #18560]
3814         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
3815         (IPCOP_semop): Likewise.
3816         (IPCOP_semget): Likewise.
3817         (IPCOP_semctl): Likewise.
3818         (IPCOP_msgsnd): Likewise.
3819         (IPCOP_msgrcv): Likewise.
3820         (IPCOP_msgget): Likewise.
3821         (IPCOP_msgctl): Likewise.
3822         (IPCOP_shmat): Likewise.
3823         (IPCOP_shmdt): Likewise.
3824         (IPCOP_shmget): Likewise.
3825         (IPCOP_shmctl): Likewise.
3827 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
3829         * string/tst-endian.c: Include <libc-internal.h>.
3830         (do_test): Ignore tautological-compare warnings around
3831         "htobeXX (beXXtoh (i)) != i" and
3832         "htoleXX (leXXtoh (i)) != i" if-statements.
3834 2016-01-24  David S. Miller  <davem@davemloft.net>
3836         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
3837         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
3838         alias.
3839         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
3840         __sqrtl_finite.
3842         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3844 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
3846         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
3847         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
3848         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3850 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3852         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
3853         (thread_func): Use new function to simplify barrier check.
3854         (do_test): Use new function to simplify checking barrier exit
3855         code, and actually join the child thread.
3857 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3859         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
3860         semicolon.
3861         (__libc_tend): Likewise.
3862         (__libc_tabort): Likewise.
3864 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
3866         * sysdeps/nios2/libm-test-ulps: Update.
3867         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
3868         (__gtsf2): Likewise.
3869         (__unorddf2): Likewise.
3870         (__unordsf2): Likewise.
3871         (__ledf2): Likewise.
3873 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
3875         * nis/nis_table.c (__follow_path): Disable diagnostic for
3876         uninitialized variable that is a false positive for gcc 4.7.
3877         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
3879 2016-01-20  Roland McGrath  <roland@hack.frob.com>
3881         * sysdeps/nacl/lowlevellock-futex.h
3882         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
3883         Always evaluate PRIVATE argument.
3885 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
3887         [BZ #19490]
3888         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
3889         (pthread_cond_broadcast): Use ENTRY/END
3890         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
3891         (pthread_cond_signal): Likewise.
3892         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
3893         Likewise.
3894         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
3895         Likewise.
3896         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
3897         Likewise.
3899 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
3901         * sysdeps/ieee754/dbl-64/s_finite.c
3902         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
3903         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
3904         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
3905         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
3906         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
3908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3909         (__gtsf2): Add as optional for libc.so.
3910         (__unordsf2): Likewise.
3911         (__signbit): Remove for libc.so.
3912         (__signbitl): Likewise.
3914 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
3916         * iconvdata/bug-iconv11.c (test_ibm93x):
3917         Use %zu printf format specifier for size_t argument.
3919 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
3921         * math/gen-libm-test.pl (parse_ulps): Do not reduce
3922         already-recorded ulps.
3923         * sysdeps/arm/libm-test-ulps: Regenerated.
3924         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
3925         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3926         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
3928 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
3929             Paul Pluzhnikov  <ppluzhnikov@google.com>
3931         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
3932         assembler not supporting AVX-512.
3934 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3936         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3938 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
3940         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3941         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3943         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3945         * sysdeps/arm/libm-test-ulps: Regenerated.
3947 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
3949         [BZ #19451]
3950         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
3952 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3954         [BZ #19486]
3955         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
3956         * sysdeps/generic/fix-fp-int-convert-overflow.h
3957         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
3958         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
3959         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
3960         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
3961         Likewise.
3962         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
3963         Avoid conversions to long int where inexact exceptions
3964         could be raised.
3965         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
3966         Likewise.
3967         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
3968         Avoid conversions to long long int where inexact exceptions
3969         could be raised.
3970         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
3971         Likewise.
3973 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
3975         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
3976         * configure: Regenerated.
3978 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
3980         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
3982 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
3984         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
3985         outside of comment.
3987 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3989         * nptl/tst-barrier1.c: Add description on first line.
3990         * nptl/tst-barrier2.c: Likewise.
3991         * nptl/tst-barrier3.c: Likewise.
3992         * nptl/tst-barrier4.c: Likewise.
3993         * nptl/tst-barrier5.c: Likewise.
3995 2016-01-15  Torvald Riegel  <triegel@redhat.com>
3997         [BZ #18868]
3998         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
4000 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
4002         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
4003         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4004         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
4005         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
4006         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
4007         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
4008         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4009         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4010         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
4011         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4012         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4014 2016-01-15  Torvald Riegel  <triegel@redhat.com>
4016         [BZ #13065]
4017         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
4018         new implementation.
4019         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
4020         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
4021         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
4022         (BARRIER_IN_THRESHOLD): New macro.
4023         * nptl/pthread_barrierattr_setpshared.c
4024         (pthread_barrierattr_setpshared): Clean up.
4025         * nptl/tst-barrier4.c: Correct comment.
4026         * nptl/tst-barrier5.c: New file.
4027         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
4028         (gen-as-const-headers): Remove lowlevelbarrier.sym.
4029         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
4030         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
4031         * nptl/lowlevelbarrier.sym: Remove.
4032         * nptl/DESIGN-barrier.txt: Remove.
4033         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
4034         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
4035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
4036         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
4037         error.
4038         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
4039         implementation.
4041 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4043         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
4044         (do_child): Mask SIGRTMIN while thr is running.
4046 2016-01-15  Martin Sebor  <msebor@redhat.com>
4048         [BZ #19432]
4049         * iconvdata/Makefile: Add bug-iconv11.
4050         * iconvdata/bug-iconv11.c: New test.
4051         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
4052         * iconvdata/ibm933.c: Same.
4053         * iconvdata/ibm935.c: Same.
4054         * iconvdata/ibm937.c: Same.
4055         * iconvdata/ibm939.c: Same.
4057 2016-01-15  Martin Sebor  <msebor@redhat.com>
4059         [BZ #19443]
4060         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
4061         [DEBUG] (_ufc_set_bits): Declare used.
4062         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
4063         [DEBUG] (print_all): Declare used.
4064         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
4065         operands of the ternary ?: expression to target type.
4066         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
4067         calling the undeclared abort.
4068         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
4070 2016-01-15  Martin Sebor  <msebor@redhat.com>
4072         [BZ #18755]
4073         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
4074         warnings.
4075         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
4076         (__gai_create_helper_thread): Same.
4077         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
4078         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
4079         to suppress -Wmaybe-uninitialized warnings.
4081 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
4083         [BZ #19465]
4084         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
4085         inside if.
4086         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4087         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4088         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4090 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
4092         [BZ #19466]
4093         * time/tst-mktime2.c (time_t_max): Removed.
4094         (time_t_min): Likewise.
4095         (TYPE_SIGNED): New.
4096         (TYPE_MINIMUM): Likewise.
4097         (TYPE_MAXIMUM): Likewise.
4098         (TIME_T_MIN): Likewise.
4099         (TIME_T_MAX): Likewise.
4100         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
4101         and TIME_T_MIN.
4102         (do_test): Likewise.
4104 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
4106         [BZ #19467]
4107         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
4108         index_Fast_Unaligned_Load flag for Excavator family CPUs.
4110 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
4112         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
4114 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
4116         * benchtests/Makefile (PYTHON): Define.
4117         (bench-func): Use $(PYTHON) to run python scripts.
4118         ($(objpfx)bench-%.c): Likewise.
4120 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
4122         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
4123         leading slash when `file_name' is "/".
4125 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
4127         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
4128         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
4129         Likewise.
4130         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
4131         Likewise.
4132         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
4133         Likewise.
4134         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
4135         enum constant and macro.
4136         (PTRACE_SETSIGMASK): Likewise.
4137         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4138         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
4139         (PTRACE_GETSIGMASK): Likewise.
4140         (PTRACE_SETSIGMASK): Likewise.
4141         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4142         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
4143         Likewise.
4144         (PTRACE_SETSIGMASK): Likewise.
4145         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4146         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
4147         (PTRACE_GETSIGMASK): Likewise.
4148         (PTRACE_SETSIGMASK): Likewise.
4149         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
4151         Likewise.
4152         (PTRACE_SETSIGMASK): Likewise.
4153         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4154         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
4155         Likewise.
4156         (PTRACE_SETSIGMASK): Likewise.
4157         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4158         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
4159         Likewise.
4160         (PTRACE_SETSIGMASK): Likewise.
4161         (PTRACE_SECCOMP_GET_FILTER): Likewise.
4163 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
4164             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4166         [BZ #19439]
4167         * math/bits/mathcalls.h
4168         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
4169         prototype.
4170         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
4172 2016-01-11  Andreas Schwab  <schwab@suse.de>
4174         [BZ #19253]
4175         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
4176         cache when TZDEFRULES was used.
4177         * time/tst-tzname.c: New file.
4178         * time/Makefile (test): Add tst-tzname.
4179         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
4180         * timezone/Makefile (test-zones): Add $(posixrules-file).
4181         ($(testdata)/$(posixrules-file)): New rule.
4183 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
4185         Fix doc quoting problems with Texinfo 5
4186         Without this change, in the info file output, Texinfo 5 quotes code
4187         in text with undirected single quotes 'like this' and generates
4188         code examples that with many PDF readers cannot be cut out of PDFs
4189         and pasted into code.
4190         * manual/libc.texinfo: Configure the libc manual like the GNU
4191         Emacs manual, by using @documentencoding and setting
4192         txicodequoteundirected and txicodequotebacktick.  This way,
4193         Texinfo 5 quotes code in text with directed single quotes ‘like
4194         this’ and produces examples that can be cut out of PDFs.  This
4195         change causes Texinfo 5 to generate info files that contain UTF-8
4196         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
4197         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
4199 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4201         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
4202         __libc_tabort, __libc_tend): New wrappers that enforce compiler
4203         barriers to their respective compiler built-ins.
4204         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
4205         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
4206         * sysdeps/powerpc/sysdep.h: Likewise.
4207         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
4208         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
4209         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
4211 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
4213         * scripts/config.guess: Revert previous shebang change.
4214         * scripts/config.sub: Likewise.
4215         * scripts/mkinstalldirs: Likewise.
4217 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4219         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
4220         PPC_FEATURE2_HAS_IEEE128.
4221         * sysdeps/powerpc/dl-procinfo.c:
4222         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
4224 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
4226         [BZ #19415]
4227         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
4228         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
4229         (_dl_lookup_address): Rewrite using function resolver trampoline.
4230         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
4231         two bits in address.
4233 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4235         * longlong.h: Change !__SHMEDIA__ to
4236         (!defined (__SHMEDIA__) || !__SHMEDIA__).
4237         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
4239 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
4240             Joseph Myers  <joseph@codesourcery.com>
4241             Mark Shinwell  <shinwell@codesourcery.com>
4242             Andrew Stubbs  <ams@codesourcery.com>
4243             Rich Felker <dalias@libc.org>
4245         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
4247 2016-01-07  Richard Henderson  <rth@redhat.com>
4249         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
4251 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
4253         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
4254         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
4255         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
4256         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
4257         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
4259 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
4260             Joseph Myers  <joseph@codesourcery.com>
4262         * timezone/private.h: Update from tzcode 2015g.
4263         * timezone/tzfile.h: Likewise.
4264         * timezone/tzselect.ksh: Likewise.
4265         * timezone/zdump.c: Likewise.
4266         * timezone/zic.c: Likewise.
4267         * timezone/ialloc.c: Remove file.
4268         * timezone/scheck.c: Likewise.
4269         * timezone/Makefile (extra-objs): Remove variable.
4270         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
4271         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
4272         -Wno-maybe-uninitialized.
4273         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
4274         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
4275         (CFLAGS-ialloc.c): Remove variable.
4276         (CFLAGS-scheck.c): Likewise.
4277         * timezone/README: Update list of files from tzcode.
4279 2016-01-07  Khem Raj  <raj.khem@gmail.com>
4281         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
4282         instead of __fxprintf when _LIBC is undefined.
4284 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
4286         * catgets/test-gencat.sh: Remove space after shebang.
4287         * conform/GlibcConform.pm: Likewise.
4288         * conform/check-header-lists.sh: Likewise.
4289         * conform/conformtest.pl: Likewise.
4290         * conform/linknamespace.pl: Likewise.
4291         * conform/list-header-symbols.pl: Likewise.
4292         * debug/catchsegv.sh: Likewise.
4293         * elf/genrtldtbl.awk: Likewise.
4294         * elf/tst-pathopt.sh: Likewise.
4295         * elf/tst-rtld-load-self.sh: Likewise.
4296         * grp/tst_fgetgrent.sh: Likewise.
4297         * iconvdata/gen-8bit-gap-1.sh: Likewise.
4298         * iconvdata/gen-8bit-gap.sh: Likewise.
4299         * iconvdata/gen-8bit.sh: Likewise.
4300         * iconvdata/run-iconv-test.sh: Likewise.
4301         * intl/tst-gettext.sh: Likewise.
4302         * intl/tst-gettext2.sh: Likewise.
4303         * intl/tst-gettext4.sh: Likewise.
4304         * intl/tst-gettext6.sh: Likewise.
4305         * intl/tst-translit.sh: Likewise.
4306         * io/ftwtest-sh: Likewise.
4307         * libio/test-freopen.sh: Likewise.
4308         * locale/gen-translit.pl: Likewise.
4309         * malloc/tst-mtrace.sh: Likewise.
4310         * manual/check-safety.sh: Likewise.
4311         * manual/libc-texinfo.sh: Likewise.
4312         * manual/tsort.awk: Likewise.
4313         * manual/xtract-typefun.awk: Likewise.
4314         * nptl/tst-cancel-wrappers.sh: Likewise.
4315         * nptl/tst-tls6.sh: Likewise.
4316         * posix/globtest.sh: Likewise.
4317         * posix/tst-getconf.sh: Likewise.
4318         * posix/wordexp-tst.sh: Likewise.
4319         * scripts/check-c++-types.sh: Likewise.
4320         * scripts/check-local-headers.sh: Likewise.
4321         * scripts/config.guess: Likewise.
4322         * scripts/config.sub: Likewise.
4323         * scripts/cpp: Likewise.
4324         * scripts/cross-test-ssh.sh: Likewise.
4325         * scripts/documented.sh: Likewise.
4326         * scripts/evaluate-test.sh: Likewise.
4327         * scripts/gen-libc-abis: Likewise.
4328         * scripts/gen-sorted.awk: Likewise.
4329         * scripts/list-fixed-bugs.py: Likewise.
4330         * scripts/merge-test-results.sh: Likewise.
4331         * scripts/mkinstalldirs: Likewise.
4332         * scripts/rellns-sh: Likewise.
4333         * scripts/test-installation.pl: Likewise.
4334         * scripts/update-copyrights: Likewise.
4335         * stdio-common/tst-printf.sh: Likewise.
4336         * stdio-common/tst-unbputc.sh: Likewise.
4337         * stdlib/tst-fmtmsg.sh: Likewise.
4338         * stdlib/tst-setcontext3.sh: Likewise.
4339         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
4340         * sysdeps/unix/make-syscalls.sh: Likewise.
4342 2016-01-06  John David Anglin  <dave.anglin@bell.net>
4344         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
4345         asm stw with atomic_exchange_rel.  Add explanatory comment.
4346         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
4347         Likewise.
4349 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4351         [BZ #19122]
4352         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
4353         * sysdeps/generic/dl-unistd.h: New file.
4354         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
4356 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
4358          [BZ #19122]
4359          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
4360          * sysdeps/generic/dl-mman.h: New file.
4361          * sysdeps/mach/hurd/dl-mman.h: Likewise.
4363 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
4365         * manual/texinfo.tex: Update to version 2016-01-04.21 with
4366         trailing whitespace removed.
4367         * scripts/config.guess: Update to version 2016-01-01.
4368         * scripts/config.sub: Update to version 2016-01-01.
4369         * scripts/move-if-change: Update from gnulib.
4371 2016-01-04  Anton Blanchard  <anton@samba.org>
4373         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
4374         for array indices.
4375         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
4377 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
4379         * NEWS: Update copyright dates.
4380         * catgets/gencat.c (print_version): Likewise.
4381         * csu/version.c (banner): Likewise.
4382         * debug/catchsegv.sh: Likewise.
4383         * debug/pcprofiledump.c (print_version): Likewise.
4384         * debug/xtrace.sh (do_version): Likewise.
4385         * elf/ldconfig.c (print_version): Likewise.
4386         * elf/ldd.bash.in: Likewise.
4387         * elf/pldd.c (print_version): Likewise.
4388         * elf/sotruss.sh: Likewise.
4389         * elf/sprof.c (print_version): Likewise.
4390         * iconv/iconv_prog.c (print_version): Likewise.
4391         * iconv/iconvconfig.c (print_version): Likewise.
4392         * locale/programs/locale.c (print_version): Likewise.
4393         * locale/programs/localedef.c (print_version): Likewise.
4394         * login/programs/pt_chown.c (print_version): Likewise.
4395         * malloc/memusage.sh (do_version): Likewise.
4396         * malloc/memusagestat.c (print_version): Likewise.
4397         * malloc/mtrace.pl: Likewise.
4398         * manual/libc.texinfo: Likewise.
4399         * nptl/version.c (banner): Likewise.
4400         * nscd/nscd.c (print_version): Likewise.
4401         * nss/getent.c (print_version): Likewise.
4402         * nss/makedb.c (print_version): Likewise.
4403         * posix/getconf.c (main): Likewise.
4404         * scripts/test-installation.pl: Likewise.
4405         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4407         * All files with FSF copyright notices: Update copyright dates
4408         using scripts/update-copyrights.
4409         * intl/plural.c: Regenerated.
4410         * locale/programs/charmap-kw.h: Likewise.
4411         * locale/programs/locfile-kw.h: Likewise.
4413 2016-01-02  Helge Deller  <deller@gmx.de>
4415         [BZ #19285]
4416         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
4417         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
4418         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
4419         (MADV_xxK_PAGES): Remove.
4421 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
4423         [BZ #15421]
4424         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
4425         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
4426         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
4427         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
4429 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
4431         [BZ #19408]
4432         * sysdeps/unix/sysv/linux/personality.c: New file.
4433         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
4434         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
4435         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
4436         (sysdep_routines): Add personality.
4437         (tests): Add tst-personality.
4438         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
4439         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
4440         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
4441         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
4442         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
4443         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
4444         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
4445         Likewise.
4446         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
4447         Likewise.
4448         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
4449         Likewise.
4450         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
4451         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
4452         Likewise.
4454 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
4456         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
4457         (PATH_ARM_SYSTYPE): Remove.
4458         (PATH_CPUINFO): Likewise.
4459         (IO_BASE_FOOTBRIDGE): Likewise.
4460         (IO_SHIFT_FOOTBRIDGE): Likewise.
4461         (struct platform): Likewise.
4462         (init_iosys): Remove compatibility code for 2.4 kernels.
4463         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
4465 2015-12-29  Florian Weimer  <fweimer@redhat.com>
4467         * malloc/tst-malloc-thread-fail.c: New file.
4468         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
4469         (tst-malloc-thread-fail): Link against libpthread.
4471 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
4473         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
4474         (get_parser): New function.
4475         (main): New function.
4477 2015-12-29  Rob Wu  <rob@robwu.nl>
4479         [BZ #19369]
4480         * resolv/res_init.c (__res_vinit): Reset defdname before use.
4482 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
4484         [BZ #19270]
4485         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
4487 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
4489         [BZ #15421]
4490         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
4492 2015-12-23  Torvald Riegel  <triegel@redhat.com>
4494         [BZ #13690]
4495         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
4496         after releasing it.
4497         (__lll_robust_unlock): Likewise.
4498         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4499         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
4500         (lll_robust_unlock): Likewise.
4501         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
4502         Prevent warnings in callers.
4504 2015-12-23  Florian Weimer  <fweimer@redhat.com>
4506         * malloc/arena.c (list_lock): Update comment.
4508 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4510         * sysdeps/powerpc/hwcapinfo.c: Export symbol
4511         __parse_hwcap_and_convert_at_platform to libc.a.
4513 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4515         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
4516         platform and feature support for POWER9.
4517         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4518         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
4519         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
4520         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
4521         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
4522         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
4523         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
4524         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
4526 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4528         Harmonize generic stdio-lock support with nptl
4530         This fixes build when _IO_funlockfile is a macro, fixes build where
4531         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
4532         stack unwind.
4534         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
4535         _IO_release_lock ): Use cleanup attribute on new
4536         _IO_acquire_lock_file variable instead of assuming that
4537         _IO_release_lock will be called.
4538         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
4539         _IO_acquire_lock_needs_exceptions_enabled.
4540         (_IO_acquire_lock_clear_flags2): New macro.
4542 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4544         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
4546 2015-12-21  Florian Weimer  <fweimer@redhat.com>
4548         [BZ #19182]
4549         * malloc/arena.c (list_lock): Document lock ordering requirements.
4550         (free_list_lock): New lock.
4551         (ptmalloc_lock_all): Comment on free_list_lock.
4552         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
4553         (detach_arena): Update comment.  free_list_lock is now needed.
4554         (_int_new_arena): Use free_list_lock around detach_arena call.
4555         Acquire arena lock after list_lock.  Add comment, including FIXME
4556         about incorrect synchronization.
4557         (get_free_list): Switch to free_list_lock.
4558         (reused_arena): Acquire free_list_lock around detach_arena call
4559         and attached threads counter update.  Add two FIXMEs about
4560         incorrect synchronization.
4561         (arena_thread_freeres): Switch to free_list_lock.
4562         * malloc/malloc.c (struct malloc_state): Update comments to
4563         mention free_list_lock.
4565 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
4567         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
4568         Remove functions.
4569         (sloww, sloww1): Accept argument to offset quadrant.
4570         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
4571         quadrant.
4572         (__sin, __cos): Consolidate common code into new functions.
4573         (reduce_sincos_1, do_sincos_1): New functions.
4574         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4576         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
4577         code to new functions.
4578         (reduce_sincos_2, do_sincos_2): New functions.
4579         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
4581         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
4582         common code for sincos.
4583         (__cos) [!IN_SINCOS]: Likewise.
4584         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
4585         New function.
4586         (__sincos): Use it.
4588 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
4590         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
4591         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
4592         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4594 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4596         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
4597         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
4598         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
4599         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
4600         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4601         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
4602         index_Prefer_No_VZEROUPPER): New feature.
4603         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
4604         Prefer_No_VZEROUPPER for Knights Landing.
4606 015-12-18  Torvald Riegel  <triegel@redhat.com>
4608         * math/atest-exp2.c (mp_exp_m1): Remove.
4610 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4612         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
4613         syscalls.
4614         (__SYSCALL0): New macro.
4615         (__SYSCALL1): Likewise.
4616         (__SYSCALL2): Likewise.
4617         (__SYSCALL3): Likewise.
4618         (__SYSCALL4): Likewise.
4619         (__SYSCALL5): Likewise.
4620         (__SYSCALL6): Likewise.
4621         (__SYSCALL_CONCAT_X): Likewise.
4622         (__SYSCALL_CONCAT): Likewise.
4623         (__SYSCALL_DIST): Likewise.
4624         (__SYSCALL_CALL): Likewise.
4626 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
4628         [BZ #19363]
4629         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
4631 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4633         [BZ #19375]
4634         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
4635         negative subnormals.
4637 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
4639         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
4640         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
4641         (INTERNAL_SYSCALL_NCS): Use it.
4642         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
4644 2015-12-16  Florian Weimer  <fweimer@redhat.com>
4646         [BZ #19243]
4647         * malloc/arena.c (get_free_list): Remove assert and adjust
4648         reference count handling.  Add comment about reused_arena
4649         interaction.
4650         (reused_arena): Add comments abount get_free_list interaction.
4651         * malloc/tst-malloc-thread-exit.c: New file.
4652         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
4653         (tst-malloc-thread-exit): Link against libpthread.
4655 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4657         [BZ #19367]
4658         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
4659         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
4660         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
4661         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
4662         (index_Prefer_MAP_32BIT_EXEC): Likewise.
4664 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
4666         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
4667         Silvermont optimizations for Knights Landing.
4669 2015-12-15  Andreas Schwab  <schwab@suse.de>
4671         [BZ #17197]
4672         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
4673         immediately after emitting SI.
4674         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
4675         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
4676         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
4677         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
4678         * iconvdata/bug-iconv10.c: New file.
4679         * iconvdata/Makefile (tests): Add bug-iconv10.
4680         ($(objpfx)bug-iconv10.out): New rule.
4682 2015-12-15  Florian Weimer  <fweimer@redhat.com>
4684         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
4685         aliasing violation.
4687 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
4689         [BZ #18472]
4690         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
4691         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
4692         conditionals for them.
4693         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
4694         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
4695         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
4696         sys/kdaemon.h.
4697         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
4698         compat-only syscall, obsoleted in glibc 2.23.
4699         (create_module): Likewise.
4700         (get_kernel_syms): Likewise.
4701         (query_module): Likewise.
4702         (uselib): Likewise.
4703         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
4705 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
4707         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
4708         <linux/version.h>.
4709         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
4710         conditional code.
4711         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
4712         and ioshift_name initialization.
4714 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4716         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4717         Fix indentation.
4719 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4721         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
4723 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
4725         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
4727 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
4728             Jakub Wilk  <jwilk@debian.org>
4730         [BZ #19347]
4731         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
4732         to change the group of the device to the tty group.
4734 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
4736         Split large string section; add truncation advice
4737         * manual/examples/strncat.c: Remove.
4738         This example was misleading, as the code would have undefined
4739         behavior if "hello" was longer than SIZE.  Anyway, the manual
4740         shouldn't encourage strncpy+strncat for this sort of thing.
4741         * manual/string.texi (Copying Strings and Arrays): Split into
4742         three sections Copying Strings and Arrays, Concatenating Strings,
4743         and Truncating Strings, as this section was way too long.  All
4744         cross-referenced changed.  Add advice about string-truncation
4745         functions.  Remove misleading strncat example.
4747 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
4749         * manual/nss.texi (NSS Modules Interface): Document
4750         NSS_STATUS_NOTFOUND and SUCCESS.
4752 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4754         [BZ 18568]
4755         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
4756         201505L, for Unicode 8.
4758 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
4760         * locale/C-translit.h: Regenerate.
4762 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
4764         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
4765         and U+0153.
4767 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
4769         [BZ #19351]
4770         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
4771         expanding log(1+z), compare z rather than its square with epsilon
4772         to determine when to avoid evaluating the expansion.
4774         [BZ #19350]
4775         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
4776         Increase overflow threshold.
4778         [BZ #19349]
4779         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
4780         when small.
4782         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4783         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4784         New macro.
4785         [__LINUX_KERNEL_VERSION >= 0x040300]
4786         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4787         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4788         Likewise.
4789         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4790         Likewise.
4791         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4792         Likewise.
4793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4794         Likewise.
4795         [__LINUX_KERNEL_VERSION >= 0x040300]
4796         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4797         [__LINUX_KERNEL_VERSION >= 0x040300]
4798         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4799         [__LINUX_KERNEL_VERSION >= 0x040300]
4800         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4801         [__LINUX_KERNEL_VERSION >= 0x040300]
4802         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4803         [__LINUX_KERNEL_VERSION >= 0x040300]
4804         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4806         Likewise.
4807         [__LINUX_KERNEL_VERSION >= 0x040300]
4808         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4809         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4810         Likewise.
4811         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4812         Likewise.
4813         [__LINUX_KERNEL_VERSION >= 0x040300]
4814         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4815         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4816         Likewise.
4817         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4818         Likewise.
4819         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4820         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
4821         Likewise.
4822         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
4823         Likewise.
4824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
4825         Likewise.
4826         [__LINUX_KERNEL_VERSION >= 0x040300]
4827         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
4829         Likewise.
4830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
4831         Likewise.
4832         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
4833         Likewise.
4834         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
4835         Likewise.
4836         [__LINUX_KERNEL_VERSION >= 0x040300]
4837         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
4838         [__LINUX_KERNEL_VERSION >= 0x040300]
4839         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4840         [__LINUX_KERNEL_VERSION >= 0x040300]
4841         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4842         [__LINUX_KERNEL_VERSION >= 0x040300]
4843         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4844         [__LINUX_KERNEL_VERSION >= 0x040300]
4845         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4846         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
4847         Likewise.
4848         [__LINUX_KERNEL_VERSION >= 0x040300]
4849         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4850         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4851         Likewise.
4852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
4853         Likewise.
4854         [__LINUX_KERNEL_VERSION >= 0x040300]
4855         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
4856         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4857         Likewise.
4858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
4859         Likewise.
4860         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4861         (__ASSUME_SOCKET_SYSCALL): Likewise.
4862         (__ASSUME_BIND_SYSCALL): Likewise.
4863         (__ASSUME_CONNECT_SYSCALL): Likewise.
4864         (__ASSUME_LISTEN_SYSCALL): Likewise.
4865         (__ASSUME_ACCEPT_SYSCALL): Likewise.
4866         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4867         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4868         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4869         (__ASSUME_SEND_SYSCALL): Likewise.
4870         (__ASSUME_SENDTO_SYSCALL): Likewise.
4871         (__ASSUME_RECV_SYSCALL): Likewise.
4872         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4873         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
4874         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4875         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4876         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4877         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4878         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4879         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
4880         Likewise.
4881         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
4882         Likewise.
4883         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
4884         Likewise.
4885         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
4886         Likewise.
4887         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
4888         Likewise.
4889         [__LINUX_KERNEL_VERSION >= 0x020625]
4890         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
4891         [__LINUX_KERNEL_VERSION >= 0x020625]
4892         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
4893         [__LINUX_KERNEL_VERSION >= 0x020625]
4894         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
4895         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
4896         Likewise.
4897         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
4898         Likewise.
4899         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
4900         Likewise.
4901         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
4902         Likewise.
4903         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
4904         Likewise.
4905         [__LINUX_KERNEL_VERSION >= 0x020625]
4906         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
4907         [__LINUX_KERNEL_VERSION >= 0x020625]
4908         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
4909         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
4910         Likewise.
4911         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
4912         Likewise.
4914 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4916         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
4917         record the current if the current ABI and CPU support the FP64
4918         extension.
4919         (has-modd-spreg): Define to record the current if the current ABI and
4920         CPU support 32-bit floating point values in odd FPU registers.
4921         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
4922         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
4923         $(has-modd-spreg) equals yes.
4924         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
4925         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
4926         $(has-modd-spreg) equal yes.
4928 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
4930         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
4931         basename.
4933 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
4935         * benchtests/Makefile (bench-math): Move ffs and ffsll...
4936         (bench-string): ... here.
4937         (bench): Add bench-string.
4938         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
4939         to *-benchset to reflect what they are.
4940         (benchset): Adjust.
4942         * benchtests/sincos-inputs: Add inputs from sin-inputs and
4943         cos-inputs.
4945 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
4947         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
4948         __attribute__ ((__simd__)) for vector math function declarations.
4950 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4952         Fix typo in strncat, wcsncat manual entries
4953         * manual/string.texi (Copying and Concatenation): Fix typos in
4954         sample implementations of strncat and wcsncat, by having them use
4955         the old value of the destination length, not the new one.
4957 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
4959         [BZ #16961]
4960         [BZ #16962]
4961         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
4962         string on the stack for strtod.
4963         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
4964         a string on the stack for strtof.
4965         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
4966         constructing a string on the stack for strtold.
4967         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
4968         __strtold_nan to GLIBC_PRIVATE.
4969         * math/test-nan-overflow.c: New file.
4970         * math/test-nan-payload.c: Likewise.
4971         * math/Makefile (tests): Add test-nan-overflow and
4972         test-nan-payload.
4974 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
4976         Consistency about byte vs character in string.texi
4977         * manual/string.texi (String and Array Utilities):
4978         Distinguish more carefully among bytes, multibyte characters,
4979         and wide characters.  Use "byte" when talking about C 'char',
4980         to distinguish it more clearly from multibyte characters.
4981         Say "wide character" or "multibyte character" instead of
4982         "character", when a wide or multibyte character is intended.
4983         Similarly for "multibyte string" versus "string".
4984         Define these terms more carefully.
4986 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
4988         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
4989         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
4990         Likewise.
4991         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4992         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
4993         * sysdeps/sh/math_private.h: New file.
4994         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
4995         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
4996         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
4997         long double function name.
4998         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4999         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
5000         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5001         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
5002         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
5004         Remove __finitel, __isinfl, and __isnanl.
5005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5006         Likewise.
5007         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5009         Remove __finitel.
5010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5011         Likewise.
5012         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5014 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
5016         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
5017         installed libmvec_nonshared.a.
5019 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5021         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
5022         (sysdep_routines): Likewise.
5023         (sysdep-rtld-routines): Likewise.
5024         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
5025         [$(subdir) = nptl](tests-static): test-get_hwcap-static
5026         * sysdeps/powerpc/Versions: Added new
5027         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
5028         * sysdeps/powerpc/hwcapinfo.c: New file.
5029         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
5030         and parse hwcap, hwcap2 and platform number information.
5031         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
5032         to store HWCAP+HWCAP2 and platform number.
5033         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
5034         for HWCAP+HWCAP2 and platform number in the TCB.
5035         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
5036         the HWCAP, HWCAP2 and platform number in the TCB.
5037         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
5038         (TLS_INIT_TP): Included calls to add the hwcap and
5039         at_platform values in the TCB in TP initialization.
5040         (TLS_DEFINE_INIT_TP): Likewise.
5041         (THREAD_GET_HWCAP): New macro.
5042         (THREAD_SET_HWCAP): Likewise.
5043         (THREAD_GET_AT_PLATFORM): Likewise.
5044         (THREAD_SET_AT_PLATFORM): Likewise.
5045         * sysdeps/powerpc/powerpc32/dl-machine.h:
5046         (dl_platform_init): New function that calls
5047         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
5048         powerpc32.
5049         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
5050         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
5051         this functionality, static linking case.
5052         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
5053         linking case.
5054         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
5055         __parse_hwcap_and_convert_at_platform for the static linking case.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
5057         Included the new __parse_hwcap_and_convert_at_platform symbol in the
5058         ABI list for GLIBC 2.23.
5059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
5060         Likewise.
5061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
5062         Likewise.
5064 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
5066         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
5067         * configure: Regenerate.
5068         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
5069         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
5071 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
5073         * iconvdata/ibm930.c: Add comment explaining encoding uses.
5074         * iconvdata/ibm933.c: Likewise.
5075         * iconvdata/ibm935.c: Likewise.
5076         * iconvdata/ibm937.c: Likewise.
5077         * iconvdata/ibm939.c: Likewise.
5079 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5081         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
5082         pthread_join.
5083         * nptl/tst-cancel21.c (tf): Likewise.
5085 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
5087         [BZ #19313]
5088         * bits/typesizes.h (__CPU_MASK_TYPE): New.
5089         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5090         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
5091         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
5092         Likewise.
5093         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
5094         Likewise.
5095         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
5096         Likewise.
5097         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
5098         Likewise.
5099         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
5100         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
5101         unsigned long int with __CPU_MASK_TYPE.
5103 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5105         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5107 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
5109         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
5110         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
5111         t512.x.
5112         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
5114 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
5116         [BZ #19214]
5117         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
5118         argument to return extended model.  Update family and model
5119         with extended family and model when family == 0x0f.
5120         (init_cpu_features): Updated.
5122 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5124         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
5125         signed off_t, so 32bit bigger than 2GiB values are fine actually.
5127         * sysdeps/mach/hurd/mmap64.c: New file.
5129 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
5131         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
5132         rights for its main user thread in NEWTASK.
5134 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
5136         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
5137         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
5139 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
5141         [BZ #14259]
5142         * Makeconfig: Rename localedir to complocaledir.
5143         Rename inst_localedir to inst_complocaledir.
5144         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
5145         * config.make.in: Use complocaledir and libc_cv_complocaledir.
5146         * configure.ac: Use libc_cv_complocaledir.
5147         * configure: Regenerate.
5148         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
5149         -DCOMPLOCALEDIR.
5150         * locale/findlocale.c: Use COMPLOCALEDIR.
5151         * locale/loadarchive.c: Likewise.
5152         * locale/programs/locale.c: Likewise.
5153         * locale/programs/localedef.c: Likewise.
5154         * locale/programs/locarchive.c: Likewise.
5155         * localedata/Makefile: Use inst_complocaledir.
5156         * sysdeps/gnu/configure: Regenerate.
5157         * sysdeps/hppa/configure: Regenerate.
5158         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
5159         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5161         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
5162         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
5163         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
5164         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
5166 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
5168         [BZ #19058]
5169         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
5170         AS_NEEDED.
5171         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
5172         workaround.
5173         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
5174         libmvec-static-only-routines): Added new file.
5175         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
5177 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5179         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
5180         of interrupted RPC instead of restoring it.
5182         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
5183         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
5184         libc_hidden_def.
5185         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
5186         into initialized data instead of common. Define rtld_hidden_data_def.
5187         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
5188         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
5189         libc_hidden_def.
5190         (if_freenameindex): Add libc_hidden_weak.
5191         (if_nameindex): Add libc_hidden_weak.
5192         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
5193         __open64.
5194         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
5195         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
5196         * sysdeps/mach/nanosleep.c: Include <time.h>
5197         (__nanosleep): Rename to __libc_nanosleep.
5198         (__nanosleep): Add weak_alias.
5199         (nanosleep): Update alias.
5201 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
5203         * stdlib/strtod_nan.c: New file.
5204         * stdlib/strtod_nan_double.h: Likewise.
5205         * stdlib/strtod_nan_float.h: Likewise.
5206         * stdlib/strtod_nan_main.c: Likewise.
5207         * stdlib/strtod_nan_narrow.h: Likewise.
5208         * stdlib/strtod_nan_wide.h: Likewise.
5209         * stdlib/strtof_nan.c: Likewise.
5210         * stdlib/strtold_nan.c: Likewise.
5211         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
5212         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
5213         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
5214         * wcsmbs/wcstod_nan.c: Likewise.
5215         * wcsmbs/wcstof_nan.c: Likewise.
5216         * wcsmbs/wcstold_nan.c: Likewise.
5217         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
5218         strtold_nan.
5219         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
5220         wcstof_nan.
5221         * include/stdlib.h (__strtof_nan): Declare and use
5222         libc_hidden_proto.
5223         (__strtod_nan): Likewise.
5224         (__strtold_nan): Likewise.
5225         (__wcstof_nan): Likewise.
5226         (__wcstod_nan): Likewise.
5227         (__wcstold_nan): Likewise.
5228         * include/wchar.h (____wcstoull_l_internal): Declare.
5229         * stdlib/strtod_l.c: Do not include <ieee754.h>.
5230         (____strtoull_l_internal): Remove declaration.
5231         (STRTOF_NAN): Define macro.
5232         (SET_MANTISSA): Remove macro.
5233         (STRTOULL): Likewise.
5234         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
5235         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
5236         (STRTOF_NAN): Define macro.
5237         (SET_MANTISSA): Remove macro.
5238         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
5239         (SET_MANTISSA): Remove macro.
5240         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
5241         macro.
5242         (SET_MANTISSA): Remove macro.
5243         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
5244         macro.
5245         (SET_MANTISSA): Remove macro.
5246         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
5247         (SET_MANTISSA): Remove macro.
5248         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
5249         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
5250         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
5252         [BZ #19266]
5253         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
5254         upper case and lower case letters inside NAN(), not using TOLOWER.
5255         * stdlib/tst-strtod-nan-locale-main.c: New file.
5256         * stdlib/tst-strtod-nan-locale.c: Likewise.
5257         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
5258         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
5259         Depend on $(gen-locales).
5260         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
5261         * wcsmbs/tst-wcstod-nan-locale.c: New file.
5262         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
5263         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
5264         Depend on $(gen-locales).
5265         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
5267 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
5269         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
5271         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
5272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
5273         __finitel, __isinfl, and __isnanl.
5274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
5275         Likewise.
5276         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
5278         __finitel.
5279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5280         Likewise.
5281         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5283 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5285         * malloc/memusage.c (me): Remove redundant getenv call.
5287 2015-10-24  Florian Weimer  <fweimer@redhat.com>
5289         [BZ #19143]
5290         [BZ #19164]
5291         * nptl/check-cpuset.h: Remove.
5292         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
5293         Remove CPU set size check.
5294         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
5295         Likewise.
5296         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
5297         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
5298         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
5299         (__pthread_setaffinity_new): Remove CPU set size check.
5300         * sysdeps/unix/sysv/linux/sched_setaffinity.c
5301         (__kernel_cpumask_size): Remove.
5302         (__sched_setaffinity_new): Remove CPU set size check.
5303         * manual/threads.texi (Default Thread Attributes): Remove stale
5304         reference to check_cpuset_attr, determine_cpumask_size in comment.
5305         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
5306         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
5307         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
5308         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
5309         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
5310         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
5311         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
5312         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
5313         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
5314         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
5315         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
5316         skeleton test file.
5317         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
5318         tst-affinity-pid.
5320 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5322         * scripts/update-abilist.sh: New file.
5323         * Makefile (+subdir_targets): Add subdir_update-all-abi.
5324         * Makerules (update-all-abi-%, update-all-abi)
5325         (subdir_update-all-abi): New targets.
5326         * elf/Makefile (update-all-abi): New target.
5328 2015-11-24  Florian Weimer  <fweimer@redhat.com>
5330         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
5331         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
5332         (__libc_lock_define_initialized): Use it.
5333         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
5334         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
5335         * malloc/malloc.c (main_arena): Likewise.
5336         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5337         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
5339 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
5341         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
5342         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
5343         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5344         (PTRACE_O_MASK): Update value.
5345         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
5346         New value in enum __ptrace_setoptions.
5347         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5348         (PTRACE_O_MASK): Update value.
5349         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
5350         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5351         (PTRACE_O_MASK): Update value.
5352         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
5353         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5354         (PTRACE_O_MASK): Update value.
5355         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
5356         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
5357         (PTRACE_O_MASK): Update value.
5358         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
5359         New value in enum __ptrace_setoptions.
5360         (PTRACE_O_MASK): Update value.
5361         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
5362         New value in enum __ptrace_setoptions.
5363         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
5364         (PTRACE_O_MASK): Update value.
5366         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
5367         New macro.
5368         (PACKET_AUXDATA): Likewise.
5369         (PACKET_ORIGDEV): Likewise.
5370         (PACKET_VERSION): Likewise.
5371         (PACKET_HDRLEN): Likewise.
5372         (PACKET_RESERVE): Likewise.
5373         (PACKET_TX_RING): Likewise.
5374         (PACKET_LOSS): Likewise.
5375         (PACKET_VNET_HDR): Likewise.
5376         (PACKET_TX_TIMESTAMP): Likewise.
5377         (PACKET_TIMESTAMP): Likewise.
5378         (PACKET_FANOUT): Likewise.
5379         (PACKET_TX_HAS_OFF): Likewise.
5380         (PACKET_QDISC_BYPASS): Likewise.
5381         (PACKET_ROLLOVER_STATS): Likewise.
5382         (PACKET_FANOUT_DATA): Likewise.
5383         (PACKET_MR_UNICAST): Likewise.
5385         [BZ #19242]
5386         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
5387         (TOUPPER): Likewise.
5388         * stdlib/tst-strtol-locale-main.c: New file.
5389         * stdlib/tst-strtol-locale.c: Likewise.
5390         * stdlib/Makefile (tests): Add tst-strtol-locale.
5391         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
5392         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
5393         Depend on $(gen-locales).
5394         * wcsmbs/tst-wcstol-locale.c: New file.
5395         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
5396         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
5397         tr_TR.ISO-8859-9.
5398         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
5399         Depend on $(gen-locales).
5401 2015-11-20  Roland McGrath  <roland@hack.frob.com>
5403         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
5404         __glibc_likely instead of __builtin_expect.  After falling back to
5405         dyncode_create in a non-ET_DYN case, use the allocate_code_data
5406         system interface to register the code pages as occupied.
5408 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
5410         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5411         [!ARM_MATH_PRIVATE_H].
5412         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
5413         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5414         [!HPPA_MATH_PRIVATE_H].
5415         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
5416         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
5417         to [!I386_MATH_PRIVATE_H].
5418         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
5419         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
5420         Change guard to [!M68K_MATH_PRIVATE_H].
5421         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
5422         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
5423         guard to [!MICROBLAZE_MATH_PRIVATE_H].
5424         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
5425         macro.
5426         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5427         [!MIPS_MATH_PRIVATE_H].
5428         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
5429         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5430         [!NIO2_MATH_PRIVATE_H].
5431         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
5432         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
5433         [!TILE_MATH_PRIVATE_H].
5434         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
5436         [BZ #15421]
5437         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
5438         initialize with 0 and define as weak alias of __signgam.
5439         * include/math.h [!_ISOMAC] (__signgam): Declare.
5440         * math/Makefile (libm-calls): Add w_lgamma_compat.
5441         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
5442         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
5443         test-signgam-ullong-init.
5444         (tests-static): Add test-signgam-uchar-static,
5445         test-signgam-uchar-init-static, test-signgam-uint-static,
5446         test-signgam-uint-init-static, test-signgam-ullong-static and
5447         test-signgam-ullong-init-static.
5448         (CFLAGS-test-signgam-uchar.c): New variable.
5449         (CFLAGS-test-signgam-uchar-init.c): Likewise.
5450         (CFLAGS-test-signgam-uchar-static.c): Likewise.
5451         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
5452         (CFLAGS-test-signgam-uint.c): Likewise.
5453         (CFLAGS-test-signgam-uint-init.c): Likewise.
5454         (CFLAGS-test-signgam-uint-static.c): Likewise.
5455         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
5456         (CFLAGS-test-signgam-ullong.c): Likewise.
5457         (CFLAGS-test-signgam-ullong-init.c): Likewise.
5458         (CFLAGS-test-signgam-ullong-static.c): Likewise.
5459         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
5460         * math/Versions (libm): Add GLIBC_2.23.
5461         * math/lgamma-compat.h: New file.
5462         * math/test-signgam-main.c: Likewise.
5463         * math/test-signgam-uchar-init-static.c: Likewise.
5464         * math/test-signgam-uchar-init.c: Likewise.
5465         * math/test-signgam-uchar-static.c: Likewise.
5466         * math/test-signgam-uchar.c: Likewise.
5467         * math/test-signgam-uint-init-static.c: Likewise.
5468         * math/test-signgam-uint-init.c: Likewise.
5469         * math/test-signgam-uint-static.c: Likewise.
5470         * math/test-signgam-uint.c: Likewise.
5471         * math/test-signgam-ullong-init-static.c: Likewise.
5472         * math/test-signgam-ullong-init.c: Likewise.
5473         * math/test-signgam-ullong-static.c: Likewise.
5474         * math/test-signgam-ullong.c: Likewise.
5475         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
5476         wrapper of w_lgamma_main.c.
5477         * math/w_lgamma_compat.c: New file.
5478         * math/w_lgamma_compatf.c: Likewise.
5479         * math/w_lgamma_compatl.c: Likewise.
5480         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
5481         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5482         defining compatibility symbols.
5483         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
5484         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
5485         wrapper of w_lgammaf_main.c.
5486         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
5487         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5488         defining compatibility symbols.
5489         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
5490         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
5491         wrapper of w_lgammal_main.c.
5492         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
5493         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
5494         defining compatibility symbols.
5495         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
5496         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
5497         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
5498         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
5499         <lgamma-compat.h>.
5500         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
5501         (__ieee754_gamma): Define as alias.
5502         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
5503         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
5504         <lgamma-compat.h>.
5505         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
5506         (__ieee754_gammaf): Define as alias.
5507         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
5508         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
5509         <lgamma-compat.h>.
5510         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
5511         (__ieee754_gammal): Define as alias.
5512         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
5513         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
5514         <math/w_lgamma_compat.c>.
5515         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
5516         Define as alias of __lgamma_compat and use in defining lgammal.
5517         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
5518         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
5519         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
5520         (USE_AS_COMPAT): New macro.
5521         (LGAMMA_OLD_VER): Undefine and redefine.
5522         (lgammal): Do not define here.
5523         (gammal): Only define here if [GAMMA_ALIAS].
5524         * conform/linknamespace.pl (@whitelist): Remove signgam.
5525         * sysdeps/nacl/libm.abilist: Update.
5526         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5527         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5528         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5529         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5530         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5531         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5532         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5533         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5534         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5535         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5536         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5537         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5539         Likewise.
5540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5541         Likewise.
5542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5543         Likewise.
5544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5545         Likewise.
5546         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5547         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5548         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5549         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5550         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5552         Likewise.
5553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5554         Likewise.
5555         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5556         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5557         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5559 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5561         [BZ #16364]
5562         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
5563         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
5565 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5567         * sysdeps/s390/fpu/bits/mathinline.h:
5568         Use __asm__ [__volatile__] instead of asm [volatile].
5569         * sysdeps/s390/abort-instr.h: Likewise.
5570         * sysdeps/s390/atomic-machine.h: Likewise.
5571         * sysdeps/s390/bits/string.h: Likewise.
5572         * sysdeps/s390/dl-tls.h: Likewise.
5573         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
5574         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
5575         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
5576         * sysdeps/s390/fpu/fesetround.c: Likewise.
5577         * sysdeps/s390/fpu/fpu_control.h: Likewise.
5578         * sysdeps/s390/fpu/s_fma.c: Likewise.
5579         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
5580         * sysdeps/s390/memusage.h: Likewise.
5581         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
5582         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
5583         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
5584         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
5585         * sysdeps/s390/nptl/tls.h: Likewise.
5586         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
5587         * sysdeps/s390/s390-32/backtrace.c: Likewise.
5588         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5589         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5590         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
5591         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
5592         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
5593         * sysdeps/s390/s390-64/backtrace.c: Likewise.
5594         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5595         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
5596         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5597         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
5598         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
5599         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
5600         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
5601         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
5602         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
5603         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
5604         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
5605         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5606         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
5607         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5608         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
5610 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5611             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5613         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
5614         Add lwarx hint, and use macro for acquire instruction.
5615         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
5616         Likewise.
5617         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
5618         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
5619         update to use new atomic macros.
5621 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5623         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
5624         (__lll_trylock_elision): Fix setting of adapt_count.
5625         * sysdeps/unix/sysv/linux/powerpc/htm.h
5626         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
5627         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
5628         (_ABORT_SYSCALL): Renumber, and clarify definition.
5629         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
5631 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5633         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
5634         after system headers to prevent MIN/MAX redefinition.  Define
5635         HAVE_ALLOCA to preserve builtin alloca usage.
5637 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
5639         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
5640         static and don't set or restore rounding.
5641         (__cos)[IN_SINCOS]: Likewise.
5642         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
5643         (__sincos): Set and restore rounding mode.  Remove check for infinite
5644         or NaN input.
5646         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
5648         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
5649         as used.
5651 2015-11-16  Florian Weimer  <fweimer@redhat.com>
5653         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
5655 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
5657         * config.make.in (have-glob-dat-reloc): New.
5658         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
5659         target supports GLOB_DAT relocaton. AC_SUBST.
5660         * configure: Regenerated.
5661         * elf/Makefile (tests): Add tst-prelink.
5662         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5663         (tst-prelink-ENV): New.
5664         ($(objpfx)tst-prelink-conflict.out): Likewise.
5665         ($(objpfx)tst-prelink-cmp.out): Likewise.
5666         * sysdeps/x86/tst-prelink.c: Moved to ...
5667         * elf/tst-prelink.c: Here.
5668         * sysdeps/x86/tst-prelink.exp: Moved to ...
5669         * elf/tst-prelink.exp: Here.
5670         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
5671         (tst-prelink-ENV): Removed.
5672         ($(objpfx)tst-prelink-conflict.out): Likewise.
5673         ($(objpfx)tst-prelink-cmp.out): Likewise.
5674         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
5676 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
5678         [BZ #14551]
5679         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
5680         (__mpn_construct_long_double): If high part overflows to infinity,
5681         set errno and recompute overflowed result of the correct sign.
5682         * sysdeps/ieee754/ldbl-128ibm/Makefile
5683         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
5684         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
5685         $(libm).
5686         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
5688 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
5690         [BZ #15479]
5691         [BZ #19238]
5692         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
5693         floating-point state after first operation on input.  Restore full
5694         state rather than just rounding mode.
5695         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
5696         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
5697         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
5699         [BZ #19235]
5700         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
5701         add 0.5 to integer arguments.
5702         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
5703         Likewise.
5704         (.LC2): New object.
5706 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
5708         * scripts/pylintrc (reports): Set to no.
5710 2015-11-10  Roland McGrath  <roland@hack.frob.com>
5712         * elf/dl-load.c (open_verify): Take new argument FD.
5713         Skip __open call if passed FD is not -1.
5714         (_dl_map_object, open_path): Update callers.
5715         * elf/dl-sysdep-open.h: New file.
5716         * elf/dl-load.c: Include it.
5717         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
5718         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
5719         * sysdeps/nacl/dl-sysdep-open.h: New file.
5720         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
5721         from libc to rtld.
5723 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5725         [BZ #19228]
5726         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
5727         and restore full floating-point state.
5728         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5729         Likewise.
5730         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
5731         Likewise.
5732         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
5733         Likewise.
5734         * math/test-nearbyint-except-2.c: New file.
5735         * math/Makefile (tests): Add test-nearbyint-except-2.
5737 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
5739         [BZ #19178]
5740         * sysdeps/x86/Makefile (tests): Add tst-prelink.
5741         (tst-prelink-ENV): New.
5742         ($(objpfx)tst-prelink-conflict.out): Likewise.
5743         ($(objpfx)tst-prelink-cmp.out): Likewise.
5744         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
5745         * sysdeps/x86/tst-prelink.c: New file.
5746         * sysdeps/x86/tst-prelink.exp: Likewise.
5748 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
5750         * math/auto-libm-test-in: Add another test of pow.
5751         * math/auto-libm-test-out: Regenerated.
5752         * math/libm-test.inc (pow_test_data): Add another test.
5754 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5756         [BZ #19219]
5757         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
5758         weak_alias to nearbyintl.
5760 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5762         * sysdeps/aarch64/bits/string.h: New file.
5763         (_STRING_ARCH_unaligned): Define.
5765 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
5767         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
5768         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5769         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5770         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
5771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
5773 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
5775         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
5776         for original name of the DSO.  Add it to the name list of the DSO
5777         if it is actually given.
5778         (_dl_map_object): Keep track of whether an audit module rewrote
5779         the file name.  If yes, pass the original name to
5780         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
5781         debugging is enabled, log the change of the file name.
5782         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
5783         _dl_map_object_from_fd.
5784         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
5785         * elf/tst-audit11.c: New file
5786         * elf/tst-auditmod11.c: New file.
5787         * elf/tst-audit11mod1.c: New file.
5788         * elf/tst-audit11mod2.c: New file.
5789         * elf/tst-audit11mod2.map: New file.
5790         * elf/tst-audit12.c: New file
5791         * elf/tst-auditmod12.c: New file.
5792         * elf/tst-audit12mod1.c: New file.
5793         * elf/tst-audit12mod2.c: New file.
5794         * elf/tst-audit12mod2.map: New file.
5795         * elf/tst-audit12mod3.c: New file.
5797 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5799         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
5800         Don't create weak aliases,
5801         because versioned symbols are created later.
5802         * sysdeps/s390/s390-32/setjmp.S
5803         (setjmp, _setjmp): Remove weak and rename to an unique name
5804         in SHARED case due to existing versioned symbols.
5805         * sysdeps/s390/s390-64/setjmp.S: Likewise.
5806         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
5807         (getcontext): Create weak alias only in non SHARED case.
5808         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5810 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5812         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
5813         (__ASSUME_*_SYSCALL) Define new macros.
5814         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
5815         Remove socketcall syscalls.
5816         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
5817         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
5818         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
5819         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
5820         * sysdeps/unix/sysv/linux/send.c (__libc_send):
5821         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
5823 2015-11-09  Florian Weimer  <fweimer@redhat.com>
5825         [BZ #12926]
5826         Terminate process on invalid netlink response.
5827         * sysdeps/unix/sysv/linux/netlinkaccess.h
5828         (__netlink_assert_response): Declare.
5829         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
5830         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
5831         (sysdep_routines): Add netlink_assert_response.
5832         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
5833         __netlink_assert_response.
5834         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
5835         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
5836         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
5837         __netlink_assert_response.
5839 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
5841         [BZ #19178]
5842         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
5843         (RTYPE_CLASS_PLT): Likewise.
5844         (RTYPE_CLASS_COPY): Likewise.
5845         (RTYPE_CLASS_TLS): Likewise.
5846         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
5847         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
5848         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
5849         DL_DEBUG_PRELINK.
5851 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
5853         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
5854         calls with argument -0.5.
5855         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
5857         * configure.ac (libc_cv_z_nodelete): Remove configure test.
5858         (libc_cv_z_nodlopen): Likewise.
5859         (libc_cv_z_initfirst): Likewise.
5860         * configure: Regenerated.
5862 2015-11-06  Florian Weimer  <fweimer@redhat.com>
5864         Simplify abilist format to be line-based.
5865         * scripts/abilist.awk: Collect descriptors in the descs variable.
5866         (emit): Write descs variable and sort it
5867         externally, with sort.
5868         * sysdeps/**/*.abilist: Convert to new format.
5870 2015-11-06  Mark Wielaard  <mjw@redhat.com>
5872         [BZ #11460]
5873         * io/Makefile (routines): Add fts64.
5874         (tests): Add tst-fts and tst-fts-lfs.
5875         (CFLAGS-fts64.c): New.
5876         * io/Versions (GLIBC_2.23): New.
5877         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
5878         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
5879         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
5880         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
5881         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
5882         (FTSENT64): Likewise.
5883         (fts64_children): Likewise.
5884         (fts64_close): Likewise.
5885         (fts64_open): Likewise.
5886         (fts64_read): Likewise.
5887         (fts64_set): Likewise.
5888         * io/fts64.c: New file.
5889         * io/tst-fts.c: New test.
5890         * io/tst-fts-lfs.c: Likewise.
5891         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
5892         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
5893         fts64_set.
5894         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5895         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5896         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5897         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5898         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5899         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5900         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5901         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5902         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5903         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5904         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5905         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5906         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5908         Likewise.
5909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5910         Likewise.
5911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5914         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5915         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5916         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5917         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5918         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5920         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5921         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5922         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5923         * sysdeps/wordsize-64/fts.c: New file.
5924         * sysdeps/wordsize-64/fts64.c: Likewise.
5925         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
5926         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
5927         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
5928         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
5930 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5932         * math/libm-test.inc (NON_FINITE): New macro.
5933         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
5934         * math/gen-libm-test.pl (show_exceptions): Add argument
5935         $non_finite.
5936         (parse_args): Update call to show_exceptions.
5937         * math/test-math-finite.h: New file.
5938         * math/test-math-no-finite.h: Likewise.
5939         * math/test-double-finite.c: Likewise.
5940         * math/test-float-finite.c: Likewise.
5941         * math/test-ldouble-finite.c: Likewise.
5942         * math/test-double.c: Include "test-math-no-finite.h".
5943         * math/test-float.c: Include "test-math-no-finite.h".
5944         * math/test-ldouble.c: Include "test-math-no-finite.h".
5945         * math/test-math-inline.h (TEST_FINITE): New macro.
5946         * math/test-math-vector.h (TEST_FINITE): Likewise.
5947         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
5948         (libm-tests): Add test-float-finite and test-double-finite.
5949         ($(objpfx)test-float-finite.o): New dependency on
5950         $(objpfx)libm-test.stmp.
5951         ($(objpfx)test-double-finite.o): Likewise.
5952         ($(objpfx)test-ldouble-finite.o): Likewise.
5953         (libm-test-no-inline-cflags): New variable.
5954         (libm-test-finite-cflags): Likewise.
5955         (CFLAGS-test-float-finite.c): Likewise.
5956         (CFLAGS-test-double-finite.c): Likewise.
5957         (CFLAGS-test-ldouble-finite.c): Likewise.
5958         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
5959         (CFLAGS-test-double.c): Likewise.
5960         (CFLAGS-test-ldouble.c): Likewise.
5962 2015-11-05  Roland McGrath  <roland@hack.frob.com>
5964         * io/fcntl.c (__fcntl): Add ... to prototype.
5965         * misc/ioctl.c (__ioctl): Likewise.
5966         * misc/syscall.c (syscall): Likewise.
5968 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
5970         * scripts/list-fixed-bugs.py: New file.
5972         [BZ #19213]
5973         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
5974         returned for argument 1.
5975         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
5976         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
5977         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
5978         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
5979         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
5980         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
5982         [BZ #19211]
5983         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
5984         __USE_XOPEN], not if [!__USE_ISOC99].
5985         (lgammaf): Likewise.
5986         (lgammal): Likewise.
5987         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
5988         (gammaf): Likewise.
5989         (gammal): Likewise.
5990         * math/test-signgam-finite-c11.c: New file.
5991         * math/test-signgam-finite-c99.c: Likewise.
5992         * math/test-signgam-finite.c: Likewise.
5993         * math/Makefile (tests): Add test-signgam-finite,
5994         test-signgam-finite-c99 and test-signgam-finite-c11.
5995         (CFLAGS-test-signgam-finite.c): New variable.
5996         (CFLAGS-test-signgam-finite-c99.c): Likewise.
5997         (CFLAGS-test-signgam-finite-c11.c): Likewise.
5999         [BZ #19212]
6000         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
6001         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
6002         500].
6003         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
6004         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
6005         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
6006         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
6007         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
6008         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
6009         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
6010         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
6011         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
6012         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
6014         [BZ #19209]
6015         * math/bits/math-finite.h (ldexp): Remove declaration.
6016         (ldexpf): Likewise.
6017         (ldexpl): Likewise.
6019         [BZ #19205]
6020         * math/bits/math-finite.h (acosf): Condition declaration on
6021         [__USE_ISOC99].
6022         (acosl): Likewise.
6023         (acoshf): Likewise.
6024         (acoshl): Likewise.
6025         (asinf): Likewise.
6026         (asinl): Likewise.
6027         (atan2f): Likewise.
6028         (atan2l): Likewise.
6029         (atanhf): Likewise.
6030         (atanhl): Likewise.
6031         (coshf): Likewise.
6032         (coshl): Likewise.
6033         (expf): Likewise.
6034         (expl): Likewise.
6035         (fmodf): Likewise.
6036         (fmodl): Likewise.
6037         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
6038         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
6039         (j0l): Likewise.
6040         (y0f): Likewise.
6041         (y0l): Likewise.
6042         (j1f): Likewise.
6043         (j1l): Likewise.
6044         (y1f): Likewise.
6045         (y1l): Likewise.
6046         (jnf): Likewise.
6047         (jnl): Likewise.
6048         (ynf): Likewise.
6049         (ynl): Likewise.
6050         (lgammaf_r): Condition declaration on [__USE_ISOC99].
6051         (lgammal_r): Likewise.
6052         (__lgamma_r_finite): New declaration.
6053         (__lgammaf_r_finite): Likewise.
6054         (__lgammal_r_finite): Likewise.
6055         (lgamma): Use __lgamma_r_finite.
6056         (lgammaf): Condition definition on [__USE_ISOC99].  Use
6057         __lgammaf_r_finite.
6058         (lgammal): Condition definition on [__USE_ISOC99].  Use
6059         __lgammal_r_finite.
6060         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
6061         __lgamma_r_finite.
6062         (gammaf): Condition definition on [__USE_ISOC99].  Use
6063         __lgammaf_r_finite.
6064         (gammal): Condition definition on [__USE_ISOC99].  Use
6065         __lgammal_r_finite.
6066         (logf): Condition declaration on [__USE_ISOC99].
6067         (logl): Likewise.
6068         (log10f): Likewise.
6069         (log10l): Likewise.
6070         (ldexpf): Likewise.
6071         (ldexpl): Likewise.
6072         (powf): Likewise.
6073         (powl): Likewise.
6074         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
6075         __USE_ISOC99].
6076         (remainderf): Condition declaration on [__USE_ISOC99].
6077         (remainderl): Likewise.
6078         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
6079         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
6080         (scalbl): Likewise.
6081         (sinhf): Condition declaration on [__USE_ISOC99].
6082         (sinhl): Likewise.
6083         (sqrtf): Likewise.
6084         (sqrtl): Likewise.
6086 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6088         * sysdeps/arm/atomic-machine.h
6089         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6090         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6091         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
6092         Remove conditional code.
6093         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
6094         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
6095         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
6096         Change conditional to [__ASSEMBLER__].
6097         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6098         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
6099         [!__ASSEMBLER__].
6100         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
6101         code.
6102         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
6103         conditional macro definitions.
6104         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
6105         (__arch_compare_and_exchange_val_16_acq): Likewise.
6106         (__arch_compare_and_exchange_val_32_acq): Likewise.
6107         (atomic_exchange_and_add): Likewise.
6108         (atomic_add): Likewise.
6109         (atomic_add_negative): Likewise.
6110         (atomic_add_zero): Likewise.
6111         (atomic_bit_set): Likewise.
6112         (atomic_bit_test_set): Likewise.
6113         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
6114         code unconditional.
6115         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6117         * math/test-math-errno.h: New file.
6118         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
6119         empty.
6120         (TEST_ERRNO): New macro.
6121         (TEST_EXCEPTIONS): Likewise.
6122         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
6123         (TEST_EXCEPTIONS): Likewise.
6124         * math/test-math-vector.h (TEST_ERRNO): Likewise.
6125         * math/test-double.c: Include "test-math-errno.h".
6126         * math/test-float.c: Likewise.
6127         * math/test-ldouble.c: Likewise.
6128         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
6129         code unconditional.
6130         (test_exceptions): Only run code if TEST_EXCEPTIONS.
6131         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
6132         unconditional.
6133         (test_errno): Only run code if TEST_ERRNO.
6134         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
6136 2015-11-04  Florian Weimer  <fweimer@redhat.com>
6138         * nptl/tst-once5.cc: Remove attribution.
6140 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
6142         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
6143         sqrt, tan, tanh, y0, y1 and yn.
6144         * math/auto-libm-test-out: Regenerated.
6145         * math/libm-test.inc (scalb_test_data): Add more tests.
6146         (scalbn_test_data): Likewise.
6147         (scalbln_test_data): Likewise.
6148         (signbit_test_data): Likewise.
6149         (sin_test_data): Likewise.
6150         (sincos_test_data): Likewise.
6151         (sinh_test_data): Likewise.
6152         (sqrt_test_data): Likewise.
6153         (tan_test_data): Likewise.
6154         (tanh_test_data): Likewise.
6155         (tgamma_test_data): Likewise.
6156         (y0_test_data): Likewise.
6157         (y1_test_data): Likewise.
6158         (yn_test_data): Likewise.
6159         (significand_test_data): Likewise.
6160         * sysdeps/i386/fpu/libm-test-ulps: Update.
6162 2015-11-03  David Kastrup  <dak@gnu.org>
6164         [BZ #18604]
6165         * assert/assert.h (assert): Don't macro-expand failed assertion
6166         expression in error message.
6167         * malloc/malloc.c (assert): Likewise.
6169 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
6171         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
6172         test.
6173         * configure: Regenerated.
6175 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
6177         * math/libm-test.inc (modf_test_data): Add more tests.
6178         (nearbyint_test_data): Likewise.
6179         (nextafter_test_data): Likewise.
6180         (nexttoward_test_data): Likewise.
6181         (pow_test_data): Likewise.
6182         (remainder_test_data): Likewise.
6183         (remquo_test_data): Likewise.
6184         (rint_test_data): Likewise.
6186         [BZ #19201]
6187         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
6188         Check for zero remainder in case of large exponents and ensure
6189         correct sign of result in that case.
6190         * math/libm-test.inc (remainder_test_data): Add more tests.
6192         [BZ #6799]
6193         * math/s_nextafter.c: Include <errno.h>.
6194         (__nextafter): Set errno on overflow and underflow.
6195         * math/s_nexttowardf.c: Include <errno.h>.
6196         (__nexttowardf): Set errno on overflow and underflow.
6197         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
6198         (__nextafterl): Set errno on overflow and underflow.
6199         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
6200         (__nexttoward): Set errno on overflow and underflow.
6201         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
6202         (__nexttowardf): Set errno on overflow and underflow.
6203         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
6204         (__nextafterf): Set errno on overflow and underflow.
6205         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
6206         (__nextafterl): Set errno on overflow and underflow.
6207         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
6208         (__nexttoward): Set errno on overflow and underflow.
6209         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
6210         (__nexttowardf): Set errno on overflow and underflow.
6211         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
6212         (__nextafterl): Set errno on overflow and underflow.
6213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
6214         (__nexttoward): Set errno on overflow and underflow.
6215         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
6216         (__nexttowardf): Set errno on overflow and underflow.
6217         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
6218         (__nexttoward): Set errno on overflow and underflow.
6219         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
6220         (__nexttowardf): Set errno on overflow and underflow.
6221         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
6222         (__nldbl_nexttowardf): Set errno on overflow and underflow.
6223         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
6224         (__nextafterl): Set errno on overflow and underflow.
6225         * math/libm-test.inc (nextafter_test_data): Do not allow errno
6226         setting to be missing on overflow.  Add more tests.
6227         (nexttoward_test_data): Likewise.
6229         * configure.ac (libc_cv_initfini_array): Remove configure test.
6230         * configure: Regenerated.
6232 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
6234         [BZ #19189]
6235         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
6236         non-finite argument handle arguments with negative sign.
6238         * math/libm-test.inc (j0_test_data): Do not test sign of zero
6239         result from infinite argument.
6240         (j1_test_data): Likewise.
6241         (jn_test_data): Likewise.
6242         (y0_test_data): Likewise.
6243         (y1_test_data): Likewise.
6244         (yn_test_data): Likewise.
6246         [BZ #16171]
6247         * math/w_remainder.c (drem): Define as weak alias of __remainder.
6248         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
6249         * math/w_remainderf.c (dremf): Define as weak alias of
6250         __remainderf.
6251         * math/w_remainderl.c (dreml): Define as weak alias of
6252         __remainderl.
6253         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
6254         __remainder.
6255         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
6256         __remainderf.
6257         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
6258         __remainderl.
6259         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
6260         weak alias of remainderl.
6261         * sysdeps/ieee754/ldbl-opt/w_remainder.c
6262         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
6263         alias of __remainder.
6264         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
6265         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
6266         strong alias of __remainderl.
6267         (dreml): Use long_double_symbol.
6268         * math/Makefile (libm-calls): Remove w_drem.
6269         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
6270         (CFLAGS-nldbl-drem.c): Remove variable.
6271         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
6272         * math/w_drem.c: Remove file.
6273         * math/w_dremf.c: Likewise.
6274         * math/w_dreml.c: Likewise.
6275         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
6276         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
6277         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
6279         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
6280         * sysdeps/i386/configure: Regenerated.
6281         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
6282         * sysdeps/x86_64/configure: Regenerated.
6284         * configure.ac (libc_cv_asm_protected_directive): Remove configure
6285         test.
6286         (libc_cv_visibility_attribute): Likewise.
6287         (libc_cv_protected_data): Test unconditionally.
6288         (libc_cv_broken_visibility_attribute): Remove configure test.
6289         (libc_cv_have_sdata_section): Test unconditionally.
6290         * configure: Regenerated.
6292         * include/libc-internal.h (libc_max_align_t): Remove typedef.
6293         * include/scratch_buffer.h: Include <stddef.h> instead of
6294         <libc-internal.h>.
6295         (struct scratch_buffer): Use max_align_t instead of
6296         libc_max_align_t.
6298 2015-10-29  Florian Weimer  <fweimer@redhat.com>
6300         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
6301         instead of extend_alloca.  Change control flow to avoid a goto.
6302         Remove assert which is trivially always true.
6304 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6306         [BZ #16068]
6307         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
6308         (FE_ALL_EXCEPT_X86): New macro.
6309         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6310         FE_ALL_EXCEPT.  Ensure precision control is included in
6311         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6312         handle "denormal operand exception" and clear FZ and DAZ bits.
6313         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
6314         (FE_ALL_EXCEPT_X86): New macro.
6315         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
6316         FE_ALL_EXCEPT.  Ensure precision control is included in
6317         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
6318         handle "denormal operand exception" and clear FZ and DAZ bits.
6319         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
6320         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
6321         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6322         test-fenv-x87 and test-fenv-sse-2.
6323         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
6325         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
6326         * math/test-double.h (BUILD_COMPLEX): New macro.
6327         * math/test-float.h (BUILD_COMPLEX): Likewise.
6328         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
6330         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
6331         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
6332         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
6333         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
6334         instead of DBL_DENORM_MIN in comment.
6335         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
6336         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6337         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
6338         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
6339         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
6340         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
6342 2015-10-28  Florian Weimer  <fweimer@redhat.com>
6344         [BZ# 19048]
6345         * malloc/malloc.c (struct malloc_state): Update comment.  Add
6346         attached_threads member.
6347         (main_arena): Initialize attached_threads.
6348         * malloc/arena.c (list_lock): Update comment.
6349         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
6350         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
6351         (deattach_arena): New function.
6352         (_int_new_arena): Initialize arena reference count and deattach
6353         replaced arena.
6354         (get_free_list, reused_arena): Update reference count and deattach
6355         replaced arena.
6356         (arena_thread_freeres): Update arena reference count and only put
6357         unreferenced arenas on the free list.
6359 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6361         [BZ #19181]
6362         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
6363         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
6364         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
6365         * math/test-fenv-clear-main.c: New file.
6366         * math/test-fenv-clear.c: Likewise.
6367         * math/Makefile (tests): Add test-fenv-clear.
6368         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
6369         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6370         test-fenv-clear-sse.
6371         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
6373         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
6374         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
6375         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
6377 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6379         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
6380         static libc.
6382 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
6384         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
6385         test.
6386         * sysdeps/i386/configure: Regenerated.
6387         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
6388         test.
6389         * sysdeps/x86_64/configure: Regenerated.
6390         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
6391         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6392         memset-avx2 unconditionally instead of conditionally on
6393         [$(config-cflags-avx2) = yes].
6394         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6395         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
6396         unconditional.
6397         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
6398         * sysdeps/x86_64/multiarch/memset_chk.S
6399         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
6400         to [IS_IN (libc) && SHARED].
6402 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6404         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
6405         configure test.
6406         * sysdeps/arm/configure: Regenerated.
6407         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
6408         Define variable if not already defined.
6410         [BZ #17404]
6411         * sysdeps/mips/atomic-machine.h
6412         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
6413         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
6414         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
6416         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
6417         unconditional.
6418         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
6419         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6420         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
6421         unconditional.
6422         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6423         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
6424         unconditional.
6425         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6426         * stdlib/setenv.c
6427         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
6428         code unconditional.
6429         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
6430         Remove conditional code.
6431         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
6432         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
6433         unconditional.
6434         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6435         code.
6436         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
6437         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
6438         unconditional.
6439         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6440         code.
6441         * sysdeps/ieee754/ldbl-128/k_tanl.c
6442         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6443         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6444         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
6445         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6446         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6447         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
6448         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
6449         unconditional.
6450         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
6451         code.
6452         * sysdeps/ieee754/ldbl-96/k_tanl.c
6453         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
6454         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
6456         * nptl/tst-initializers1-c11.c: New file.
6457         * nptl/tst-initializers1-gnu11.c: Likewise.
6458         * nptl/Makefile (tests): Add these new tests.
6459         (CFLAGS-tst-initializers1-c11.c): New variable.
6460         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
6462         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
6463         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
6464         instead of -std=gnu99.
6465         * configure.ac (systemtap): Test with -std=gnu11 instead of
6466         -std=gnu99.
6467         * configure: Regenerated.
6468         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
6469         in compilation command in comment.
6471         * sysdeps/nptl/configure.ac: Remove file.
6472         * sysdeps/nptl/configure: Remove generated file.
6473         * configure.ac (libc_cv_forced_unwind): Do not substitute.
6474         * configure: Regenerated.
6475         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
6476         * config.make.in (have-forced-unwind): Remove variable.
6477         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6478         unconditional.
6479         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
6480         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
6481         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
6482         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
6483         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
6484         unconditional.
6486 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6488         [BZ #19174]
6489         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
6490         .skip_lock_out_of_tbegin_retries.
6491         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
6492         (__lll_lock_elision): Likewise, and respect a value of
6493         try_tbegin <= 0.
6495 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6497         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
6498         statement.
6500 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6502         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
6503         variable.
6504         (test-xfail-ISO11/stdalign.h/conform): Likewise.
6505         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
6507         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
6508         of -std=c1x -D_ISOC11_SOURCE.
6510         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
6511         * configure: Regenerated.
6512         * manual/install.texi (Tools for Compilation): Document
6513         requirement for GCC 4.7 or later.
6514         * INSTALL: Regenerated.
6516 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
6518         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
6519         on CNT to a conditional jump to 'puntdata'.
6521 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
6523         * configure.ac (libc_cv_gcc___thread): Remove configure test.
6524         (libc_cv_gcc_tls_model_attr): Likewise.
6525         * configure: Regenerated.
6527         * configure.ac (libc_cv_need_minus_P): Remove configure test.
6528         * configure: Regenerated.
6529         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
6531 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
6533         * configure.ac (old_glibc_headers): Remove configure test.
6534         * configure: Regenerated.
6535         * config.make.in (old-glibc-headers): Remove variable.
6536         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
6537         (install): Remove dependency on remove-old-headers.
6538         (headers2_0): Remove variable.
6539         (remove-old-headers): Remove rule.
6541         * configure.ac (libc_cv_dot_text): Remove configure test.
6542         (libc_cv_asm_set_directive): Use .text instead of
6543         ${libc_cv_dot_text} in configure test.
6544         * configure: Regenerated.
6546 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6548         [BZ #19168]
6549         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6551 2015-10-26  Florian Weimer  <fweimer@redhat.com>
6553         * configure.ac (CXX): Clear the variable if the C++ toolchain does
6554         not support static linking.
6555         * configure: Regenerate.
6557 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
6559         * math/libm-test.inc (check_float_internal): Do not special-case
6560         errors up to 0.5 ulp.
6562         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
6563         log2.
6564         * math/auto-libm-test-out: Regenerated.
6565         * math/libm-test.inc (MAX_EXP): New macro.
6566         (ilogb_test_data): Add more tests.
6567         (isfinite_test_data): Likewise.
6568         (isgreater_test_data): Likewise.
6569         (isgreaterequal_test_data): Likewise.
6570         (isinf_test_data): Likewise.
6571         (isless_test_data): Likewise.
6572         (islessequal_test_data): Likewise.
6573         (islessgreater_test_data): Likewise.
6574         (isnan_test_data): Likewise.
6575         (isnormal_test_data): Likewise.
6576         (issignaling_test_data): Likewise.
6577         (isunordered_test_data): Likewise.
6578         (j0_test_data): Likewise.
6579         (j1_test_data): Likewise.
6580         (jn_test_data): Likewise.
6581         (lgamma_test_data): Likewise.
6582         (log_test_data): Likewise.
6583         (log10_test_data): Likewise.
6584         (log1p_test_data): Likewise.
6585         (log2_test_data): Likewise.
6586         (logb_test_data): Likewise.
6587         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6589         [BZ #18611]
6590         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
6591         avoid excess range and precision on underflow.
6592         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
6593         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
6594         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
6595         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
6596         underflow.
6597         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
6598         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
6599         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
6600         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
6601         * math/auto-libm-test-in: Do not allow missing errno setting for
6602         tests of j1 and jn.
6603         * math/auto-libm-test-out: Regenerated.
6605 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
6607         [BZ #15491]
6608         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
6609         floating-point environment instead of clearing all exceptions.
6610         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6611         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
6612         merging in "invalid" exceptions from frndint.
6613         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6614         * math/test-nearbyint-except.c: New file.
6615         * math/Makefile (tests): Add test-nearbyint-except.
6617 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
6619         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
6621         * sysdeps/tile/libm-test-ulps: Regenerated.
6623 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
6626         (__NR_sync_file_range2): Assume it is always defined.
6627         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
6628         (__NR_sync_file_range): Assume it is always defined.
6630 2015-10-22  Andreas Schwab  <schwab@suse.de>
6632         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
6633         INTERNAL_SYSCALL_ERRNO.
6634         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6635         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
6636         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6637         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
6638         Likewise.
6639         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6641 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6643         * io/tst-fcntl.c (fd): New static variable.
6644         (do_prepare): Open temporary file here....
6645         (do_test): ...not here.
6647         * io/ftwtest-sh: Also trap on exit to remove temporary files.
6649 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6651         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
6652         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6653         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6654         Moved before "#ifdef __ASSEMBLER__".
6656 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6658         [BZ #19156]
6659         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
6660         arguments very close to 0.
6662 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
6664         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
6665         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
6667 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
6669         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
6670         New.  Defined for GCC 5 and above when not compiling for
6671         profiling.
6672         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
6674         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
6675         Renamed to ...
6676         (CFLAGS-epoll_pwait.o): This.
6677         (CFLAGS-mmap.c): Renamed to ...
6678         (CFLAGS-mmap.o): This.
6679         (CFLAGS-mmap64.c): Renamed to ...
6680         (CFLAGS-mmap64.o): This.
6681         (CFLAGS-epoll_pwait.os): New.
6682         (CFLAGS-mmap.os): Likewise.
6683         (CFLAGS-mmap64.os): Likewise.
6684         (CFLAGS-semtimedop.os): Likewise.
6685         (CFLAGS-semtimedop.c): Renamed to ...
6686         (CFLAGS-semtimedop.o): This.
6688 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6690         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
6691         warning message.
6693 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
6695         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
6696         * Makefile ($(objpfx)c++-types-check.out): Filter out
6697         $(+gccwarn-c) instead of -Wstrict-prototypes.
6699         * io/fts.c (fts_open): Convert to prototype-style function
6700         definition.
6701         * malloc/mcheck.c (mcheck): Likewise.
6702         (mcheck_pedantic): Likewise.
6703         * posix/regexec.c (re_search_2_stub): Likewise.  Use
6704         internal_function.
6705         (re_search_internal): Likewise.
6706         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
6707         prototype-style function definition.
6708         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
6709         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
6710         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
6711         (xdr_utmpptr): Likewise.
6712         (xdr_utmparr): Likewise.
6713         (xdr_utmpidle): Likewise.
6714         (xdr_utmpidleptr): Likewise.
6715         (xdr_utmpidlearr): Likewise.
6717         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
6718         log, log10 and log2.
6719         * math/auto-libm-test-out: Regenerated.
6720         * math/libm-test.inc (fmod_test_data): Add more tests.
6721         (fpclassify_test_data): Likewise.
6722         (frexp_test_data): Likewise.
6723         (hypot_test_data): Likewise.
6724         (ilogb_test_data): Likewise.
6726 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
6728         * debug/fortify_fail.c (__fortify_fail): Convert to
6729         prototype-style function definition.  Use internal_function.
6730         * libio/genops.c (save_for_backup): Convert to prototype-style
6731         function definition.
6732         * libio/wgenops.c (save_for_wbackup): Likewise.
6733         * login/grantpt.c (grantpt): Likewise.
6734         * login/ptsname.c (ptsname): Likewise.
6735         (__ptsname_r): Likewise.
6736         * login/unlockpt.c (unlockpt): Likewise.
6737         * mach/msgserver.c (__mach_msg_server): Likewise.
6738         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
6739         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
6740         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
6741         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
6742         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
6743         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
6744         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
6745         Likewise.
6746         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
6747         internal_function.
6748         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
6749         prototype-style function definition.
6750         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
6751         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
6752         (__pthread_create_2_0): Likewise.
6753         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
6754         * nptl/register-atfork.c (__register_atfork): Likewise.
6755         * posix/glob.c (glob): Likewise.
6756         * posix/regcomp.c (re_comp): Likewise.
6757         * posix/regexec.c (re_exec): Likewise.
6758         * stdlib/add_n.c [__STDC__]: Make code unconditional.
6759         [!__STDC__]: Remove conditional code.
6760         * stdlib/cmp.c [__STDC__]: Make code unconditional.
6761         [!__STDC__]: Remove conditional code.
6762         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
6763         [!__STDC__]: Remove conditional code.
6764         * stdlib/divrem.c [__STDC__]: Make code unconditional.
6765         [!__STDC__]: Remove conditional code.
6766         * stdlib/lshift.c [__STDC__]: Make code unconditional.
6767         [!__STDC__]: Remove conditional code.
6768         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
6769         [!__STDC__]: Remove conditional code.
6770         * stdlib/mul.c [__STDC__]: Make code unconditional.
6771         [!__STDC__]: Remove conditional code.
6772         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
6773         [!__STDC__]: Remove conditional code.
6774         * stdlib/rshift.c [__STDC__]: Make code unconditional.
6775         [!__STDC__]: Remove conditional code.
6776         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
6777         function definition.
6778         (STRTOF): Likewise.
6779         * stdlib/strtod_l.c (__STRTOF): Likewise.
6780         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
6781         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
6782         (__strtol_l): Likewise.
6783         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
6784         [!__STDC__]: Remove conditional code.
6785         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
6786         definition.
6787         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6788         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6789         type.
6790         (__strcasecmp): Convert to prototype-style function definition.
6791         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
6792         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6793         type.
6794         (__strncasecmp): Convert to prototype-style function definition.
6795         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
6796         * sunrpc/xdr.c (xdr_union): Likewise.
6797         * sunrpc/xdr_array.c (xdr_array): Likewise.
6798         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
6799         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
6800         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
6801         Likewise.
6802         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
6803         Likewise.
6804         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
6805         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6806         Likewise.
6807         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
6808         (LOCALE_PARAM_PROTO): Likewise.
6809         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
6810         argument type.
6811         (ut_argument_spec): Remove macro.
6812         (ut_argument_spec_iso): Rename to ut_argument_spec.
6813         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
6814         prototype-style function definition.
6815         (memcpy_uppcase): Likewise.
6816         (__strftime_internal): Likewise.
6817         (my_strftime): Likewise.
6818         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
6819         (LOCALE_PARAM_DECL): Likewise.
6820         [_LIBC] (LOCALE_PARAM): Include argument type.
6821         (__strptime_internal): Convert to prototype-style function
6822         definition.
6823         (strptime): Likewise.
6824         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
6825         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6826         type.
6827         (__wcscasecmp): Convert to prototype-style function definition.
6828         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
6829         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
6830         type.
6831         (__wcsncasecmp): Convert to prototype-style function definition.
6833         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
6834         function definition.
6835         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6836         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6837         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
6838         * elf/dl-minimal.c (_itoa): Likewise.
6839         * hurd/hurdmalloc.c (malloc): Likewise.
6840         (free): Likewise.
6841         (realloc): Likewise.
6842         * inet/inet6_option.c (inet6_option_space): Likewise.
6843         (inet6_option_init): Likewise.
6844         (inet6_option_append): Likewise.
6845         (inet6_option_alloc): Likewise.
6846         (inet6_option_next): Likewise.
6847         (inet6_option_find): Likewise.
6848         * io/ftw.c (FTW_NAME): Likewise.
6849         (NFTW_NAME): Likewise.
6850         (NFTW_NEW_NAME): Likewise.
6851         (NFTW_OLD_NAME): Likewise.
6852         * libio/iofwide.c (_IO_fwide): Likewise.
6853         * libio/strops.c (_IO_str_init_static_internal): Likewise.
6854         (_IO_str_init_static): Likewise.
6855         (_IO_str_init_readonly): Likewise.
6856         (_IO_str_overflow): Likewise.
6857         (_IO_str_underflow): Likewise.
6858         (_IO_str_count): Likewise.
6859         (_IO_str_seekoff): Likewise.
6860         (_IO_str_pbackfail): Likewise.
6861         (_IO_str_finish): Likewise.
6862         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
6863         (_IO_wstr_overflow): Likewise.
6864         (_IO_wstr_underflow): Likewise.
6865         (_IO_wstr_count): Likewise.
6866         (_IO_wstr_seekoff): Likewise.
6867         (_IO_wstr_pbackfail): Likewise.
6868         (_IO_wstr_finish): Likewise.
6869         * locale/programs/localedef.c (normalize_codeset): Likewise.
6870         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
6871         (add_locales_to_archive): Likewise.
6872         (delete_locales_from_archive): Likewise.
6873         * malloc/malloc.c (__libc_mallinfo): Likewise.
6874         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
6875         * misc/tsearch.c (__tfind): Likewise.
6876         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
6877         * nptl/pthread_attr_getdetachstate.c
6878         (__pthread_attr_getdetachstate): Likewise.
6879         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
6880         Likewise.
6881         * nptl/pthread_attr_getinheritsched.c
6882         (__pthread_attr_getinheritsched): Likewise.
6883         * nptl/pthread_attr_getschedparam.c
6884         (__pthread_attr_getschedparam): Likewise.
6885         * nptl/pthread_attr_getschedpolicy.c
6886         (__pthread_attr_getschedpolicy): Likewise.
6887         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
6888         Likewise.
6889         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
6890         Likewise.
6891         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
6892         Likewise.
6893         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
6894         Likewise.
6895         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
6896         (__pthread_attr_init_2_0): Likewise.
6897         * nptl/pthread_attr_setdetachstate.c
6898         (__pthread_attr_setdetachstate): Likewise.
6899         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
6900         Likewise.
6901         * nptl/pthread_attr_setinheritsched.c
6902         (__pthread_attr_setinheritsched): Likewise.
6903         * nptl/pthread_attr_setschedparam.c
6904         (__pthread_attr_setschedparam): Likewise.
6905         * nptl/pthread_attr_setschedpolicy.c
6906         (__pthread_attr_setschedpolicy): Likewise.
6907         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
6908         Likewise.
6909         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
6910         Likewise.
6911         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
6912         Likewise.
6913         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
6914         Likewise.
6915         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
6916         Likewise.
6917         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
6918         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
6919         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
6920         use internal_function.
6921         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
6922         prototype-style function definition.
6923         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
6924         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
6925         internal_function.
6926         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
6927         Convert to prototype-style function definition.
6928         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6929         Likewise.
6930         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
6931         Likewise.
6932         (__pthread_mutex_unlock): Likewise.
6933         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
6934         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
6935         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
6936         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
6937         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
6938         * nss/makedb.c (process_input): Likewise.
6939         * posix/fnmatch.c (__strchrnul): Likewise.
6940         (__wcschrnul): Likewise.
6941         (fnmatch): Likewise.
6942         * posix/fnmatch_loop.c (FCT): Likewise.
6943         * posix/glob.c (globfree): Likewise.
6944         (__glob_pattern_type): Likewise.
6945         (__glob_pattern_p): Likewise.
6946         * posix/regcomp.c (re_compile_pattern): Likewise.
6947         (re_set_syntax): Likewise.
6948         (re_compile_fastmap): Likewise.
6949         (regcomp): Likewise.
6950         (regerror): Likewise.
6951         (regfree): Likewise.
6952         * posix/regexec.c (regexec): Likewise.
6953         (re_match): Likewise.
6954         (re_search): Likewise.
6955         (re_match_2): Likewise.
6956         (re_search_2): Likewise.
6957         (re_search_stub): Likewise.  Use internal_function
6958         (re_copy_regs): Likewise.
6959         (re_set_registers): Convert to prototype-style function
6960         definition.
6961         (prune_impossible_nodes): Likewise.  Use internal_function.
6962         * resolv/inet_net_pton.c (inet_net_pton): Convert to
6963         prototype-style function definition.
6964         (inet_net_pton_ipv4): Likewise.
6965         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6966         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
6967         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
6968         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
6969         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
6970         Make variadic.
6971         * time/strptime_l.c (localtime_r): Convert to prototype-style
6972         function definition.
6973         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6974         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6975         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6976         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6978         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
6979         definition.
6980         (_ufc_doit_r): Likewise.
6981         * crypt/crypt_util.c (_ufc_copymem): Likewise.
6982         (_ufc_output_conversion_r): Likewise.
6983         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
6984         * inet/rcmd.c (rcmd_af): Likewise.
6985         (rcmd): Likewise.
6986         (ruserok_af): Likewise.
6987         (ruserok): Likewise.
6988         (ruserok2_sa): Likewise.
6989         (ruserok_sa): Likewise.
6990         (iruserok_af): Likewise.
6991         (iruserok): Likewise.
6992         (__ivaliduser): Likewise.
6993         (__validuser2_sa): Likewise.
6994         * inet/rexec.c (rexec_af): Likewise.
6995         (rexec): Likewise.
6996         * inet/ruserpass.c (ruserpass): Likewise.
6997         * locale/programs/xmalloc.c (xcalloc): Likewise.
6998         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
6999         * math/w_drem.c (__drem): Likewise.
7000         * math/w_dremf.c (__dremf): Likewise.
7001         * math/w_dreml.c (__dreml): Likewise.
7002         * misc/daemon.c (daemon): Likewise.
7003         * resolv/res_debug.c (p_fqnname): Likewise.
7004         * stdlib/div.c (div): Likewise.
7005         * string/memcmp.c (memcmp_bytes): Likewise.
7006         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
7007         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
7009         * crypt/cert.c (main): Convert to prototype-style function
7010         definition.
7011         * io/pipe.c (__pipe): Likewise.
7012         * io/pipe2.c (__pipe2): Likewise.
7013         * misc/futimesat.c (futimesat): Likewise.
7014         * misc/utimes.c (__utimes): Likewise.
7015         * posix/execve.c (__execve): Likewise.
7016         * posix/execvp.c (execvp): Likewise.
7017         * posix/execvpe.c (__execvpe): Likewise.
7018         * posix/fexecve.c (fexecve): Likewise.
7019         * socket/socketpair.c (socketpair): Likewise.
7020         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7021         * stdlib/erand48.c (erand48): Likewise.
7022         * stdlib/erand48_r.c (__erand48_r): Likewise.
7023         * stdlib/jrand48.c (jrand48): Likewise.
7024         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
7025         * stdlib/lcong48.c (lcong48): Likewise.
7026         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
7027         * stdlib/nrand48.c (nrand48): Likewise.
7028         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
7029         * stdlib/seed48.c (seed48): Likewise.
7030         * stdlib/seed48_r.c (__seed48_r): Likewise.
7031         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
7032         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
7033         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
7035 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7037         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
7038         * configure: Regenerated.
7039         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
7040         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
7041         unconditional.
7042         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7043         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7044         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7045         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
7046         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
7047         unconditional.
7048         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
7050         * posix/Makefile (CFLAGS-regex.c): Remove variable.
7051         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
7053         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
7054         function definition.
7055         * crypt/crypt_util.c (__encrypt_r): Likewise.
7056         * libio/genops.c (_IO_no_init): Likewise.
7057         * libio/iofopncook.c (_IO_fopencookie): Likewise.
7058         (_IO_old_fopencookie): Likewise.
7059         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
7060         * libio/iogetline.c (_IO_getline): Likewise.
7061         (_IO_getline_info): Likewise.
7062         * libio/iogetwline.c (_IO_getwline): Likewise.
7063         (_IO_getwline_info): Likewise.
7064         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
7065         * libio/vswprintf.c (_IO_vswprintf): Likewise.
7066         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
7067         (find_entry): Likewise.
7068         (iterate_table): Likewise.
7069         (lookup): Likewise.
7070         * login/forkpty.c (forkpty): Likewise.
7071         * misc/hsearch_r.c (__hsearch_r): Likewise.
7072         * misc/select.c (__select): Likewise.
7073         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
7074         Likewise.
7075         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
7076         Likewise.
7077         * nptl/old_pthread_cond_timedwait.c
7078         (__pthread_cond_timedwait_2_0): Likewise.
7079         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
7080         * nptl/pthread_barrierattr_getpshared.c
7081         (pthread_barrierattr_getpshared): Likewise.
7082         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7083         Likewise.
7084         * nptl/pthread_mutex_setprioceiling.c
7085         (pthread_mutex_setprioceiling): Likewise.
7086         * nptl/pthread_mutexattr_getprioceiling.c
7087         (pthread_mutexattr_getprioceiling): Likewise.
7088         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
7089         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7090         Likewise.
7091         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7092         Likewise.
7093         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
7094         Likewise.
7095         * socket/recvfrom.c (__recvfrom): Likewise.
7096         * socket/sendto.c (__sendto): Likewise.
7097         * socket/setsockopt.c (__setsockopt): Likewise.
7098         * stdio-common/_itoa.c (_itoa): Likewise.
7099         * stdio-common/_itowa.c (_itowa): Likewise.
7100         * stdio-common/reg-printf.c (__register_printf_specifier):
7101         Likewise.
7102         (__register_printf_function): Likewise.
7103         * stdio-common/tempname.c (__path_search): Likewise.
7104         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
7105         * stdlib/mul_1.c (mpn_mul_1): Likewise.
7106         * stdlib/random_r.c (__initstate_r): Likewise.
7107         * stdlib/setenv.c (__add_to_environ): Likewise.
7108         * stdlib/submul_1.c (mpn_submul_1): Likewise.
7109         * streams/getpmsg.c (getpmsg): Likewise.
7110         * streams/putmsg.c (putmsg): Likewise.
7111         * streams/putpmsg.c (putpmsg): Likewise.
7112         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
7113         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
7114         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
7115         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
7116         * sunrpc/pm_getport.c (pmap_getport): Likewise.
7117         * sunrpc/svc_udp.c (cache_get): Likewise.
7118         * sunrpc/xdr_array.c (xdr_vector): Likewise.
7119         * sysdeps/mach/hurd/getcwd.c
7120         (__canonicalize_directory_name_internal): Likewise.
7121         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
7122         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
7123         * sysdeps/mach/hurd/select.c (__select): Likewise.
7124         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
7125         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
7126         * sysdeps/sparc/nptl/pthread_barrier_init.c
7127         (__pthread_barrier_init): Likewise.
7128         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
7129         (__pthread_cond_timedwait): Likewise.
7130         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
7131         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
7132         Likewise.
7133         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
7134         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
7135         Likewise.
7136         * sysvipc/semtimedop.c (semtimedop): Likewise.
7137         * time/setitimer.c (__setitimer): Likewise.
7138         * time/strftime_l.c (emacs_strftime): Likewise.
7140 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7142         * config.make.in (have-ssp): Delete.
7143         (stack-protector): New variable.
7144         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
7145         cache test for -fstack-protector-strong.  Export stack_protector to
7146         the best ssp flag.
7147         * configure: Regenerated.
7148         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
7149         * nscd/Makefile (CFLAGS-nscd): Likewise.
7150         * resolv/Makefile (CFLAGS-libresolv): Likewise.
7152 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
7154         [BZ #19122]
7155         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
7156         attribute_hidden.
7158 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7160         [BZ #18743]
7161         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
7162         code to...
7163         (ELIDE_LOCK): ...here.
7164         (__get_new_count): New function with part of the code from
7165         __elide_lock that updates the value of adapt_count after a
7166         transaction abort.
7167         (__elided_trylock): Moved this code to...
7168         (ELIDE_TRYLOCK): ...here.
7170 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
7172         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
7173         * configure: Regenerate.
7174         * INSTALL: Regenerate.
7175         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
7176         and tweak grammar.
7178 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
7180         * login/programs/pt_chown.c: Include signal.h
7181         (main): Clear any signal mask from the parent process.
7183 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
7185         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
7186         * configure: Regenerated.
7187         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
7188         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
7189         $(gnu89-inline-CFLAGS).
7191         * configure.ac (libc_cv_asm_weak_directive): Remove configure
7192         test.
7193         (libc_cv_asm_weakext_directive): Likewise.
7194         * configure: Regenerated.
7195         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
7196         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
7197         * include/libc-symbols.h
7198         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
7199         #error.
7200         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
7201         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
7203         * sysdeps/arm/backtrace.c (__backtrace): Convert to
7204         prototype-style function definition.
7205         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
7206         * sysdeps/i386/ffs.c (__ffs): Likewise.
7207         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7208         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
7209         Likewise.
7210         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7211         Likewise.
7212         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
7213         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7214         Likewise.
7215         * sysdeps/m68k/ffs.c (__ffs): Likewise.
7216         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
7217         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
7218         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
7219         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
7220         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
7221         * sysdeps/mach/hurd/access.c (__access): Likewise.
7222         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
7223         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
7224         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
7225         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
7226         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
7227         (cthread_getspecific): Likewise.
7228         (cthread_setspecific): Likewise.
7229         (__libc_getspecific): Likewise.
7230         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
7231         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
7232         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
7233         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
7234         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
7235         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
7236         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
7237         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
7238         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
7239         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
7240         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
7241         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
7242         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
7243         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
7244         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
7245         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
7246         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
7247         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
7248         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
7249         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
7250         * sysdeps/mach/hurd/link.c (__link): Likewise.
7251         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
7252         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
7253         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
7254         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
7255         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
7256         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
7257         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
7258         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
7259         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7260         * sysdeps/mach/hurd/rename.c (rename): Likewise.
7261         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
7262         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
7263         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
7264         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
7265         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
7266         * sysdeps/mach/hurd/send.c (__send): Likewise.
7267         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
7268         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
7269         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
7270         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
7271         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
7272         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
7273         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
7274         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
7275         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
7276         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
7277         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
7278         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
7279         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
7280         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
7281         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
7282         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
7283         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
7284         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
7285         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
7286         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
7287         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
7288         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
7289         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
7290         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
7291         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
7292         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
7293         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
7294         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
7295         * sysdeps/posix/alarm.c (alarm): Likewise.
7296         * sysdeps/posix/cuserid.c (cuserid): Likewise.
7297         * sysdeps/posix/dirfd.c (dirfd): Likewise.
7298         * sysdeps/posix/dup.c (__dup): Likewise.
7299         * sysdeps/posix/dup2.c (__dup2): Likewise.
7300         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
7301         (main): Likewise.
7302         * sysdeps/posix/flock.c (__flock): Likewise.
7303         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
7304         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
7305         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
7306         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
7307         * sysdeps/posix/isatty.c (__isatty): Likewise.
7308         * sysdeps/posix/killpg.c (killpg): Likewise.
7309         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
7310         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
7311         * sysdeps/posix/raise.c (raise): Likewise.
7312         * sysdeps/posix/remove.c (remove): Likewise.
7313         * sysdeps/posix/rename.c (rename): Likewise.
7314         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
7315         * sysdeps/posix/seekdir.c (seekdir): Likewise.
7316         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
7317         * sysdeps/posix/sigignore.c (sigignore): Likewise.
7318         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
7319         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
7320         * sysdeps/posix/sigset.c (sigset): Likewise.
7321         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
7322         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7323         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
7324         * sysdeps/posix/time.c (time): Likewise.
7325         * sysdeps/posix/ttyname.c (getttyname): Likewise.
7326         (ttyname): Likewise.
7327         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
7328         * sysdeps/posix/utime.c (utime): Likewise.
7329         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
7330         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
7331         Likewise.
7332         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
7333         (pthread_spin_trylock): Likewise.
7334         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
7335         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
7336         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
7337         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
7338         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
7339         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
7340         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
7341         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
7342         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
7343         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
7344         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
7345         * sysdeps/s390/ffs.c (__ffs): Likewise.
7346         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
7347         Likewise.
7348         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
7349         Likewise.
7350         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
7351         Likewise.
7352         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
7353         (pthread_barrier_destroy): Likewise.
7354         * sysdeps/sparc/nptl/pthread_barrier_wait.c
7355         (__pthread_barrier_wait): Likewise.
7356         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
7357         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
7358         (__pthread_barrier_wait): Likewise.
7359         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
7360         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
7361         (memcmp_not_common_alignment): Likewise.
7362         (MEMCMP): Likewise.
7363         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
7364         (_wordcopy_fwd_dest_aligned): Likewise.
7365         (_wordcopy_bwd_aligned): Likewise.
7366         (_wordcopy_bwd_dest_aligned): Likewise.
7367         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
7368         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
7369         * sysdeps/unix/bsd/stty.c (stty): Likewise.
7370         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
7371         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
7372         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
7373         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
7374         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
7375         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
7376         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
7377         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
7378         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
7379         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
7380         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
7381         * sysdeps/unix/stime.c (stime): Likewise.
7382         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
7383         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
7384         Likewise.  Use internal_function.
7385         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
7386         Convert to prototype-style function definition.
7387         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
7388         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
7389         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
7390         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
7391         Likewise.  Use internal_function.
7392         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
7393         prototype-style function definition
7394         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
7395         Likewise.
7396         (__getlogin_r): Likewise.
7397         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
7398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
7399         (__pthread_cond_broadcast): Likewise.
7400         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
7401         (__pthread_cond_destroy): Likewise.
7402         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
7403         (__pthread_cond_init): Likewise.
7404         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
7405         (__pthread_cond_signal): Likewise.
7406         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
7407         (__pthread_cond_wait): Likewise.
7408         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
7409         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
7410         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
7411         Likewise.
7412         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
7413         Likewise.
7414         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
7415         Likewise.
7416         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
7417         Likewise.
7418         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
7419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
7420         (__ftruncate64): Likewise.
7421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
7422         (truncate64): Likewise.
7423         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
7424         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
7425         (pthread_getcpuclockid): Likewise.
7426         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
7427         Likewise.
7428         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
7429         Likewise.
7430         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
7431         Likewise.
7432         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
7433         Likewise.
7434         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
7435         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
7436         (__libc_sigaction): Likewise.
7437         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
7438         Likewise.
7439         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
7440         (__sigprocmask): Likewise.
7441         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
7442         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
7443         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
7444         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
7445         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
7446         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
7447         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
7448         Likewise.
7449         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
7450         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
7451         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
7452         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
7453         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
7454         Likewise.
7455         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
7456         (__sigprocmask): Likewise.
7457         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
7458         (cfgetispeed): Likewise.
7459         (cfsetospeed): Likewise.
7460         (cfsetispeed): Likewise.
7461         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
7462         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
7463         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
7464         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
7465         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
7466         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
7467         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
7468         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
7469         Likewise.
7470         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
7471         Likewise.
7472         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
7473         Likewise.
7474         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
7475         Likewise.
7476         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
7478 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7480         sunrpc: Rewrite with explicit TLS access using __thread.
7481         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
7482         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
7483         directly.
7484         (__rpc_thread_variables): Access thread_rpc_vars directly.
7485         Eliminate redundant assignment of the tvp variable.
7487 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7489         malloc: Rewrite with explicit TLS access using __thread.
7490         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
7491         (tsd_setspecific, tsd_getspecific): Remove.
7492         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
7493         (tsd_setspecific, tsd_getspecific): Likewise.
7494         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
7495         (tsd_setspecific, tsd_getspecific): Likewise.
7496         * malloc/arena.c (thread_arena): New TLS variable.
7497         (arena_key): Remove variable.
7498         (arena_get): Use thread_arena.
7499         (arena_lookup): Remove macro.
7500         (malloc_atfork, free_atfork, ptmalloc_lock_all)
7501         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
7502         (_int_new_arena, get_free_list, reused_arena)
7503         (arena_thread_freeres): Use thread_arena.
7504         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
7505         tsd_getspecific, tsd_setspecific from safety annotations.
7506         (Allocating Cleared Space): Remove arena_lookup from safety
7507         annotations.
7509 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7511         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
7512         struct scratch_buffer instead of extend_alloca.
7514 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7516         * sysdeps/unix/sysv/linux/kernel-features.h
7517         (__ASSUME_SOCK_CLOEXEC): Remove.
7518         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
7519         (__have_paccept): Remove unused macro.
7520         * include/unistd.h (__have_sock_cloexec): Remove declaration.
7521         * misc/syslog.c (openlog_internal): Remove fallback code for
7522         !__ASSUME_SOCK_CLOEXEC.
7523         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
7524         missing SOCK_CLOEXEC.
7525         * nscd/connections.c (have_sock_cloexec): Remove definition.
7526         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7527         * nscd/nscd_helper.c (open_socket): Remove fallback code for
7528         !__ASSUME_SOCK_CLOEXEC.
7529         * resolv/res_send.c (__have_o_nonblock): Remove definition.
7530         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
7531         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
7532         definition.
7533         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
7534         code for !__ASSUME_SOCK_CLOEXEC.
7536 2015-10-17  Florian Weimer  <fweimer@redhat.com>
7538         [BZ #18982]
7539         * manual/stdio.texi (Variable Arguments Output): Add portability
7540         note, explaining that vfprintf clobbers the va_list pointer.
7542 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7544         * math/libm-test.inc (fabs_test_data): Add more tests.
7545         (fdim_test_data): Likewise.
7546         (fma_test_data): Likewise.
7547         (fmax_test_data): Likewise.
7548         (fmin_test_data): Likewise.
7549         (fmod_test_data): Likewise.
7551 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
7553         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
7554         data.
7556 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
7558         * math/libm-test.inc (ceil_test_data): Add more tests and more
7559         expectations for "inexact".
7560         (floor_test_data): Add more tests.
7561         (round_test_data): Likewise.
7562         (trunc_test_data): Likewise.
7564         * crypt/cert.c (good_bye): Convert to prototype-style function
7565         definition.
7566         (get8): Likewise.
7567         (put8): Likewise.
7568         * crypt/crypt-entry.c (crypt): Likewise.
7569         (__fcrypt): Likewise.
7570         * crypt/crypt_util.c (_ufc_prbits): Likewise.
7571         (_ufc_set_bits): Likewise.
7572         (_ufc_clearmem): Likewise.
7573         (__init_des_r): Likewise.
7574         (shuffle_sb): Likewise.
7575         (shuffle_sb): Likewise.
7576         (_ufc_setup_salt_r): Likewise.
7577         (_ufc_mk_keytab_r): Likewise.
7578         (_ufc_dofinalperm_r): Likewise.
7579         (encrypt): Likewise.
7580         (__setkey_r): Likewise.
7581         (setkey): Likewise.
7582         * crypt/md5.c (md5_init_ctx): Likewise.
7583         (md5_read_ctx): Likewise.
7584         (md5_finish_ctx): Likewise.
7585         (md5_stream): Likewise.
7586         (md5_buffer): Likewise.
7587         (md5_process_bytes): Likewise.
7588         * crypt/sha256.c (__sha256_init_ctx): Likewise.
7589         (__sha256_finish_ctx): Likewise.
7590         (__sha256_process_bytes): Likewise.
7591         * crypt/sha512.c (__sha512_init_ctx): Likewise.
7592         (__sha512_finish_ctx): Likewise.
7593         (__sha512_process_bytes): Likewise.
7594         * ctype/isctype.c (__isctype): Likewise.
7595         * debug/backtrace.c (__backtrace): Likewise.
7596         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
7597         * debug/fgets_chk.c (__fgets_chk): Likewise.
7598         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
7599         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
7600         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7601         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7602         * debug/memset_chk.c (__memset_chk): Likewise.
7603         * debug/strcat_chk.c (__strcat_chk): Likewise.
7604         * debug/strncat_chk.c (__strncat_chk): Likewise.
7605         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
7606         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
7607         * dirent/dirfd.c (dirfd): Likewise.
7608         * dirent/getdents.c (__getdirentries): Likewise.
7609         * dirent/getdents64.c (getdirentries64): Likewise.
7610         * dirent/rewinddir.c (__rewinddir): Likewise.
7611         * dirent/seekdir.c (seekdir): Likewise.
7612         * dirent/telldir.c (telldir): Likewise.
7613         * elf/sln.c (makesymlinks): Likewise.
7614         (makesymlink): Likewise.
7615         * gmon/gmon.c (__moncontrol): Likewise.
7616         (__monstartup): Likewise.
7617         (write_hist): Likewise.
7618         (write_call_graph): Likewise.
7619         (write_bb_counts): Likewise.
7620         * grp/setgroups.c (setgroups): Likewise.
7621         * inet/inet_lnaof.c (inet_lnaof): Likewise.
7622         * inet/inet_net.c (inet_network): Likewise.
7623         * inet/inet_netof.c (inet_netof): Likewise.
7624         * inet/rcmd.c (rresvport_af): Likewise.
7625         (rresvport): Likewise.
7626         * io/access.c (__access): Likewise.
7627         * io/chdir.c (__chdir): Likewise.
7628         * io/chmod.c (__chmod): Likewise.
7629         * io/chown.c (__chown): Likewise.
7630         * io/close.c (__close): Likewise.
7631         * io/creat.c (creat): Likewise.
7632         * io/creat64.c (creat64): Likewise.
7633         * io/dup.c (__dup): Likewise.
7634         * io/dup2.c (__dup2): Likewise.
7635         * io/dup3.c (__dup3): Likewise.
7636         * io/euidaccess.c (__euidaccess): Likewise.
7637         * io/faccessat.c (faccessat): Likewise.
7638         * io/fchmod.c (__fchmod): Likewise.
7639         * io/fchmodat.c (fchmodat): Likewise.
7640         * io/fchown.c (__fchown): Likewise.
7641         * io/fchownat.c (fchownat): Likewise.
7642         * io/fcntl.c (__fcntl): Likewise.
7643         * io/flock.c (__flock): Likewise.
7644         * io/fts.c (fts_load): Likewise.
7645         (fts_close): Likewise.
7646         (fts_read): Likewise.
7647         (fts_set): Likewise.
7648         (fts_children): Likewise.
7649         (fts_build): Likewise.
7650         (fts_stat): Likewise.
7651         (fts_sort): Likewise.
7652         (fts_alloc): Likewise.
7653         (fts_lfree): Likewise.
7654         (fts_palloc): Likewise.
7655         (fts_padjust): Likewise.
7656         (fts_maxarglen): Likewise.
7657         (fts_safe_changedir): Likewise.
7658         * io/getwd.c (getwd): Likewise.
7659         * io/isatty.c (__isatty): Likewise.
7660         * io/lchown.c (__lchown): Likewise.
7661         * io/link.c (__link): Likewise.
7662         * io/linkat.c (linkat): Likewise.
7663         * io/lseek.c (__libc_lseek): Likewise.
7664         * io/mkdir.c (__mkdir): Likewise.
7665         * io/mkdirat.c (mkdirat): Likewise.
7666         * io/mkfifo.c (mkfifo): Likewise.
7667         * io/mkfifoat.c (mkfifoat): Likewise.
7668         * io/open.c (__libc_open): Likewise.
7669         * io/open64.c (__libc_open64): Likewise.
7670         * io/readlink.c (__readlink): Likewise.
7671         * io/readlinkat.c (readlinkat): Likewise.
7672         * io/rmdir.c (__rmdir): Likewise.
7673         * io/symlink.c (__symlink): Likewise.
7674         * io/symlinkat.c (symlinkat): Likewise.
7675         * io/ttyname.c (ttyname): Likewise.
7676         * io/ttyname_r.c (__ttyname_r): Likewise.
7677         * io/umask.c (__umask): Likewise.
7678         * io/unlink.c (__unlink): Likewise.
7679         * io/unlinkat.c (unlinkat): Likewise.
7680         * io/utime.c (utime): Likewise.
7681         * libio/clearerr.c (clearerr): Likewise.
7682         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
7683         * libio/feof.c (_IO_feof): Likewise.
7684         * libio/feof_u.c (feof_unlocked): Likewise.
7685         * libio/ferror.c (_IO_ferror): Likewise.
7686         * libio/ferror_u.c (ferror_unlocked): Likewise.
7687         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7688         * libio/fileno.c (__fileno): Likewise.
7689         * libio/fputc.c (fputc): Likewise.
7690         * libio/fputc_u.c (fputc_unlocked): Likewise.
7691         * libio/fputwc.c (fputwc): Likewise.
7692         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
7693         * libio/freopen.c (freopen): Likewise.
7694         * libio/freopen64.c (freopen64): Likewise.
7695         * libio/fseek.c (fseek): Likewise.
7696         * libio/fseeko.c (fseeko): Likewise.
7697         * libio/fseeko64.c (fseeko64): Likewise.
7698         * libio/ftello.c (__ftello): Likewise.
7699         * libio/ftello64.c (ftello64): Likewise.
7700         * libio/fwide.c (fwide): Likewise.
7701         * libio/genops.c (_IO_un_link): Likewise.
7702         (_IO_link_in): Likewise.
7703         (_IO_least_marker): Likewise.
7704         (_IO_switch_to_main_get_area): Likewise.
7705         (_IO_switch_to_backup_area): Likewise.
7706         (_IO_switch_to_get_mode): Likewise.
7707         (_IO_free_backup_area): Likewise.
7708         (_IO_switch_to_put_mode): Likewise.
7709         (__overflow): Likewise.
7710         (__underflow): Likewise.
7711         (__uflow): Likewise.
7712         (_IO_setb): Likewise.
7713         (_IO_doallocbuf): Likewise.
7714         (_IO_default_underflow): Likewise.
7715         (_IO_default_uflow): Likewise.
7716         (_IO_default_xsputn): Likewise.
7717         (_IO_sgetn): Likewise.
7718         (_IO_default_xsgetn): Likewise.
7719         (_IO_sync): Likewise.
7720         (_IO_default_setbuf): Likewise.
7721         (_IO_default_seekpos): Likewise.
7722         (_IO_default_doallocate): Likewise.
7723         (_IO_init): Likewise.
7724         (_IO_old_init): Likewise.
7725         (_IO_default_sync): Likewise.
7726         (_IO_default_finish): Likewise.
7727         (_IO_default_seekoff): Likewise.
7728         (_IO_sputbackc): Likewise.
7729         (_IO_sungetc): Likewise.
7730         (_IO_set_column): Likewise.
7731         (_IO_set_column): Likewise.
7732         (_IO_adjust_column): Likewise.
7733         (_IO_get_column): Likewise.
7734         (_IO_init_marker): Likewise.
7735         (_IO_remove_marker): Likewise.
7736         (_IO_marker_difference): Likewise.
7737         (_IO_marker_delta): Likewise.
7738         (_IO_seekmark): Likewise.
7739         (_IO_unsave_markers): Likewise.
7740         (_IO_nobackup_pbackfail): Likewise.
7741         (_IO_default_pbackfail): Likewise.
7742         (_IO_default_seek): Likewise.
7743         (_IO_default_stat): Likewise.
7744         (_IO_default_read): Likewise.
7745         (_IO_default_write): Likewise.
7746         (_IO_default_showmanyc): Likewise.
7747         (_IO_default_imbue): Likewise.
7748         (_IO_iter_next): Likewise.
7749         (_IO_iter_file): Likewise.
7750         * libio/getc.c (_IO_getc): Likewise.
7751         * libio/getwc.c (_IO_getwc): Likewise.
7752         * libio/iofclose.c (_IO_new_fclose): Likewise.
7753         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
7754         * libio/iofflush.c (_IO_fflush): Likewise.
7755         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
7756         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
7757         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
7758         * libio/iofgets.c (_IO_fgets): Likewise.
7759         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
7760         * libio/iofgetws.c (fgetws): Likewise.
7761         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7762         * libio/iofopen64.c (_IO_fopen64): Likewise.
7763         * libio/iofopncook.c (_IO_cookie_read): Likewise.
7764         (_IO_cookie_write): Likewise.
7765         (_IO_cookie_seek): Likewise.
7766         (_IO_cookie_close): Likewise.
7767         (_IO_cookie_seekoff): Likewise.
7768         (_IO_old_cookie_seek): Likewise.
7769         * libio/iofputs.c (_IO_fputs): Likewise.
7770         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
7771         * libio/iofputws.c (fputws): Likewise.
7772         * libio/iofputws_u.c (fputws_unlocked): Likewise.
7773         * libio/iofread.c (_IO_fread): Likewise.
7774         * libio/iofread_u.c (__fread_unlocked): Likewise.
7775         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
7776         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
7777         * libio/ioftell.c (_IO_ftell): Likewise.
7778         * libio/iofwrite.c (_IO_fwrite): Likewise.
7779         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7780         * libio/iogets.c (_IO_gets): Likewise.
7781         * libio/iopadn.c (_IO_padn): Likewise.
7782         * libio/iopopen.c (_IO_new_proc_open): Likewise.
7783         (_IO_new_popen): Likewise.
7784         (_IO_new_proc_close): Likewise.
7785         * libio/ioputs.c (_IO_puts): Likewise.
7786         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
7787         (_IO_seekoff): Likewise.
7788         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
7789         (_IO_seekpos): Likewise.
7790         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
7791         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
7792         * libio/ioungetc.c (_IO_ungetc): Likewise.
7793         * libio/ioungetwc.c (ungetwc): Likewise.
7794         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
7795         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
7796         * libio/iowpadn.c (_IO_wpadn): Likewise.
7797         * libio/libc_fatal.c (__libc_fatal): Likewise.
7798         * libio/memstream.c (__open_memstream): Likewise.
7799         (_IO_mem_sync): Likewise.
7800         (_IO_mem_finish): Likewise.
7801         * libio/oldfileops.c (_IO_old_file_init): Likewise.
7802         (_IO_old_file_close_it): Likewise.
7803         (_IO_old_file_finish): Likewise.
7804         (_IO_old_file_fopen): Likewise.
7805         (_IO_old_file_attach): Likewise.
7806         (_IO_old_file_setbuf): Likewise.
7807         (_IO_old_do_write): Likewise.
7808         (old_do_write): Likewise.
7809         (_IO_old_file_underflow): Likewise.
7810         (_IO_old_file_overflow): Likewise.
7811         (_IO_old_file_sync): Likewise.
7812         (_IO_old_file_seekoff): Likewise.
7813         (_IO_old_file_write): Likewise.
7814         (_IO_old_file_xsputn): Likewise.
7815         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
7816         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7817         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
7818         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
7819         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7820         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
7821         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
7822         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
7823         (_IO_old_popen): Likewise.
7824         (_IO_old_proc_close): Likewise.
7825         * libio/oldpclose.c (__old_pclose): Likewise.
7826         * libio/pclose.c (__new_pclose): Likewise.
7827         * libio/peekc.c (_IO_peekc_locked): Likewise.
7828         * libio/putc.c (_IO_putc): Likewise.
7829         * libio/putc_u.c (putc_unlocked): Likewise.
7830         * libio/putchar.c (putchar): Likewise.
7831         * libio/putchar_u.c (putchar_unlocked): Likewise.
7832         * libio/putwc.c (putwc): Likewise.
7833         * libio/putwc_u.c (putwc_unlocked): Likewise.
7834         * libio/putwchar.c (putwchar): Likewise.
7835         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
7836         * libio/rewind.c (rewind): Likewise.
7837         * libio/setbuf.c (setbuf): Likewise.
7838         * libio/setlinebuf.c (setlinebuf): Likewise.
7839         * libio/vasprintf.c (_IO_vasprintf): Likewise.
7840         * libio/vscanf.c (_IO_vscanf): Likewise.
7841         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
7842         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
7843         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
7844         * libio/wgenops.c (_IO_least_wmarker): Likewise.
7845         (_IO_switch_to_main_wget_area): Likewise.
7846         (_IO_switch_to_wbackup_area): Likewise.
7847         (_IO_wsetb): Likewise.
7848         (_IO_wdefault_pbackfail): Likewise.
7849         (_IO_wdefault_finish): Likewise.
7850         (_IO_wdefault_uflow): Likewise.
7851         (__woverflow): Likewise.
7852         (__wuflow): Likewise.
7853         (__wunderflow): Likewise.
7854         (_IO_wdefault_xsputn): Likewise.
7855         (_IO_wdefault_xsgetn): Likewise.
7856         (_IO_wdoallocbuf): Likewise.
7857         (_IO_wdefault_doallocate): Likewise.
7858         (_IO_switch_to_wget_mode): Likewise.
7859         (_IO_free_wbackup_area): Likewise.
7860         (_IO_switch_to_wput_mode): Likewise.
7861         (_IO_sputbackwc): Likewise.
7862         (_IO_sungetwc): Likewise.
7863         (_IO_adjust_wcolumn): Likewise.
7864         (_IO_init_wmarker): Likewise.
7865         (_IO_wmarker_delta): Likewise.
7866         (_IO_seekwmark): Likewise.
7867         (_IO_unsave_wmarkers): Likewise.
7868         * libio/wmemstream.c (open_wmemstream): Likewise.
7869         (_IO_wmem_sync): Likewise.
7870         (_IO_wmem_finish): Likewise.
7871         * locale/nl_langinfo.c (nl_langinfo): Likewise.
7872         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
7873         * locale/programs/simple-hash.c (init_hash): Likewise.
7874         (delete_hash): Likewise.
7875         (insert_entry): Likewise.
7876         (set_entry): Likewise.
7877         (next_prime): Likewise.
7878         (is_prime): Likewise.
7879         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
7880         (xmalloc): Likewise.
7881         (xrealloc): Likewise.
7882         * locale/programs/xstrdup.c (xstrdup): Likewise.
7883         * localedata/collate-test.c (xstrcoll): Likewise.
7884         * localedata/xfrm-test.c (xstrcmp): Likewise.
7885         * login/getlogin_r.c (__getlogin_r): Likewise.
7886         * login/getpt.c (__posix_openpt): Likewise.
7887         * login/login_tty.c (login_tty): Likewise.
7888         * login/setlogin.c (setlogin): Likewise.
7889         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
7890         (mach_msg_destroy_port): Likewise.
7891         (mach_msg_destroy_memory): Likewise.
7892         * malloc/mcheck.c (flood): Likewise.
7893         * misc/acct.c (acct): Likewise.
7894         * misc/brk.c (__brk): Likewise.
7895         * misc/chflags.c (chflags): Likewise.
7896         * misc/chroot.c (chroot): Likewise.
7897         * misc/fchflags.c (fchflags): Likewise.
7898         * misc/fstab.c (getfsspec): Likewise.
7899         (getfsfile): Likewise.
7900         * misc/fsync.c (fsync): Likewise.
7901         * misc/ftruncate.c (__ftruncate): Likewise.
7902         * misc/ftruncate64.c (__ftruncate64): Likewise.
7903         * misc/getdomain.c (getdomainname): Likewise.
7904         (getdomainname): Likewise.
7905         * misc/gethostname.c (__gethostname): Likewise.
7906         * misc/getpass.c (getpass): Likewise.
7907         * misc/getttyent.c (skip): Likewise.
7908         (value): Likewise.
7909         * misc/gtty.c (gtty): Likewise.
7910         * misc/hsearch.c (hsearch): Likewise.
7911         (hcreate): Likewise.
7912         * misc/hsearch_r.c (__hcreate_r): Likewise.
7913         (__hdestroy_r): Likewise.
7914         * misc/ioctl.c (__ioctl): Likewise.
7915         * misc/mkdtemp.c (mkdtemp): Likewise.
7916         * misc/mkostemp.c (mkostemp): Likewise.
7917         * misc/mkostemp64.c (mkostemp64): Likewise.
7918         * misc/mkostemps.c (mkostemps): Likewise.
7919         * misc/mkostemps64.c (mkostemps64): Likewise.
7920         * misc/mkstemp.c (mkstemp): Likewise.
7921         * misc/mkstemp64.c (mkstemp64): Likewise.
7922         * misc/mkstemps.c (mkstemps): Likewise.
7923         * misc/mkstemps64.c (mkstemps64): Likewise.
7924         * misc/mktemp.c (__mktemp): Likewise.
7925         * misc/preadv.c (preadv): Likewise.
7926         * misc/preadv64.c (preadv64): Likewise.
7927         * misc/pwritev.c (pwritev): Likewise.
7928         * misc/pwritev64.c (pwritev64): Likewise.
7929         * misc/readv.c (__readv): Likewise.
7930         * misc/revoke.c (revoke): Likewise.
7931         * misc/setdomain.c (setdomainname): Likewise.
7932         * misc/setegid.c (setegid): Likewise.
7933         * misc/seteuid.c (seteuid): Likewise.
7934         * misc/sethostid.c (sethostid): Likewise.
7935         * misc/sethostname.c (sethostname): Likewise.
7936         * misc/setregid.c (__setregid): Likewise.
7937         * misc/setreuid.c (__setreuid): Likewise.
7938         * misc/sstk.c (sstk): Likewise.
7939         * misc/stty.c (stty): Likewise.
7940         * misc/syscall.c (syscall): Likewise.
7941         * misc/syslog.c (setlogmask): Likewise.
7942         * misc/truncate.c (__truncate): Likewise.
7943         * misc/truncate64.c (truncate64): Likewise.
7944         * misc/ualarm.c (ualarm): Likewise.
7945         * misc/usleep.c (usleep): Likewise.
7946         * misc/ustat.c (ustat): Likewise.
7947         * misc/writev.c (__writev): Likewise.
7948         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
7949         * nptl/old_pthread_cond_broadcast.c
7950         (__pthread_cond_broadcast_2_0): Likewise.
7951         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
7952         Likewise.
7953         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
7954         Likewise.
7955         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
7956         Likewise.
7957         * nptl/pt-raise.c (raise): Likewise.
7958         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
7959         Likewise.
7960         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
7961         * nptl/pthread_barrierattr_destroy.c
7962         (pthread_barrierattr_destroy): Likewise.
7963         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
7964         Likewise.
7965         * nptl/pthread_barrierattr_setpshared.c
7966         (pthread_barrierattr_setpshared): Likewise.
7967         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
7968         Likewise.
7969         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
7970         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
7971         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
7972         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
7973         Likewise.
7974         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
7975         Likewise.
7976         * nptl/pthread_condattr_getpshared.c
7977         (pthread_condattr_getpshared): Likewise.
7978         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
7979         Likewise.
7980         * nptl/pthread_condattr_setpshared.c
7981         (pthread_condattr_setpshared): Likewise.
7982         * nptl/pthread_detach.c (pthread_detach): Likewise.
7983         * nptl/pthread_equal.c (__pthread_equal): Likewise.
7984         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
7985         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
7986         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
7987         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
7988         Likewise.
7989         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
7990         Likewise.
7991         * nptl/pthread_mutex_getprioceiling.c
7992         (pthread_mutex_getprioceiling): Likewise.
7993         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
7994         Likewise.
7995         * nptl/pthread_mutexattr_getprotocol.c
7996         (pthread_mutexattr_getprotocol): Likewise.
7997         * nptl/pthread_mutexattr_getpshared.c
7998         (pthread_mutexattr_getpshared): Likewise.
7999         * nptl/pthread_mutexattr_getrobust.c
8000         (pthread_mutexattr_getrobust): Likewise.
8001         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8002         Likewise.
8003         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
8004         Likewise.
8005         * nptl/pthread_mutexattr_setprioceiling.c
8006         (pthread_mutexattr_setprioceiling): Likewise.
8007         * nptl/pthread_mutexattr_setprotocol.c
8008         (pthread_mutexattr_setprotocol): Likewise.
8009         * nptl/pthread_mutexattr_setpshared.c
8010         (pthread_mutexattr_setpshared): Likewise.
8011         * nptl/pthread_mutexattr_setrobust.c
8012         (pthread_mutexattr_setrobust): Likewise.
8013         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
8014         Likewise.
8015         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
8016         Likewise.
8017         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
8018         Likewise.
8019         * nptl/pthread_rwlockattr_getkind_np.c
8020         (pthread_rwlockattr_getkind_np): Likewise.
8021         * nptl/pthread_rwlockattr_getpshared.c
8022         (pthread_rwlockattr_getpshared): Likewise.
8023         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
8024         Likewise.
8025         * nptl/pthread_rwlockattr_setkind_np.c
8026         (pthread_rwlockattr_setkind_np): Likewise.
8027         * nptl/pthread_rwlockattr_setpshared.c
8028         (pthread_rwlockattr_setpshared): Likewise.
8029         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
8030         Likewise.
8031         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
8032         Likewise.
8033         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
8034         Likewise.
8035         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
8036         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
8037         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
8038         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
8039         * nptl/sem_close.c (sem_close): Likewise.
8040         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
8041         * nptl/sem_init.c (__old_sem_init): Likewise.
8042         * nptl/sigaction.c (__sigaction): Likewise.
8043         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
8044         * posix/_exit.c (_exit): Likewise.
8045         * posix/alarm.c (alarm): Likewise.
8046         * posix/confstr.c (confstr): Likewise.
8047         * posix/fpathconf.c (__fpathconf): Likewise.
8048         * posix/getgroups.c (__getgroups): Likewise.
8049         * posix/getpgid.c (__getpgid): Likewise.
8050         * posix/group_member.c (__group_member): Likewise.
8051         * posix/pathconf.c (__pathconf): Likewise.
8052         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
8053         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
8054         * posix/setgid.c (__setgid): Likewise.
8055         * posix/setpgid.c (__setpgid): Likewise.
8056         * posix/setuid.c (__setuid): Likewise.
8057         * posix/sleep.c (__sleep): Likewise.
8058         * posix/sysconf.c (__sysconf): Likewise.
8059         * posix/times.c (__times): Likewise.
8060         * posix/uname.c (__uname): Likewise.
8061         * posix/waitid.c (__waitid): Likewise.
8062         * pwd/getpw.c (__getpw): Likewise.
8063         * resolv/base64.c (b64_pton): Likewise.
8064         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
8065         * resolv/gethnamaddr.c (Dprintf): Likewise.
8066         (gethostbyname): Likewise.
8067         (gethostbyname2): Likewise.
8068         (gethostbyaddr): Likewise.
8069         (_sethtent): Likewise.
8070         (_gethtbyname): Likewise.
8071         (_gethtbyname2): Likewise.
8072         (_gethtbyaddr): Likewise.
8073         (map_v4v6_address): Likewise.
8074         (map_v4v6_hostent): Likewise.
8075         (addrsort): Likewise.
8076         (ht_sethostent): Likewise.
8077         (ht_gethostbyname): Likewise.
8078         (ht_gethostbyaddr): Likewise.
8079         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
8080         (inet_net_ntop_ipv4): Likewise.
8081         * resolv/inet_neta.c (inet_neta): Likewise.
8082         * resolv/inet_ntop.c (inet_ntop): Likewise.
8083         (inet_ntop4): Likewise.
8084         (inet_ntop6): Likewise.
8085         * resolv/inet_pton.c (__inet_pton): Likewise.
8086         (inet_pton4): Likewise.
8087         (inet_pton6): Likewise.
8088         * resolv/res_debug.c (loc_aton): Likewise.
8089         (loc_ntoa): Likewise.
8090         * resource/getpriority.c (__getpriority): Likewise.
8091         * resource/getrusage.c (__getrusage): Likewise.
8092         * resource/nice.c (nice): Likewise.
8093         * resource/setpriority.c (__setpriority): Likewise.
8094         * resource/setrlimit64.c (setrlimit64): Likewise.
8095         * resource/vlimit.c (vlimit): Likewise.
8096         * resource/vtimes.c (vtimes): Likewise.
8097         * rt/aio_error.c (aio_error): Likewise.
8098         * rt/aio_return.c (aio_return): Likewise.
8099         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
8100         * signal/kill.c (__kill): Likewise.
8101         * signal/killpg.c (killpg): Likewise.
8102         * signal/raise.c (raise): Likewise.
8103         * signal/sigaction.c (__sigaction): Likewise.
8104         * signal/sigaddset.c (sigaddset): Likewise.
8105         * signal/sigaltstack.c (sigaltstack): Likewise.
8106         * signal/sigandset.c (sigandset): Likewise.
8107         * signal/sigblock.c (__sigblock): Likewise.
8108         * signal/sigdelset.c (sigdelset): Likewise.
8109         * signal/sigempty.c (sigemptyset): Likewise.
8110         * signal/sigfillset.c (sigfillset): Likewise.
8111         * signal/sighold.c (sighold): Likewise.
8112         * signal/sigignore.c (sigignore): Likewise.
8113         * signal/sigintr.c (siginterrupt): Likewise.
8114         * signal/sigisempty.c (sigisemptyset): Likewise.
8115         * signal/sigismem.c (sigismember): Likewise.
8116         * signal/signal.c (signal): Likewise.
8117         * signal/sigorset.c (sigorset): Likewise.
8118         * signal/sigpause.c (__sigpause): Likewise.
8119         * signal/sigpending.c (sigpending): Likewise.
8120         * signal/sigprocmask.c (__sigprocmask): Likewise.
8121         * signal/sigrelse.c (sigrelse): Likewise.
8122         * signal/sigreturn.c (__sigreturn): Likewise.
8123         * signal/sigset.c (sigset): Likewise.
8124         * signal/sigsetmask.c (__sigsetmask): Likewise.
8125         * signal/sigstack.c (sigstack): Likewise.
8126         * signal/sigsuspend.c (__sigsuspend): Likewise.
8127         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
8128         * signal/sysv_signal.c (__sysv_signal): Likewise.
8129         * socket/accept.c (accept): Likewise.
8130         * socket/accept4.c (__libc_accept4): Likewise.
8131         * socket/bind.c (__bind): Likewise.
8132         * socket/connect.c (__connect): Likewise.
8133         * socket/getpeername.c (getpeername): Likewise.
8134         * socket/getsockname.c (__getsockname): Likewise.
8135         * socket/getsockopt.c (getsockopt): Likewise.
8136         * socket/listen.c (__listen): Likewise.
8137         * socket/recv.c (__recv): Likewise.
8138         * socket/recvmsg.c (__recvmsg): Likewise.
8139         * socket/send.c (__send): Likewise.
8140         * socket/sendmsg.c (__sendmsg): Likewise.
8141         * socket/shutdown.c (shutdown): Likewise.
8142         * socket/sockatmark.c (sockatmark): Likewise.
8143         * socket/socket.c (__socket): Likewise.
8144         * stdio-common/ctermid.c (ctermid): Likewise.
8145         * stdio-common/cuserid.c (cuserid): Likewise.
8146         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
8147         * stdio-common/remove.c (remove): Likewise.
8148         * stdio-common/rename.c (rename): Likewise.
8149         * stdio-common/renameat.c (renameat): Likewise.
8150         * stdio-common/tempname.c (__gen_tempname): Likewise.
8151         * stdio-common/xbug.c (InitBuffer): Likewise.
8152         (AppendToBuffer): Likewise.
8153         (ReadFile): Likewise.
8154         * stdlib/a64l.c (a64l): Likewise.
8155         * stdlib/drand48_r.c (drand48_r): Likewise.
8156         * stdlib/getcontext.c (getcontext): Likewise.
8157         * stdlib/getenv.c (getenv): Likewise.
8158         * stdlib/l64a.c (l64a): Likewise.
8159         * stdlib/llabs.c (llabs): Likewise.
8160         * stdlib/lldiv.c (lldiv): Likewise.
8161         * stdlib/lrand48_r.c (lrand48_r): Likewise.
8162         * stdlib/mrand48_r.c (mrand48_r): Likewise.
8163         * stdlib/putenv.c (putenv): Likewise.
8164         * stdlib/random.c (__srandom): Likewise.
8165         (__initstate): Likewise.
8166         (__setstate): Likewise.
8167         * stdlib/random_r.c (__srandom_r): Likewise.
8168         (__setstate_r): Likewise.
8169         (__random_r): Likewise.
8170         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
8171         * stdlib/setcontext.c (setcontext): Likewise.
8172         * stdlib/setenv.c (setenv): Likewise.
8173         (unsetenv): Likewise.
8174         * stdlib/srand48.c (srand48): Likewise.
8175         * stdlib/srand48_r.c (__srand48_r): Likewise.
8176         * stdlib/swapcontext.c (swapcontext): Likewise.
8177         * stdlib/system.c (__libc_system): Likewise.
8178         * stdlib/tst-strtod.c (expand): Likewise.
8179         * stdlib/tst-strtol.c (expand): Likewise.
8180         * stdlib/tst-strtoll.c (expand): Likewise.
8181         * streams/fattach.c (fattach): Likewise.
8182         * streams/fdetach.c (fdetach): Likewise.
8183         * streams/getmsg.c (getmsg): Likewise.
8184         * streams/isastream.c (isastream): Likewise.
8185         * string/ffs.c (__ffs): Likewise.
8186         * string/ffsll.c (ffsll): Likewise.
8187         * string/memcmp.c (memcmp_common_alignment): Likewise.
8188         (memcmp_not_common_alignment): Likewise.
8189         (MEMCMP): Likewise.
8190         * string/memcpy.c (memcpy): Likewise.
8191         * string/memmove.c (MEMMOVE): Likewise.
8192         * string/memset.c (memset): Likewise.
8193         * string/rawmemchr.c (RAWMEMCHR): Likewise.
8194         * string/strchrnul.c (STRCHRNUL): Likewise.
8195         * string/strerror.c (strerror): Likewise.
8196         * string/strndup.c (__strndup): Likewise.
8197         * string/strverscmp.c (__strverscmp): Likewise.
8198         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
8199         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
8200         (clnttcp_freeres): Likewise.
8201         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
8202         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
8203         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
8204         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
8205         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
8206         (xdr_callhdr): Likewise.
8207         * sunrpc/rpcinfo.c (udpping): Likewise.
8208         (tcpping): Likewise.
8209         (pstatus): Likewise.
8210         (pmapdump): Likewise.
8211         (brdcst): Likewise.
8212         (deletereg): Likewise.
8213         (getprognum): Likewise.
8214         (getvers): Likewise.
8215         (get_inet_address): Likewise.
8216         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
8217         * sunrpc/svc_udp.c (svcudp_create): Likewise.
8218         (svcudp_stat): Likewise.
8219         (svcudp_recv): Likewise.
8220         (svcudp_reply): Likewise.
8221         (svcudp_getargs): Likewise.
8222         (svcudp_freeargs): Likewise.
8223         (svcudp_destroy): Likewise.
8224         * sunrpc/xdr.c (xdr_bytes): Likewise.
8225         (xdr_netobj): Likewise.
8226         (xdr_string): Likewise.
8227         (xdr_wrapstring): Likewise.
8228         * sunrpc/xdr_float.c (xdr_float): Likewise.
8229         (xdr_double): Likewise.
8230         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
8231         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
8232         * sysvipc/ftok.c (ftok): Likewise.
8233         * sysvipc/msgctl.c (msgctl): Likewise.
8234         * sysvipc/msgget.c (msgget): Likewise.
8235         * sysvipc/msgrcv.c (msgrcv): Likewise.
8236         * sysvipc/msgsnd.c (msgsnd): Likewise.
8237         * sysvipc/semget.c (semget): Likewise.
8238         * sysvipc/semop.c (semop): Likewise.
8239         * sysvipc/shmat.c (shmat): Likewise.
8240         * sysvipc/shmctl.c (shmctl): Likewise.
8241         * sysvipc/shmdt.c (shmdt): Likewise.
8242         * sysvipc/shmget.c (shmget): Likewise.
8243         * termios/cfmakeraw.c (cfmakeraw): Likewise.
8244         * termios/speed.c (cfgetospeed): Likewise.
8245         (cfgetispeed): Likewise.
8246         (cfsetospeed): Likewise.
8247         (cfsetispeed): Likewise.
8248         * termios/tcflow.c (tcflow): Likewise.
8249         * termios/tcflush.c (tcflush): Likewise.
8250         * termios/tcgetattr.c (__tcgetattr): Likewise.
8251         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
8252         * termios/tcgetsid.c (tcgetsid): Likewise.
8253         * termios/tcsendbrk.c (tcsendbreak): Likewise.
8254         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
8255         * time/adjtime.c (__adjtime): Likewise.
8256         * time/dysize.c (dysize): Likewise.
8257         * time/ftime.c (ftime): Likewise.
8258         * time/getitimer.c (__getitimer): Likewise.
8259         * time/gettimeofday.c (__gettimeofday): Likewise.
8260         * time/gmtime.c (__gmtime_r): Likewise.
8261         (gmtime): Likewise.
8262         * time/localtime.c (__localtime_r): Likewise.
8263         (localtime): Likewise.
8264         * time/offtime.c (__offtime): Likewise.
8265         * time/settimeofday.c (__settimeofday): Likewise.
8266         * time/stime.c (stime): Likewise.
8267         * time/strftime_l.c (tm_diff): Likewise.
8268         (iso_week_days): Likewise.
8269         * time/strptime.c (strptime): Likewise.
8270         * time/time.c (time): Likewise.
8271         * time/timespec_get.c (timespec_get): Likewise.
8272         * time/tzset.c (tzset_internal): Likewise.
8273         (compute_change): Likewise.
8274         (__tz_compute): Likewise.
8275         * wcsmbs/btowc.c (__btowc): Likewise.
8276         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
8277         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
8278         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
8279         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
8280         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
8281         * wcsmbs/wcscat.c (__wcscat): Likewise.
8282         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
8283         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
8284         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
8285         * wcsmbs/wcscspn.c (wcscspn): Likewise.
8286         * wcsmbs/wcsdup.c (wcsdup): Likewise.
8287         * wcsmbs/wcslen.c (__wcslen): Likewise.
8288         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
8289         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
8290         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
8291         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
8292         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
8293         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
8294         * wcsmbs/wcsspn.c (wcsspn): Likewise.
8295         * wcsmbs/wcsstr.c (wcsstr): Likewise.
8296         * wcsmbs/wcstok.c (wcstok): Likewise.
8297         * wcsmbs/wctob.c (wctob): Likewise.
8298         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
8299         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8300         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
8301         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
8302         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
8303         * wcsmbs/wmemset.c (__wmemset): Likewise.
8304         * wctype/wcfuncs.c (__towlower): Likewise.
8305         (__towupper): Likewise.
8307         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
8308         (lll_unlock_elision): Add adapt_count parameter.
8310 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8312         * sysdeps/nptl/configure.ac: Do not give errors based on the
8313         results of top-level configure tests.
8314         * sysdeps/nptl/configure: Regenerated.
8316         * configure.ac (libc_cv_Bgroup): Remove configure test.
8317         * configure: Regenerated.
8318         * config.make.in (have-Bgroup): Remove variable.
8320         * configure.ac (sizeof_long_double): Remove configure test.
8321         * configure: Regenerated.
8322         * config.make.in (sizeof-long-double): Remove variable.
8324         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
8325         * configure: Regenerated.
8326         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
8327         variable.
8328         (exceptions): Likewise.
8329         * sysdeps/arm/configure: Regenerated.
8330         * config.make.in (exceptions): Remove variable.
8331         * Makeconfig (uses-callbacks): Use -fexceptions instead of
8332         $(exceptions).
8333         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
8334         (CFLAGS-vdprintf_chk.c): Likewise.
8335         (CFLAGS-printf_chk.c): Likewise.
8336         (CFLAGS-fprintf_chk.c): Likewise.
8337         (CFLAGS-vprintf_chk.c): Likewise.
8338         (CFLAGS-vfprintf_chk.c): Likewise.
8339         (CFLAGS-gets_chk.c): Likewise.
8340         (CFLAGS-fgets_chk.c): Likewise.
8341         (CFLAGS-fgets_u_chk.c): Likewise.
8342         (CFLAGS-fread_chk.c): Likewise.
8343         (CFLAGS-fread_u_chk.c): Likewise.
8344         (CFLAGS-wprintf_chk.c): Likewise.
8345         (CFLAGS-fwprintf_chk.c): Likewise.
8346         (CFLAGS-vwprintf_chk.c): Likewise.
8347         (CFLAGS-vfwprintf_chk.c): Likewise.
8348         (CFLAGS-fgetws_chk.c): Likewise.
8349         (CFLAGS-fgetws_u_chk.c): Likewise.
8350         * libio/Makefile (CFLAGS-fileops.c): Likewise.
8351         (CFLAGS-fputc.c): Likewise.
8352         (CFLAGS-fputwc.c): Likewise.
8353         (CFLAGS-freopen64.c): Likewise.
8354         (CFLAGS-freopen.c): Likewise.
8355         (CFLAGS-fseek.c): Likewise.
8356         (CFLAGS-fseeko64.c): Likewise.
8357         (CFLAGS-fseeko.c): Likewise.
8358         (CFLAGS-ftello64.c): Likewise.
8359         (CFLAGS-ftello.c): Likewise.
8360         (CFLAGS-fwide.c): Likewise.
8361         (CFLAGS-genops.c): Likewise.
8362         (CFLAGS-getc.c): Likewise.
8363         (CFLAGS-getchar.c): Likewise.
8364         (CFLAGS-getwc.c): Likewise.
8365         (CFLAGS-getwchar.c): Likewise.
8366         (CFLAGS-iofclose.c): Likewise.
8367         (CFLAGS-iofflush.c): Likewise.
8368         (CFLAGS-iofgetpos64.c): Likewise.
8369         (CFLAGS-iofgetpos.c): Likewise.
8370         (CFLAGS-iofgets.c): Likewise.
8371         (CFLAGS-iofgetws.c): Likewise.
8372         (CFLAGS-iofputs.c): Likewise.
8373         (CFLAGS-iofputws.c): Likewise.
8374         (CFLAGS-iofread.c): Likewise.
8375         (CFLAGS-iofsetpos64.c): Likewise.
8376         (CFLAGS-iofsetpos.c): Likewise.
8377         (CFLAGS-ioftell.c): Likewise.
8378         (CFLAGS-iofwrite.c): Likewise.
8379         (CFLAGS-iogetdelim.c): Likewise.
8380         (CFLAGS-iogetline.c): Likewise.
8381         (CFLAGS-iogets.c): Likewise.
8382         (CFLAGS-iogetwline.c): Likewise.
8383         (CFLAGS-ioputs.c): Likewise.
8384         (CFLAGS-ioseekoff.c): Likewise.
8385         (CFLAGS-ioseekpos.c): Likewise.
8386         (CFLAGS-iosetbuffer.c): Likewise.
8387         (CFLAGS-iosetvbuf.c): Likewise.
8388         (CFLAGS-ioungetc.c): Likewise.
8389         (CFLAGS-ioungetwc.c): Likewise.
8390         (CFLAGS-oldfileops.c): Likewise.
8391         (CFLAGS-oldiofclose.c): Likewise.
8392         (CFLAGS-oldiofgetpos64.c): Likewise.
8393         (CFLAGS-oldiofgetpos.c): Likewise.
8394         (CFLAGS-oldiofsetpos64.c): Likewise.
8395         (CFLAGS-oldiofsetpos.c): Likewise.
8396         (CFLAGS-peekc.c): Likewise.
8397         (CFLAGS-putc.c): Likewise.
8398         (CFLAGS-putchar.c): Likewise.
8399         (CFLAGS-putwc.c): Likewise.
8400         (CFLAGS-putwchar.c): Likewise.
8401         (CFLAGS-rewind.c): Likewise.
8402         (CFLAGS-wfileops.c): Likewise.
8403         (CFLAGS-wgenops.c): Likewise.
8404         (CFLAGS-oldiofopen.c): Likewise.
8405         (CFLAGS-iofopen.c): Likewise.
8406         (CFLAGS-iofopen64.c): Likewise.
8407         (CFLAGS-oldtmpfile.c): Likewise.
8408         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
8409         (CFLAGS-fprintf.c): Likewise.
8410         (CFLAGS-printf.c): Likewise.
8411         (CFLAGS-vfwprintf.c): Likewise.
8412         (CFLAGS-vfscanf.c): Likewise.
8413         (CFLAGS-vfwscanf.c): Likewise.
8414         (CFLAGS-fscanf.c): Likewise.
8415         (CFLAGS-scanf.c): Likewise.
8416         (CFLAGS-isoc99_vfscanf.c): Likewise.
8417         (CFLAGS-isoc99_vscanf.c): Likewise.
8418         (CFLAGS-isoc99_fscanf.c): Likewise.
8419         (CFLAGS-isoc99_scanf.c): Likewise.
8420         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
8421         (CFLAGS-isoc99_fwscanf.c): Likewise.
8422         (CFLAGS-isoc99_vwscanf.c): Likewise.
8423         (CFLAGS-isoc99_vfwscanf.c): Likewise.
8425         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
8426         after mkstemp64.
8427         * login/tst-utmp.c (do_prepare): Likewise.
8428         * rt/tst-aio.c (do_prepare): Likewise.
8429         * rt/tst-aio64.c (do_prepare): Likewise.
8431 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8433         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8434         (__lll_lock_elision): Remove adapt_count decrement...
8435         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8436         (__lll_trylock_elision): Likewise.
8437         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8438         (__lll_unlock_elision): ... to here. And utilize
8439         new adapt_count parameter.
8440         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8441         (__lll_unlock_elision): Update to include adapt_count
8442         parameter.
8443         (lll_unlock_elision): Pass pointer to adapt_count
8444         variable.
8446 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8448         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
8449         Add elision adapt_count parameter to list of arguments.
8450         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
8451         (lll_unlock_elision): Update with new parameter list
8452         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
8453         (lll_unlock_elision): Likewise.
8454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
8455         (lll_unlock_elision): Likewise.
8457 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8459         [BZ #19122]
8460         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
8461         attribute_hidden.
8463         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
8464         attribute_hidden.
8465         [IS_IN (rtld)] (__strdup): Likewise.
8466         [IS_IN (rtld)] (__strerror_r): Likewise.
8467         [IS_IN (rtld)] (__strsep_g): Likewise.
8468         [IS_IN (rtld)] (memchr): Likewise.
8469         [IS_IN (rtld)] (memcmp): Likewise.
8470         [IS_IN (rtld)] (memcpy): Likewise.
8471         [IS_IN (rtld)] (memmove): Likewise.
8472         [IS_IN (rtld)] (memset): Likewise.
8473         [IS_IN (rtld)] (rawmemchr): Likewise.
8474         [IS_IN (rtld)] (stpcpy): Likewise.
8475         [IS_IN (rtld)] (strchr): Likewise.
8476         [IS_IN (rtld)] (strcmp): Likewise.
8477         [IS_IN (rtld)] (strlen): Likewise.
8478         [IS_IN (rtld)] (strnlen): Likewise.
8479         [IS_IN (rtld)] (strsep): Likewise.
8481         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
8482         attribute_hidden.
8483         [IS_IN (rtld)] (__strtoul_internal): Likewise.
8485         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
8486         attribute_hidden.
8487         [IS_IN (rtld)] (__libc_sigaction): Likewise.
8489         * include/setjmp.h (__longjmp): Add attribute_hidden.
8490         [IS_IN (rtld)] (__sigsetjmp): Likewise.
8492         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
8493         Add attribute_hidden.
8495         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
8496         [IS_IN (rtld)] (__open): Likewise.
8497         [IS_IN (rtld)] (__fcntl): Likewise.
8499         * include/dirent.h (__opendirat): Add attribute_hidden.
8500         (__getdents): Likewise.
8501         (__getdents64): Likewise.
8502         (__alloc_dir): Likewise.
8503         [IS_IN (rtld)] (__closedir): Likewise.
8504         [IS_IN (rtld)] (__fdopendir): Likewise.
8505         [IS_IN (rtld)] (__readdir): Likewise.
8506         [IS_IN (rtld)] (__readdir64): Likewise.
8507         [IS_IN (rtld)] (__rewinddir): Likewise.
8509         * include/dlfcn.h (_dl_catch_error): Moved to ...
8510         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
8511         attribute_hidden.
8513         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
8514         (_itoa_word): Likewise.
8516         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
8517         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
8518         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
8519         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
8520         (_dl_higher_prime_number): Likewise.
8521         (_dl_debug_printf_c): Likewise.
8522         (_dl_signal_cerror): Likewise.
8523         (_dl_receive_error): Likewise.
8524         (_dl_reloc_bad_type): Likewise.
8525         (_dl_resolve_conflicts): Likewise.
8526         (_dl_check_all_versions): Likewise.
8527         (_dl_check_map_versions): Likewise.
8528         (_dl_sort_fini): Likewise.
8529         (_dl_debug_initialize): Likewise.
8530         (_dl_init_paths): Likewise.
8531         (_dl_show_auxv): Likewise.
8532         (_dl_next_ld_env_entry): Likewise.
8533         (_dl_important_hwcaps): Likewise.
8534         (_dl_load_cache_lookup): Likewise.
8535         (_dl_update_slotinfo): Likewise.
8536         (_dl_show_scope): Likewise.
8538         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
8539         attribute_hidden.
8540         (_wordcopy_fwd_dest_aligned): Likewise.
8541         (_wordcopy_bwd_aligned): Likewise.
8542         (_wordcopy_bwd_dest_aligned): Likewise.
8544         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
8545         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8546         Likewise.
8547         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
8548         Likewise.
8549         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
8551 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8553         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
8554         GCC 5 requirement.
8556 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
8558         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
8559         test.
8560         * sysdeps/i386/configure: Regenerated.
8561         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
8562         code unconditional.
8564         * configure.ac (libc_cv_asm_previous_directive): Remove configure
8565         test.
8566         (libc_cv_asm_popsection_directive): Likewise.
8567         * configure: Regenerated.
8568         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
8569         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
8570         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
8571         (__make_section_unallocated): Make definition unconditional.
8572         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
8573         Remove conditional definition.
8574         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
8575         (__make_section_unallocated): Likewise.
8577         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
8578         * configure: Regenerated.
8579         * config.make.in (static-libgcc): Remove variable.
8580         * Makerules (build-shlib-helper): Use -static-libgcc instead of
8581         $(static-libgcc).
8582         (build-module-helper): Likewise.
8584         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
8585         * configure: Regenerated.
8587 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8589         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
8590         (struct char_buffer): New type.
8591         (char_buffer_start, char_buffer_size, char_buffer_error)
8592         (char_buffer_rewind, char_buffer_add): New functions.
8593         (ADDW): Remove macro, replaced by the char_buffer_add function.
8594         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
8595         of extend_alloca.  Make control flow more explicit.
8597 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8599         [BZ #19137]
8600         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
8601         Add -fomit-frame-pointer.
8602         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
8604 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8606         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
8607         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
8608         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
8609         only if !__GNUC_PREREQ (5,0).
8610         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
8611         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
8612         (INTERNAL_SYSCALL_NCS): Likewise.
8613         (LOADREGS_0): New macro for GCC 5.
8614         (ASMARGS_0): Likewise.
8615         (LOADREGS_1): Likewise.
8616         (ASMARGS_1): Likewise.
8617         (LOADREGS_2): Likewise.
8618         (ASMARGS_2): Likewise.
8619         (LOADREGS_3): Likewise.
8620         (ASMARGS_3): Likewise.
8621         (LOADREGS_4): Likewise.
8622         (ASMARGS_4): Likewise.
8623         (LOADREGS_5): Likewise.
8624         (ASMARGS_5): Likewise.
8625         (LOADREGS_6): Likewise.
8626         (ASMARGS_6): Likewise.
8628 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
8630         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
8631         -fomit-frame-pointer.
8632         (CFLAGS-mmap64.c): Likewise.
8633         (CFLAGS-semtimedop.c): Likewise.
8634         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
8635         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
8636         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8637         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
8639 2015-10-15  Florian Weimer  <fweimer@redhat.com>
8641         [BZ #18928]
8642         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
8643         _dl_pointer_guard member.
8644         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
8645         initializer.
8646         (security_init): Always set up pointer guard.
8647         (process_envvars): Do not process LD_POINTER_GUARD.
8649 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
8651         [BZ #19134]
8652         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
8653         (.LC2): Likewise.
8654         (.LC3): Likewise.
8655         (__lround): Do not add 0.5 to integer or out-of-range arguments.
8657 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8659         [BZ #19129]
8660         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
8661         r0 and r1.
8663 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
8665         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
8667 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
8669         * include/stap-probe.h: Fix macro definition formatting.
8671 2015-10-14  Florian Weimer  <fweimer@redhat.com>
8673         [BZ #19074]
8674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
8675         load and store num_ifs.
8677 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8679         [BZ #18822]
8680         * sysdeps/unix/sysv/linux/sched_getaffinity.c
8681         (__sched_getaffinity_new): Add libc_hidden_proto and
8682         libc_hidden_def.
8684 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8686         [BZ #19007]
8687         * scripts/localplt.awk: Also allow GOT references.
8688         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
8689         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
8690         with "+ REL R_386_GLOB_DAT".
8691         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
8692         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
8694 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
8696         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
8697         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8698         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
8701         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
8702         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
8703         INTERNAL_SYSCALLINTERNAL_SYSCALL and
8704         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8705         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
8706         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
8707         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
8708         Likewise.
8709         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
8711 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8713         [BZ #19125]
8714         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
8715         <math_private.h> and <stdint.h>.
8716         (__llround): Avoid conversions to and from long long int, and
8717         subtractions, where those might raise spurious exceptions.
8718         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
8719         <math_private.h> and <stdint.h>.
8720         (__llroundf): Avoid conversions to and from long long int, and
8721         subtractions, where those might raise spurious exceptions.
8723 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8725         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
8726         INLINE_SYSCALL_ERROR_RETURN_VALUE.
8727         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8728         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
8729         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8730         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8731         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
8732         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
8733         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
8734         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
8735         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8736         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8737         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
8738         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
8739         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8740         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
8741         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
8742         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8743         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
8744         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
8745         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
8746         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
8747         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
8748         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
8749         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
8750         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
8751         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
8752         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8753         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
8754         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
8755         (__xstat64_conv): Likewise.
8756         (__xstat32_conv): Likewise.
8758 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8760         * sysdeps/unix/sysv/linux/sysdep.h: New file.
8761         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
8762         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
8763         <sysdeps/unix/sysv/linux/sysdep.h>.
8764         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
8765         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
8766         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
8767         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8768         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8769         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
8770         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
8771         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8772         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8775         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8776         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8777         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8778         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8779         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8780         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
8781         (sysdep-dl-routines): Add sysdep.
8782         [$(subdir) == nptl] (libpthread-routines): Likewise.
8783         [$(subdir) == rt] (librt-routines): Likewise.
8784         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
8785         PIC when branching to SYSCALL_ERROR_LABEL.
8786         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
8787         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
8788         <sysdeps/unix/sysv/linux/sysdep.h>.
8789         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
8790         (SYSCALL_ERROR_ERRNO): Removed.
8791         (SYSCALL_ERROR_HANDLER): Changed to empty.
8792         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
8793         (__syscall_error): New prototype.
8794         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
8795         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
8797 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
8799         [BZ #19124]
8800         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
8801         (_dl_runtime_resolve_avx512): Make it a hidden alias of
8802         _dl_runtime_resolve_avx.
8803         (_dl_runtime_profile_avx512): Make it a hidden alias of
8804         _dl_runtime_profile_avx.
8806 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
8808         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
8809         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
8810         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
8811         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
8813         [BZ #16422]
8814         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
8815         New configure test.
8816         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
8817         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
8818         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
8819         <math_private.h> and <stdint.h>.
8820         (__llrint): Avoid conversions to long long int where those might
8821         raise spurious exceptions.
8822         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
8823         <math_private.h> and <stdint.h>.
8824         (__llrintf): Avoid conversions to long long int where those might
8825         raise spurious exceptions.
8827 2015-10-12  Andreas Schwab  <schwab@suse.de>
8829         [BZ #18969]
8830         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
8831         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
8832         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
8833         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
8834         $(gen-locales).
8835         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
8836         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
8837         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
8838         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
8839         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
8840         $(gen-locales).
8841         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
8842         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
8843         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
8844         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
8845         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
8846         ($(objpfx)tst-ftell-active-handler.out)
8847         ($(objpfx)tst-ftell-append.out)
8848         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
8849         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
8850         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
8851         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
8852         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
8853         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
8854         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
8855         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
8856         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
8857         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
8858         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
8859         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
8860         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
8861         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
8862         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
8863         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
8864         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
8865         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
8866         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
8867         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
8868         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
8869         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
8870         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
8871         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
8872         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
8873         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
8874         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
8875         $(gen-locales).
8876         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
8877         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
8878         $(gen-locales).
8879         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
8880         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
8881         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
8882         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
8883         $(gen-locales).
8884         * libio/tst_wprintf2.c (main): Use explicit locale.
8885         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
8887 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8889         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
8890         __msg_sig_post.
8891         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
8893 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8895         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8896         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8898         * sysdeps/arm/libm-test-ulps: Regenerated.
8900         [BZ #15470]
8901         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
8903         [BZ #16399]
8904         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
8905         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
8906         and <fix-fp-int-convert-overflow.h>.
8907         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8908         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8909         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
8910         and <fix-fp-int-convert-overflow.h>.
8911         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
8912         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8913         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
8914         <fix-fp-int-convert-overflow.h>.
8915         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
8916         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8917         * sysdeps/ieee754/dbl-64/s_lround.c: Include
8918         <fix-fp-int-convert-overflow.h>.
8919         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
8920         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8921         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
8922         and <fix-fp-int-convert-overflow.h>.
8923         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8924         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8925         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
8926         <limits.h> and <fix-fp-int-convert-overflow.h>.
8927         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8928         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8929         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
8930         and <fix-fp-int-convert-overflow.h>.
8931         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
8932         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8933         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
8934         and <fix-fp-int-convert-overflow.h>.
8935         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
8936         FIX_DBL_LLONG_CONVERT_OVERFLOW.
8937         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
8939 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
8941         [BZ #18589]
8942         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
8943         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
8944         $(gen-locales).
8946 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8947             Phil Blundell <pb@pbcl.net>
8949         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
8950         * nptl/tst-cancel26.c: New file.
8951         * nptl/tst-cancel27.c: Likewise.
8953 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
8955         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
8956         __ILP32__ isn't defined.
8957         (lrint): Likewise.
8958         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
8959         (lrintf): Likewise.
8960         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
8961         (lrintl): Likewise.
8962         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
8963         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
8964         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
8966 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8968         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8969         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8971         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
8972         file.
8973         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
8974         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8976 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
8978         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
8979         configure test.
8980         * sysdeps/i386/configure: Regenerated.
8981         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
8982         configure test.
8983         * sysdeps/x86_64/configure: Regenerated.
8984         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
8985         Make code unconditional.
8987         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
8988         test.
8989         * sysdeps/i386/configure: Regenerated.
8990         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
8991         test.
8992         * sysdeps/x86_64/configure: Regenerated.
8993         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
8994         Make code unconditional.
8995         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8996         Likewise.
8997         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
8998         Likewise.
8999         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9000         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
9001         code unconditional.
9002         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9003         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
9004         code unconditional.
9005         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9006         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
9007         code unconditional.
9008         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
9009         code unconditional.
9010         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9011         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
9012         code unconditional.
9013         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9014         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
9015         code unconditional.
9016         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9017         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
9018         code unconditional.
9019         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9020         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
9021         code unconditional.
9022         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
9023         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
9025         [BZ #19095]
9026         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
9027         mantissa to long int before shifting left.
9029 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9031         [BZ #19094]
9032         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
9033         <limits.h>.
9034         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9035         when result overflows but exception would not result from cast.
9036         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
9037         <limits.h>.
9038         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9039         when result overflows but exception would not result from cast.
9040         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
9041         <limits.h>.
9042         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9043         when result overflows but exception would not result from cast.
9044         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
9045         <limits.h>.
9046         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9047         when result overflows but exception would not result from cast.
9048         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
9049         <limits.h>.
9050         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
9051         when result overflows but exception would not result from cast.
9052         * math/libm-test.inc (lrint_test_data): Add more tests.
9053         (llrint_test_data): Likewise.
9055 2015-10-08  Roland McGrath  <roland@hack.frob.com>
9057         [BZ #18872]
9058         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
9059         Move out from under [$(run-built-tests) = yes] conditional.
9060         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
9061         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
9063 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
9065         [BZ #18589]
9066         * string/Makefile (tests): Add bug-strcoll2.
9067         (LOCALES): Add cs_CZ.UTF-8.
9068         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
9070         [BZ #18589]
9071         * string/bug-strcoll2.c: New file.
9072         * locale/categories.def: Revert commit
9073         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
9074         * locale/langinfo.h: Likewise.
9075         * locale/localeinfo.h: Likewise.
9076         * locale/C-collate.c: Likewise.
9077         * locale/programs/ld-collate.c (collate_output): Likewise.
9078         * string/strcoll_l.c (STRDIFF): Likewise.
9079         (STRCOLL): Likewise.
9080         * wcsmbs/wcscoll_l.c: Likewise.
9082 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
9084         * math/libm-test.inc (lround_test_data): Do not expect the absence
9085         of "inexact" for some tests with non-integer arguments.
9086         (llround_test_data): Likewise.
9088         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
9089         test.
9090         (libc_cv_cc_sse2avx): Likewise.
9091         * sysdeps/i386/configure: Regenerated.
9092         * sysdeps/i386/i686/multiarch/Makefile
9093         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
9094         [$(subdir) = math].
9095         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
9096         code unconditional.
9097         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9098         Likewise.
9099         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
9100         Likewise.
9101         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9102         Likewise.
9103         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
9104         test.
9105         (libc_cv_cc_sse2avx): Likewise.
9106         * sysdeps/x86_64/configure: Regenerated.
9107         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
9108         unconditional.
9109         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
9110         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
9111         unconditional.
9112         (_dl_runtime_profile)
9113         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
9114         conditional code.
9115         * sysdeps/x86_64/fpu/multiarch/Makefile
9116         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
9117         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
9118         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9119         * sysdeps/x86_64/fpu/multiarch/e_exp.c
9120         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9121         * sysdeps/x86_64/fpu/multiarch/e_log.c
9122         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9123         * sysdeps/x86_64/fpu/multiarch/s_atan.c
9124         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9125         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
9126         Likewise.
9127         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
9128         Likewise.
9129         * sysdeps/x86_64/fpu/multiarch/s_sin.c
9130         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9131         * sysdeps/x86_64/fpu/multiarch/s_tan.c
9132         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
9133         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
9134         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
9135         (HAVE_SSE2AVX_SUPPORT): Likewise.
9137 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
9139         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
9140         instead of #pragma optimize.
9142 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9144         [BZ #17195]
9145         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
9146         as is similarly done in systrim and _int_free already.
9148 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9150         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
9152 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9154         [BZ #19088]
9155         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
9156         <limits.h>.
9157         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9158         overflows but exception would not result from cast.
9159         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
9160         and <limits.h>.
9161         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
9162         overflows but exception would not result from cast.
9163         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
9164         <limits.h>.
9165         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9166         overflows but exception would not result from cast.
9167         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
9168         <limits.h>.
9169         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9170         overflows but exception would not result from cast.
9171         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
9172         <limits.h>.
9173         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
9174         overflows but exception would not result from cast.
9175         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
9176         <limits.h>.
9177         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
9178         overflows but exception would not result from cast.
9179         * math/libm-test.inc (lround_test_data): Add more tests.
9180         (llround_test_data): Likewise.
9182 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
9184         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
9185         (CFLAGS-ialloc.c): Ditto.
9186         (CFLAGS-scheck.c): Ditto.
9188 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
9190         [BZ #19086]
9191         * manual/filesys.texi (Storage Allocation): Fix argument order for
9192         posix_fallocate64.
9194 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9196         [BZ #19085]
9197         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
9198         exponent below 48 inside case for non-overflowing exponent.
9199         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
9201 2015-10-07  Florian Weimer  <fweimer@redhat.com>
9203         * iconvdata/cp737.h (from_idx): Add const.
9204         * iconvdata/cp775.h (from_idx): Likewise.
9206 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
9208         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
9209         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
9210         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
9212         [BZ #19079]
9213         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
9214         file, conditioned on [!_LP64].
9215         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
9216         [!_LP64] (__lround): Do not define as function or alias.
9217         [!_LP64] (lround): Likewise.
9218         [!_LP64] (__lroundl): Likewise.
9219         [!_LP64] (lroundl): Likewise.
9220         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
9221         macro.
9222         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
9223         Likewise.
9225 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9227         * math/libm-test.inc (lrint_test_data): Add more tests.
9228         (llrint_test_data): Likewise.
9229         (lround_test_data): Likewise.
9230         (llround_test_data): Likewise.
9232         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
9233         (llrint_test_data): Add tests used for lrint.
9235         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
9236         test.
9237         * sysdeps/i386/configure: Regenerated.
9238         * sysdeps/i386/i686/multiarch/Makefile
9239         [$(config-cflags-sse4) = yes]: Make code unconditional.
9240         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9241         Likewise.
9242         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
9243         Likewise.
9244         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
9245         test.
9246         * sysdeps/x86_64/configure: Regenerated.
9247         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
9248         Make code unconditional.
9249         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
9250         Likewise.
9251         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
9252         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
9254         * scripts/rpm2dynsym.sh: Remove file.
9256 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9258         * configure.ac (libc_cv_cxx_thread_local): Define.
9259         * configure: Regenerate.
9260         * config.make.in (have-cxx-thread_local): Define.
9261         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
9262         (LDLIBS-tst-thread_local1): Define.
9263         (tests): Add tst-thread_local1.
9264         [have-cxx-thread_local != yes] (tests-unsupported): Add
9265         tst-thread_local1.
9266         * nptl/tst-thread_local1.cc: New file.
9268 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
9270         [BZ #19078]
9271         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
9272         (u_thres): Likewise.
9273         (__expl): Determine whether to call __kernel_standard_l based on
9274         value of result, not argument.
9276         * math/libm-test.inc (scalb_test_data): Add more expectations for
9277         the "inexact" exception.
9279         [BZ #19077]
9280         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
9281         0.0L for argument 1.0L.
9283         [BZ #19076]
9284         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
9285         constant 0.0L when computing infinite result.
9287 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9289         [BZ #10432]
9290         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
9291         malloc_usable_size.
9293 2015-10-06  Florian Weimer  <fweimer@redhat.com>
9295         [BZ #19018]
9296         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9297         Mangle function pointer before storing it.
9298         (__call_tls_dtors): Demangle function pointer before calling it.
9300 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9302         [BZ #19012]
9303         * iconv/gconv_db.c (gen_steps): Check for additional errors.
9304         Clean up on failure.
9306 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
9308         [BZ #19071]
9309         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
9310         long int variable to store possibly incremented high part of
9311         mantissa.
9312         * math/libm-test.inc (lround_test_data): Add tests used for
9313         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
9314         for tests requiring 64-bit long.  Do not condition tests on
9315         [TEST_FLOAT] unnecessarily.
9316         (llround_test_data): Add tests used for lround.  Add another
9317         expectation for the "inexact" exception.  Do not condition tests
9318         on [TEST_FLOAT] unnecessarily.
9320         [BZ #887]
9321         [BZ #19049]
9322         [BZ #19050]
9323         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
9324         * sysdeps/ieee754/dbl-64/e_log10.c: Include
9325         <fix-int-fp-convert-zero.h>.
9326         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9327         * sysdeps/ieee754/dbl-64/e_log2.c: Include
9328         <fix-int-fp-convert-zero.h>.
9329         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9330         * sysdeps/ieee754/dbl-64/s_erf.c: Include
9331         <fix-int-fp-convert-zero.h>.
9332         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9333         * sysdeps/ieee754/dbl-64/s_logb.c: Include
9334         <fix-int-fp-convert-zero.h>.
9335         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9336         * sysdeps/ieee754/flt-32/e_log10f.c: Include
9337         <fix-int-fp-convert-zero.h>.
9338         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9339         * sysdeps/ieee754/flt-32/e_log2f.c: Include
9340         <fix-int-fp-convert-zero.h>.
9341         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9342         * sysdeps/ieee754/flt-32/s_erff.c: Include
9343         <fix-int-fp-convert-zero.h>.
9344         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9345         * sysdeps/ieee754/flt-32/s_logbf.c: Include
9346         <fix-int-fp-convert-zero.h>.
9347         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9348         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
9349         <fix-int-fp-convert-zero.h>.
9350         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9351         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
9352         <fix-int-fp-convert-zero.h>.
9353         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
9354         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
9355         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
9356         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
9357         file.
9358         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
9360 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9364 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
9366         [BZ #19059]
9367         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
9368         overflowing computation.
9369         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
9370         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
9371         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
9372         Likewise.
9373         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
9374         Likewise.
9375         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
9376         Likewise.
9377         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9378         Likewise.
9379         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
9380         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
9381         Likewise.
9382         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
9383         Likewise.
9384         * math/libm-test.inc (nexttoward_test_data): Add more tests.
9386         * nss/rewrite_field.c (__nss_rewrite_field): Use
9387         internal_function.
9388         * nss/valid_field.c (__nss_valid_field): Likewise.
9389         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
9391 2015-10-02  Florian Weimer  <fweimer@redhat.com>
9393         [BZ #18724]
9394         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
9395         (__nss_invalid_field_characters, __nss_valid_field)
9396         (__nss_valid_list_field, __nss_rewrite_field): Declare.
9397         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
9398         tst-field.c: New file.
9399         * nss/Makefile (routines): Add valid_field, rewrite_field.
9400         (tests-static): Define unconditionally.
9401         (tests): Include tests-static.
9402         [build-static-nss] (tests-static): Use append.
9403         [build-static-nss] (tests): Remove modification.
9404         * nss/getent.c (print_group): Call putgrent.  Report error.
9405         (print_gshadow): Call putsgent.  Report error.
9406         (print_passwd): Call putpwent.  Report error.
9407         (print_shadow): Call putspent.  Report error.
9408         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
9409         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
9410         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
9411         name, password, directory, shell fields for valid syntax.  Rewrite
9412         GECOS field to match syntax.
9413         * pwd/Makefile (tests): Add tst-putpwent.
9414         * pwd/tst-putpwent.c: New file.
9415         * grp/putgrent.c (putgrent): Convert to ISO function definition.
9416         Check grName, grpasswd, gr_mem fields for valid syntax.
9417         Change loop variable i to size_t.
9418         * grp/Makefile (tests): Add tst-putgrent.
9419         * grp/tst-putgrent.c: New file.
9420         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
9421         valid syntax.
9422         * shadow/Makefile (tests): Add tst-putspent.
9423         * shadow/tst-putspent.c: New file.
9424         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
9425         sg_mem fields for valid syntax.
9426         * gshadow/Makefile (tests): Add tst-putsgent.
9427         * gshadow/tst-putsgent.c: New file.
9429 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9431         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
9432         assembly instructions.
9434 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9436         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
9437         prefix from operands.
9439 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #16347]
9442         [BZ #19046]
9443         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
9444         <libc-internal.h>.
9445         (MAXLGM): Do not use diagnostic control macros.
9446         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
9447         threshold for ldbl-128ibm.
9448         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
9449         instead of multiplying by log then subtracting.
9450         * math/auto-libm-test-in: Add more tests of lgamma.
9451         * math/auto-libm-test-out: Regenerated.
9453         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
9454         (TYPE_HEX_DIG): Likewise.
9455         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
9456         precisions when printing floating-point numbers.
9457         (check_float_internal): Likewise.
9459 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9461         [BZ #16620]
9462         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
9463         of log (10) rounded downward to 48 bits.
9464         (log10_low): Use corresponding low part of log (10).
9466         [BZ #19032]
9467         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
9468         compute result as (x - x) / (x - x) not as 0 / 0.
9469         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9470         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
9472         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9473         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
9474         and expm1.
9475         * math/auto-libm-test-out: Regenerated.
9476         * math/libm-test.inc (acos_test_data): Add more tests.
9477         (asin_test_data): Likewise.
9478         (asinh_test_data): Likewise.
9479         (atan_test_data): Likewise.
9480         (atanh_test_data): Likewise.
9481         (atan2_test_data): Likewise.
9482         (cbrt_test_data): Likewise.
9483         (ceil_test_data): Likewise.
9484         (copysign_test_data): Likewise.
9485         (cos_test_data): Likewise.
9486         (cosh_test_data): Likewise.
9487         (erf_test_data): Likewise.
9488         (erfc_test_data): Likewise.
9489         (exp_test_data): Likewise.
9490         (exp10_test_data): Likewise.
9491         (exp2_test_data): Likewise.
9492         (expm1_test_data): Likewise.
9493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9495 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
9497         [BZ #19006]
9498         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
9499         to ...
9500         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
9501         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
9502         to ...
9503         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
9504         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
9505         to ...
9506         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
9507         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
9508         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
9509         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
9510         to ...
9511         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
9512         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9513         Moved to ...
9514         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
9515         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9516         Moved to ...
9517         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
9518         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
9519         to ...
9520         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
9521         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9522         Moved to ...
9523         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
9524         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
9525         to ...
9526         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
9527         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
9528         Removed.
9529         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
9530         Likewise.
9531         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
9532         Likewise.
9533         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
9534         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
9535         Likewise.
9536         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9537         Likewise.
9538         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9539         Likewise.
9540         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9541         Likewise.
9542         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9543         Likewise.
9544         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
9545         Likewise.
9546         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
9547         Likewise.
9548         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
9549         Likewise.
9550         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
9551         Likewise.
9552         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
9553         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
9554         Likewise.
9555         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9556         Likewise.
9557         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9558         Likewise.
9559         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9560         Likewise.
9561         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
9562         Likewise.
9563         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9564         Replace ../i486/pthread_cond_timedwait.S with
9565         ../pthread_cond_timedwait.S.
9567 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
9569         * math/libm-test.inc (acos_test_data): Refine expectations for
9570         errno and "inexact" exceptions.
9571         (acosh_test_data): Likewise.
9572         (asin_test_data): Likewise.
9573         (asinh_test_data): Likewise.
9574         (atan_test_data): Likewise.
9575         (atanh_test_data): Likewise.
9576         (atan2_test_data): Likewise.
9577         (cbrt_test_data): Likewise.
9578         (ceil_test_data): Likewise.
9579         (copysign_test_data): Likewise.
9580         (cosh_test_data): Likewise.
9581         (erf_test_data): Likewise.
9582         (erfc_test_data): Likewise.
9583         (exp_test_data): Likewise.
9584         (exp10_test_data): Likewise.
9585         (exp2_test_data): Likewise.
9586         (expm1_test_data): Likewise.
9587         (fabs_test_data): Likewise.
9588         (floor_test_data): Likewise.
9589         (fma_test_data): Likewise.
9590         (fmax_test_data): Likewise.
9591         (fmin_test_data): Likewise.
9592         (fmod_test_data): Likewise.
9593         (fpclassify_test_data): Likewise.
9594         (frexp_test_data): Likewise.
9595         (hypot_test_data): Likewise.
9596         (ilogb_test_data): Likewise.
9597         (isgreater_test_data): Likewise.
9598         (isgreaterequal_test_data): Likewise.
9599         (isinf_test_data): Likewise.
9600         (isless_test_data): Likewise.
9601         (islessequal_test_data): Likewise.
9602         (islessgreater_test_data): Likewise.
9603         (isnan_test_data): Likewise.
9604         (isnormal_test_data): Likewise.
9605         (issignaling_test_data): Likewise.
9606         (isunordered_test_data): Likewise.
9607         (j0_test_data): Likewise.
9608         (j1_test_data): Likewise.
9609         (jn_test_data): Likewise.
9610         (lgamma_test_data): Likewise.
9611         (lrint_test_data): Likewise.
9612         (llrint_test_data): Likewise.
9613         (log_test_data): Likewise.
9614         (log10_test_data): Likewise.
9615         (log1p_test_data): Likewise.
9616         (log2_test_data): Likewise.
9617         (logb_test_data): Likewise.
9618         (lround_test_data): Likewise.
9619         (llround_test_data): Likewise.
9620         (modf_test_data): Likewise.
9621         (nearbyint_test_data): Likewise.
9622         (nextafter_test_data): Likewise.
9623         (nexttoward_test_data): Likewise.
9624         (pow_test_data): Likewise.
9625         (remainder_test_data): Likewise.
9626         (remquo_test_data): Likewise.
9627         (rint_test_data): Likewise.
9628         (round_test_data): Likewise.
9629         (signbit_test_data): Likewise.
9630         (sinh_test_data): Likewise.
9631         (sqrt_test_data): Likewise.
9632         (tanh_test_data): Likewise.
9633         (tgamma_test_data): Likewise.
9634         (trunc_test_data): Likewise.
9635         (y0_test_data): Likewise.
9636         (y1_test_data): Likewise.
9637         (yn_test_data): Likewise.
9638         (significand_test_data): Likewise.
9640 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
9642         * manual/filesys.texi (Storage Allocation): Document that
9643         posix_fallocate emulation fails when fd is open with O_WRONLY.
9645 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
9647         [BZ #19016]
9648         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
9649         allow more cases with X^2 + Y^2 >= 0.5.
9650         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
9651         normal element in sum instead of special-casing based on values of
9652         arguments.
9653         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
9654         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
9655         -1 as normal element in sum instead of special-casing based on
9656         values of arguments.
9657         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
9658         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
9659         (__x2y2m1): Update comment.
9660         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
9661         as normal element in sum instead of special-casing based on values
9662         of arguments.
9663         * math/s_clog.c (__clog): Handle more cases using log1p without
9664         hypot.
9665         * math/s_clog10.c (__clog10): Likewise.
9666         * math/s_clog10f.c (__clog10f): Likewise.
9667         * math/s_clog10l.c (__clog10l): Likewise.
9668         * math/s_clogf.c (__clogf): Likewise.
9669         * math/s_clogl.c (__clogl): Likewise.
9670         * math/auto-libm-test-in: Add more tests of clog and clog10.
9671         * math/auto-libm-test-out: Regenerated.
9672         * sysdeps/i386/fpu/libm-test-ulps: Update.
9673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9675 2015-09-28  Martin Sebor  <msebor@redhat.com>
9677         [BZ #18969]
9678         * string/Makefile (LOCALES): Define.
9679         (gen-locales.mk): Include.
9680         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
9681         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
9682         * string/tst-strxfrm2.c (do_test): Print the name of the locale
9683         on setlocale failure.
9685 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
9687         [BZ #18985]
9688         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
9689         (__strftime_internal): Likewise.
9690         * time/tst-strftime.c (do_bz18985): New test.
9691         (do_test): Call it.
9693 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
9695         [BZ #18956]
9696         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
9697         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
9698         extracting high part.
9699         * math/auto-libm-test-in: Add another test of pow.
9700         * math/auto-libm-test-out: Regenerated.
9701         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9703 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9705         [BZ #18825]
9706         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
9707         New macro.
9708         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
9709         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9710         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
9711         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
9712         DBL_NARROW_EVAL, reloading the PIC register as needed.
9713         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
9714         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
9715         FLT_NARROW_EVAL.  Use separate return path for case when first
9716         argument is NaN.
9717         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
9718         DEFINE_LDBL_MIN.
9719         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
9720         PIC register.
9721         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
9722         math_check_force_underflow_nonneg.
9723         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
9724         underflow for subnormal result.
9725         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
9727         math_check_force_underflow_nonneg.
9728         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
9729         math_check_force_underflow.
9730         * sysdeps/x86_64/fpu/x86_64-math-asm.h
9731         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
9732         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
9733         DEFINE_LDBL_MIN.
9734         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
9735         * math/auto-libm-test-in: Add more tests of pow.
9736         * math/auto-libm-test-out: Regenerated.
9738 2015-09-25  Florian Weimer  <fweimer@redhat.com>
9740         * nss/bug17079.c (init_test_items): Add diagnostic for
9741         inconsistent entries.
9742         (test_buffer_size): Skip inconsistent entries.
9744 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
9746         [BZ #13304]
9747         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
9748         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
9749         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
9751         [BZ #13304]
9752         * sysdeps/microblaze/s_fma.c: New file.
9753         * sysdeps/microblaze/s_fmaf.c: Likewise.
9754         * sysdeps/microblaze/sfp-machine.h: Likewise.
9756 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
9758         [BZ #17250]
9759         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
9760         member.
9762 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9764         [BZ #18803]
9765         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
9766         (MO): New macro.
9767         (__ieee754_hypot) [PIC]: Load PIC register.
9768         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
9769         DBL_NARROW_EVAL.
9770         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
9771         math_check_force_underflow_nonneg in case where result might be
9772         tiny.
9773         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9774         Likewise.
9775         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9776         Likewise.
9777         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
9778         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
9779         * math/auto-libm-test-in: Add more tests of hypot.
9780         * math/auto-libm-test-out: Regenerated.
9782 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
9784         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
9786 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
9788         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
9789         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
9790         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9791         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9792         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
9793         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9794         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9796         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
9797         LOAD_PIC_REG.
9799         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
9800         (FLT_CHECK_FORCE_UFLOW): Likewise.
9801         (DBL_CHECK_FORCE_UFLOW): Likewise.
9802         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
9803         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
9804         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
9805         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9806         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
9807         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9808         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9809         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
9810         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
9811         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9812         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
9813         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
9814         (flt_min): Replace with use of DEFINE_FLT_MIN.
9815         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
9816         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
9817         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9818         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
9819         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
9820         (flt_min): Replace with use of DEFINE_FLT_MIN.
9821         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
9822         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
9823         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9824         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
9825         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
9826         (flt_min): Replace with use of DEFINE_FLT_MIN.
9827         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
9828         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
9829         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
9830         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
9831         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
9832         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
9833         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
9834         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
9835         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9836         (__atan): Use DBL_CHECK_FORCE_UFLOW.
9837         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
9838         (flt_min): Replace with use of DEFINE_FLT_MIN.
9839         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
9840         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
9841         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9842         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
9843         main computation.
9844         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
9845         (flt_min): Replace with use of DEFINE_FLT_MIN.
9846         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
9847         main computation.
9848         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
9849         (dbl_min): Replace with use of DEFINE_DBL_MIN.
9850         (MO): New macro.
9851         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
9852         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
9853         (flt_min): Replace with use of DEFINE_FLT_MIN.
9854         (MO): New macro.
9855         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
9856         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
9857         (__log1pl): Use MO.
9859         [BZ #19003]
9860         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
9861         $(config-cflags-nofma).
9863 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9865         * sysdeps/aarch64/libm-test-ulps: Regenerated.
9867 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
9869         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
9870         (TWO127): Likewise.
9872         * sysdeps/generic/math_private.h (fabs_tg): New macro.
9873         (min_of_type): Likewise.
9874         (math_check_force_underflow): Likewise.
9875         (math_check_force_underflow_nonneg): Likewise.
9876         (math_check_force_underflow_complex): Likewise.
9877         * math/e_exp2l.c (__ieee754_exp2l): Use
9878         math_check_force_underflow_nonneg.
9879         * math/k_casinh.c (__kernel_casinh): Likewise.
9880         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9881         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9882         * math/s_catan.c (__catan): Use
9883         math_check_force_underflow_complex.
9884         * math/s_catanf.c (__catanf): Likewise.
9885         * math/s_catanh.c (__catanh): Likewise.
9886         * math/s_catanhf.c (__catanhf): Likewise.
9887         * math/s_catanhl.c (__catanhl): Likewise.
9888         * math/s_catanl.c (__catanl): Likewise.
9889         * math/s_ccosh.c (__ccosh): Likewise.
9890         * math/s_ccoshf.c (__ccoshf): Likewise.
9891         * math/s_ccoshl.c (__ccoshl): Likewise.
9892         * math/s_cexp.c (__cexp): Likewise.
9893         * math/s_cexpf.c (__cexpf): Likewise.
9894         * math/s_cexpl.c (__cexpl): Likewise.
9895         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
9896         * math/s_clog10.c (__clog10): Likewise.
9897         * math/s_clog10f.c (__clog10f): Likewise.
9898         * math/s_clog10l.c (__clog10l): Likewise.
9899         * math/s_clogf.c (__clogf): Likewise.
9900         * math/s_clogl.c (__clogl): Likewise.
9901         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
9902         * math/s_csinf.c (__csinf): Likewise.
9903         * math/s_csinh.c (__csinh): Likewise.
9904         * math/s_csinhf.c (__csinhf): Likewise.
9905         * math/s_csinhl.c (__csinhl): Likewise.
9906         * math/s_csinl.c (__csinl): Likewise.
9907         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
9908         * math/s_csqrtf.c (__csqrtf): Likewise.
9909         * math/s_csqrtl.c (__csqrtl): Likewise.
9910         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
9911         * math/s_ctanf.c (__ctanf): Likewise.
9912         * math/s_ctanh.c (__ctanh): Likewise.
9913         * math/s_ctanhf.c (__ctanhf): Likewise.
9914         * math/s_ctanhl.c (__ctanhl): Likewise.
9915         * math/s_ctanl.c (__ctanl): Likewise.
9916         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
9917         instead of volatile.
9918         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
9919         math_check_force_underflow.
9920         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9921         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
9922         volatile when forcing underflow.
9923         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
9924         math_check_force_underflow_nonneg.
9925         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9926         Likewise.
9927         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
9928         math_check_force_underflow.
9929         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9930         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9931         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9932         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
9933         math_check_force_underflow_nonneg.
9934         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
9935         math_check_force_underflow.
9936         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
9937         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
9938         instead of volatile.
9939         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
9940         math_check_force_underflow.
9941         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9942         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
9943         math_check_force_underflow_nonneg.
9944         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
9945         math_check_force_underflow.
9946         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
9947         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9948         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
9949         math_check_force_underflow_nonneg.
9950         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9951         Likewise.
9952         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
9953         math_check_force_underflow.
9954         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9955         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
9956         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
9957         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
9958         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9959         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
9960         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
9961         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
9962         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
9963         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
9964         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
9965         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
9966         Likewise.
9967         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
9968         math_check_force_underflow_nonneg.
9969         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9970         Likewise.
9971         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
9972         math_check_force_underflow.
9973         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9974         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
9975         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
9976         Likewise.
9977         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
9978         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
9979         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
9980         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
9981         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
9982         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9983         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
9984         instead of volatile.
9985         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
9986         math_check_force_underflow.
9987         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
9988         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
9989         math_check_force_underflow.
9990         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
9991         Likewise.
9992         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9993         Use math_check_force_underflow_nonneg.
9994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
9995         math_check_force_underflow.
9996         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
9997         Likewise.
9998         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
9999         Likewise.
10000         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
10001         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
10002         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
10003         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
10004         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
10005         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
10006         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
10007         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
10008         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
10009         math_check_force_underflow_nonneg.
10010         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
10011         math_check_force_underflow.
10012         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10013         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
10014         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
10015         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
10016         math_check_force_underflow_nonneg.
10017         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
10018         math_check_force_underflow.
10019         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
10020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
10021         instead of volatile.
10022         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
10023         math_check_force_underflow.
10025         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
10026         * stdlib/strtod_l.c: Include <math_private.h>.
10027         (overflow_value): Use math_narrow_eval.
10028         (underflow_value): Likewise.
10029         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
10030         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
10031         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
10032         (__ieee754_gamma_r): Likewise.
10033         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
10034         Likewise.
10035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
10036         Likewise.
10037         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
10038         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
10039         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
10040         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
10041         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
10042         (__ieee754_gammaf_r): Likewise.
10043         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10044         Likewise.
10045         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
10046         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
10047         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
10048         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
10049         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
10050         volatile.
10051         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
10052         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
10053         math_narrow_eval.
10054         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
10055         Likewise.
10056         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
10057         Likewise.
10058         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
10059         Likewise.
10060         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
10061         volatile.
10062         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
10063         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
10064         math_narrow_eval.
10065         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
10066         Likewise.
10067         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
10068         Likewise.
10070 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
10072         * nptl/Versions: Remove ignored symbols.
10074 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10076         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
10077         * nss/Makefile (tests): Update.
10079 2015-09-22  Florian Weimer  <fweimer@redhat.com>
10081         * nss/bug18287.c: New file.
10082         * nss/Makefile (tests): Add bug18287.
10084 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10086         * mach/Versions (__mach_host_self_): Add symbol.
10088 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10090         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
10091         vm_page_size.
10093 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10095         Really fix sysdeps/i386/fpu/s_scalbn.S build
10097         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
10098         (libc: GLIBC_2_22): Remove unused version set.
10100 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10102         * config.make.in (enable-timezone-tools): New variable.
10103         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
10104         (enable_timezone_tools): Export to generated files.
10105         * configure: Regenerate.
10106         * INSTALL: Regenerate.
10107         * manual/install.texi (--disable-timezone-tools): Document new flag.
10108         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
10109         ifeq ($(enable-timezone-tools),yes) check.
10111 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10113         * timezone/Makefile: Revert previous change.
10115         [BZ #18980]
10116         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
10117         (DEFINE_DBL_MIN): Likewise.
10118         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10119         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
10120         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10121         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
10122         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
10123         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10124         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10125         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
10126         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
10127         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10128         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10129         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
10130         (flt_min): Replace with use of DEFINE_FLT_MIN.
10131         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10132         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
10133         (dbl_min): Replace with use of DEFINE_DBL_MIN.
10134         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
10135         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
10136         (flt_min): Replace with use of DEFINE_FLT_MIN.
10137         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10138         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
10139         (flt_min): Replace with use of DEFINE_FLT_MIN.
10140         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
10141         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
10142         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
10143         (__ieee754_hypot): Use DBL_NARROW_EVAL.
10144         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
10145         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
10146         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
10147         (__ieee754_pow): Use DBL_NARROW_EVAL.
10148         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
10149         (__ieee754_powf): Use FLT_NARROW_EVAL.
10150         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
10151         (__ieee754_expf_sse2): Convert double-precision result to single
10152         precision.
10153         * sysdeps/i386/fpu/libm-test-ulps: Update.
10155 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10157         * timezone/Makefile: Ignore unused variable errors due to private.h
10158         (time_t_min) and (time_t_max).
10159         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
10160         Likewise.
10162 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10164         [BZ #18981]
10165         * sysdeps/i386/fpu/i386-math-asm.h: New file.
10166         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
10167         (__ieee754_scalb): Use DBL_NARROW_EVAL.
10168         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
10169         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
10170         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
10171         (__scalbn): Use DBL_NARROW_EVAL.
10172         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
10173         (__scalbnf): Use FLT_NARROW_EVAL.
10175 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10177         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
10178         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
10179         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
10180         * stdio-common/printf_fp.c (___printf_fp):
10181         Use signbit to get the sign. Use isinf macro to allow inlining.
10182         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
10183         * stdio-common/printf_size.c (__printf_size): Likewise.
10185 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
10187         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
10189 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
10191         [BZ #18980]
10192         * sysdeps/generic/math_private.h: Include <float.h>.
10193         (math_narrow_eval): New macro.
10194         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
10195         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
10196         math_narrow_eval on overflowing return value.
10197         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
10198         Likewise.
10199         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
10200         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
10201         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
10202         Likewise.
10203         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
10205 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10207         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
10208         * math/Makefile: Remove isinf_ns.c.
10209         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
10210         * math/multc3.c (__multc3): Likewise.
10211         * math/s_casin.c (__casin): Likewise.
10212         * math/s_casinf.c (__casinf): Likewise.
10213         * math/s_casinl.c (__casinl): Likewise.
10214         * math/s_cproj.c (__cproj): Likewise.
10215         * math/s_cprojf.c (__cprojf): Likewise.
10216         * math/s_cprojl.c (__cprofl): Likewise.
10217         * math/s_ctan.c (__ctan): Likewise.
10218         * math/s_ctanf.c (__ctanf): Likewise.
10219         * math/s_ctanh.c (__ctanh): Likewise.
10220         * math/s_ctanhf.c (__ctanhf): Likewise.
10221         * math/s_ctanhl.c (__ctanhl): Likewise.
10222         * math/s_ctanl.c (__ctanl): Likewise.
10223         * math/w_fmod.c (__fmod): Likewise.
10224         * math/w_fmodf.c (__fmodf): Likewise.
10225         * math/w_fmodl.c (_fmodl): Likewise.
10226         * math/w_remainder.c (__remainder): Likewise.
10227         * math/w_remainderf.c (__remainderf): Likewise.
10228         * math/w_remainderl.c (__remainderl): Likewise.
10229         * math/w_scalb.c (__scalb): Likewise.
10230         * math/w_scalbf.c (__scalbf): Likewise.
10231         * math/w_scalbl.c (__scalbl): Likewise.
10232         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
10233         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
10234         with isinf.
10235         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
10236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
10237         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
10238         __isinf_nsf with isinf.
10239         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
10240         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
10241         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
10242         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
10243         with isinf.
10244         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
10245         __isinf_nsl with isinf.
10246         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
10247         with isinf.
10248         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
10249         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
10250         __isinf_nsl with isinf.
10251         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
10252         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
10253         with isinf.
10255 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10257         * resolv/base64.c (rcsid): Remove unused static.
10258         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
10259         static.  (tqpi1): Likewise.
10260         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
10261         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
10262         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
10263         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
10264         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
10265         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
10266         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
10267         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
10268         Likewise.
10270 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
10272         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
10273         <nptl/pthreadP.h>.
10274         (_longjmp_unwind): Use __libc_ptf_call.
10275         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
10277 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
10279         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
10280         * sysdeps/arm/__longjmp.S: Likewise.
10282 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10284         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
10285         Use __builtin_signbit.
10286         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
10287         Use __builtin_signbitf.
10288         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
10289         Use __builtin_signbitl.
10290         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
10291         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
10293 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10295         [BZ #15367]
10296         [BZ #17441]
10298         * math/Makefile: Build test-snan.c with -fsignaling-nans.
10299         * math/math.h (fpclassify): Use __builtin_fpclassify when
10300         available.  (signbit): Use __builtin_signbit(f/l).
10301         (isfinite): Use__builtin_isfinite.  (isnormal): Use
10302         __builtin_isnormal.  (isnan): Use __builtin_isnan.
10303         (isinf): Use __builtin_isinf_sign.
10305 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
10307         * benchtests/Makefile: Add bench-math-inlines, link with libm.
10308         * benchtests/bench-math-inlines.c: New benchmark.
10309         * benchtests/bench-util.h: New file.
10310         * benchtests/bench-util.c: New file.
10311         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
10313 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
10315         * elf/tst-dlmopen1.c: Define TEST_SO.
10316         (do_test): Use TEST_SO.
10318         * elf/dl-load.c: Include libc-internal.h.
10319         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
10321 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10323         [BZ #17887]
10324         * time/strptime_l.c (__strptime_internal): Make %z accept
10325         [+-]HH:MM time zones.
10327 2015-09-18  Vincent Bernat  <vincent@bernat.im>
10329         [BZ #17886]
10330         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
10331         valid time zone.
10333 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
10335         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
10336         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
10337         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10338         (__ASSUME_FDATASYNC): Delete.
10340 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10342         * conform/linknamespace.pl: Require weak undefined symbols to be
10343         in the standard namespace.
10344         (%strong_syms): Rename to %seen_syms.
10345         (%strong_seen): Rename to %seen_where.
10347 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
10349         [BZ #18970]
10350         * misc/error.c (error): Replace pthread_setcancelstate with
10351         __pthread_setcancelstate.
10352         (error_at_line): Likewise.
10353         * posix/wordexp.c (parse_comm): Likewise.
10354         * stdlib/fmtmsg.c (fmtmsg): Likewise.
10355         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
10356         (__pthread_setcancelstate): This.
10357         (pthread_setcancelstate): Add an alias.
10358         * nptl/nptl-init.c (pthread_functions): Replace
10359         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
10360         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
10361         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
10362         hidden_proto.
10363         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
10364         it with hidden_def.
10365         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
10366         (pthread_setcancelstate): Renamed to ...
10367         (__pthread_setcancelstate): This.
10368         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
10369         __libc_ptf_call with __pthread_setcancelstate.
10371 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10372             Andreas Schwab  <schwab@suse.de>
10374         [BZ #17118]
10375         * math/s_ctan.c (__ctan): Determine sign of zero real part of
10376         result when imaginary part of argument is infinite using sine and
10377         cosine.
10378         * math/s_ctanf.c (__ctanf): Likewise.
10379         * math/s_ctanl.c (__ctanl): Likewise.
10380         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
10381         of result when real part of argument is infinite using sine and
10382         cosine.
10383         * math/s_ctanhf.c (__ctanhf): Likewise.
10384         * math/s_ctanhl.c (__ctanhl): Likewise.
10385         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
10386         (ctanh_test_data): Add more tests of ctanh.
10388 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
10390         [BZ #15384]
10391         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
10392         bit-mask as in subtraction.
10393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
10394         Likewise.
10395         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
10396         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
10397         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
10399         [BZ #18951]
10400         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
10401         underflow exception for small results.
10402         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
10403         Likewise.
10404         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
10405         Likewise.
10406         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
10407         Likewise.
10408         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
10409         Likewise.
10410         * math/auto-libm-test-in: Add more tests of tgamma.
10411         * math/auto-libm-test-out: Regenerated.
10413 2015-09-17  Andreas Schwab  <schwab@suse.de>
10415         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
10417 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10419         [BZ #18977]
10420         * math/bits/mathcalls.h
10421         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10422         not declare.
10423         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
10424         Likewise.
10425         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
10426         Likewise.
10427         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
10428         Likewise.
10429         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
10430         Likewise.
10431         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
10432         Likewise.
10433         * conform/data/math.h-data
10434         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
10435         function.
10436         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
10437         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
10438         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
10439         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
10440         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
10441         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
10442         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
10443         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
10444         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
10445         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
10446         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
10448         [BZ #6803]
10449         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
10450         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
10451         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
10452         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
10453         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
10454         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
10455         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
10456         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
10457         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
10459         Likewise.
10460         [NO_LONG_DOUBLE] (scalbnl): Likewise.
10461         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
10462         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
10463         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
10464         long_double_symbol calls.
10465         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
10466         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
10467         strong alias of __ldexpl.
10468         (scalbnl): Define using long_double_symbol.
10469         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
10470         Remove alias.
10471         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
10472         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
10473         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
10474         (scalbln_test_data): Add more errno expectations.
10476 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
10478         Cache the host port like we cache the task port.  This way we do not
10479         need to call the kernel just to get the port.  Furthermore, we no
10480         longer increase the reference count on every invocation of
10481         `mach_host_self'.
10483         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
10484         Protect declarations against the macro expansion.
10485         * mach/mach_init.c (__mach_host_self_): New variable.
10486         (mach_init): Initialize `__mach_host_self_'.
10487         * mach/mach_init.h (__mach_host_self_): New declaration.
10488         (__mach_host_self, mach_host_self): New macros.
10489         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
10490         Release reference.
10492 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
10494         [BZ #4404]
10495         * po/de.po: Update from Translation Project.
10497         [BZ #16415]
10498         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
10499         (__expm1l): Remove code to handle positive infinity and overflow.
10500         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
10501         variable.
10502         (__expm1l): Remove code to handle positive infinity and overflow.
10504 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
10505             Paul Pluzhnikov  <ppluzhnikov@google.com>
10507         [BZ #18872]
10508         * stdio-common/Makefile (tst-printf-bz18872): New test.
10509         (tst-printf-bz18872-mem.out): Likewise.
10510         * stdio-common/tst-printf-bz18872.sh: Generate new test.
10511         * stdio-common/vfprintf.c: Fix memory leaks.
10513 2015-09-16  Andreas Schwab  <schwab@suse.de>
10515         [BZ #17244]
10516         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
10517         Remove extra va_start/va_end calls.
10519         [BZ #17243]
10520         * posix/execl.c (execl): Add missing va_end.
10521         * posix/execle.c (execle): Likewise.
10522         * posix/execlp.c (execlp): Likewise.
10524 2015-09-15  Roland McGrath  <roland@hack.frob.com>
10526         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
10527         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
10529 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
10531         [BZ #18967]
10532         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
10533         undefine around includes of <bits/mathcalls.h>.
10534         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
10535         not declare function.
10536         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
10537         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
10538         (scalb): Likewise.
10539         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
10540         not define macro.
10541         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
10542         variable.
10543         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
10544         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
10545         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
10547         [BZ #18857]
10548         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
10549         return non-finite argument without doing ordered comparisons on
10550         it.
10552         [BZ #16296]
10553         * math/fenv.h (fegetround): Use __attribute_pure__.
10554         * include/fenv.h (__fegetround): Likewise.
10556         [BZ #18595]
10557         * math/s_ctan.c (__ctan): Force underflow exception for results
10558         whose real or imaginary part has small absolute value.
10559         * math/s_ctanf.c (__ctanf): Likewise.
10560         * math/s_ctanh.c (__ctanh): Likewise.
10561         * math/s_ctanhf.c (__ctanhf): Likewise.
10562         * math/s_ctanhl.c (__ctanhl): Likewise.
10563         * math/s_ctanl.c (__ctanl): Likewise.
10564         * math/auto-libm-test-in: Do not allow missing underflow for ctan
10565         and ctanh.  Add more tests of ctan and ctanh.
10567         [BZ #15918]
10568         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
10569         handling of cases where one argument is an infinity.
10571         [BZ #18875]
10572         [BZ #18966]
10573         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
10574         (MO): New macro.
10575         (__ieee754_exp10): For small results, force underflow exception
10576         and remove excess range and precision from return value.
10577         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
10578         (MO): New macro.
10579         (__ieee754_exp10f): For small results, force underflow exception
10580         and remove excess range and precision from return value.
10581         * math/auto-libm-test-in: Add more tests of exp10.
10582         * math/auto-libm-test-out: Regenerated.
10584 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
10586         [BZ #18875]
10587         [BZ #18961]
10588         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
10589         (MO): New macro.
10590         (__ieee754_exp): For small results, force underflow exception and
10591         remove excess range and precision from return value.
10592         (__exp_finite): Likewise.
10593         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
10594         (MO): New macro.
10595         (__ieee754_expf): For small results, force underflow exception and
10596         remove excess range and precision from return value.
10597         (__expf_finite): Likewise.
10598         * math/auto-libm-test-in: Add more tests of exp.
10599         * math/auto-libm-test-out: Regenerated.
10601         [BZ #16521]
10602         [BZ #18875]
10603         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
10604         small results.
10605         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
10606         (MO): New macro.
10607         (__ieee754_exp2): For small results, force underflow exception and
10608         remove excess range and precision from return value.
10609         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
10610         (MO): New macro.
10611         (__ieee754_exp2f): For small results, force underflow exception
10612         and remove excess range and precision from return value.
10613         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
10614         (MO): New macro.
10615         (__ieee754_exp2l): Force underflow exception for small results.
10616         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10617         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10618         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
10619         (MO): New macro.
10620         (__ieee754_exp2l): Force underflow exception for small results.
10621         * math/auto-libm-test-in: Add more tests or exp2.
10622         * math/auto-libm-test-out: Regenerated.
10624 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
10626         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
10628         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
10629         /dev/null.
10631 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10633         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10634         io fs process)): Drop spurious backslash.
10636 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10638         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
10639         Use sysinfo system call instead of parsing /proc/meminfo.
10640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
10641         Likewise.
10643 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
10645         [BZ #16985]
10646         * programs/localedef.c (main): Display argv[remaining] when
10647         output_path is NULL.
10649 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10651         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10652         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
10653         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
10654         tanh.
10655         * math/auto-libm-test-out: Regenerated.
10656         * sysdeps/i386/fpu/libm-test-ulps: Update.
10657         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
10658         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10661 2015-09-11  Roland McGrath  <roland@hack.frob.com>
10663         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
10664         Use 'override' keyword to freeze the value here, preventing
10665         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
10667 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
10669         [BZ #14912]
10670         * sysdeps/aarch64/bits/atomic.h: Move to ...
10671         * sysdeps/aarch64/atomic-machine.h: ...here.
10672         (_AARCH64_BITS_ATOMIC_H): Rename macro to
10673         _AARCH64_ATOMIC_MACHINE_H.
10674         * sysdeps/alpha/bits/atomic.h: Move to ...
10675         * sysdeps/alpha/atomic-machine.h: ...here.
10676         * sysdeps/arm/bits/atomic.h: Move to ...
10677         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
10678         * bits/atomic.h: Move to ...
10679         * sysdeps/generic/atomic-machine.h: ...here.
10680         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10681         * sysdeps/i386/bits/atomic.h: Move to ...
10682         * sysdeps/i386/atomic-machine.h: ...here.
10683         * sysdeps/ia64/bits/atomic.h: Move to ...
10684         * sysdeps/ia64/atomic-machine.h: ...here.
10685         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
10686         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
10687         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10688         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
10689         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
10690         * sysdeps/microblaze/bits/atomic.h: Move to ...
10691         * sysdeps/microblaze/atomic-machine.h: ...here.
10692         * sysdeps/mips/bits/atomic.h: Move to ...
10693         * sysdeps/mips/atomic-machine.h: ...here.
10694         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
10695         * sysdeps/powerpc/bits/atomic.h: Move to ...
10696         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
10697         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
10698         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
10699         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
10700         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
10701         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
10702         <atomic-machine.h> instead of <bits/atomic.h>.
10703         * sysdeps/s390/bits/atomic.h: Move to ...
10704         * sysdeps/s390/atomic-machine.h: ...here.
10705         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
10706         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
10707         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10708         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
10709         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
10710         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
10711         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
10712         * sysdeps/tile/bits/atomic.h: Move to ...
10713         * sysdeps/tile/atomic-machine.h: ...here.
10714         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
10715         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
10716         <sysdeps/tile/atomic-machine.h> instead of
10717         <sysdeps/tile/bits/atomic.h>.
10718         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10719         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
10720         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
10721         <sysdeps/tile/atomic-machine.h> instead of
10722         <sysdeps/tile/bits/atomic.h>.
10723         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10724         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
10725         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
10726         <sysdeps/arm/atomic-machine.h> instead of
10727         <sysdeps/arm/bits/atomic.h>.
10728         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
10729         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
10730         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10731         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
10732         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
10733         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
10734         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
10735         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
10736         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
10737         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
10738         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
10739         * sysdeps/x86_64/bits/atomic.h: Move to ...
10740         * sysdeps/x86_64/atomic-machine.h: ...here.
10741         * include/atomic.h: Include <atomic-machine.h> instead of
10742         <bits/atomic.h>.
10744         * sysdeps/mips/mips32/libm-test-ulps: Update.
10745         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10747         [BZ #18952]
10748         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
10749         not convert non-integer negative arguments to int to determine the
10750         value of signgam.
10751         * math/auto-libm-test-in: Add more tests of lgamma.
10752         * math/auto-libm-test-out: Regenerated.
10754         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
10755         cosh, csqrt, erfc, expm1 and lgamma.
10756         * math/auto-libm-test-out: Regenerated.
10757         * sysdeps/i386/fpu/libm-test-ulps: Update.
10758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10760 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
10762         [BZ #2542]
10763         [BZ #2543]
10764         [BZ #2558]
10765         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
10766         __lgamma_neg for arguments from -28.0 to -2.0.
10767         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
10768         __lgamma_negf for arguments from -15.0 to -2.0.
10769         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10770         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
10771         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
10772         Call __lgamma_negl for arguments from -33.0 to -2.0.
10773         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
10774         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
10775         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10776         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
10777         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10778         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
10779         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10780         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
10781         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10782         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
10783         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
10784         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
10785         (__lgamma_neg): Likewise.
10786         (__lgamma_negl): Likewise.
10787         (__lgamma_product): Likewise.
10788         (__lgamma_productl): Likewise.
10789         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
10790         * math/auto-libm-test-in: Add more tests of lgamma.
10791         * math/auto-libm-test-out: Regenerated.
10792         * sysdeps/i386/fpu/libm-test-ulps: Update.
10793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10795 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
10797         [BZ #18675]
10798         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
10800 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #14912]
10803         * bits/libc-lock.h: Move to ...
10804         * sysdeps/generic/libc-lock.h: ...here.
10805         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10806         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
10807         * sysdeps/mach/hurd/libc-lock.h: ...here.
10808         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10809         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
10810         * sysdeps/mach/bits/libc-lock.h: Move to ...
10811         * sysdeps/mach/libc-lock.h: ...here.
10812         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10813         * sysdeps/nptl/bits/libc-lock.h: Move to ...
10814         * sysdeps/nptl/libc-lock.h: ...here.
10815         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
10816         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
10817         * sysdeps/nptl/libc-lockP.h: ...here.
10818         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
10819         * crypt/crypt_util.c: Include <libc-lock.h> instead of
10820         <bits/libc-lock.h>.
10821         * dirent/scandir-tail.c: Likewise.
10822         * dlfcn/dlerror.c: Likewise.
10823         * elf/dl-close.c: Likewise.
10824         * elf/dl-iteratephdr.c: Likewise.
10825         * elf/dl-lookup.c: Likewise.
10826         * elf/dl-open.c: Likewise.
10827         * elf/dl-support.c: Likewise.
10828         * elf/dl-writev.h: Likewise.
10829         * elf/rtld.c: Likewise.
10830         * grp/fgetgrent.c: Likewise.
10831         * gshadow/fgetsgent.c: Likewise.
10832         * gshadow/sgetsgent.c: Likewise.
10833         * iconv/gconv_conf.c: Likewise.
10834         * iconv/gconv_db.c: Likewise.
10835         * iconv/gconv_dl.c: Likewise.
10836         * iconv/gconv_int.h: Likewise.
10837         * iconv/gconv_trans.c: Likewise.
10838         * include/link.h: Likewise.
10839         * inet/getnameinfo.c: Likewise.
10840         * inet/getnetgrent.c: Likewise.
10841         * inet/getnetgrent_r.c: Likewise.
10842         * intl/bindtextdom.c: Likewise.
10843         * intl/dcigettext.c: Likewise.
10844         * intl/finddomain.c: Likewise.
10845         * intl/gettextP.h: Likewise.
10846         * intl/loadmsgcat.c: Likewise.
10847         * intl/localealias.c: Likewise.
10848         * intl/textdomain.c: Likewise.
10849         * libidn/idn-stub.c: Likewise.
10850         * libio/libioP.h: Likewise.
10851         * locale/duplocale.c: Likewise.
10852         * locale/freelocale.c: Likewise.
10853         * locale/newlocale.c: Likewise.
10854         * locale/setlocale.c: Likewise.
10855         * login/getutent_r.c: Likewise.
10856         * login/getutid_r.c: Likewise.
10857         * login/getutline_r.c: Likewise.
10858         * login/utmp-private.h: Likewise.
10859         * login/utmpname.c: Likewise.
10860         * malloc/mtrace.c: Likewise.
10861         * misc/efgcvt.c: Likewise.
10862         * misc/error.c: Likewise.
10863         * misc/fstab.c: Likewise.
10864         * misc/getpass.c: Likewise.
10865         * misc/mntent.c: Likewise.
10866         * misc/syslog.c: Likewise.
10867         * nis/nis_call.c: Likewise.
10868         * nis/nis_callback.c: Likewise.
10869         * nis/nss-default.c: Likewise.
10870         * nis/nss_compat/compat-grp.c: Likewise.
10871         * nis/nss_compat/compat-initgroups.c: Likewise.
10872         * nis/nss_compat/compat-pwd.c: Likewise.
10873         * nis/nss_compat/compat-spwd.c: Likewise.
10874         * nis/nss_nis/nis-alias.c: Likewise.
10875         * nis/nss_nis/nis-ethers.c: Likewise.
10876         * nis/nss_nis/nis-grp.c: Likewise.
10877         * nis/nss_nis/nis-hosts.c: Likewise.
10878         * nis/nss_nis/nis-network.c: Likewise.
10879         * nis/nss_nis/nis-proto.c: Likewise.
10880         * nis/nss_nis/nis-pwd.c: Likewise.
10881         * nis/nss_nis/nis-rpc.c: Likewise.
10882         * nis/nss_nis/nis-service.c: Likewise.
10883         * nis/nss_nis/nis-spwd.c: Likewise.
10884         * nis/nss_nisplus/nisplus-alias.c: Likewise.
10885         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
10886         * nis/nss_nisplus/nisplus-grp.c: Likewise.
10887         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
10888         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
10889         * nis/nss_nisplus/nisplus-network.c: Likewise.
10890         * nis/nss_nisplus/nisplus-proto.c: Likewise.
10891         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
10892         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
10893         * nis/nss_nisplus/nisplus-service.c: Likewise.
10894         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
10895         * nis/ypclnt.c: Likewise.
10896         * nptl/libc_pthread_init.c: Likewise.
10897         * nss/getXXbyYY.c: Likewise.
10898         * nss/getXXent.c: Likewise.
10899         * nss/getXXent_r.c: Likewise.
10900         * nss/nss_db/db-XXX.c: Likewise.
10901         * nss/nss_db/db-netgrp.c: Likewise.
10902         * nss/nss_db/nss_db.h: Likewise.
10903         * nss/nss_files/files-XXX.c: Likewise.
10904         * nss/nss_files/files-alias.c: Likewise.
10905         * nss/nsswitch.c: Likewise.
10906         * posix/regex_internal.h: Likewise.
10907         * posix/wordexp.c: Likewise.
10908         * pwd/fgetpwent.c: Likewise.
10909         * resolv/res_hconf.c: Likewise.
10910         * resolv/res_libc.c: Likewise.
10911         * shadow/fgetspent.c: Likewise.
10912         * shadow/lckpwdf.c: Likewise.
10913         * shadow/sgetspent.c: Likewise.
10914         * socket/opensock.c: Likewise.
10915         * stdio-common/reg-modifier.c: Likewise.
10916         * stdio-common/reg-printf.c: Likewise.
10917         * stdio-common/reg-type.c: Likewise.
10918         * stdio-common/vfprintf.c: Likewise.
10919         * stdio-common/vfscanf.c: Likewise.
10920         * stdlib/abort.c: Likewise.
10921         * stdlib/cxa_atexit.c: Likewise.
10922         * stdlib/fmtmsg.c: Likewise.
10923         * stdlib/random.c: Likewise.
10924         * stdlib/setenv.c: Likewise.
10925         * string/strsignal.c: Likewise.
10926         * sunrpc/auth_none.c: Likewise.
10927         * sunrpc/bindrsvprt.c: Likewise.
10928         * sunrpc/create_xid.c: Likewise.
10929         * sunrpc/key_call.c: Likewise.
10930         * sunrpc/rpc_thread.c: Likewise.
10931         * sysdeps/arm/backtrace.c: Likewise.
10932         * sysdeps/generic/ldsodefs.h: Likewise.
10933         * sysdeps/generic/stdio-lock.h: Likewise.
10934         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
10935         * sysdeps/i386/backtrace.c: Likewise.
10936         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
10937         * sysdeps/m68k/backtrace.c: Likewise.
10938         * sysdeps/mach/hurd/cthreads.c: Likewise.
10939         * sysdeps/mach/hurd/dirstream.h: Likewise.
10940         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
10941         * sysdeps/nptl/malloc-machine.h: Likewise.
10942         * sysdeps/nptl/stdio-lock.h: Likewise.
10943         * sysdeps/posix/dirstream.h: Likewise.
10944         * sysdeps/posix/getaddrinfo.c: Likewise.
10945         * sysdeps/posix/system.c: Likewise.
10946         * sysdeps/pthread/aio_suspend.c: Likewise.
10947         * sysdeps/s390/s390-32/backtrace.c: Likewise.
10948         * sysdeps/s390/s390-64/backtrace.c: Likewise.
10949         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10950         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10951         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
10952         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
10953         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
10954         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
10955         * sysdeps/unix/sysv/linux/system.c: Likewise.
10956         * sysdeps/x86_64/backtrace.c: Likewise.
10957         * time/alt_digit.c: Likewise.
10958         * time/era.c: Likewise.
10959         * time/tzset.c: Likewise.
10960         * wcsmbs/wcsmbsload.c: Likewise.
10961         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
10962         instead of <bits/libc-lock.h> in comment.
10964 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
10966         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
10967         Only use .set mips2 if the current ISA is below mips2.
10968         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
10969         Likewise.
10970         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
10971         mips32r2 if the current ISA is below mips32r2.
10972         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
10973         (TLS_IE): Updated to use the TLD_RDHWR macro.
10974         (TLS_LE): Likewise.
10975         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
10976         __ASSEMBLER__ condition.
10978 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10980         Fix parallel build of before-compile targets.
10982         * sysdeps/mach/Makefile ($(patsubst
10983         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
10984         mach-before-compile target.
10985         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10986         io fs process)): Move rule to dedicated hurd-before-compile target.
10988 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10990         Fix rules generating headers in hurd/ and mach/ when initial make call
10991         has subdir= explicitly set.
10993         * sysdeps/mach/Makefile ($(patsubst
10994         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
10995         calling $(MAKE).
10996         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
10997         io fs process)): Force subdir to hurd when calling $(MAKE).
10998         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
10999         subdir to mach when calling $(MAKE).
11001 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
11003         Check sysheaders when looking for Mach and Hurd headers
11005         * sysdeps/mach/configure.ac: Add sysheaders check.
11006         * sysdeps/mach/configure: Regenerate.
11007         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
11008         * sysdeps/mach/hurd/configure: Regenerate.
11010 2015-09-04  Roland McGrath  <roland@hack.frob.com>
11012         [BZ #18921]
11013         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
11014         Fix inverted sense of test of 'o_directory_works' value.
11015         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
11016         Bernhard Voelker <mail@bernhard-voelker.de>.
11018 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11020         [BZ #14912]
11021         * bits/linkmap.h: Move to ...
11022         * sysdeps/generic/linkmap.h: ...here.
11023         * sysdeps/aarch64/bits/linkmap.h: Move to ...
11024         * sysdeps/aarch64/linkmap.h: ...here.
11025         * sysdeps/arm/bits/linkmap.h: Move to ...
11026         * sysdeps/arm/linkmap.h: ...here.
11027         * sysdeps/hppa/bits/linkmap.h: Move to ...
11028         * sysdeps/hppa/linkmap.h: ...here.
11029         * sysdeps/ia64/bits/linkmap.h: Move to ...
11030         * sysdeps/ia64/linkmap.h: ...here.
11031         * sysdeps/mips/bits/linkmap.h: Move to ...
11032         * sysdeps/mips/linkmap.h: ...here.
11033         * sysdeps/s390/bits/linkmap.h: Move to ...
11034         * sysdeps/s390/linkmap.h: ...here.
11035         * sysdeps/sh/bits/linkmap.h: Move to ...
11036         * sysdeps/sh/linkmap.h: ...here.
11037         * sysdeps/x86/bits/linkmap.h: Move to ...
11038         * sysdeps/x86/linkmap.h: ...here.
11039         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
11041 2015-09-04  Andreas Schwab  <schwab@suse.de>
11043         [BZ #18635]
11044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
11045         (__makecontext): Terminate FDE before return label.
11046         (__novec_makecontext): Likewise.
11048 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11050         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
11051         first member of struct sv in syscall macro.
11053 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
11055         [BZ #14912]
11056         * bits/stdio-lock.h: Move to ...
11057         * sysdeps/generic/stdio-lock.h: ...here.
11058         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11059         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
11060         * sysdeps/nptl/stdio-lock.h: ...here.
11061         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
11062         * include/libio.h: Include <stdio-lock.h> instead of
11063         <bits/stdio-lock.h>.
11064         * sysdeps/nptl/fork.c: Likewise.
11065         * sysdeps/pthread/flockfile.c: Likewise.
11066         * sysdeps/pthread/ftrylockfile.c: Likewise.
11067         * sysdeps/pthread/funlockfile.c: Likewise.
11069         [BZ #14912]
11070         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
11071         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
11072         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
11073         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
11074         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
11075         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
11076         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
11078 2015-09-03  Roland McGrath  <roland@hack.frob.com>
11080         * elf/Makefile (test-xfail-tst-protected1a): New variable.
11081         (test-xfail-tst-protected1b): New variable.
11083 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
11085         [BZ #14912]
11086         * bits/libc-tsd.h: Move to ...
11087         * sysdeps/generic/libc-tsd.h: ...here.
11088         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
11089         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
11090         * sysdeps/mach/hurd/libc-tsd.h: ...here.
11091         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
11092         * include/ctype.h: Include <libc-tsd.h> instead of
11093         <bits/libc-tsd.h>.
11094         * include/rpc/rpc.h: Likewise.
11095         * locale/localeinfo.h: Likewise.
11096         * sunrpc/rpc_thread.c: Likewise.
11097         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
11098         * sysdeps/nptl/malloc-machine.h: Likewise.
11100         * Makefile (headers): Remove bits/libc-lock.h.
11101         * libio/Makefile (headers): Remove bits/stdio-lock.h.
11103         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
11104         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
11105         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
11106         <bits/stdio-lock.h>.
11107         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
11108         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
11110 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11112         [BZ #18757]
11113         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
11114         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
11115         BZ #18757.
11117 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
11119         * malloc/mtrace.pl: Filter out NULL entries.
11121 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
11123         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
11124         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
11125         macro.
11127         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
11128         (TCP_CC_INFO): Likewise.
11129         (TCP_SAVE_SYN): Likewise.
11130         (TCP_SAVED_SYN): Likewise.
11132 2015-08-31  Brett Neumeier <brett@neumeier.us>
11134         [BZ #18870]
11135         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
11137 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
11139         [BZ #18873]
11140         Fix broken overflow check in posix_fallocate
11141         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
11142         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
11143         Fix parenthesization typo.
11145 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
11147         [BZ #18887]
11148         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
11149         tst-mntent-blank-passno.
11150         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
11151         * misc/tst-mntent-blank-corrupt.c: New test.
11152         * misc/tst-mntent-blank-passno.c: New test ripped from ...
11153         * misc/tst-mntent.c (do_test): ... here.
11155 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
11157         [BZ #4404]
11158         * po/de.po: Fix SIGALRM typo.
11160 2015-08-28  James Perkins  <james@loowit.net>
11162         * time/tst-strptime2.c (tests): Replace short list of test
11163         strings for strptime %z specifier with code which exhaustively
11164         tests every combination of sign and 0 to 5 digits. Tests for
11165         rejection of invalid strings.
11167 2015-08-28  James Perkins  <james@loowit.net>
11169         [BZ #16141]
11170         * time/strptime_l.c (__strptime_internal): Fix %z minutes
11171         calculation, removing incorrect decimal time rounding, so that
11172         all minute values result in a valid seconds value.
11173         * time/strptime_l.c (__strptime_internal): Extend %z time zone
11174         offset range limits to UTC-99:59 through UTC+99:59 to parse
11175         current and historical use cases.
11176         * time/tst-strptime2.c (tests): Modify and add tests for the
11177         strptime %z input field descriptor, specifically conversion of
11178         minutes to seconds and validating an offset range of -9959 to
11179         +9959.
11181 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11182             Dmitry V. Levin  <ldv@altlinux.org>
11184         [BZ #18877]
11185         * posix/Makefile (tests): Add tst-mmap-offset.
11186         * posix/tst-mmap.c: New file.
11187         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
11188         offset calculation for negative values.
11190 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11192         * sysdeps/i386/init-arch.h: New file.
11193         * sysdeps/i386/i586/init-arch.h: Likewise.
11194         * sysdeps/i386/i686/init-arch.h: Likewise.
11195         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
11196         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
11197         * sysdeps/x86/cpu-features.h (bit_I586): New.
11198         (bit_I686): Likewise.
11199         (bit_CX8): Likewise.
11200         (bit_CMOV): Likewise.
11201         (index_CX8): Likewise.
11202         (index_CMOV): Likewise.
11203         (index_I586): Likewise.
11204         (index_I686): Likewise.
11205         (reg_CX8): Likewise.
11206         (reg_CMOV): Likewise.
11207         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
11208         available at compile-time.
11209         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
11210         available at compile-time.
11211         * sysdeps/x86/init-arch.h (USE_I586): New macro.
11212         (USE_I686): Likewise.
11214 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11216         * sysdeps/i386/bcopy.S: New file.
11217         * sysdeps/i386/bzero.S: Likewise.
11218         * sysdeps/i386/memcpy.S: Likewise.
11219         * sysdeps/i386/memmove.S: Likewise.
11220         * sysdeps/i386/mempcpy.S: Likewise.
11221         * sysdeps/i386/memset.S: Likewise.
11222         * sysdeps/i386/bzero.c: Removed.
11223         * sysdeps/i386/memset.c: Likewise.
11224         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
11225         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
11226         * sysdeps/i386/i586/memset_chk.S: Likewise.
11227         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
11228         * sysdeps/i386/memcpy_chk.S: Here.
11229         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
11230         * sysdeps/i386/memmove_chk.S: Here.
11231         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
11232         * sysdeps/i386/mempcpy_chk.S: Likewise.
11233         * sysdeps/i386/i686/memset_chk.S: Moved to ...
11234         * sysdeps/i386/memset_chk.S: Likewise.
11236 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
11238         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
11239         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
11240         file, move DIAG_POP_NEEDS_COMMENT to end of file.
11241         * soft-fp/fmadf4.c: Ditto.
11242         * soft-fp/fmatf4.c: Ditto.
11244 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11246         * sysdeps/i386/i586/Implies: Removed.
11247         * sysdeps/i386/i686/Implies: Likewise.
11249 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11251         * sysdeps/i386/i486/strlen.S: Moved to ...
11252         * sysdeps/i386/strlen.S: Here.
11254 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11256         * sysdeps/i386/i486/strcat.S: Moved to ...
11257         * sysdeps/i386/strcat.S: Here.
11259 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11261         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
11262         * sysdeps/i386/pthread_spin_trylock.S: Here.
11263         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
11264         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
11266 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11268         * sysdeps/i386/i486/string-inlines.c: Moved to ...
11269         * sysdeps/i386/string-inlines.c: Here.
11271 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11273         * sysdeps/i386/i486/htonl.S: Moved ...
11274         * sysdeps/i386/htonl.S: here.
11276 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11278         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
11279         * sysdeps/i386/bits/atomic.h: Here.
11281 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
11283         * sysdeps/i386/i486/Versions: Removed.
11285 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11287         [BZ #2898]
11288         * misc/mktemp.c: Add mkdtemp to the link_warning message.
11289         Based on patch by Aurelien Jarno.
11291 2015-08-26  Stan Shebs  <stanshebs@google.com>
11293         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
11294         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
11296 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11298         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
11299         * sysdeps/powerpc/dl-procinfo.c:
11300         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
11301         feature so it shows when LD_SHOW_AUXV=1.
11303 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11305         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11306         (__arch_compare_and_exchange_val_32_acq): Remove and use common
11307         definition.  ISA 2.07B no longer requires full sync.
11309 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
11311         [BZ #18863]
11312         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
11313         (si_call_addr): Define.
11314         (si_syscall): Define.
11315         (si_arch): Define.
11317 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
11319         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
11320         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
11321         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
11322         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11323         (__memset_zero_constant_len_parameter): New.
11324         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
11325         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
11326         (__memset_zero_constant_len_parameter): Don't define if
11327         __memset_chk or USE_AS_BZERO are defined.
11329         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
11330         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
11331         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
11333         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
11334         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
11335         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
11336         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
11337         comments.
11338         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
11339         -mno-mmx for $(all-rtld-routines).
11340         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
11341         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
11342         i386.
11344 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11346         * sysdeps/generic/unwind.h
11347         (_Unwind_Word): Use __mode__(__unwind_word__)
11348         instead of __mode__(__word__).
11349         (_Unwind_Sword): Likewise.
11351         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11352         (MAX_NEEDED_INPUT): New define.
11353         (MAX_NEEDED_OUTPUT): New define.
11355         * NEWS: New item for IBM z13 string optimizations.
11357         * sysdeps/s390/multiarch/memrchr-c.c: New File.
11358         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
11359         * sysdeps/s390/multiarch/memrchr.c: Likewise.
11360         * sysdeps/s390/multiarch/Makefile
11361         (sysdep_routines): Add memrchr functions.
11362         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11363         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
11365         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
11366         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
11367         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
11368         * sysdeps/s390/multiarch/Makefile
11369         (sysdep_routines): Add wmemcmp functions.
11370         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11371         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
11372         * benchtests/bench-wmemcmp.c: New File.
11373         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
11375         * sysdeps/s390/multiarch/wmemset-c.c: New File.
11376         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
11377         * sysdeps/s390/multiarch/wmemset.c: Likewise.
11378         * sysdeps/s390/multiarch/Makefile
11379         (sysdep_routines): Add wmemset functions.
11380         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11381         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
11382         * wcsmbs/wmemset.c: Use WMEMSET if defined.
11383         * string/test-memset.c: Add wmemset support.
11384         * wcsmbs/test-wmemset.c: New File.
11385         * wcsmbs/Makefile (strop-tests): Add wmemset.
11386         * benchtests/bench-memset.c: Add wmemset support.
11387         * benchtests/bench-wmemset.c: New File.
11388         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
11390         * sysdeps/s390/multiarch/memccpy-c.c: New File.
11391         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
11392         * sysdeps/s390/multiarch/memccpy.c: Likewise.
11393         * sysdeps/s390/multiarch/Makefile
11394         (sysdep_routines): Add memccpy functions.
11395         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11396         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
11397         * string/memccpy.c: Use MEMCCPY if defined.
11399         * sysdeps/s390/multiarch/memchr-vx.S: New File.
11400         * sysdeps/s390/multiarch/memchr.c: Likewise.
11401         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
11402         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
11403         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
11404         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
11405         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
11406         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
11407         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
11408         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
11409         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
11410         and rawmemchr functions.
11411         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
11412         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
11413         and wmemchr.
11414         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
11415         * string/test-memchr.c: Add wmemchr support.
11416         * wcsmbs/test-wmemchr.c: New File.
11417         * wcsmbs/Makefile (strop-tests): Add wmemchr.
11418         * benchtests/bench-memchr.c: Add wmemchr support.
11419         * benchtests/bench-wmemchr.c: New File.
11420         * benchtests/Makefile (wcsmbs-bench): wmemchr.
11422         * sysdeps/s390/multiarch/strcspn-c.c: New File.
11423         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
11424         * sysdeps/s390/multiarch/strcspn.c: Likewise.
11425         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
11426         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
11427         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
11428         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
11429         wcscspn functions.
11430         * sysdeps/s390/multiarch/ifunc-impl-list.c
11431         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
11432         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
11433         * string/test-strcspn.c: Add wcscspn support.
11434         * wcsmbs/test-wcscspn.c: New File.
11435         * wcsmbs/Makefile (strop-tests): Add wcscspn.
11436         * benchtests/bench-strcspn.c: Add wcscspn support.
11437         * benchtests/bench-wcscspn.c: New File.
11438         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
11440         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
11441         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
11442         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
11443         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
11444         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
11445         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
11446         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
11447         wcspbrk functions.
11448         * sysdeps/s390/multiarch/ifunc-impl-list.c
11449         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
11450         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
11451         * string/test-strpbrk.c: Add wcspbrk support.
11452         * wcsmbs/test-wcspbrk.c: New File.
11453         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
11454         * benchtests/bench-strpbrk.c: Add wcspbrk support.
11455         * benchtests/bench-wcspbrk.c: New File.
11456         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
11458         * sysdeps/s390/multiarch/strspn-c.c: New File.
11459         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
11460         * sysdeps/s390/multiarch/strspn.c: Likewise.
11461         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
11462         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
11463         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
11464         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
11465         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
11466         wcsspn functions.
11467         * sysdeps/s390/multiarch/ifunc-impl-list.c
11468         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
11469         * string/test-strspn.c: Add wcsspn support.
11470         * wcsmbs/test-wcsspn.c: New File.
11471         * wcsmbs/Makefile (strop-tests): Add wcsspn.
11472         * benchtests/bench-strspn.c: Add wcsspn support.
11473         * benchtests/bench-wcsspn.c: New File.
11474         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
11476         * sysdeps/s390/multiarch/strrchr-c.c: New File.
11477         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
11478         * sysdeps/s390/multiarch/strrchr.c: Likewise.
11479         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
11480         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
11481         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
11482         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
11483         wcsrchr functions.
11484         * sysdeps/s390/multiarch/ifunc-impl-list.c
11485         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
11486         * benchtests/bench-wcsrchr.c: New File.
11487         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
11489         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
11490         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
11491         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
11492         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
11493         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
11494         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
11495         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
11496         wcschrnul functions.
11497         * sysdeps/s390/multiarch/ifunc-impl-list.c
11498         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
11499         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
11500         * string/test-strchr.c: Add wcschrnul support.
11501         * wcsmbs/test-wcschrnul.c: New File.
11502         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
11503         * benchtests/bench-strchr.c: Add wcschrnul support.
11504         * benchtests/bench-wcschrnul.c: New File.
11505         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
11507         * sysdeps/s390/multiarch/strchr-c.c: New File.
11508         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
11509         * sysdeps/s390/multiarch/strchr.c: Likewise.
11510         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
11511         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
11512         * sysdeps/s390/multiarch/wcschr.c: Likewise.
11513         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
11514         wcschr functions.
11515         * sysdeps/s390/multiarch/ifunc-impl-list.c
11516         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
11517         * string/strchr.c (STRCHR): Define and use macro.
11518         * benchtests/bench-wcschr.c: New File.
11519         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
11521         * sysdeps/s390/multiarch/strncmp-c.c: New File.
11522         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
11523         * sysdeps/s390/multiarch/strncmp.c: Likewise.
11524         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
11525         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
11526         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
11527         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
11528         wcsncmp functions.
11529         * sysdeps/s390/multiarch/ifunc-impl-list.c
11530         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
11531         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
11532         * benchtests/bench-strncmp.c: Add wcsncmp support.
11533         * benchtests/bench-wcsncmp.c: New File.
11534         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
11536         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
11537         * sysdeps/s390/multiarch/strcmp.c: Likewise.
11538         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
11539         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
11540         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
11541         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
11542         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
11543         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
11544         wcscmp functions.
11545         * sysdeps/s390/multiarch/ifunc-impl-list.c
11546         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
11547         * string/strcmp.c (STRCMP): Define and use macro.
11548         * benchtests/bench-wcscmp.c: New File.
11549         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
11550         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
11551         instead of _HAVE_STRING_ARCH_memchr.
11553         * sysdeps/s390/multiarch/strncat-c.c: New File.
11554         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
11555         * sysdeps/s390/multiarch/strncat.c: Likewise.
11556         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
11557         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
11558         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
11559         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
11560         wcsncat functions.
11561         * sysdeps/s390/multiarch/ifunc-impl-list.c
11562         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
11563         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
11564         * string/test-strncat.c: Add wcsncat support.
11565         * wcsmbs/test-wcsncat.c: New File.
11566         * wcsmbs/Makefile (strop-tests): Add wcsncat.
11567         * benchtests/bench-strncat.c: Add wcsncat support.
11568         * benchtests/bench-wcsncat.c: New File.
11569         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
11571         * sysdeps/s390/multiarch/strcat-c.c: New File.
11572         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
11573         * sysdeps/s390/multiarch/strcat.c: Likewise.
11574         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
11575         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
11576         * sysdeps/s390/multiarch/wcscat.c: Likewise.
11577         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
11578         wcscat functions.
11579         * sysdeps/s390/multiarch/ifunc-impl-list.c
11580         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
11581         * string/strcat.c (STRCAT): Define and use macro.
11582         * wcsmbs/wcscat.c: Use WCSCAT if defined.
11583         * string/test-strcat.c: Add wcscat support.
11584         * wcsmbs/test-wcscat.c: New File.
11585         * wcsmbs/Makefile (strop-tests): Add wcscat.
11586         * benchtests/bench-strcat.c: Add wcscat support.
11587         * benchtests/bench-wcscat.c: New File.
11588         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
11590         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
11591         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
11592         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
11593         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
11594         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
11595         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
11596         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
11597         wcpncpy functions.
11598         * sysdeps/s390/multiarch/ifunc-impl-list.c
11599         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
11600         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
11601         * string/test-stpncpy.c: Add wcpncpy support.
11602         * wcsmbs/test-wcpncpy.c: New File.
11603         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
11604         * benchtests/bench-stpncpy.c: Add wcpncpy support.
11605         * benchtests/bench-wcpncpy.c: New File.
11606         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
11608         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
11609         * sysdeps/s390/multiarch/strncpy.c: Likewise.
11610         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
11611         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
11612         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
11613         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
11614         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
11615         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
11616         wcsncpy functions.
11617         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
11618         * sysdeps/s390/multiarch/ifunc-impl-list.c
11619         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
11620         * string/test-strncpy.c: Add wcsncpy support.
11621         * wcsmbs/test-wcsncpy.c: New File.
11622         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
11623         * benchtests/bench-strncpy.c: Add wcsncpy support.
11624         * benchtests/bench-wcsncpy.c: New File.
11625         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
11627         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
11628         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
11629         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
11630         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
11631         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
11632         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
11633         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
11634         wcpcpy functions.
11635         * string/stpcpy.c: Use STPCPY if defined.
11636         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
11637         * sysdeps/s390/multiarch/ifunc-impl-list.c
11638         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
11639         * string/test-stpcpy.c: Add wcpcpy support.
11640         * wcsmbs/test-wcpcpy.c: New File.
11641         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
11642         * benchtests/bench-stpcpy.c: Add wcpcpy support.
11643         * benchtests/bench-wcpcpy.c: New File.
11644         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
11646         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
11647         * sysdeps/s390/multiarch/strcpy.c: Likewise.
11648         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
11649         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
11650         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
11651         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
11652         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
11653         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
11654         wcscpy functions.
11655         * sysdeps/s390/multiarch/ifunc-impl-list.c
11656         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
11657         * benchtests/bench-wcscpy.c: New File.
11658         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
11660         * sysdeps/s390/multiarch/strnlen-c.c: New File.
11661         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
11662         * sysdeps/s390/multiarch/strnlen.c: Likewise.
11663         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
11664         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
11665         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
11666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
11667         wcsnlen functions.
11668         * sysdeps/s390/multiarch/ifunc-impl-list.c
11669         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
11670         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
11671         * string/test-strnlen.c: Add wcsnlen support.
11672         * wcsmbs/test-wcsnlen.c: New File.
11673         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
11674         * benchtests/bench-strnlen.c: Add wcsnlen support.
11675         * benchtests/bench-wcsnlen.c: New File.
11676         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
11678         * sysdeps/s390/multiarch/Makefile: New File.
11679         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
11680         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
11681         * sysdeps/s390/multiarch/strlen.c: Likewise.
11682         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
11683         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
11684         * sysdeps/s390/multiarch/wcslen.c: Likewise.
11685         * string/strlen.c (STRLEN): Define and use macro.
11686         * sysdeps/s390/multiarch/ifunc-impl-list.c
11687         (IFUNC_VX_IMPL): New macro function.
11688         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
11689         * benchtests/Makefile (wcsmbs-bench): New variable.
11690         (string-bench-all): Added wcsmbs-bench.
11691         * benchtests/bench-wcslen.c: New File.
11693         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
11694         s390_vx_libc_ifunc2): New macro function.
11696         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
11697         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
11698         assembler support.
11699         * sysdeps/s390/configure: Regenerated.
11701         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
11702         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
11704         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
11705         * sysdeps/s390/dl-procinfo.h: Add vector capability.
11706         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
11708         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
11709         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
11710         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
11711         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
11712         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
11713         (memcmp, bcmp): Use __memcmp_default as alias source.
11714         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
11715         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
11716         Rename to __memcmp_default.
11717         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
11718         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
11719         (memcpy): Use __memcpy_default as alias source.
11720         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
11721         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
11722         Rename to __memcpy_default.
11723         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
11724         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
11725         (memset): Use __memset_default as alias source.
11726         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
11727         * sysdeps/s390/s390-32/memset.S (__memset_g5):
11728         Rename to __memset_default.
11729         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
11730         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
11731         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
11732         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
11733         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
11734         (memcmp, bcmp): Use __memcmp_default as alias source.
11735         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
11736         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
11737         Rename to __memcmp_default.
11738         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
11739         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
11740         (memcpy): Use __memcpy_default as alias source.
11741         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
11742         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
11743         Rename to __memcpy_default.
11744         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
11745         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
11746         (memset): Use __memset_default as alias source.
11747         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
11748         * sysdeps/s390/s390-64/memset.S (__memset_z900):
11749         Rename to __memset_default.
11750         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
11751         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
11753         [BZ #18610]
11754         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
11755         __ieee_instruction_pointer to __unused.
11756         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
11757         __ieee_instruction_pointer.
11758         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
11759         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
11760         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
11761         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
11762         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
11763         Mark dxc-field as reserved.
11765 2015-08-25  Roland McGrath  <roland@hack.frob.com>
11767         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
11768         if the weak reference is not null.
11770 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11772         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
11774         [BZ #11214]
11775         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
11777 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11779         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
11780         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
11781         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
11782         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
11783         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
11784         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
11785         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
11786         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
11787         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
11788         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
11789         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
11790         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
11791         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
11792         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
11793         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
11794         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
11795         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
11796         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
11798 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11800         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
11801         register other than r0 for tabort, it has special meaning.
11802         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
11803         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
11804         transaction before starting syscall.
11806 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11808         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
11810 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11812         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
11814         * sysdeps/x86_64/rtld-memcmp.c: Removed.
11815         * sysdeps/x86_64/rtld-memset.S: Likewise.
11816         * sysdeps/x86_64/rtld-strchr.S: Likewise.
11817         * sysdeps/x86_64/rtld-strlen.S: Likewise.
11818         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
11819         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
11821         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
11823 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
11825         * debug/strcpy_chk.c: Improve performance.
11826         * debug/stpcpy_chk.c: Likewise.
11827         * sysdeps/x86_64/strcpy_chk.S: Remove.
11828         * sysdeps/x86_64/stpcpy_chk.S: Remove.
11830         [BZ #18240]
11831         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
11833 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
11835         [BZ #15128]
11836         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
11837         ifuncmain8.
11838         (modules-names): Add ifuncmod8.
11839         ($(objpfx)ifuncmain8): New rule.
11840         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
11841         <cpuid.h>.
11842         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
11843         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
11844         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
11845         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
11846         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
11847         * sysdeps/x86_64/dl-trampoline.h: Likewise.
11848         * sysdeps/x86_64/ifuncmain8.c: New file.
11849         * sysdeps/x86_64/ifuncmod8.c: Likewise.
11850         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
11851         Removed.
11852         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
11853         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
11854         Change rtld_savespace_sse to __glibc_unused2.
11855         (RTLD_CHECK_FOREIGN_CALL): Removed.
11856         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
11857         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
11858         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
11860 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11862         * sysdeps/aarch64/bzero.S (__bzero): Remove.
11864 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
11866         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
11867         Unconditionally set __fpcr to avoid uninialized warning.
11868         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
11870 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
11872         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
11873         is corrupt.
11875         * malloc/arena.c (arena_get2): Drop unused argument.
11876         (arena_lock): Adjust.
11877         (arena_get_retry): Likewise.
11879 2015-08-24  Andreas Schwab  <schwab@suse.de>
11881         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
11882         Don't define.
11883         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11884         (__ASSUME_IPC64): Don't undef.
11885         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
11886         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11887         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11888         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
11889         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
11890         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
11891         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
11892         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
11893         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
11894         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
11895         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
11896         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
11897         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
11898         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
11899         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
11900         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
11901         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
11902         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
11903         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
11904         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
11905         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
11907 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
11909         * manual/Makefile (install): Only build manual when perl is available.
11911 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11913         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
11914         '#undef memcpy' by '#undef memchr'.
11916 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11918         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
11919         memchr not point to the internal __GI_memchr implementation.
11921 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11923         * timezone/Makefile (CFLAGS-zdump.c): Remove
11924         -Wno-strict-prototypes.
11925         (CFLAGS-zic.c): Likewise.
11926         (CFLAGS-ialloc.c): Likewise.
11927         (CFLAGS-scheck.c): Likewise.
11929         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
11930         -Wno-error=undef.
11932 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11934         * i386/i686/multiarch/strcasestr-c.c: Removed.
11935         * x86_64/multiarch/strcasestr.c: Likewise.
11936         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11937         Remove strcasestr.
11939 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
11941         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
11943         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
11944         variables for high and low parts before possibly modifying them.
11946 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11948         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
11949         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
11950         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
11951         of "multiarch/init-arch.h".
11952         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
11953         * sysdeps/x86/init-arch.h: This.
11955 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
11957         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
11958         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
11960 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
11962         [BZ #17787]
11963         * manual/macros.texi: Add twoexp macro.
11964         * manual/filesys.texi: Fix exponents.
11965         * manual/llio.texi: Likewise.
11966         * manual/stdio.texi: Likewise.
11968 2015-08-20  Florian Weimer  <fweimer@redhat.com>
11970         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
11971         incorrect use.
11973 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
11975         [BZ #18370]
11976         * math/s_csqrt.c (__csqrt): Force underflow exception for results
11977         whose real or imaginary part has small absolute value.
11978         * math/s_csqrtf.c (__csqrtf): Likewise.
11979         * math/s_csqrtl.c (__csqrtl): Likewise.
11980         * math/auto-libm-test-in: Add more tests of csqrt.
11981         * math/auto-libm-test-out: Regenerated.
11982         * sysdeps/i386/fpu/libm-test-ulps: Update.
11984 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11986         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
11987         __ppc_set_ppr_very_low): New functions.
11988         * manual/platform.texi: Add documentation about
11989         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
11991 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
11993         * string/stpncpy.c (stpncpy): Improve performance using
11994         __strnlen/memcpy/memset.
11996 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11998         [BZ #18796]
11999         * scripts/test-installation.pl: Don't add -lmvec to build options if
12000         libmvec wasn't built.
12002 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
12004         [BZ #14341]
12005         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
12006         case when there is a gap between DT_REL and DT_JMPREL sections.
12007         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
12008         (LDFLAGS-tst-split-dynreloc): New.
12009         (tst-split-dynreloc-ENV): Likewise.
12010         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
12011         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
12013 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12015         [BZ #18822]
12016         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
12017         attribute_hidden.
12018         (__xstat64_conv): Likewise.
12019         (__xstat32_conv): Likewise.
12021 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12023         [BZ #18822]
12024         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
12025         Don't load %ebx when calling __setcontext.  Call __setcontext
12026         with HIDDEN_JUMPTARGET.
12027         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
12028         libc_hidden_def.
12030 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12032         * sysdeps/i386/i686/Makefile
12033         [$(subdir) == string] (sysdep_routines): Moved to ...
12034         * sysdeps/i386/Makefile: Here.
12035         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
12036         * sysdeps/i386/cacheinfo.c: Here.
12037         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
12038         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
12039         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
12040         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
12042 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
12044         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
12045         __i586__ is defined.
12046         (HAS_I686): Defined to 1 if __i686__ is defined.
12048 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
12050         * elf/Makefile [$(have-z-execstack) = yes]
12051         (CPPFLAGS-tst-execstack.c): New variable.
12053         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
12054         conditional to [defined UTMPX || _HAVE_UT_TYPE].
12055         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
12056         UTMPX || _HAVE_UT_TV].
12057         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
12058         UTMPX || _HAVE_UT_TV - 0].
12060 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
12062         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
12063         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
12064         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
12066 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12068         * sysdeps/powerpc/dl-procinfo.c:
12069         (_dl_powerpc_cap_flags): Added missing strings for some
12070         hwcap features.
12071         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
12073 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
12075         Port the 0x7efe...feff pattern to GCC 6.
12076         See Steve Ellcey's bug report in:
12077         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
12078         * string/memrchr.c (MEMRCHR):
12079         * string/rawmemchr.c (RAWMEMCHR):
12080         * string/strchr.c (strchr):
12081         * string/strchrnul.c (STRCHRNUL):
12082         Rewrite code to avoid issues with signed shift overflow.
12084 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
12086         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
12087         whether cpuid is available only if HAS_CPUID is 0.
12088         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
12089         (HAS_I586): Likewise.
12090         (HAS_I686): Likewise.
12092 2015-08-18  Zack Weinberg  <zackw@panix.com>
12094         * misc/Versions (libc): Add GLIBC_2.23.
12096 2015-08-18  Alan Modra  <amodra@gmail.com>
12098         [BZ #18421]
12099         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
12100         .Lp__global.
12101         (_start): Load %dp via .Lp__global.
12102         [!SHARED]: Use .section .rodata.
12104 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12106         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
12107         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
12109 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12111         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
12112         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
12114 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12116         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
12117         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
12119 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12121         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
12122         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
12124 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12126         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
12127         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
12129 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12131         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
12132         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
12134 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12136         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
12138 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12140         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
12141         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
12142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12143         (__ASSUME_LWS_CAS): Delete.
12145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
12147         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
12148         * sysdeps/hppa/configure: Regenerated.
12149         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
12150         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
12151         * sysdeps/hppa/nptl/tls.h: Likewise.
12153 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
12155         [BZ #18823]
12156         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
12157         for scaling up small arguments.
12158         * math/s_csqrtf.c (__csqrtf): Likewise.
12159         * math/s_csqrtl.c (__csqrtl): Likewise.
12160         * math/auto-libm-test-in: Add more tests of csqrt.
12161         * math/auto-libm-test-out: Regenerated.
12163 2015-08-17  Andreas Schwab  <schwab@suse.de>
12165         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
12166         version set GLIBC_2.19.
12168 2015-08-16  Zack Weinberg  <zackw@panix.com>
12170         [BZ #18681]
12171         * misc/regexp.h: This interface is no longer supported.
12172         Remove all contents, leaving only an #error directive.
12173         * misc/regexp.c (loc1, loc2, locs, step, advance):
12174         Demote to compatibility symbols.
12176 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
12178         [BZ #18084]
12179         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
12180         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
12181         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
12182         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
12183         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
12184         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
12185         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
12186         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
12187         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
12189 2015-08-15  Zack Weinberg  <zackw@panix.com>
12191         [BZ #18795]
12192         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
12193         buffer length is known to be too large, not if it's known to be
12194         small enough.
12195         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
12196         overflow at runtime, involving a length parameter, twice: once
12197         with a compile-time constant length parameter, once without.
12199 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
12201         [BZ #18824]
12202         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
12203         scaling x * y up instead of down.
12204         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12205         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12206         * math/auto-libm-test-in: Add more tests of fma.
12207         * math/auto-libm-test-out: Regenerated.
12209 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
12211         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12213 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12215         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
12216         unnecessary movq.
12217         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
12218         Likewise.
12220 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
12222         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12223         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
12224         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
12225         and tgamma.
12226         * math/auto-libm-test-out: Regenerated.
12227         * sysdeps/i386/fpu/libm-test-ulps: Update.
12228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12230         [BZ #16520]
12231         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
12232         (__tanh): Force underflow exception for arguments with small
12233         absolute value.
12234         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
12235         (__tanhf): Force underflow exception for arguments with small
12236         absolute value.
12237         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
12238         (__tanhl): Force underflow exception for arguments with small
12239         absolute value.
12240         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
12241         (__tanhl): Force underflow exception for arguments with small
12242         absolute value.
12243         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
12244         (__tanhl): Force underflow exception for arguments with small
12245         absolute value.
12246         * math/auto-libm-test-in: Add more tests of tanh.
12247         * math/auto-libm-test-out: Regenerated.
12248         * sysdeps/i386/fpu/libm-test-ulps: Update.
12250 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12252         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
12253         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
12255 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12257         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
12258         <cpuid.h>.
12260 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12262         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
12263         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
12265 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12267         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
12268         Remove $(objpfx)init-arch.o.
12269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
12270         init-arch.
12271         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
12272         (INIT_ARCH_EXT): Defined as empty.
12273         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
12274         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
12275         __init_cpu_features call.  Replace HAS_XXX with
12276         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12277         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
12278         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
12279         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
12280         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
12281         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
12282         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
12283         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
12284         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
12285         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
12286         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
12287         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
12288         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
12289         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
12290         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
12291         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
12292         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
12293         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
12294         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
12295         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
12296         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
12297         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
12298         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
12299         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
12300         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
12301         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
12302         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
12303         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
12304         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
12305         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
12306         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
12307         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
12308         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
12309         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
12310         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
12311         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
12313 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12315         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
12316         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12317         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12318         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
12319         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
12320         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
12321         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
12322         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
12323         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
12324         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
12325         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
12326         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
12327         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12328         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12329         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12330         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12331         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12332         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12333         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12334         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12335         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12336         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12337         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12338         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12339         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12340         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12341         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12342         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12343         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12344         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12345         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12346         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12347         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12348         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12349         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12350         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12351         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12352         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12353         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12354         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12355         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12356         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12357         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12359 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12361         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
12362         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12363         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
12364         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
12365         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
12366         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
12367         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
12368         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
12369         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12370         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
12371         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
12372         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
12373         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
12374         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
12375         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
12376         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
12377         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
12378         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
12379         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
12380         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
12381         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
12382         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
12383         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
12384         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12385         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
12386         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
12387         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
12388         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
12389         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
12390         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12391         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12392         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12393         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12394         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12395         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12396         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12397         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12398         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12399         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12400         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12401         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12402         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12403         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12405 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
12407         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
12408         (dl_platform_init): Call init_cpu_features.
12409         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
12410         * sysdeps/i386/i686/cacheinfo.c
12411         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
12412         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
12413         * sysdeps/i386/i686/multiarch/Versions: Removed.
12414         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
12415         Removed.
12416         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
12417         * sysdeps/unix/sysv/linux/x86/Makefile
12418         (libpthread-sysdep_routines): Remove init-arch.
12419         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
12420         <sysdeps/x86_64/dl-procinfo.c> instead of
12421         sysdeps/generic/dl-procinfo.c>.
12422         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
12423         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
12424         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
12425         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
12426         [$(subdir) == elf] (tests-static): Add
12427         tst-get-cpu-features-static.
12428         * sysdeps/x86/Versions: New file.
12429         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
12430         * sysdeps/x86/cpu-features.c: Likewise.
12431         * sysdeps/x86/cpu-features.h: Likewise.
12432         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
12433         * sysdeps/x86/libc-start.c: Likewise.
12434         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
12435         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
12436         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
12437         * sysdeps/x86_64/dl-procinfo.c: Likewise.
12438         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
12439         Assume USE_MULTIARCH is defined and don't check it.
12440         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
12441         (is_amd): Likewise.
12442         (max_cpuid): Likewise.
12443         (intel_check_word): Likewise.
12444         (__cache_sysconf): Don't call __init_cpu_features.
12445         (__x86_preferred_memory_instruction): Removed.
12446         (init_cacheinfo): Don't call __init_cpu_features. Replace
12447         __cpu_features with GLRO(dl_x86_cpu_features).
12448         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
12449         (dl_platform_init): Call init_cpu_features.
12450         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
12451         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
12452         * sysdeps/x86_64/multiarch/Versions: Removed.
12453         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
12454         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
12455         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
12456         Removed.
12457         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
12459 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12461         [BZ #18820]
12462         * libio/Makefile (test-fmemopen-mem): New test.
12463         * libio/test-fmemopen.c (do_bz18820): New test.
12464         * libio/fmemopen.c (__fmemopen): Fix memory leak.
12465         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
12467 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
12469         [BZ #16734]
12470         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
12471         (FREE_BUF): Delete.
12472         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
12473         * libio/genops.c (_IO_setb): Use malloc and free directly.
12474         (_IO_default_doallocate, _IO_default_finish): Likewise.
12475         ( _IO_unbuffer_all): Likewise.
12476         ( libc_freeres_fn): Likewise.
12477         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
12478         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
12479         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
12480         (_IO_wdefault_doallocate): Likewise.
12482 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
12484         [BZ #18086]
12485         * sysdeps/posix/nice.c (nice): Restore old errno.
12486         * posix/tst-nice.c (do_test): Add test for BZ #18086.
12488 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
12490         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
12492 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12494         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
12495         __bcopy and add a weak_alias to bcopy.
12496         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
12497         for static build.
12499         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
12500         cleanup macro usage.
12501         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
12502         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
12503         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12504         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
12505         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12506         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
12507         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
12508         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12509         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
12510         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
12511         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12512         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
12513         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
12514         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
12515         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12516         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
12517         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
12518         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
12519         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
12521         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
12522         libc_hidden_def.
12523         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
12525         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
12526         (sysdep_routines): Add strstr-ppc64.
12527         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
12529 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
12531         [BZ #18778]
12532         * elf/Makefile (tests): Add Add tst-nodelete2.
12533         (modules-names): Add tst-nodelete2mod.
12534         (tst-nodelete2mod.so-no-z-defs): New.
12535         ($(objpfx)tst-nodelete2): Likewise.
12536         ($(objpfx)tst-nodelete2.out): Likewise.
12537         (LDFLAGS-tst-nodelete2): Likewise.
12538         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
12539         out of loop through all loaded libraries.
12540         * elf/tst-nodelete2.c: New file.
12541         * elf/tst-nodelete2mod.c: Likewise.
12542         * elf/tst-znodelete-zlib.cc: Delete.
12544 2015-08-11  Andreas Schwab  <schwab@suse.de>
12546         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
12547         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
12548         (__openat64_nocancel): Likewise.
12550 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
12552         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
12553         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
12554         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
12555         * math/auto-libm-test-out: Regenerated.
12556         * sysdeps/i386/fpu/libm-test-ulps: Update.
12557         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12559 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12561         [BZ #18790]
12562         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
12563         threshold for returning +/- 1.
12564         * math/auto-libm-test-in: Add more tests of tanh.
12565         * math/auto-libm-test-out: Regenerated.
12566         * sysdeps/i386/fpu/libm-test-ulps: Update.
12568 2015-08-10  Andreas Schwab  <schwab@suse.de>
12570         [BZ #18781]
12571         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
12572         MORE_OFLAGS to oflag.
12573         * io/test-lfs.c (do_test): Test openat64.
12575 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
12577         [BZ #18789]
12578         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
12579         smaller threshold for returning the argument.
12580         * math/auto-libm-test-in: Add more tests of sinh.
12581         * math/auto-libm-test-out: Regenerated.
12582         * sysdeps/i386/fpu/libm-test-ulps: Update.
12584 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
12586         [BZ #18674]
12587         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
12588         break.
12590 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12592         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
12593         (generated): Don't add $(addprefix z.,$(tzfiles)).
12595 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12597         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
12598         * scripts/sysd-rules.awk: Likewise.
12600 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12602         * iconvdata/tst-tables.sh: Change echo -n to printf.
12603         * nss/db-Makefile: Likewise.
12604         * posix/tst-getconf.sh: Likewise.
12605         * stdio-common/tst-unbputc.sh: Likewise.
12607 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
12609         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
12610         MADV_*_PAGES defines behind this feature check.
12612 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
12614         [BZ #18480]
12615         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
12616         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
12617         Define.
12618         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
12619         LOAD_REGS_5, LOAD_REGS_6): Update.
12620         (INTERNAL_SYSCALL): Update using new LOAD defines.
12621         (INTERNAL_SYSCALL_NCS): Likewise.
12622         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
12624 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12626         [BZ #16734]
12627         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
12629 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
12631         [BZ #17905]
12632         * catgets/Makefile (tst-catgets-mem): New test.
12633         * catgets/catgets.c (catopen): Don't use unbounded alloca.
12634         * catgets/open_catalog.c (__open_catalog): Likewise.
12635         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
12637 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
12639         [BZ #18787]
12640         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
12641         clobber registers.
12642         (atomic_compare_and_exchange_val_acq): Use register asms to assign
12643         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
12644         Cast return to __typeof (oldval).
12646 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
12648         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
12649         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
12650         and delete sys/syscall.h include.
12652 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
12654         [BZ #16517]
12655         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
12656         (tan): Force underflow exception for arguments with small absolute
12657         value.
12658         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
12659         (__kernel_tanf): Force underflow exception for arguments with
12660         small absolute value.
12661         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
12662         (__kernel_tanl): Force underflow exception for arguments with
12663         small absolute value.
12664         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
12665         (__kernel_tanl): Force underflow exception for arguments with
12666         small absolute value.
12667         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
12668         (__kernel_tanl): Force underflow exception for arguments with
12669         small absolute value.
12670         * math/auto-libm-test-in: Add more tests of tan.
12671         * math/auto-libm-test-out: Regenerated.
12673 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12675         Fix sysdeps/i386/fpu/s_scalbn.S build
12677         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
12679 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
12681         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
12683 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12685         Fix gcrt0.o compilation
12687         When static-start-installed-name is different from
12688         start-installed-name, we must not use the shared objects.
12690         * csu/Makefile
12691         (extra-objs): Add gmon-start.o when building shared library and
12692         $(static-start-installed-name) is different from
12693         $(start-installed-name).
12694         $(objpfx)g$(static-start-installed-name): When building shared
12695         library and $(static-start-installed-name) is different from
12696         $(static-start-installed-name), revert to non-shared rule,
12697         i.e. using $(objpfx)% and gmon-start.o.
12699 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
12701         [BZ #16519]
12702         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
12703         (__ieee754_sinh): Force underflow exception for arguments with
12704         small absolute value.
12705         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
12706         (__ieee754_sinhf): Force underflow exception for arguments with
12707         small absolute value.
12708         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
12709         (__ieee754_sinhl): Force underflow exception for arguments with
12710         small absolute value.
12711         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
12712         (__ieee754_sinhl): Force underflow exception for arguments with
12713         small absolute value.
12714         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
12715         (__ieee754_sinhl): Force underflow exception for arguments with
12716         small absolute value.
12717         * math/auto-libm-test-in: Add more tests of sinh.
12718         * math/auto-libm-test-out: Regenerated.
12719         * sysdeps/i386/fpu/libm-test-ulps: Update.
12721 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
12723         * libio/oldfileops.c: Include unistd.h.
12725 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
12727         * stdlib/isomac.c: Include ctype.h.
12729 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
12731         * dirent/tst-seekdir.c (main): Converted to ...
12732         (do_test): ... this.
12733         (TEST_FUNCTION): New macro.
12734         Include test-skeleton.c.
12735         * elf/tst-dlmodcount.c (main): Converted to ...
12736         (do_test): ... this.
12737         (TEST_FUNCTION): New macro.
12738         Include test-skeleton.c.
12739         * elf/tst-order-main.c (main): Converted to ...
12740         (do_test): ... this.
12741         (TEST_FUNCTION): New macro.
12742         Include test-skeleton.c.
12743         * elf/tst-pie2.c (main): Converted to ...
12744         (do_test): ... this.
12745         (TEST_FUNCTION): New macro.
12746         Include test-skeleton.c.
12747         * inet/tst-ether_aton.c (main): Converted to ...
12748         (do_test): ... this.
12749         (TEST_FUNCTION): New macro.
12750         Include test-skeleton.c.
12751         * misc/tst-mntent.c (main): Converted to ...
12752         (do_test): ... this.
12753         (TEST_FUNCTION): New macro.
12754         Include test-skeleton.c.
12755         * misc/tst-tsearch.c (main): Converted to ...
12756         (do_test): ... this.
12757         (TEST_FUNCTION): New macro.
12758         Include test-skeleton.c.
12759         * posix/tst-regexloc.c (main): Converted to ...
12760         (do_test): ... this.
12761         (TEST_FUNCTION): New macro.
12762         Include test-skeleton.c.
12763         * resolv/tst-aton.c (main): Converted to ...
12764         (do_test): ... this.
12765         (TEST_FUNCTION): New macro.
12766         Include test-skeleton.c.
12767         * stdio-common/test-fwrite.c (main): Converted to ...
12768         (do_test): ... this.
12769         (TEST_FUNCTION): New macro.
12770         Include test-skeleton.c.
12771         * stdio-common/tst-ferror.c (main): Converted to ...
12772         (do_test): ... this.
12773         (TEST_FUNCTION): New macro.
12774         Include test-skeleton.c.
12775         * stdio-common/tst-printf.c (main): Converted to ...
12776         (do_test): ... this.
12777         (TEST_FUNCTION): New macro.
12778         Include test-skeleton.c.
12779         * stdio-common/tst-printfsz.c (main): Converted to ...
12780         (do_test): ... this.
12781         (TEST_FUNCTION): New macro.
12782         Include test-skeleton.c.
12783         * stdlib/tst-strtod.c (main): Converted to ...
12784         (do_test): ... this.
12785         (TEST_FUNCTION): New macro.
12786         Include test-skeleton.c.
12787         * string/tst-strlen.c (main): Converted to ...
12788         (do_test): ... this.
12789         (TEST_FUNCTION): New macro.
12790         Include test-skeleton.c.
12791         * string/tst-svc.c (main): Converted to ...
12792         (do_test): ... this.
12793         (TEST_FUNCTION): New macro.
12794         Include test-skeleton.c.
12795         * time/tst-strptime.c (main): Converted to ...
12796         (do_test): ... this.
12797         (TEST_FUNCTION): New macro.
12798         Include test-skeleton.c.
12799         * timezone/tst-timezone.c (main): Converted to ...
12800         (do_test): ... this.
12801         (TEST_FUNCTION): New macro.
12802         Include test-skeleton.c.
12804 2015-08-05  Zack Weinberg  <zackw@panix.com>
12806         * misc/regexp.h: Update comments.
12808 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
12810         [BZ #18635]
12811         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
12812         before return label.
12814 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12816         [BZ #18661]
12817         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
12818         when calling __errno_location.
12819         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
12820         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
12822 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12824         [BZ #18661]
12825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
12826         (__lll_timedwait_tid): Align stack to 16 bytes when calling
12827         __gettimeofday.
12829 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12831         [BZ #18661]
12832         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
12833         (__start_context): Don't use pop to restore %rdi so that stack
12834         is aligned to 16 bytes when calling __setcontext.
12836 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12838         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
12839         only for libc.
12840         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12842 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12844         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
12845         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
12846         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
12848 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12850         * string/memccpy.c (memccpy):
12851         Improve performance by using memchr/memcpy/__mempcpy.
12853 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12855         * string/strncpy.c (strncpy):
12856         Improve performance by using __strnlen/memcpy.
12858 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12860         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12861         Optimize to avoid an unnecessary FPCR read.
12863 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
12865         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12866         Optimize to reduce FPCR/FPSR accesses.
12868 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
12870         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
12871         dead->data[category] != NULL.
12873 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
12875         [BZ #18647]
12876         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
12877         and |x| close to 1, use absolute value of x when computing log.
12878         * math/auto-libm-test-in: Add more tests of pow.
12879         * math/auto-libm-test-out: Regenerated.
12881 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12883         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
12884         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
12885         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
12887 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
12889         [BZ #18525]
12890         * locales/km_KH: Remove timezone definition.
12891         * locales/lo_LA: Likewise.
12892         * locales/my_MM: Likewise.
12893         * locales/nan_TW@latin: Likewise.
12894         * locales/th_TH: Likewise.
12895         * locales/uk_UA: Likewise.
12897 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
12899         [BZ #18265]
12900         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
12901         (wcsncat): Likewise.
12902         (wcscmp): Likewise.
12903         (wcsncmp): Likewise.
12905 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12907         * test-skeleton.c (usage): New function.
12908         (main): Call usage when opt is '?'.
12910 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12912         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
12913         before first use.
12915 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
12917         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
12918         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
12919         in there too.
12921 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
12923         * version.h (RELEASE): Set to "development".
12924         (VERSION): Set to "2.22.90"
12926         * version.h (RELEASE): Set to "stable".
12927         (VERSION): Set to "2.22"
12928         * include/features.h (__GLIBC_MINOR__): Set to 22.
12930 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
12932         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
12933         Restructure macro to avoid "value computed is not used" warning.
12934         (atomic_compare_and_exchange_val_acq): Likewise.
12936 2015-08-04  Andreas Schwab  <schwab@suse.de>
12938         [BZ #18635]
12939         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
12940         ret.
12941         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
12943 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
12945         * po/pl.po: Updated translation.
12946         * po/uk.po: Likewise.
12947         * po/fi.po: Likewise.
12948         * po/ko.po: Likewise.
12949         * po/ru.po: Likewise.
12950         * po/vi.po: Likewise.
12952 2015-07-31  Zack Weinberg  <zackw@panix.com>
12954         [BZ #18681]
12955         * regexp.h: Add unconditional #warning stating that this header
12956         will be removed soon.  Revise banner comment to match.
12957         (compile): Consistently use ERROR instead of RETURN to report
12958         errors (partial fix for bz#18681).
12959         * regexp.c: Don't include regexp.h. Remove some unnecessary
12960         declarations.
12962 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
12964         * po/libc.pot: Regenerated.
12966 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
12968         [BZ #18740]
12969         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
12970         float-vlen4-arch-ext-cflags): Removed.
12971         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
12972         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
12974 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12976         [BZ #14113]
12977         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
12978         aligned to __aligned__.
12979         (pthread_cond_t, pthread_rwlock_t): Likewise.
12981 2015-07-30  Torvald Riegel  <triegel@redhat.com>
12983         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
12985 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12987         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
12988         (struct sigaction): Change sa_flags from a long to an int, and add
12989         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
12991 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
12993         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
12994         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
12995         sysdeps/generic/sysdep.h include.
12996         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
12997         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
12998         sysdeps/hppa/sysdep.h.
12999         (ENTRY, PSEUDO): Undefine before defining.
13001 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
13003         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
13004         from scratch to use INTERNAL_SYSCALL.
13006 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
13008         [BZ #18078]
13009         * scripts/check-localplt.awk: Support alternate relocations.
13010         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
13011         sections.
13012         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
13013         malloc entries with + REL R_386_GLOB_DAT.
13014         * sysdeps/x86_64/localplt.data: New file.
13016 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
13018         [BZ #18731]
13019         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
13020         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
13021         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
13023 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13025         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
13027 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13029         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
13030         directly in terms of __sync_fetch_and_add and delete (int) cast.
13032 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13034         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
13035         the -D_ASM_IA64_CURRENT_H flag.
13037 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
13039         [BZ #18641]
13040         * pwd/pwd.h (putpwent): Delete __nonnull markings.
13042 2015-07-27  Andreas Schwab  <schwab@suse.de>
13044         * conform/conformtest.pl (checknamespace): Filter out string
13045         literals while tokenizing.
13047 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13049         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13050         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
13051         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13053 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
13055         * nptl/tst-join7mod.c: Add #include <string.h>.
13057 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13059         * sysdeps/nios2/libm-test-ulps: Update.
13061 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
13063         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
13064         Fix order of arguments to the rt_sigprocmask syscall.
13065         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
13066         Likewise.
13068 2015-07-24  Roland McGrath  <roland@hack.frob.com>
13070         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
13072 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13074         [BZ #18457]
13075         * nptl/Makefile (tests): New test case tst-join7.
13076         (modules-names): New test case module tst-join7mod.
13077         * nptl/tst-join7.c: New file.
13078         * nptl/tst-join7mod.c: New file.
13079         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
13080         all translation units in libc.so, libpthread.so and rtld.
13082 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13086 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
13088         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
13089         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
13090         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
13091         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
13092         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
13093         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
13094         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
13095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
13096         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
13097         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
13098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
13099         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
13100         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
13101         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
13102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
13103         implementation.
13105 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13107         [BZ #17711]
13108         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13109         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
13110         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13111         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
13112         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
13113         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
13115 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13117         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
13118         instead of just saying load lock in the comments.
13120 2015-07-23  Roland McGrath  <roland@hack.frob.com>
13122         * sysdeps/unix/Subdirs: Moved ...
13123         * sysdeps/posix/Subdirs: ... here.
13124         * login/pty.h (struct termios, struct winsize): Add forward decls.
13125         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
13126         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
13127         * sysdeps/arm/nacl/libc.abilist: Updated.
13128         * sysdeps/nacl/libutil.abilist: New file.
13130         * bits/signum.h: Update comments to mention 1003.1-2013 too.
13131         (SIGWINCH): New macro.
13133         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
13134         * sysdeps/arm/nacl/libc.abilist: Add it.
13136 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13138         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
13140 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
13142         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13143         Swap __glibc_reserved0 and sa_flags order.
13145 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13147         [BZ #18657]
13148         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
13149         are pending TLS destructor calls.
13150         * include/link.h (struct link_map): Add concurrency note for
13151         L_TLS_DTOR_COUNT.
13152         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13153         Don't touch the link map flag.  Atomically increment
13154         l_tls_dtor_count.
13155         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
13156         Avoid taking the load lock and don't touch the link map flag.
13157         * stdlib/tst-tls-atexit-nodelete.c: New test case.
13158         * stdlib/Makefile (tests): Use it.
13159         * stdlib/tst-tls-atexit.c (do_test): dlopen
13160         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
13161         to allow tst-tls-atexit-nodelete test case to use it.
13163 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13165         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
13166         to bits/types.h.
13167         (msgqnum_t): New typedef.
13168         (msglen_t): Likewise.
13169         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
13170         and msg_qbytes type to msglen_t.
13172 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13174         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
13175         pad0 to __glibc_reserved0.
13176         (struct stat64): Likewise.
13178 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13180         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
13181         Change sa_flags from a long to an int and add __glibc_reserved0 before
13182         it for padding.
13184 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
13186         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
13187         anonymous by deleting "siginfo" name.
13189 2015-07-21  Roland McGrath  <roland@hack.frob.com>
13191         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
13192         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
13193         rather than __nacl_irt_filename.
13194         * sysdeps/nacl/xstat.c (__xstat): Likewise.
13196         * NEWS: New item for arm-nacl port.
13197         * sysdeps/arm/nacl/libc.abilist: New file.
13198         * sysdeps/nacl/ld.abilist: New file.
13199         * sysdeps/nacl/libBrokenLocale.abilist: New file.
13200         * sysdeps/nacl/libanl.abilist: New file.
13201         * sysdeps/nacl/libcrypt.abilist: New file.
13202         * sysdeps/nacl/libdl.abilist: New file.
13203         * sysdeps/nacl/libm.abilist: New file.
13204         * sysdeps/nacl/libpthread.abilist: New file.
13205         * sysdeps/nacl/libresolv.abilist: New file.
13206         * sysdeps/nacl/librt.abilist: New file.
13208 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
13210         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
13211         __startcontext to initialize the new context.
13212         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
13213         up CFI directive to forbid further backtracing.
13215 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
13217         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
13218         reference.
13219         * charmaps/ANSI_X3.4-1968: Likewise.
13220         * charmaps/BS_4730: Likewise.
13221         * charmaps/BS_VIEWDATA: Likewise.
13222         * charmaps/CP1250: Likewise.
13223         * charmaps/CP1251: Likewise.
13224         * charmaps/CP1252: Likewise.
13225         * charmaps/CP1253: Likewise.
13226         * charmaps/CP1254: Likewise.
13227         * charmaps/CP1255: Likewise.
13228         * charmaps/CP1256: Likewise.
13229         * charmaps/CSN_369103: Likewise.
13230         * charmaps/EBCDIC-DK-NO: Likewise.
13231         * charmaps/GB_1988-80: Likewise.
13232         * charmaps/GREEK-CCITT: Likewise.
13233         * charmaps/GREEK7: Likewise.
13234         * charmaps/INIS-8: Likewise.
13235         * charmaps/ISIRI-3342: Likewise.
13236         * charmaps/ISO_2033-1983: Likewise.
13237         * charmaps/ISO_5427-EXT: Likewise.
13238         * locales/POSIX: Likewise.
13239         * locales/ar_SA: Likewise.
13240         * locales/be_BY: Likewise.
13241         * locales/be_BY@latin: Likewise.
13242         * locales/ca_ES: Likewise.
13243         * locales/cs_CZ: Likewise.
13244         * locales/da_DK: Likewise.
13245         * locales/de_BE: Likewise.
13246         * locales/de_CH: Likewise.
13247         * locales/de_LU: Likewise.
13248         * locales/en_AU: Likewise.
13249         * locales/en_BW: Likewise.
13250         * locales/en_CA: Likewise.
13251         * locales/en_DK: Likewise.
13252         * locales/en_GB: Likewise.
13253         * locales/en_IE: Likewise.
13254         * locales/en_NZ: Likewise.
13255         * locales/en_ZA: Likewise.
13256         * locales/en_ZW: Likewise.
13257         * locales/es_AR: Likewise.
13258         * locales/es_BO: Likewise.
13259         * locales/es_CL: Likewise.
13260         * locales/es_CO: Likewise.
13261         * locales/es_DO: Likewise.
13262         * locales/es_EC: Likewise.
13263         * locales/es_ES: Likewise.
13264         * locales/es_HN: Likewise.
13265         * locales/es_MX: Likewise.
13266         * locales/es_PA: Likewise.
13267         * locales/es_PE: Likewise.
13268         * locales/es_PY: Likewise.
13269         * locales/es_SV: Likewise.
13270         * locales/es_US: Likewise.
13271         * locales/es_UY: Likewise.
13272         * locales/es_VE: Likewise.
13273         * locales/et_EE: Likewise.
13274         * locales/fa_IR: Likewise.
13275         * locales/fo_FO: Likewise.
13276         * locales/fr_CA: Likewise.
13277         * locales/fr_CH: Likewise.
13278         * locales/gv_GB: Likewise.
13279         * locales/he_IL: Likewise.
13280         * locales/hr_HR: Likewise.
13281         * locales/id_ID: Likewise.
13282         * locales/is_IS: Likewise.
13283         * locales/it_CH: Likewise.
13284         * locales/iw_IL: Likewise.
13285         * locales/kl_GL: Likewise.
13286         * locales/ko_KR: Likewise.
13287         * locales/kw_GB: Likewise.
13288         * locales/lg_UG: Likewise.
13289         * locales/lt_LT: Likewise.
13290         * locales/lv_LV: Likewise.
13291         * locales/mi_NZ: Likewise.
13292         * locales/nhn_MX: Likewise.
13293         * locales/nl_BE: Likewise.
13294         * locales/pl_PL: Likewise.
13295         * locales/sk_SK: Likewise.
13296         * locales/sl_SI: Likewise.
13297         * locales/sv_FI: Likewise.
13298         * locales/tl_PH: Likewise.
13299         * locales/tr_TR: Likewise.
13300         * locales/vi_VN: Likewise.
13302 2015-07-21  Khem Raj  <raj.khem@gmail.com>
13304         [BZ #17475]
13305         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
13306         of tu_IN and bh_IN.
13308 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
13310         [BZ #18694]
13311         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
13312         bits/wordsize.h.
13313         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
13315 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13317         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
13318         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
13319         (spawn_thread): New function.
13320         (load): Rename to reg_dtor_and_close.  Move dlopen to...
13321         (do_test): ... here.  Use IS_LOADED to test for its
13322         availability.
13324 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
13326         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13328 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
13330         [BZ #18696]
13331         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
13332         si_addr_bnd.
13333         (si_lower): New.
13334         (si_upper): Likewise.
13336 2015-07-16  David S. Miller  <davem@davemloft.net>
13338         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
13340 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13342         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
13343         buffer.
13344         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
13345         fail output information.
13347 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
13350         and strstr-ppc64..
13351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13352         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
13353         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
13354         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
13355         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
13357 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13359         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13360         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13361         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
13362         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
13364 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
13366         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
13367         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
13368         rtld_hidden_proto.
13369         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
13371 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
13373         * tst-nodelete-opened.c (do_test): Add comment to clarify how
13374         the test can fail.
13376         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
13378         [BZ #18676]
13379         * elf/tst-nodelete-opened.c: New test case.
13380         * elf/tst-nodelete-opened-lib.c: New test case module.
13381         * elf/Makefile (tests, modules-names): Use them.
13382         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
13383         early.
13385 2015-07-15  David S. Miller  <davem@davemloft.net>
13387         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
13388         futex-intenal.h
13389         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
13390         * sysdeps/sparc/sparc64/Makefile: Likewise.
13391         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13392         Remove space from macro define.
13393         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
13395 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
13397         [BZ #17475]
13398         * locale/iso-639.def: Update Bhili and Tulu language codes as
13399         per iso639-3.
13401 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
13403         * elf/tst-leaks1.c (main): Converted to ...
13404         (do_test): ... this.
13405         (TEST_FUNCTION): New macro.
13406         Include test-skeleton.c.
13407         * localedata/tst-langinfo.c (main): Converted to ...
13408         (do_test): ... this.
13409         (TEST_FUNCTION): New macro.
13410         Include test-skeleton.c.
13411         * math/test-fpucw.c (main): Converted to ...
13412         (do_test): ... this.
13413         (TEST_FUNCTION): New macro.
13414         Include test-skeleton.c.
13415         * math/test-tgmath.c (main): Converted to ...
13416         (do_test): ... this.
13417         (TEST_FUNCTION): New macro.
13418         Include test-skeleton.c.
13419         * math/test-tgmath2.c (main): Converted to ...
13420         (do_test): ... this.
13421         (TEST_FUNCTION): New macro.
13422         Include test-skeleton.c.
13423         * setjmp/tst-setjmp.c (main): Converted to ...
13424         (do_test): ... this.
13425         (TEST_FUNCTION): New macro.
13426         Include test-skeleton.c.
13427         * stdio-common/tst-sscanf.c (main): Converted to ...
13428         (do_test): ... this.
13429         (TEST_FUNCTION): New macro.
13430         Include test-skeleton.c.
13431         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
13432         (do_test): ... this.
13433         (TEST_FUNCTION): New macro.
13434         Include test-skeleton.c.
13436         * elf/tst-audit9.c (main): Converted to ...
13437         (do_test): ... this.
13438         (TEST_FUNCTION): New macro.
13439         Include test-skeleton.c.
13441 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
13443         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
13445 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13447         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
13448         New variable.
13450 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
13452         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13454 2015-07-14  Roland McGrath  <roland@hack.frob.com>
13456         * sysdeps/generic/dl-fileid.h: New file.
13457         * sysdeps/posix/dl-fileid.h: New file.
13458         * sysdeps/nacl/dl-fileid.h: New file.
13459         * include/link.h: Include <dl-fileid.h>.
13460         (struct link_map): Replace l_dev and l_ino with l_file_id.
13461         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
13462         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
13463         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
13465 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13467         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
13469 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13471         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
13472         Add iff $CXX is set.
13473         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
13474         Likewise.
13475         (tst-nodelete-zmodiff): Likewise.
13476         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
13478 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13480         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
13482 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13484         * sysdeps/aarch64/fpu/math_private.h
13485         (define math_opt_barrier): Add AArch64 version.
13486         (math_force_eval): Likewise.
13488 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
13490         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
13492 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
13494         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
13495         %ld with %jd and cast to intmax_t.
13496         (do_test_length_zero): Likewise.
13498 2015-07-10  Roland McGrath  <roland@hack.frob.com>
13500         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
13502 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
13504         * sysdeps/tile/libm-test-ulps: Regenerated.
13506         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
13507         Comment out the whole function, not just its body.
13509 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13511         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
13512         locks.
13514         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
13516 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13518         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
13519         (sem_assume_only_signals_cause_futex_EINTR): Remove.
13521 2015-07-10  Torvald Riegel  <triegel@redhat.com>
13523         * sysdeps/nptl/futex-internal.h: New file.
13524         * sysdeps/nacl/futex-internal.h: New file.
13525         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
13526         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
13527         error checking.
13528         (setxid_unmark_thread): Likewise.
13529         (__nptl_setxid): Likewise.
13530         (__wait_lookup_done): Likewise.
13531         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
13532         * nptl/nptl-init.c (sighandler_setxid): Likewise.
13533         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
13534         * nptl/pthread_once.c (clear_once_control): Likewise.
13535         (__pthread_once_slow): Likewise.
13536         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
13537         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
13538         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
13539         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
13540         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
13541         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
13542         Likewise.
13543         (__pthread_rwlock_rdlock): Likewise.
13544         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13545         Likewise.
13546         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13547         Likewise.
13548         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
13549         Likewise.
13550         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
13551         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
13552         Likewise.
13553         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
13554         __ASSUME_PRIVATE_FUTEX check.
13555         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
13556         Check that shared futexes are supported.
13557         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
13558         wrappers with error checking.
13559         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
13560         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
13561         * nptl/pthread_barrierattr_setpshared.c
13562         (pthread_barrierattr_setpshared): Check that shared futexes are
13563         supported.
13564         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
13565         Likewise.
13566         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
13567         Likewise.
13568         * nptl/sem_init.c (futex_private_if_supported): Remove.
13569         (__new_sem_init): Adapt and check that shared futexes are supported.
13570         * nptl/sem_open.c (sem_open): Likewise.
13571         * nptl/sem_post.c (futex_wake): Remove.
13572         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
13573         (do_futex_wait): Use futex wrappers with error checking.
13574         * nptl/sem_wait.c: Include lowlevellock.h.
13575         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
13576         Use futex_supports_pshared.
13577         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
13578         Use futex wrappers with error checking.
13579         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
13580         Likewise.
13581         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
13582         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
13583         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
13584         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
13585         (futex_wake): Likewise.
13586         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
13587         (do_futex_wait): Use futex wrappers with error checking.
13588         (__new_sem_wait_slow): Update EINTR handling.
13589         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
13591 2015-07-09  Martin Sebor  <msebor@redhat.com>
13593         [BZ #18435]
13594         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13595         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
13596         * nptl/Makefile (test-xfail-tst-once5): Define.
13598 2015-07-09  Roland McGrath  <roland@hack.frob.com>
13600         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
13601         * elf/dl-minimal.c: For readability, reorder some definitions and
13602         introduce more page breaks.  Include <stdio.h>.
13603         (__libc_fatal): New function.
13605         * include/unistd.h: Add rtld_hidden_proto for _exit.
13606         * posix/_exit.c: Add rtld_hidden_def.
13607         * sysdeps/mach/hurd/_exit.c: Likewise.
13608         * sysdeps/nacl/_exit.c: Likewise.
13609         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
13610         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
13612 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
13614         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
13615         bndmov encoding with zero displacement.
13617 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13618             H.J. Lu  <hongjiu.lu@intel.com>
13620         [BZ #18134]
13621         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
13622         * sysdeps/i386/configure: Regenerated.
13623         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
13624         (_dl_runtime_profile): Save and restore Intel MPX return bound
13625         registers when calling _dl_call_pltexit.  Add
13626         PRESERVE_BND_REGS_PREFIX before return.
13627         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
13628         (LRV_BND1_OFFSET): Likewise.
13629         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
13630         lrv_bnd1.
13631         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
13632         typo in bndmov encoding.
13633         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
13634         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
13635         branch instructions to preserve bounds.
13637 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13640         [GLIBC_2.22]: Add fmemopen.
13642 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13644         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
13645         returns an error, also try to use host port from __mach_host_self for
13646         the __vm_wire call.
13647         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
13649 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13651         [BZ #18400]
13652         [BZ #18648]
13653         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
13654         Fix pr_uid and pr_gid members.
13655         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
13656         definition to elf_greg_t.
13658 2015-07-08  Roland McGrath  <roland@hack.frob.com>
13660         [BZ #18383]
13661         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
13662         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
13663         * sysdeps/arm/configure: Regenerated.
13664         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
13665         (test-xfail-tst-tlsalign-static): Variable removed.
13667         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
13668         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
13669         rather than explicit 'ln -s'.
13671         * resolv/rpc/netdb.h: New file.
13672         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
13674 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13676         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
13677         length buffers.
13678         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13679         test-skeleton.c.
13681         [BZ #6544]
13682         [BZ #11216]
13683         [BZ #12836]
13684         [BZ #13151]
13685         [BZ #13152]
13686         [BZ #14292]
13687         * include/stdio.h (fmemopen): Remove hidden prototype.
13688         (__fmemopen): Add new hidden prototype.
13689         * libio/Makefile: Add oldfmemopen object.
13690         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
13691         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
13692         compliance.
13693         * libio/oldfmemopen.c: New file: old fmemopen implementation for
13694         symbol compatibility.
13695         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
13696         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
13697         fmemopen.
13698         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
13699         on append and read mode.
13700         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
13701         fmemopen.
13702         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
13703         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
13704         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
13705         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
13706         Likewise.
13707         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13708         [GLIBC_2.22]: Likewise.
13709         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
13710         Likewise.
13711         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
13712         Likewise.
13713         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13714         [GLIBC_2.22]: Likewise.
13715         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13716         [GLIBC_2.22]: Likewise.
13717         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13718         [GLIBC_2.22]: Likewise.
13719         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13720         [GLIBC_2.22]: Likewise.
13721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13722         [GLIBC_2.22]: Likewise.
13723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13724         [GLIBC_2.22]: Likewise.
13725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13726         [GLIBC_2.22]: Likewise.
13727         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
13728         Likewise.
13729         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
13730         Likewise.
13731         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
13732         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13733         [GLIBC_2.22]: Likewise.
13734         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13735         [GLIBC_2.22]: Likewise.
13736         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13737         [GLIBC_2.22]: Likewise.
13738         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13739         [GLIBC_2.22]: Likewise.
13740         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
13741         Likewise.
13742         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
13743         Likewise.
13744         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
13745         Likewise.
13746         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
13747         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
13749 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13751         [BZ #18643]
13752         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
13753         IPV6_PATHMTU, and IPV6_DONTFRAG.
13755 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
13757         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
13758         and _IO_UNBUFFERED.
13759         * libio/oldfileops.c: Likewise.
13760         * libio/wfileops.c: Likewise.
13762 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13764         * nscd/selinux.c: Delete selinux/flask.h include.
13766 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
13768         [BZ #18641]
13769         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
13770         (putpwent): Likewise.
13771         (getpwnam): Likewise.
13772         (getpwent_r): Likewise.
13773         (getpwuid_r): Likewise.
13774         (getpwnam_r): Likewise.
13775         (fgetpwent_r): Likewise.
13777 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
13779         [BZ #18557]
13780         * inet/rcmd.c (__validuser2_sa): Check user first to
13781         short-circuit host check.
13783 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
13784             Mikhail Ilin  <m.ilin@samsung.com>
13786         [BZ #17833]
13787         * elf/Makefile (tests): Add tst-nodelete.
13788         (modules-names): Add tst-nodelete-uniquemod.
13789         (tst-nodelete-uniquemod.so-no-z-defs): New.
13790         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
13791         (tst-nodelete-zmod.so-no-z-defs): Likewise.
13792         ($(objpfx)tst-nodelete): Likewise.
13793         ($(objpfx)tst-nodelete.out): Likewise.
13794         (LDFLAGS-tst-nodelete): Likewise.
13795         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
13796         * elf/dl-close.c (_dl_close_worker): Add a parameter to
13797         implement forced object deletion.
13798         (_dl_close): Pass false to _dl_close_worker.
13799         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
13800         * elf/tst-nodelete.cc: New file.
13801         * elf/tst-nodeletelib.cc: Likewise.
13802         * elf/tst-znodeletelib.cc: Likewise.
13803         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
13805 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13807         [BZ #18508]
13808         * stdlib/Makefile ($(objpfx)tst-makecontext3):
13809         Depend on $(libdl).
13810         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
13811         is not called infinitely times.
13812         (backtrace_helper): New function.
13813         (trace_arg): New struct.
13814         (st1): Enlarge stack size.
13815         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
13816         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
13817         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
13818         Likewise.
13820 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13822         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13824 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13826         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
13827         Include sys/types.h instead of bits/types.h.
13828         Remove inclusion of bits/wordsize.h.
13830 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13832         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
13833         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
13834         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
13835         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
13836         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
13837         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
13839 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13841         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
13842         link-defines.sym.
13843         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
13844         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
13845         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
13846         and LR_SIZE.
13847         * sysdeps/i386/link-defines.sym: New file.
13849 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
13851         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
13852         (modules-names): Add tst-auditmod3a tst-auditmod3b.
13853         ($(objpfx)tst-audit3): New rule.
13854         ($(objpfx)tst-audit3.out): Likewise.
13855         * sysdeps/i386/tst-audit3.c: New file.
13856         * sysdeps/i386/tst-audit3.h: Likewise.
13857         * sysdeps/i386/tst-auditmod3a.c: Likewise.
13858         * sysdeps/i386/tst-auditmod3b.c: Likewise.
13860 2015-07-07  Torvald Riegel  <triegel@redhat.com>
13862         [BZ #18633]
13863         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
13864         pointer in C code.
13865         (__strcat_c): Likewise.
13866         (__strcat_g): Likewise.
13868 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
13870         [BZ #18592]
13871         * misc/sbrk.c: Set errno to ENOMEM on overflow.
13873 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13875         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
13876         New function.  (__ieee754_sqrtf): New function.
13877         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
13878         New function.
13879         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
13880         New function.
13882 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
13884         * sysdeps/ieee754/support.c: Remove unused file.
13886 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13888         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
13889         registers instead of d ones so the layout is kernel abi compatible.
13890         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
13891         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
13892         Likewise.
13894 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13896         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13898 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13900         [BZ #18619]
13901         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
13902         and return argument in case of subnormal argument.
13904 2015-07-01  Martin Sebor  <msebor@redhat.com>
13906         [BZ #18435]
13907         * nptl/Makefile: Add tst-once5.cc.
13908         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
13909         Remove macro redefinitions.
13910         * nptl/tst-once5.cc: New test.
13912 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
13914         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
13916         * sysdeps/arm/libm-test-ulps: Regenerated.
13918         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
13919         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13921 2015-06-30  Torvald Riegel  <triegel@redhat.com>
13923         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
13924         lll_lock_wait_private and lll_futex_wake probes.
13926         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13927         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
13928         Likewise.
13929         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
13930         atomic_spin_nop.
13931         * sysdeps/x86_64/bits/atomic.h: Likewise.
13932         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
13933         to atomic_spin_nop and move ...
13934         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
13935         ... here and ...
13936         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
13937         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
13938         atomic_spin_nop instead of BUSY_WAIT_NOP.
13939         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
13940         Likewise.
13941         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
13942         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
13943         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
13944         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
13945         instead of atomic_delay.
13947 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
13949         [BZ #18613]
13950         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
13951         X_ADJ not X when adjusting exponent.
13952         (__ieee754_gamma_r): Do intermediate computations in
13953         round-to-nearest then adjust overflowing and underflowing results
13954         as needed.
13955         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
13956         of X_ADJ not X when adjusting exponent.
13957         (__ieee754_gammaf_r): Do intermediate computations in
13958         round-to-nearest then adjust overflowing and underflowing results
13959         as needed.
13960         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
13961         log of X_ADJ not X when adjusting exponent.
13962         (__ieee754_gammal_r): Do intermediate computations in
13963         round-to-nearest then adjust overflowing and underflowing results
13964         as needed.  Use 1.0L not 1.0f as numerator of division.
13965         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
13966         log of X_ADJ not X when adjusting exponent.
13967         (__ieee754_gammal_r): Do intermediate computations in
13968         round-to-nearest then adjust overflowing and underflowing results
13969         as needed.  Use 1.0L not 1.0f as numerator of division.
13970         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
13971         of X_ADJ not X when adjusting exponent.
13972         (__ieee754_gammal_r): Do intermediate computations in
13973         round-to-nearest then adjust overflowing and underflowing results
13974         as needed.  Use 1.0L not 1.0f as numerator of division.
13975         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
13976         to auto-libm-test-in.
13977         (tgamma_test): Use ALL_RM_TEST.
13978         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
13979         tests of tgamma with spurious-overflow.
13980         * math/auto-libm-test-out: Regenerated.
13981         * math/gen-libm-have-vector-test.sh: Do not check for START.
13982         * sysdeps/i386/fpu/libm-test-ulps: Update.
13983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13985         [BZ #18612]
13986         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
13987         arguments, just return 0.5 times the argument, with underflow
13988         forced as needed.
13989         * math/auto-libm-test-in: Add more tests of j1.
13990         * math/auto-libm-test-out: Regenerated.
13992         [BZ #16559]
13993         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
13994         (__ieee754_j1): Force underflow exception for small results.
13995         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13996         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
13997         (__ieee754_j1f): Force underflow exception for small results.
13998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13999         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14001         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
14002         (__ieee754_j1l): Force underflow exception for small results.
14003         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14004         * math/auto-libm-test-in: Add more tests of j1 and jn.
14005         * math/auto-libm-test-out: Regenerated.
14007         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
14008         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
14009         (PF_MPLS): Likewise.
14010         (AF_IB): Likewise.
14011         (AF_MPLS): Likewise.
14012         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
14013         value and macro.
14014         (MS_RMT_MASK): Include MS_LAZYTIME.
14016 2015-06-26  Mel Gorman  <mgorman@suse.de>
14018         [BZ #18502]
14019         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
14020         already minimal.
14022 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
14024         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
14025         (DT_MIPS_NUM): Update.
14026         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
14027         DT_MIPS_RLD_MAP_REL.
14029 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
14031         [BZ #16559]
14032         [BZ #18602]
14033         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
14034         round-to-nearest internally then recompute results that
14035         underflowed to zero in the original rounding mode.
14036         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14037         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14039         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14040         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
14041         * sysdeps/i386/fpu/libm-test-ulps: Update.
14042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14044 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
14046         * NEWS: Fixed description of link with vector math library.
14048 2015-06-25  Andreas Schwab  <schwab@suse.de>
14050         [BZ #18549]
14051         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
14052         * libio/test-fmemopen.c (do_test): Add test for it.
14054 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
14056         [BZ #17841]
14057         * Makeconfig (no-pie-ldflag): New.
14058         (+link): Set to $(+link-pie) if default to PIE.
14059         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
14060         * config.make.in (build-pie-default): New.
14061         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
14062         is default.  AC_SUBST.
14063         * configure: Regenerated.
14064         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
14066 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14068         * nptl/descr.h (struct pthread): Change type of field setxid_futex
14069         to 'unsigned int'.
14071         * resolv/gai_misc.h (struct waitlist): Change type of field
14072         counterp to 'volatile unsigned int *'.
14073         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
14074         FUTEXADDR and OLDVAL.
14075         * resolv/getaddrinfo_a.c (getaddrinfo_a):
14076         Give local variable TOTAL type 'volatile unsigned int'.
14077         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14078         * resolv/gai_suspend.c (gai_suspend):
14079         Give local variable CNTR type 'unsigned int'.
14081         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
14082         counterp to 'volatile unsigned int *'.
14083         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
14084         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
14085         (aio_suspend): Give local variable CNTR type 'unsigned int'.
14086         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
14087         Give local variable TOTAL type 'volatile unsigned int'.
14088         (struct async_waitlist): Change type of field counter to 'unsigned int'.
14090 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14092         [BZ #18383]
14093         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
14094         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
14095         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
14096         comment for i386/x86-64.
14097         (test-xfail-tst-tlsalign-extern-static): Removed.
14099 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14101         * math/test-double.h: New file.
14102         * math/test-float.h: Likewise.
14103         * math/test-ldouble.h: Likewise.
14104         * math/test-math-inline.h: Likewise.
14105         * math/test-math-no-inline.h: Likewise.
14106         * math/test-math-scalar.h: Likewise.
14107         * math/test-math-vector.h: Likewise.
14108         * math/test-vec-loop.h: Remove file.  Contents moved into
14109         test-math-vector.h.
14110         * math/libm-test.inc (MATHCONST): Do not document macro.
14111         * math/test-double.c: Include test-double.h, test-math-no-inline.h
14112         and test-math-scalar.h.
14113         (FUNC): Remove macro.
14114         (FUNC_TEST): Likewise.
14115         (FLOAT): Likewise.
14116         (MATHCONST): Likewise.
14117         (PRINTF_EXPR): Likewise.
14118         (PRINTF_XEXPR): Likewise.
14119         (PRINTF_NEXPR): Likewise.
14120         (TEST_DOUBLE): Likewise.
14121         (TEST_MATHVEC): Likewise.
14122         (__NO_MATH_INLINES): Likewise.
14123         * math/test-float.c: Include test-float.h, test-math-no-inline.h
14124         and test-math-scalar.h.
14125         (FUNC): Remove macro.
14126         (FUNC_TEST): Likewise.
14127         (FLOAT): Likewise.
14128         (MATHCONST): Likewise.
14129         (PRINTF_EXPR): Likewise.
14130         (PRINTF_XEXPR): Likewise.
14131         (PRINTF_NEXPR): Likewise.
14132         (TEST_FLOAT): Likewise.
14133         (TEST_MATHVEC): Likewise.
14134         (__NO_MATH_INLINES): Likewise.
14135         * math/test-idouble.c: Include test-double.h, test-math-inline.h
14136         and test-math-scalar.h.
14137         (FUNC): Remove macro.
14138         (FUNC_TEST): Likewise.
14139         (FLOAT): Likewise.
14140         (MATHCONST): Likewise.
14141         (PRINTF_EXPR): Likewise.
14142         (PRINTF_XEXPR): Likewise.
14143         (PRINTF_NEXPR): Likewise.
14144         (TEST_DOUBLE): Likewise.
14145         (TEST_MATHVEC): Likewise.
14146         (TEST_INLINE): Likewise.
14147         (__NO_MATH_INLINES): Likewise.
14148         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
14149         test-math-scalar.h.
14150         (FUNC): Remove macro.
14151         (FUNC_TEST): Likewise.
14152         (FLOAT): Likewise.
14153         (MATHCONST): Likewise.
14154         (PRINTF_EXPR): Likewise.
14155         (PRINTF_XEXPR): Likewise.
14156         (PRINTF_NEXPR): Likewise.
14157         (TEST_FLOAT): Likewise.
14158         (TEST_MATHVEC): Likewise.
14159         (TEST_INLINE): Likewise.
14160         (__NO_MATH_INLINES): Likewise.
14161         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
14162         and test-math-scalar.h.
14163         (FUNC): Remove macro.
14164         (FUNC_TEST): Likewise.
14165         (FLOAT): Likewise.
14166         (MATHCONST): Likewise.
14167         (PRINTF_EXPR): Likewise.
14168         (PRINTF_XEXPR): Likewise.
14169         (PRINTF_NEXPR): Likewise.
14170         (TEST_LDOUBLE): Likewise.
14171         (TEST_MATHVEC): Likewise.
14172         (TEST_INLINE): Likewise.
14173         (__NO_MATH_INLINES): Likewise.
14174         * math/test-ldouble.c: Include test-ldouble.h,
14175         test-math-no-inline.h and test-math-scalar.h.
14176         (FUNC): Remove macro.
14177         (FUNC_TEST): Likewise.
14178         (FLOAT): Likewise.
14179         (MATHCONST): Likewise.
14180         (PRINTF_EXPR): Likewise.
14181         (PRINTF_XEXPR): Likewise.
14182         (PRINTF_NEXPR): Likewise.
14183         (TEST_LDOUBLE): Likewise.
14184         (TEST_MATHVEC): Likewise.
14185         (__NO_MATH_INLINES): Likewise.
14186         * math/test-double-vlen2.h: Include test-double.h,
14187         test-math-no-inline.h and test-math-vector.h.
14188         (FLOAT): Remove macro.
14189         (FUNC): Likewise.
14190         (MATHCONST): Likewise.
14191         (PRINTF_EXPR): Likewise.
14192         (PRINTF_XEXPR): Likewise.
14193         (PRINTF_NEXPR): Likewise.
14194         (TEST_DOUBLE): Likewise.
14195         (TEST_MATHVEC): Likewise.
14196         (__NO_MATH_INLINES): Likewise.
14197         (CNCT): Likewise.
14198         (CONCAT): Likewise.
14199         (WRAPPER_NAME): Likewise.
14200         (WRAPPER_DECL): Likewise.
14201         (WRAPPER_DECL_ff): Likewise.
14202         (WRAPPER_DECL_fFF): Likewise.
14203         (VECTOR_WRAPPER): Likewise.
14204         (VECTOR_WRAPPER_ff): Likewise.
14205         (VECTOR_WRAPPER_fFF): Likewise.
14206         (VEC_LEN): New macro.
14207         * math/test-double-vlen4.h: Include test-double.h,
14208         test-math-no-inline.h and test-math-vector.h.
14209         (FLOAT): Remove macro.
14210         (FUNC): Likewise.
14211         (MATHCONST): Likewise.
14212         (PRINTF_EXPR): Likewise.
14213         (PRINTF_XEXPR): Likewise.
14214         (PRINTF_NEXPR): Likewise.
14215         (TEST_DOUBLE): Likewise.
14216         (TEST_MATHVEC): Likewise.
14217         (__NO_MATH_INLINES): Likewise.
14218         (CNCT): Likewise.
14219         (CONCAT): Likewise.
14220         (WRAPPER_NAME): Likewise.
14221         (WRAPPER_DECL): Likewise.
14222         (WRAPPER_DECL_ff): Likewise.
14223         (WRAPPER_DECL_fFF): Likewise.
14224         (VECTOR_WRAPPER): Likewise.
14225         (VECTOR_WRAPPER_ff): Likewise.
14226         (VECTOR_WRAPPER_fFF): Likewise.
14227         (VEC_LEN): New macro.
14228         * math/test-double-vlen8.h: Include test-double.h,
14229         test-math-no-inline.h and test-math-vector.h.
14230         (FLOAT): Remove macro.
14231         (FUNC): Likewise.
14232         (MATHCONST): Likewise.
14233         (PRINTF_EXPR): Likewise.
14234         (PRINTF_XEXPR): Likewise.
14235         (PRINTF_NEXPR): Likewise.
14236         (TEST_DOUBLE): Likewise.
14237         (TEST_MATHVEC): Likewise.
14238         (__NO_MATH_INLINES): Likewise.
14239         (CNCT): Likewise.
14240         (CONCAT): Likewise.
14241         (WRAPPER_NAME): Likewise.
14242         (WRAPPER_DECL): Likewise.
14243         (WRAPPER_DECL_ff): Likewise.
14244         (WRAPPER_DECL_fFF): Likewise.
14245         (VECTOR_WRAPPER): Likewise.
14246         (VECTOR_WRAPPER_ff): Likewise.
14247         (VECTOR_WRAPPER_fFF): Likewise.
14248         (VEC_LEN): New macro.
14249         * math/test-float-vlen4.h: Include test-float.h,
14250         test-math-no-inline.h and test-math-vector.h.
14251         (FLOAT): Remove macro.
14252         (FUNC): Likewise.
14253         (MATHCONST): Likewise.
14254         (PRINTF_EXPR): Likewise.
14255         (PRINTF_XEXPR): Likewise.
14256         (PRINTF_NEXPR): Likewise.
14257         (TEST_FLOAT): Likewise.
14258         (TEST_MATHVEC): Likewise.
14259         (__NO_MATH_INLINES): Likewise.
14260         (CNCT): Likewise.
14261         (CONCAT): Likewise.
14262         (WRAPPER_NAME): Likewise.
14263         (WRAPPER_DECL): Likewise.
14264         (WRAPPER_DECL_ff): Likewise.
14265         (WRAPPER_DECL_fFF): Likewise.
14266         (VECTOR_WRAPPER): Likewise.
14267         (VECTOR_WRAPPER_ff): Likewise.
14268         (VECTOR_WRAPPER_fFF): Likewise.
14269         (VEC_LEN): New macro.
14270         * math/test-float-vlen8.h: Include test-float.h,
14271         test-math-no-inline.h and test-math-vector.h.
14272         (FLOAT): Remove macro.
14273         (FUNC): Likewise.
14274         (MATHCONST): Likewise.
14275         (PRINTF_EXPR): Likewise.
14276         (PRINTF_XEXPR): Likewise.
14277         (PRINTF_NEXPR): Likewise.
14278         (TEST_FLOAT): Likewise.
14279         (TEST_MATHVEC): Likewise.
14280         (__NO_MATH_INLINES): Likewise.
14281         (CNCT): Likewise.
14282         (CONCAT): Likewise.
14283         (WRAPPER_NAME): Likewise.
14284         (WRAPPER_DECL): Likewise.
14285         (WRAPPER_DECL_ff): Likewise.
14286         (WRAPPER_DECL_fFF): Likewise.
14287         (VECTOR_WRAPPER): Likewise.
14288         (VECTOR_WRAPPER_ff): Likewise.
14289         (VECTOR_WRAPPER_fFF): Likewise.
14290         (VEC_LEN): New macro.
14291         * math/test-float-vlen16.h: Include test-float.h,
14292         test-math-no-inline.h and test-math-vector.h.
14293         (FLOAT): Remove macro.
14294         (FUNC): Likewise.
14295         (MATHCONST): Likewise.
14296         (PRINTF_EXPR): Likewise.
14297         (PRINTF_XEXPR): Likewise.
14298         (PRINTF_NEXPR): Likewise.
14299         (TEST_FLOAT): Likewise.
14300         (TEST_MATHVEC): Likewise.
14301         (__NO_MATH_INLINES): Likewise.
14302         (CNCT): Likewise.
14303         (CONCAT): Likewise.
14304         (WRAPPER_NAME): Likewise.
14305         (WRAPPER_DECL): Likewise.
14306         (WRAPPER_DECL_ff): Likewise.
14307         (WRAPPER_DECL_fFF): Likewise.
14308         (VECTOR_WRAPPER): Likewise.
14309         (VECTOR_WRAPPER_ff): Likewise.
14310         (VECTOR_WRAPPER_fFF): Likewise.
14311         (VEC_LEN): New macro.
14312         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
14313         test-vec-loop.h.
14314         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14315         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14316         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14317         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14318         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14319         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14320         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14322 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14324         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
14325         (__getlogin_r): ... this.
14327 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14329         [BZ #18594]
14330         * math/s_ccosh.c (__ccosh): Compare with least normal value
14331         instead of comparing class with FP_SUBNORMAL.
14332         * math/s_ccoshf.c (__ccoshf): Likewise.
14333         * math/s_ccoshl.c (__ccoshl): Likewise.
14334         * math/s_cexp.c (__cexp): Likewise.
14335         * math/s_cexpf.c (__cexpf): Likewise.
14336         * math/s_cexpl.c (__cexpl): Likewise.
14337         * math/s_csin.c (__csin): Likewise.
14338         * math/s_csinf.c (__csinf): Likewise.
14339         * math/s_csinh.c (__csinh): Likewise.
14340         * math/s_csinhf.c (__csinhf): Likewise.
14341         * math/s_csinhl.c (__csinhl): Likewise.
14342         * math/s_csinl.c (__csinl): Likewise.
14343         * math/s_ctan.c (__ctan): Likewise.
14344         * math/s_ctanf.c (__ctanf): Likewise.
14345         * math/s_ctanh.c (__ctanh): Likewise.
14346         * math/s_ctanhf.c (__ctanhf): Likewise.
14347         * math/s_ctanhl.c (__ctanhl): Likewise.
14348         * math/s_ctanl.c (__ctanl): Likewise.
14349         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
14350         csin, csinh, ctan and ctanh.
14351         * math/auto-libm-test-out: Regenerated.
14352         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
14353         * sysdeps/i386/fpu/libm-test-ulps: Update.
14354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356 2015-06-24  Roland McGrath  <roland@hack.frob.com>
14358         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
14359         return value is wrong, print the expected value too.
14361 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
14363         [BZ #18585]
14364         * elf/readlib.c (is_gdb_python_file): New.
14365         (process_file): Don't issue errors on filenames with -gdb.py
14366         suffix.
14368 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
14370         * math/auto-libm-test-in: Add more tests of csin and csinh.
14371         * math/auto-libm-test-out: Regenerated.
14372         * math/libm-test.inc (csin_test_data): Remove tests moved to
14373         auto-libm-test-in.
14374         (csinh_test_data): Likewise.
14376         [BZ #18593]
14377         * math/s_csin.c (__csin): Negate before rather than after possibly
14378         overflowing multiplication.
14379         * math/s_csinf.c (__csinf): Likewise.
14380         * math/s_csinh.c (__csinh): Likewise.
14381         * math/s_csinhf.c (__csinhf): Likewise.
14382         * math/s_csinhl.c (__csinhl): Likewise.
14383         * math/s_csinl.c (__csinl): Likewise.
14384         * math/auto-libm-test-in: Add some tests of csin and csinh.
14385         * math/auto-libm-test-out: Regenerated.
14386         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
14387         (csinh_test_data): Likewise.
14388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14390         [BZ #18586]
14391         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
14392         underflow exception for small results.
14394 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
14396         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14397         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
14398         variable and included header.
14399         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
14400         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
14401         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
14402         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
14403         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
14404         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
14405         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
14406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
14407         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
14408         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
14409         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
14410         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
14411         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
14412         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
14413         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
14414         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
14416 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14418         [BZ #16526]
14419         [BZ #16538]
14420         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
14421         (__sin): Force underflow exception for arguments with small
14422         absolute value.
14423         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
14424         (__kernel_sinf): Force underflow exception for arguments with
14425         small absolute value.
14426         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
14427         (__kernel_sincosl): Force underflow exception for arguments with
14428         small absolute value.
14429         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
14430         (__kernel_sinl): Force underflow exception for arguments with
14431         small absolute value.
14432         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
14433         (__kernel_sincosl): Force underflow exception for arguments with
14434         small absolute value.
14435         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
14436         (__kernel_sinl): Force underflow exception for arguments with
14437         small absolute value.
14438         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
14439         (__kernel_sinl): Force underflow exception for arguments with
14440         small absolute value.
14441         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
14442         (__kernel_sinf): Force underflow exception for arguments with
14443         small absolute value.
14444         * math/auto-libm-test-in: Add more tests of sin and sincos.
14445         * math/auto-libm-test-out: Regenerated.
14447         [BZ #18245]
14448         [BZ #18583]
14449         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
14450         (__kernel_standard_l): Use feholdexcept and fesetenv around
14451         conversion to double instead of special-casing overflow and
14452         underflow.
14453         * math/libm-test.inc (fmod_test_data): Add more tests.
14454         (remainder_test_data): Likewise.
14455         (sqrt_test_data): Likewise.
14457 2015-06-23  Torvald Riegel  <triegel@redhat.com>
14459         [BZ #17403]
14460         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
14461         atomic_read_barrier, atomic_write_barrier): Define.
14462         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
14463         atomic_read_barrier, atomic_write_barrier): Define.
14465 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14467         * math/Makefile [$(PERL) != no]
14468         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
14469         dependency on libm-test.stmp below the inclusion of Rules.
14471 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
14473         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
14474         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
14475         and included header.
14476         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
14477         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
14478         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
14479         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
14480         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
14481         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
14482         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
14483         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
14484         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
14485         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
14486         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
14487         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
14488         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
14489         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
14490         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
14491         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
14492         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
14493         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
14494         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
14496 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
14498         [BZ #18371]
14499         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
14500         intermediate but not final result might underflow.
14501         * math/s_csqrtf.c (__csqrtf): Likewise.
14502         * math/s_csqrtl.c (__csqrtl): Likewise.
14503         * math/auto-libm-test-in: Add more tests of csqrt.
14504         * math/auto-libm-test-out: Regenerated.
14505         * sysdeps/i386/fpu/libm-test-ulps: Update.
14507         [BZ #18219]
14508         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
14509         threshold on absolute value of exponent for which scaling is used.
14510         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14511         * math/auto-libm-test-in: Add more tests of exp2.
14512         * math/auto-libm-test-out: Regenerated.
14514 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
14516         [BZ #17977]
14517         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
14518         when initializing interface list, based on the bug analysis
14519         and the patch proposed by Eric Newton.
14520         * resolv/tst-res_hconf_reorder.c: New test.
14521         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
14522         tst-res_hconf_reorder.
14523         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
14524         and $(shared-thread-library).
14525         (tst-res_hconf_reorder-ENV): New variable.
14527         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
14528         in comment.
14530 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
14532         [BZ #16353]
14533         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
14534         (__expm1): Force underflow exception for arguments with small
14535         absolute value.
14536         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
14537         (__expm1f): Force underflow exception for arguments with small
14538         absolute value.
14539         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
14540         (__expm1): Force underflow exception for arguments with small
14541         absolute value.
14542         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
14543         (__expm1f): Force underflow exception for arguments with small
14544         absolute value.
14545         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
14546         Check for small arguments before calling __expm1.
14547         * math/auto-libm-test-in: Do not mark underflow exceptions as
14548         possibly missing for bug 16353.
14549         * math/auto-libm-test-out: Regenerated.
14551 2015-06-22  Andreas Schwab  <schwab@suse.de>
14553         [BZ #18513]
14554         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
14555         PTR queries.
14557 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
14559         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
14561         * string/strcoll_l.c: Remove unused struct element idxnow.
14563 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
14565         [BZ #18569]
14566         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
14567         underflow and return argument in case of subnormal argument.
14568         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
14569         Likewise.
14570         * math/auto-libm-test-in: Add more tests of expm1.
14571         * math/auto-libm-test-out: Regenerated.
14573         [BZ #16361]
14574         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14575         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14576         tiny results.
14577         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
14578         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
14579         tiny results.
14580         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
14581         mark underflow exceptions as possibly missing for bug 16361.
14582         * math/auto-libm-test-out: Regenerated.
14584 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
14586         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
14587         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
14588         Remove variable.
14589         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14590         (test-xfail-XOPEN2K8/utmpx.h/conform).
14592         * conform/conformtest.pl ($xerrors): New variable.
14593         (note_error): New function.
14594         (compiletest): New argument $xfail.  Use not_error.
14595         (runtest): Likewise.
14596         (top level): Handle xfail- lines.  Update calls to compiletest and
14597         runtest.  Handle xfail- and optional- in headers listed with
14598         allow-header.
14599         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
14600         (O_EXEC): Likewise.
14601         (O_SEARCH): Likewise.
14602         * conform/data/stropts.h-data (ioctl): Likewise.
14603         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
14604         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
14605         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
14606         (msghdr.msg_controllen): Likewise.
14607         (cmsghdr.cmsg_len): Likewise.
14608         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
14609         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
14610         variable.
14611         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14612         (test-xfail-XPG4/stropts.h/conform): Likewise.
14613         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14614         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14615         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14616         (test-xfail-UNIX98/stropts.h/conform): Likewise.
14617         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14618         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14619         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14620         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14621         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14622         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14623         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14624         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14625         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14626         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14627         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14628         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14629         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14630         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14631         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14633 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14635         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
14636         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
14637         definitions for proper unfolding of __MATHDECL_VEC.
14639 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14641         * benchtests/bench-strcoll.c:
14642         Include string.h.
14643         (main): Remove unused variable res.
14645 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14647         * timezone/Makefile (%/UTC %/Universal):
14648         Generate test-result files for UTC and Universal.
14650 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14652         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14654 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
14656         [BZ #16350]
14657         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
14658         for arguments with small absolute value.
14659         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
14660         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
14661         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
14662         (__asinh): Force underflow exception for arguments with small
14663         absolute value.
14664         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
14665         (__asinhf): Force underflow exception for arguments with small
14666         absolute value.
14667         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
14668         (__asinhl): Force underflow exception for arguments with small
14669         absolute value.
14670         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
14671         (__asinhl): Force underflow exception for arguments with small
14672         absolute value.
14673         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
14674         (__asinhl): Force underflow exception for arguments with small
14675         absolute value.
14676         * math/auto-libm-test-in: Do not mark underflow exceptions as
14677         possibly missing for bug 16350.
14678         * math/auto-libm-test-out: Regenerated.
14680         * include/bits/ipc.h: Remove file.
14681         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
14682         variable.
14683         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14684         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14685         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14686         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14687         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14688         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14689         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14690         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14691         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14693         * math/auto-libm-test-in: Remove spurious underflow allowance for
14694         tests of cexp.
14695         * math/auto-libm-test-out: Regenerated.
14697         [BZ #18558]
14698         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
14699         unconditional definition.
14700         (MCAST_BLOCK_SOURCE): Likewise.
14701         (MCAST_UNBLOCK_SOURCE): Likewise.
14702         (MCAST_LEAVE_GROUP): Likewise.
14703         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14704         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14705         (MCAST_MSFILTER): Likewise.
14706         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
14707         Remove variable.
14708         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14709         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14710         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14711         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14712         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14714 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
14716         * NEWS: Mention addition of x86_64 vector sincosf.
14717         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
14718         * math/test-float-vlen4.h: Likewise.
14719         * math/test-float-vlen8.h: Likewise.
14720         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14721         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
14722         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14723         * sysdeps/x86_64/fpu/Versions: New versions added.
14724         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14725         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14726         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14727         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
14728         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
14729         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
14730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
14731         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
14732         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
14733         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
14734         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
14735         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
14736         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
14737         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
14738         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
14739         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
14740         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
14741         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
14742         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14743         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14744         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14745         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14746         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14747         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14749         * NEWS: Mention addition of x86_64 vector sincos.
14750         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
14751         * math/math.h (__MATHDECL_VEC): New macro.
14752         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
14753         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
14754         declaration under condition.
14755         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
14756         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
14757         TEST_VEC_LOOP change.
14758         * math/test-double-vlen4.h: Likewise.
14759         * math/test-double-vlen8.h: Likewise.
14760         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
14761         * math/test-float-vlen4.h: Likewise.
14762         * math/test-float-vlen8.h: Likewise.
14763         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14764         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
14765         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14766         * sysdeps/x86_64/fpu/Versions: New versions added.
14767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14768         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14769         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14770         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
14771         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
14772         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
14773         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
14774         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
14775         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
14776         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
14777         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
14778         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
14779         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
14780         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
14781         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
14782         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
14783         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
14784         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
14785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
14786         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
14787         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
14788         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
14789         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
14790         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
14792         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
14793         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
14794         redirections for powf.
14795         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
14796         * sysdeps/x86_64/fpu/Versions: New versions added.
14797         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
14798         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
14799         Added build of SSE, AVX2 and AVX512 IFUNC versions.
14800         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
14801         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
14802         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
14803         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
14804         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
14805         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
14806         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
14807         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
14808         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
14809         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
14810         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
14811         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
14812         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
14813         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
14814         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
14815         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
14816         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
14817         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
14818         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
14819         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
14820         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
14821         * math/test-float-vlen16.h: Fixed 2 argument macro.
14822         * math/test-float-vlen4.h: Likewise.
14823         * math/test-float-vlen8.h: Likewise.
14824         * NEWS: Mention addition of x86_64 vector powf.
14826 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
14828         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14829         and redefine.
14830         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
14831         and redefine.
14832         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
14833         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
14834         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14836         [BZ #18553]
14837         * resource/getpriority.c (getpriority): Rename to __getpriority
14838         and define as weak alias of __getpriority.
14839         * resource/setpriority.c (setpriority): Rename to __setpriority
14840         and define as weak alias of __setpriority.
14841         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
14842         __getpriority and define as weak alias of __getpriority.
14843         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
14844         __setpriority and define as weak alias of __setpriority.
14845         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
14846         strong name.
14847         (setpriority): Use __setpriority as strong name.
14848         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
14849         __getpriority and define as weak alias of __getpriority.
14850         * include/sys/resource.h (__getpriority): Declare.  Use
14851         libc_hidden_proto.
14852         (__setpriority): Likewise.
14853         (getpriority): Don't use libc_hidden_proto.
14854         (setpriority): Likewise.
14855         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
14856         getpriority.  Call __setpriority instead of setpriority.
14857         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
14858         Remove variable.
14860         [BZ #18547]
14861         * misc/getttyent.c (getttynam): Rename to __getttynam and define
14862         as weak alias of __getttynam.  Use prototype function definition.
14863         Call __setttyent, __getttyent and __endttyent instead of
14864         setttyent, getttyent and endttyent.
14865         (getttyent): Rename to __getttyent and define as weak alias of
14866         __getttyent.  Call __setttyent instead of setttyent.  Call
14867         __fgets_unlocked instead of fgets_unlocked.
14868         (setttyent): Rename to __setttyent and define as weak alias of
14869         __setttyent.
14870         (endttyent): Rename to __endttyent and define as weak alias of
14871         __endttyent.
14872         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
14873         (__setttyent): Likewise.
14874         (__endttyent): Likewise.
14875         (getttyent): Don't use libc_hidden_proto.
14876         (setttyent): Likewise.
14877         (endttyent): Likewise.
14878         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
14879         __endttyent instead of setttyent, getttyent and endttyent.
14880         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
14881         Remove variable.
14883         [BZ #18546]
14884         * socket/recv.c (__recv): Use libc_hidden_def.
14885         * socket/socket.c (__socket): Likewise.
14886         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14887         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14888         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
14889         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
14890         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
14891         libc_hidden_def.
14892         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
14893         libc_hidden_weak.
14894         * include/sys/socket.h (__socket): Do not use attribute_hidden.
14895         Use libc_hidden_proto.
14896         (__recv): Likewise.
14897         * socket/Versions (libc): Export __recv and __socket at version
14898         GLIBC_PRIVATE.
14899         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
14900         instead of recv.
14901         (init_mq_netlink): Call __socket instead of socket.
14902         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
14903         Remove variable.
14905         [BZ #18545]
14906         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
14907         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
14908         hidden_weak.
14909         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
14910         define as alias of __mq_timedsend.  Use hidden_weak.
14911         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
14912         __mq_timedsend as strong name.
14913         (mq_timedreceive): Use __mq_timedreceive as strong name.
14914         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
14915         (__mq_timedreceive): Likewise.
14916         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
14917         __mq_timedreceive instead of mq_timedreceive.
14918         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
14919         instead of mq_timedsend.
14920         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
14921         Remove variable.
14923         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
14924         hidden_def and hidden_weak instead of libc_hidden_def and
14925         libc_hidden_weak.
14926         (top level): Refer to hidden_def in comment.
14927         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
14928         macro.  Use it instead of libc_hidden_def.
14929         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
14930         specify __GI_* name explicitly.
14931         (mq_timedreceive): Likewise.
14932         (mq_setattr): Likewise.
14934         [BZ #18544]
14935         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
14936         __pthread_barrier_init and define as weak alias of
14937         __pthread_barrier_init.
14938         * sysdeps/sparc/nptl/pthread_barrier_init.c
14939         (pthread_barrier_init): Likewise.
14940         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
14941         __pthread_barrier_wait and define as weak alias of
14942         __pthread_barrier_wait.
14943         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14944         (pthread_barrier_wait): Likewise.
14945         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14946         (pthread_barrier_wait): Likewise.
14947         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
14948         (pthread_barrier_wait): Likewise.
14949         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
14950         (pthread_barrier_wait): Likewise.
14951         * nptl/Versions (libpthread): Export __pthread_barrier_init and
14952         __pthread_barrier_wait at version GLIBC_PRIVATE.
14953         * include/pthread.h (__pthread_barrier_init): Declare.
14954         (__pthread_barrier_wait): Likewise.
14955         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
14956         Call __pthread_barrier_wait instead of pthread_barrier_wait.
14957         (helper_thread): Likewise.
14958         (init_mq_netlink): Call __pthread_barrier_init instead of
14959         pthread_barrier_init.
14961         [BZ #18542]
14962         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
14963         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
14964         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
14965         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
14966         vswscanf.
14967         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
14968         Remove variable.
14970         [BZ #18540]
14971         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
14972         strong alias of _IO_fflush.  Use libc_hidden_def.
14973         * libio/iofflush_u.c (fflush_unlocked): Rename to
14974         __fflush_unlocked and define as weak alias of __fflush_unlocked.
14975         Use libc_hidden_weak.
14976         * include/stdio.h (__fflush_unlocked): Declare.  Use
14977         libc_hidden_proto.
14978         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
14979         fflush_unlocked.
14980         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
14981         Remove variable.
14983         [BZ #18539]
14984         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
14985         define as weak alias of __addseverity.
14986         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
14987         Remove variable.
14988         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14989         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14990         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14992         [BZ #18536]
14993         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
14994         (__tfind): Likewise.
14995         (__tdelete): Likewise.
14996         (__twalk): Likewise.
14997         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
14998         __twalk to GLIBC_PRIVATE.
14999         * include/search.h (__tsearch): Use libc_hidden_proto.
15000         (__tfind): Likewise.
15001         (__tdelete): Likewise.
15002         (__twalk): Likewise.
15003         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
15004         Call __tdelete instead of tdelete.
15005         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
15006         tfind.  Call __tsearch instead of tsearch.
15007         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
15008         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
15009         Remove variable.
15010         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
15012         [BZ #18534]
15013         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
15014         (dprintf): Define as a weak alias of __dprintf, not a strong
15015         alias.
15016         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
15017         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
15018         dprintf.
15019         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
15020         Remove variable.
15021         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
15022         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
15024         [BZ #18533]
15025         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
15026         not a strong alias.
15027         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
15028         Remove variable.
15030         [BZ #18532]
15031         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
15032         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
15033         (in6addr_loopback): Rename to __in6addr_loopback and define as
15034         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
15035         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
15036         libc_hidden_proto.
15037         (__in6addr_any): Likewise.
15038         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
15039         in6addr_any.
15040         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
15041         variable.
15042         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
15044 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
15046         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
15047         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
15048         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15049         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15050         redirections for pow.
15051         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15052         * sysdeps/x86_64/fpu/Versions: New versions added.
15053         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15054         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15055         build of SSE, AVX2 and AVX512 IFUNC versions.
15056         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
15057         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
15058         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
15059         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
15060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
15061         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
15062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
15063         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
15064         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
15065         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
15066         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
15067         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
15068         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
15069         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
15070         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15071         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15072         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15073         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15074         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15075         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15076         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15077         * NEWS: Mention addition of x86_64 vector pow.
15079         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15080         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15081         redirections for expf.
15082         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15083         * sysdeps/x86_64/fpu/Versions: New versions added.
15084         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15085         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15086         build of SSE, AVX2 and AVX512 IFUNC versions.
15087         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
15088         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
15089         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
15090         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
15091         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
15092         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
15093         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
15094         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
15095         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
15096         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
15097         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
15098         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
15099         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
15100         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15101         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15102         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15103         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15104         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15105         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15106         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15107         * NEWS: Mention addition of x86_64 vector expf.
15109         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
15110         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
15111         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15112         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15113         redirections for exp.
15114         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15115         * sysdeps/x86_64/fpu/Versions: New versions added.
15116         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15117         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15118         build of SSE, AVX2 and AVX512 IFUNC versions.
15119         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
15120         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
15121         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
15122         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
15123         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
15124         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
15125         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
15126         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
15127         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
15128         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
15129         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
15130         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
15131         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
15132         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15133         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15134         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15135         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15136         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15137         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15138         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15139         * NEWS: Mention addition of x86_64 vector exp.
15141         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15142         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15143         redirections for logf.
15144         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15145         * sysdeps/x86_64/fpu/Versions: New versions added.
15146         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15147         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15148         build of SSE, AVX2 and AVX512 IFUNC versions.
15149         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
15150         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
15151         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
15152         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
15153         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
15154         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
15155         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
15156         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
15157         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
15158         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
15159         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
15160         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
15161         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
15162         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15163         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15164         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15165         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15166         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15167         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15168         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15169         * NEWS: Mention addition of x86_64 vector logf.
15171         * bits/libm-simd-decl-stubs.h: Added stubs for log.
15172         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
15173         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15174         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
15175         redirections for log.
15176         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15177         * sysdeps/x86_64/fpu/Versions: New versions added.
15178         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15180         build of SSE, AVX2 and AVX512 IFUNC versions.
15181         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
15182         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
15183         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
15184         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
15185         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
15186         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
15187         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
15188         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
15189         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
15190         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
15191         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
15192         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
15193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
15194         test.
15195         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15197         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15198         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15199         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15200         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15201         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15202         * NEWS: Mention addition of x86_64 vector log.
15204 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15206         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
15207         cfi_adjust_cfa_offset argument.
15208         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
15209         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
15211         [BZ #18034]
15212         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
15213         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
15214         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
15215         ordering using ldar.
15216         (_dl_tlsdesc_dynamic): Likewise.
15217         (_dl_tlsdesc_return_lazy): Likewise.
15218         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
15219         relaxed atomics instead of volatile and synchronize with release store.
15220         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
15221         volatile.
15222         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15224 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
15226         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
15227         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
15228         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15229         * sysdeps/x86_64/fpu/Versions: New versions added.
15230         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15231         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
15232         build of SSE, AVX2 and AVX512 IFUNC versions.
15233         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
15234         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
15235         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
15236         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
15237         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
15238         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
15239         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
15240         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
15241         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
15242         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
15243         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
15244         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
15245         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
15246         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
15247         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
15248         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
15249         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
15250         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
15251         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
15252         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
15253         * NEWS: Mention addition of x86_64 vector sinf.
15255 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
15257         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
15258         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
15259         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
15260         Remove variable.
15261         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
15262         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15264 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15266         [BZ #18530]
15267         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
15268         strong alias of _IO_fputs.  Use libc_hidden_def.
15269         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
15270         and define as weak alias of __fputs_unlocked.  Use
15271         libc_hidden_weak.
15272         * include/stdio.h (__fputs_unlocked): Declare.  Use
15273         libc_hidden_proto.
15274         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
15275         fputs_unlocked.
15277         [BZ #18529]
15278         * resolv/netdb.h [__USE_POSIX]: Change condition to
15279         [__USE_XOPEN2K].
15280         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
15281         not expect.
15282         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
15283         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
15284         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
15285         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
15286         [XPG4 || UNIX98] (AI_ALL): Likewise.
15287         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
15288         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
15289         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
15290         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
15291         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
15292         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
15293         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
15294         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
15295         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
15296         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
15297         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
15298         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
15299         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
15300         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
15301         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
15302         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15303         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
15304         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
15305         [XPG4 || UNIX98] (gai_strerror): Likewise.
15306         [XPG4 || UNIX98] (getaddrinfo): Likewise.
15307         [XPG4 || UNIX98] (getnameinfo): Likewise.
15309         [BZ #18528]
15310         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
15311         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
15312         __USE_XOPEN2K8].
15313         (getgrent): Likewise.
15314         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
15315         expect.
15316         [XPG3 || POSIX2008] (endgrent): Likewise.
15317         [XPG3] (setgrent): Likewise.
15318         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
15319         variable.
15320         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
15322         [BZ #18527]
15323         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
15324         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
15325         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
15326         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
15327         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
15328         * include/unistd.h (__getlogin_r): Declare.  Use
15329         libc_hidden_proto.
15330         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
15331         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
15332         variable.
15333         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
15334         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
15335         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
15337 2015-06-12  Martin Sebor  <msebor@redhat.com>
15339         [BZ #18512]
15340         * Makerules (check-install-supported): New target.
15341         (install): Add check-install-supported as a dependency.
15342         * manual/install.texi (Installing the C Library): Document
15343         that overriding prefix and exec_prefix is not supported.
15344         Mention DESTDIR.
15345         * INSTALL: Regenerate from the above.
15347 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
15349         [BZ #18519]
15350         * posix/Versions (libc): Export __libc_pread at version
15351         GLIBC_PRIVATE.
15352         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
15353         instead of pread.
15354         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
15355         variable.
15357         [BZ #18522]
15358         * misc/efgcvt_r.c
15359         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
15360         (cvt_symbol): Use weak_alias instead of strong_alias.
15361         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
15362         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
15363         Remove variable.
15364         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
15365         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
15367         [BZ #18520]
15368         * inet/herrno.c (h_errno): Rename to __h_errno.
15369         (__libc_h_errno): Define as alias of __h_errno not h_errno.
15370         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
15371         to __h_errno instead of h_errno.
15372         * nptl/herrno.c (h_errno): Rename to __h_errno.
15373         (__h_errno_location): Refer to __h_errno not h_errno.
15374         * resolv/Versions (h_errno): Rename to __h_errno.
15375         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
15376         Remove variable.
15377         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15379 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
15381         * configure.ac: More strict check for AVX512 assembler support.
15382         * configure: Regenerated.
15384         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
15385         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
15386         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15387         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
15388         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15389         * sysdeps/x86_64/fpu/Versions: New versions added.
15390         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15391         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15392         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15393         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
15394         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
15395         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
15396         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
15397         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
15398         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
15399         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
15400         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
15401         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
15402         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
15403         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
15404         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
15405         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
15406         test.
15407         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
15408         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
15409         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
15410         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
15411         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
15412         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
15413         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
15414         * NEWS: Mention addition of x86_64 vector sin.
15416 2015-06-11  Florian Weimer  <fweimer@redhat.com>
15418         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
15419         comment.
15421 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15423         [BZ #18479]
15424         * nptl/pt-interp.c: New file.
15425         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
15426         Add pt-interp.
15427         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
15428         $(common-objpfx)runtime-linker.h.
15430 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
15432         * Makeconfig (+interp): Remove unused variable.
15433         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
15434         only.  Depend on $(common-objpfx)runtime-linker.h instead of
15435         $(elf-objpfx)runtime-linker.h.
15436         ($(elf-objpfx)runtime-linker.h): Rename to
15437         $(common-objpfx)runtime-linker.h and move ...
15438         * Makerules [$(build-shared) = yes]: ... here.
15439         * elf/interp.c: Include <runtime-linker.h> instead of
15440         <elf/runtime-linker.h>.
15442 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15444         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
15445         (__gettimeofday_syscall): Remove vsyscall fallback.
15446         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
15447         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
15448         Add syscall fallback function.
15449         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
15450         if vDSO is not present.
15451         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
15452         fallback function.
15453         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
15454         present.
15455         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
15456         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
15458 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
15460         [BZ #18497]
15461         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
15462         of wcscmp.
15463         (wcscmp): Define as weak alias of WCSCMP.
15464         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
15465         wcscoll.
15466         (USE_HIDDEN_DEF): Define.
15467         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
15468         __wcscoll.  Don't use libc_hidden_weak.
15469         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
15470         wcscmp.
15471         * sysdeps/i386/i686/multiarch/wcscmp-c.c
15472         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
15473         __GI_wcscmp.
15474         (weak_alias): Undefine and redefine.
15475         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
15476         __wcscmp and define as weak alias of __wcscmp.
15477         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
15478         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
15479         (__wcscoll): Likewise.
15480         (wcscmp): Don't use libc_hidden_proto.
15481         (wcscoll): Likewise.
15482         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
15483         wcscoll.
15484         * posix/regexec.c (check_node_accept_bytes): Likewise.
15485         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
15486         variable.
15487         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
15488         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
15490         [BZ #18507]
15491         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
15492         __fstatvfs and define as weak alias of __fstatvfs.  Use
15493         libc_hidden_weak.
15494         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
15495         and define as weak alias of __statvfs.  Use libc_hidden_weak.
15496         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
15497         Define as alias of __fstatvfs, not fstatvfs.
15498         (fstatvfs64): Likewise.
15499         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
15500         Define as alias of __statvfs, not statvfs.
15501         (statvfs64): Likewise.
15502         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
15503         Remove variable.
15505 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
15508         (HAVE_GETCPU_VSYSCALL): Define.
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
15510         (HAVE_GETCPU_VSYSCALL): Likewise.
15511         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
15512         * sysdeps/unix/sysv/linux/sched_getcpu.c
15513         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
15514         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
15515         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
15516         prototype.
15517         * sysdeps/unix/sysv/linux/x86_64/init-first.c
15518         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
15519         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
15520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
15521         Define.
15522         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
15523         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15524         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
15525         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
15527 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
15529         * sysdeps/x86_64/fpu/Makefile: New file.
15530         * sysdeps/x86_64/fpu/Versions: New file.
15531         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
15532         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
15533         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
15534         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
15535         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
15536         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
15537         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
15538         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
15539         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
15540         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
15541         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
15542         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
15543         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
15544         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15545         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15546         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
15547         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
15548         * sysdeps/x86_64/configure.ac: Options for libmvec build.
15549         * sysdeps/x86_64/configure: Regenerated.
15550         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
15551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
15552         * manual/install.texi (Configuring and compiling): Document
15553         --disable-mathvec.
15554         * INSTALL: Regenerated.
15555         * NEWS: Mention addition of libmvec and x86_64 vector cos.
15557         * math/Makefile: Added rules for vector tests.
15558         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
15559         declaration under condition.
15560         * math/test-double-vlen2.h: New file.
15561         * math/test-double-vlen4.h: New file.
15562         * math/test-double-vlen8.h: New file.
15563         * math/test-vec-loop.h: Added initialization macro.
15564         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
15565         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
15566         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
15567         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
15568         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
15569         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
15570         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
15571         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
15572         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
15573         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
15574         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
15576         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
15577         * sysdeps/x86_64/fpu/Versions: New versions added.
15578         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
15579         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
15580         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
15581         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
15582         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
15583         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
15584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
15585         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
15586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
15587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
15588         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
15589         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
15590         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
15591         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
15592         Added build of SSE, AVX2 and AVX512 IFUNC versions.
15593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
15594         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
15595         * NEWS: Mention addition of x86_64 vector cosf.
15597         * math/Makefile: Added CFLAGS for new tests.
15598         * math/test-float-vlen16.h: New file.
15599         * math/test-float-vlen4.h: New file.
15600         * math/test-float-vlen8.h: New file.
15601         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
15602         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
15603         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15604         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
15605         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
15606         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
15607         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
15608         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
15609         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
15610         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
15611         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
15613 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
15615         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
15616         * locale/programs/ld-ctype.c: Likewise.
15618 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
15620         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
15621         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
15622         bit_ZMM16_31_state): New macro.
15623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15624         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
15626 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
15628         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
15630 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
15632         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
15634 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
15636         [BZ #18498]
15637         * libio/memstream.c (open_memstream): Rename to __open_memstream
15638         and define as weak alias of __open_memstream.
15639         * include/stdio.h (__open_memstream): Declare.  Use
15640         libc_hidden_proto.
15641         (open_memstream): Don't use libc_hidden_proto.
15642         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
15643         open_memstream.
15644         * posix/getopt.c (_getopt_internal_r): Likewise.
15645         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
15646         variable.
15647         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15648         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
15649         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
15651         [BZ #18496]
15652         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
15653         instead of wcrtomb.
15655         [BZ #18483]
15656         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
15657         [__USE_XOPEN2K8].  Remove redundant #endif.
15658         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
15659         Remove redundant #if.
15660         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
15661         Remove variable.
15662         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
15663         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
15665         [BZ #18495]
15666         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
15667         (__iswlower): Likewise.
15668         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
15669         (__iswlower): Likewise.
15670         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
15671         instead of towlower.
15672         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
15673         instead of iswlower.  Call __towupper instead of towupper.
15674         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
15675         instead of iswalnum.
15677 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15679         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
15680         errors to stderr.
15682 2015-06-05  Florian Weimer  <fweimer@redhat.com>
15684         [BZ #15661]
15685         [BZ #17322]
15686         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15687         Check for overflow properly.  Check for O_APPEND.  Ignore large
15688         file system block sizes.  Add comments about problems.
15689         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
15690         * manual/filesys.texi (Storage Allocation): New node.
15692 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15694         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
15695         cancellable syscalls.
15696         (SYS_ify): Add guard to no redefine it.
15697         (INLINE_SYSCALL): Likewise.
15698         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
15699         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
15700         SYSCALL_CANCEL instead.
15701         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
15702         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
15703         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
15704         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
15705         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
15706         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
15707         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
15708         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
15709         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
15710         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
15711         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
15712         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
15713         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
15714         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
15715         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
15716         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
15717         Likewise.
15718         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
15719         (__libc_pread64): Likewise.
15720         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
15721         (__libc_preadv): Likewise.
15722         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
15723         (__libc_readv64): Likewise.
15724         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
15725         (__libc_pwrite): Likewise.
15726         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
15727         (__libc_pwrite64): Likewise.
15728         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
15729         (__libc_pwritev): Likewise.
15730         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
15731         (__libc_pwritev64): Likewise.
15732         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
15733         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
15734         (sync_file_range): Likewise.
15735         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
15736         Likewise.
15737         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
15738         Likewise.
15739         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
15740         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
15741         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
15742         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
15743         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
15744         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
15745         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
15746         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
15747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
15748         Likewise.
15749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
15750         (__libc_read64): Likewise.
15751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
15752         Likewise.
15753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
15754         Likewise.
15755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
15756         Likewise.
15757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
15758         Likewise.
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
15760         (__libc_pread64): Likewise.
15761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
15762         Likewise.
15763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
15764         (__libc_pwrite64): Likewise.
15765         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
15766         (sync_file_range): Likewise.
15767         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
15768         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
15769         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
15770         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
15771         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
15772         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15773         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15774         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
15775         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
15776         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15777         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
15778         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
15779         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
15780         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
15781         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
15782         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
15783         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
15784         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
15785         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
15786         Likewise.
15787         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
15788         Likewise.
15789         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
15790         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
15791         Likewise.
15792         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
15793         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
15794         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
15795         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
15796         Likewise.
15797         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
15798         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
15799         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
15800         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
15801         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
15803 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
15805         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
15806         Include dl-vdso.
15807         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
15808         Use VDSO routines for gettimeofday, clock_gettime if
15809         available.
15810         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
15811         Declare VDSO symbols.
15812         * sysdeps/unix/sysv/linux/arm/sysdep.h:
15813         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
15814         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
15815         * sysdeps/unix/sysv/linux/arm/Versions: Add
15816         __vdso_clock_gettime.
15818 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15820         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
15821         be an inline implementation regardless of library is built within.
15822         (open_not_cancel_2): Likewise.
15823         (__read_nocancel): Likewise.
15824         (__write_nocancel): Likewise.
15825         (openat_not_cancel): Likewise.
15826         (openat_not_cancel_3): Likewise.
15827         (openat64_not_cancel): Likewise.
15828         (openat64_not_cancel_3): Likewise.
15829         (__close_nocancel): Likewise.
15830         (pause_not_cancel): Likewise.
15831         (nanosleep_not_cancel): Likewise.
15832         (sigsuspend_not_cancel): Likewise.
15834 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15836         [BZ #14958]
15837         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
15838         wake-up.
15839         (__pthread_rwlock_rdlock_slow): Likewise.
15840         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
15841         Likewise.
15842         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
15843         Likewise.
15844         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
15845         * nptl/tst-rwlock16.c: New file.
15846         * nptl/Makefile (tests): Add new test.
15848 2015-06-04  Torvald Riegel  <triegel@redhat.com>
15850         [BZ #18324]
15851         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
15852         missing wake-up of readers.
15853         * nptl/tst-rwlock15.c: New file.
15854         * nptl/Makefile (tests): Add new test.
15856 2015-06-03  Roland McGrath  <roland@hack.frob.com>
15858         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
15859         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
15860         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
15861         and __nacl_supply_interface_rtld.
15862         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
15863         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
15864         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
15865         Add __nacl_supply_interface_rtld.
15866         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
15868 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15870         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
15871         isfinite.
15872         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15873         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
15875 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
15877         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
15878         __signbit* with standard C99 macros.
15879         * math/e_exp10l.c: Likewise.
15880         * math/e_exp2l.c: Likewise.
15881         * math/e_scalb.c: Likewise.
15882         * math/e_scalbf.c: Likewise.
15883         * math/e_scalbl.c: Likewise.
15884         * math/s_ldexp.c: Likewise.
15885         * math/s_ldexpf.c: Likewise.
15886         * math/s_ldexpl.c: Likewise.
15887         * math/w_atan2.c: Likewise.
15888         * math/w_atan2f.c: Likewise.
15889         * math/w_atan2l.c: Likewise.
15890         * math/w_cosh.c: Likewise.
15891         * math/w_coshf.c: Likewise.
15892         * math/w_coshl.c: Likewise.
15893         * math/w_exp10.c: Likewise.
15894         * math/w_exp10f.c: Likewise.
15895         * math/w_exp10l.c: Likewise.
15896         * math/w_exp2.c: Likewise.
15897         * math/w_exp2f.c: Likewise.
15898         * math/w_exp2l.c: Likewise.
15899         * math/w_fmod.c: Likewise.
15900         * math/w_fmodf.c: Likewise.
15901         * math/w_fmodl.c: Likewise.
15902         * math/w_hypot.c: Likewise.
15903         * math/w_hypotf.c: Likewise.
15904         * math/w_hypotl.c: Likewise.
15905         * math/w_jnl.c: Likewise.
15906         * math/w_lgamma.c: Likewise.
15907         * math/w_lgamma_r.c: Likewise.
15908         * math/w_lgammaf.c: Likewise.
15909         * math/w_lgammaf_r.c: Likewise.
15910         * math/w_lgammal.c: Likewise.
15911         * math/w_lgammal_r.c: Likewise.
15912         * math/w_pow.c: Likewise.
15913         * math/w_powf.c: Likewise.
15914         * math/w_powl.c: Likewise.
15915         * math/w_remainder.c: Likewise.
15916         * math/w_remainderf.c: Likewise.
15917         * math/w_remainderl.c: Likewise.
15918         * math/w_scalb.c: Likewise.
15919         * math/w_scalbf.c: Likewise.
15920         * math/w_scalbl.c: Likewise.
15921         * math/w_scalbln.c: Likewise.
15922         * math/w_scalblnf.c: Likewise.
15923         * math/w_scalblnl.c: Likewise.
15924         * math/w_sinh.c: Likewise.
15925         * math/w_sinhf.c: Likewise.
15926         * math/w_sinhl.c: Likewise.
15927         * math/w_tgamma.c: Likewise.
15928         * math/w_tgammaf.c: Likewise.
15929         * math/w_tgammal.c: Likewise.
15930         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
15931         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
15932         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15933         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15934         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15935         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
15936         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
15937         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
15938         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
15939         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
15940         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
15941         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15943         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
15944         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
15945         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
15946         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
15947         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
15948         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
15949         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
15950         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
15951         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
15952         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15953         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
15954         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
15955         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15956         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
15957         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
15958         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
15959         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
15960         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
15961         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
15962         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
15963         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
15964         * stdio-common/printf_fp.c: Likewise.
15965         * stdio-common/printf_fphex.c: Likewise.
15966         * stdio-common/printf_size.c: Likewise.
15968 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
15970         [BZ #18470]
15971         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
15972         strnlen.
15973         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
15974         Remove variable.
15975         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
15976         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
15977         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
15978         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
15979         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
15980         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
15981         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
15982         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
15983         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
15984         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
15986         [BZ #18468]
15987         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
15988         weak alias of __wmemchr.  Use libc_hidden_weak.
15989         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
15990         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
15991         instead of wmemchr.
15993 2015-06-02  Roland McGrath  <roland@hack.frob.com>
15995         [BZ #18383]
15996         * elf/tst-tlsalign-extern.c: New file.
15997         * elf/tst-tlsalign-extern-static.c: New file.
15998         * elf/tst-tlsalign-vars.c: New file.
15999         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
16000         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
16001         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
16002         ($(objpfx)tst-tlsalign-extern-static): Likewise.
16003         (test-xfail-tst-tlsalign-extern-static): New variable.
16005 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
16007         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
16008         Use variable name _sc_err instead of err.
16009         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
16010         instead of ret.
16011         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
16012         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
16013         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
16014         (INLINE_SYSCALL): Likewise.
16016         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
16017         * include/string.h (__strnlen): Use libc_hidden_proto.
16018         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
16019         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
16020         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
16021         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
16022         (libc_hidden_def): Undefine and redefine.
16023         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
16024         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
16025         __GI_strnlen.
16026         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
16027         libc_hidden_def.
16028         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
16030         [BZ #18469]
16031         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
16032         weak alias of __towlower.  Use libc_hidden_weak.
16033         (towupper): Rename to __towupper and define as weak alias of
16034         __towupper.  Use libc_hidden_weak.
16035         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
16036         (__towupper): Likewise.
16037         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
16038         __towlower instead of towlower.
16040 2015-06-02  Roland McGrath  <roland@hack.frob.com>
16042         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
16043         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
16045 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16047         * sysdeps/aarch64/libm-test-ulps: Update.
16049 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16051         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
16052         Define.
16053         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16054         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
16055         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16056         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16057         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
16058         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
16059         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
16061 2015-06-01  Martin Sebor  <msebor@redhat.com>
16063         [BZ #18116]
16064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
16065         (__setcontext): Use extended four-operand version of mtsf whenever
16066         possible.
16067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
16068         (__novec_swapcontext): Likewise.
16070 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16072         * benchtests/scripts/compare_bench.py: New file.
16073         * benchtests/scripts/import_bench.py (mean): New function.
16074         (split_list): Likewise.
16075         (do_for_all_timings): Likewise.
16076         (compress_timings): Likewise.
16078         * benchtests/scripts/import_bench.py: New file.
16079         * benchtests/scripts/validate_benchout.py: Import import_bench
16080         instead of jsonschema.
16081         (validate_bench): Remove function.
16082         (main): Use import_bench.
16084 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
16086         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
16087         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
16089 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16093 2015-05-28  Roland McGrath  <roland@hack.frob.com>
16095         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
16096         set THREAD_SELF->tid to a magic value and futex-wake it.
16097         Pass its address to the thread_exit system call.
16098         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
16099         bit is clear.
16100         * sysdeps/nacl/lowlevellock.h: New file.
16101         * sysdeps/nacl/lll_timedwait_tid.c: New file.
16103         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
16104         Add TIMEOUT to current time, don't subtract it.
16106 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
16108         [BZ #2981]
16109         [BZ #18422]
16110         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
16111         ($(objpfx)tst-audit2.out): Also depend on
16112         $(objpfx)tst-auditmod9b.so.
16113         * elf/tst-audit2.c: Include <dlfcn.h>.
16114         (calloc_called): New.
16115         (calloc): Allow to be called more than once.
16116         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
16118 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
16120         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
16121         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
16123 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
16125         * stdlib/monetary.h: Fix comment.
16127 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
16129         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
16130         Avoid using variables in #defines that might cause shadowing.
16131         (INTERNAL_VSYSCALL_CALL): Likewise.
16133 2015-05-26  Roland McGrath  <roland@hack.frob.com>
16135         * sysdeps/nacl/lll_timedlock_wait.c: New file.
16137         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
16138         * nptl/lll_timedlock_wait.c: ... to this new file.
16139         * nptl/Makefile (libpthread-routines): Add it.
16140         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
16141         * nptl/lll_timedwait_tid.c: ... to this new file.
16142         * nptl/Makefile (libpthread-routines): Add it.
16143         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
16144         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
16145         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
16146         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
16147         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
16148         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
16149         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
16150         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
16151         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
16152         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
16154 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16156         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
16157         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16158         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
16159         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
16160         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
16161         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
16162         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16163         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
16164         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16165         * sysdeps/unix/sysv/linux/tile/sysdep.h
16166         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
16167         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
16168         using vDSO syscall macro.
16170 2015-05-26  Andriy Rysin  <arysin@gmail.com>
16172         [BZ #17293]
16173         * uk_UA: Fix sorting order for Ukrainian locale
16175 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
16177         * stdlib/monetary.h: Fix comment.
16179 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16181         [BZ #18234]
16182         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
16183         st_mtim and st_ctim members.
16184         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
16185         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
16186         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
16187         (struct stat64): Likewise.
16188         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
16189         (struct stat64): Likewise.
16190         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
16191         (struct stat64): Likewise.
16193 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16195         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
16196         Define and include sysdep-vdso.h.
16197         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
16198         Likewise.
16199         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
16200         Likewise.
16201         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
16202         Define with VDSO_SYMBOL and use PTR_MANGLE.
16203         (__vdso_clock_gettime): Likewise.
16204         (__vdso_clock_getres): Likewise.
16205         (_libc_vdso_platform_setup): Likewise.
16206         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
16207         Likewise.
16208         (_libc_vdso_platform_setup): Likewise.
16209         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
16210         Likewise.
16211         (__vdso_clock_gettime): Likewise.
16212         (__vdso_clock_getres): Likewise.
16213         (__vdso_get_tbfreq): Likewise.
16214         (__vdso_getcpu): Likewise.
16215         (__vdso_time): Likewise.
16216         (__vdso_sigtramp_rt64): Likewise.
16217         (__vdso_signtramp32): Likewise.
16218         (__vdso_sigtramp_rt32): Likewise.
16219         (_libc_vdso_platform_setup): Likewise.
16220         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
16221         Likewise.
16222         (__vdso_clock_gettime): Likewise.
16223         (__vdso_clock_getres): Likewise.
16224         (_libc_vdso_platform_setup): Likewise.
16225         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
16226         Likewise.
16227         (__vdso_clock_gettime): Likewise.
16228         (_libc_vdso_platform_setup): Likewise.
16229         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
16230         Likewise.
16231         (__vdso_getcpu): Likewise.
16232         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
16233         Use VDSO_SYMBOL macro to define.
16234         (__vdso_clock_gettime): Likewise.
16235         (__vdso_clock_getres): Likewise.
16236         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
16237         Likewise.
16238         (__vdso_clock_gettime): Likewise.
16239         (__vdso_clock_getres): Likewise.
16240         (__vdso_get_tbfreq): Likewise.
16241         (__vdso_getcpu): Likewise.
16242         (__vdso_time): Likewise.
16243         (__vdso_sigtramp_rt64): Likewise.
16244         (__vdso_signtramp32): Likewise.
16245         (__vdso_sigtramp_rt32): Likewise.
16246         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
16247         Likewise.
16248         (__vdso_clock_gettime): Likewise.
16249         (__vdso_clock_getres): Likewise.
16250         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
16251         Likewise.
16252         (__vdso_clock_gettime): Likewise.
16253         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
16254         Likewise.
16255         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
16256         macro.
16257         (INTERNAL_VSYSCALL): Likewise.
16258         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
16259         Remove macro.
16260         (INTERNAL_VSYSCALL): Likewise.
16261         (INTERNAL_VSYSCALL_NCS): Likewise.
16262         (INTERNAL_VSYSCALL_CALL): New macro.
16263         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16264         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
16265         Likewise.
16266         (INTERNAL_VSYSCALL): Likewise.
16267         (INTERNAL_VSYSCALL_NCS): Likewise.
16268         (INTERNAL_VSYSCALL_CALL): New macro.
16269         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
16270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16271         (INLINE_VSYSCALL): Remove macro.
16272         (INTERNAL_VSYSCALL): Remove macro.
16273         (INTERNAL_VSYSCALL_NCS): Remove macro.
16274         (INTERNAL_VSYSCALL_CALL): New macro.
16275         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
16276         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
16277         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16278         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
16279         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
16281         (INLINE_VSYSCALL): Remove macro.
16282         (INTERNAL_VSYSCALL): Likewise.
16283         (INTERNAL_VSYSCALL_NCS): Likewise.
16284         (INTERNAL_VSYSCALL_CALL): New macro.
16285         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
16286         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
16287         PTR_DEMANGLE on vDSO pointer.
16288         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
16289         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
16290         macro.
16291         (INTERNAL_SYSCALL): Likewise.
16292         (INTERNAL_VSYSCALL_NCS): Remove macro.
16293         (INTERNAL_VSYSCALL_CALL): New macro.
16294         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
16295         Remove macro.
16296         (INTERNAL_VSYSCALL): Likewise.
16297         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
16298         sysdep-vdso.h instead of libc-vdso.h.
16299         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
16300         definition.
16301         (INLINE_VSYSCALL): Likewise.
16302         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
16303         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
16304         definition.
16305         (INLINE_VSYSCALL): Likewise.
16306         (INTERNAL_VSYSCALL): Likewise.
16307         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16308         * sysdeps/unix/sysv/linux/timespec_get.c
16309         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
16310         (timespec_get): Use ANSI prototype.
16311         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
16312         and definition for Linux.
16314 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
16316         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
16317         * include/libc-symbols.h: libmvec_hidden_* macro series added.
16319 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
16321         [BZ #2981]
16322         [BZ #18410]
16323         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
16324         for missing DT_PLTRELSZ.
16326 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
16328         Remove obsolete aliases that broke 'locale -a'
16329         [BZ #18412]
16330         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
16331         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
16332         breaking some applications that use 'locale -a' output.
16333         Change the encoding of this file from Latin-1 to ASCII to avoid
16334         other potential problems with people grepping this file.
16336 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16338         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
16339         -fasynchronous-unwind-tables.
16340         (CFLAGS-sendto.c): Likewise.
16341         (CFLAGS-sendmsg.c): Likewise.
16342         (CFLAGS-connect.c): Likewise.
16343         (CFLAGS-recvmsg.c): Likewise.
16344         (CFLAGS-recvfrom.c): Likewise.
16345         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
16346         (SOCKETCALL): New macro: non-cancellable socketcall.
16347         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
16348         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
16349         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
16350         * sysdeps/unix/sysv/linux/accept.c: New file.
16351         * sysdeps/unix/sysv/linux/bind.c: Likewise.
16352         * sysdeps/unix/sysv/linux/connect.c: Likewise.
16353         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
16354         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
16355         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
16356         * sysdeps/unix/sysv/linux/listen.c: Likewise.
16357         * sysdeps/unix/sysv/linux/recv.c: Likewise.
16358         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
16359         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
16360         * sysdeps/unix/sysv/linux/send.c: Likewise.
16361         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
16362         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
16363         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
16364         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
16365         * sysdeps/unix/sysv/linux/socket.c: Likewise.
16366         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
16367         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
16368         prototype.
16369         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
16370         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16371         instead of __internal_xxx function.
16372         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
16373         prototype.
16374         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
16375         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16376         instead of __internal_xxx function.
16377         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
16378         prototype.
16379         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
16380         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
16381         instead of __internal_xxx function.
16382         * sysdeps/unix/sysv/linux/accept.S: Remove file.
16383         * sysdeps/unix/sysv/linux/bind.S: Likewise.
16384         * sysdeps/unix/sysv/linux/connect.S: Likewise.
16385         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
16386         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
16387         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
16388         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
16389         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
16390         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
16391         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
16392         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
16393         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
16394         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
16395         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
16396         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
16397         * sysdeps/unix/sysv/linux/listen.S: Likewise.
16398         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
16399         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
16400         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
16401         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
16402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
16403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
16404         * sysdeps/unix/sysv/linux/recv.S: Likewise.
16405         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
16406         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
16407         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
16408         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16409         * sysdeps/unix/sysv/linux/send.S: Likewise.
16410         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
16411         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
16412         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
16413         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
16414         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
16415         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
16416         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
16417         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
16418         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
16419         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
16420         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
16421         socketcall is implemented in GLIBC.
16423 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16425         * soft-fp/fmadf4.c: Include <libc-internal.h>.
16426         (__fma): Ignore uninitialized warnings around packing.
16427         * soft-fp/fmasf4.c: Include <libc-internal.h>.
16428         (__fmaf): Ignore uninitialized warnings around packing.
16429         * soft-fp/fmatf4.c: Include <libc-internal.h>.
16430         (__fmal): Ignore uninitialized warnings around packing.
16432         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
16433         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16434         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
16435         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
16437         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
16438         switch statement into default case.
16439         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
16441         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
16442         a conditional in forcing "inexact".
16443         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
16444         Likewise.
16446 2015-05-22  Roland McGrath  <roland@hack.frob.com>
16448         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16449         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
16450         for each INTERNAL_SYSCALL use.
16452 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
16454         [BZ #438]
16455         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
16456         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
16457         variable.
16459         [BZ #18444]
16460         * string/basename.c (basename): Rename to __basename and define as
16461         weak alias of __basename.  Use libc_hidden_weak.
16462         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
16463         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
16464         __basename instead of basename.
16465         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
16466         Remove variable.
16467         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
16469 2015-05-18  Florian Weimer  <fweimer@redhat.com>
16471         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
16472         (_IO_JUMPS_FILE_plus): New.
16473         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
16474         _IO_CAST_FIELD_ACCESS.
16475         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
16476         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
16477         * libio/freopen.c (freopen): Likewise.
16478         * libio/freopen64.c (freopen64): Likewise.
16479         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
16480         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
16481         * libio/iofwide.c (_IO_fwide): Likewise.
16482         * libio/memstream.c (open_memstream): Likewise.
16483         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16484         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16485         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16487 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
16489         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
16490         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
16491         NADJ.
16492         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
16493         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
16494         NADJ.
16495         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
16496         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
16497         NADJ.
16499         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
16500         (p == 4) case.
16502         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
16503         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
16504         Remove variable.
16505         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
16506         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
16507         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
16509 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16511         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
16512         Adjust jump table label generation macros.
16514 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16516         * stdio-common/vfprintf.c (vfprintf): Move local variables
16517         args_malloced, specs, specs_malloced, and the code after
16518         do_positional to the printf_positional function.
16519         (printf_positional): New function.
16521 2015-05-21  Florian Weimer  <fweimer@redhat.com>
16523         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
16524         function.
16525         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
16526         STEP4_TABLE, process_arg): Move macro definitions
16527         out of the vfprintf function.  (Cosmetic change only.)
16529 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
16531         * benchtests/Makefile (stdio-common-bench): Define.
16532         (benchset): Add stdio-common-bench.
16533         * sprintf-inputs: New file.
16534         * sprintf-source.c: New file.
16536 2015-05-21  Andreas Schwab  <schwab@suse.de>
16538         [BZ #13028]
16539         [BZ #17053]
16540         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
16541         of struct __res_state.
16542         * resolv/res_send.c (__libc_res_nsend): Likewise.
16543         (get_nsaddr): New function.
16544         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
16545         statp directly.
16547 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
16549         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
16550         -D_POSIX_C_SOURCE=199506L.
16552         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
16554         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
16555         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
16556         Do not mention otherwise.
16557         [POSIX] (_XOPEN_VERSION): Do not expect.
16558         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
16559         [POSIX] (_POSIX2_C_BIND): Likewise.
16560         [POSIX] (_POSIX2_VERSION): Likewise.
16561         [POSIX] (_XOPEN_XPG2): Likewise.
16562         [POSIX] (_XOPEN_XPG3): Likewise.
16563         [POSIX] (_XOPEN_XPG4): Likewise.
16564         [POSIX] (_XOPEN_UNIX): Likewise.
16565         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
16566         [POSIX] (_POSIX_BARRIERS): Likewise.
16567         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
16568         [POSIX] (_POSIX_CPUTIME): Likewise.
16569         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
16570         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
16571         [POSIX] (_POSIX_SHELL): Likewise.
16572         [POSIX] (_POSIX_SPAWN): Likewise.
16573         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
16574         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
16575         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
16576         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
16577         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
16578         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
16579         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
16580         [POSIX] (_XBS5_LP64_OFF64): Likewise.
16581         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
16582         [POSIX] (_POSIX_TIMEOUTS): Likewise.
16583         [POSIX] (_POSIX2_PBS): Likewise.
16584         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
16585         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
16586         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
16587         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
16588         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
16589         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
16590         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
16591         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
16592         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
16593         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
16594         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
16595         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
16596         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
16597         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
16598         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
16599         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
16600         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
16601         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
16602         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
16603         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
16604         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
16605         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
16606         [POSIX] (_SC_2_C_BIND): Likewise.
16607         [POSIX] (_SC_2_C_VERSION): Likewise.
16608         [POSIX] (_SC_2_PBS): Likewise.
16609         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
16610         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
16611         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
16612         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
16613         [POSIX] (_SC_2_PBS_TRACK): Likewise.
16614         [POSIX] (_SC_ATEXIT_MAX): Likewise.
16615         [POSIX] (_SC_BARRIERS): Likewise.
16616         [POSIX] (_SC_BASE): Likewise.
16617         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
16618         [POSIX] (_SC_DEVICE_IO): Likewise.
16619         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
16620         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
16621         [POSIX] (_SC_FD_MGMT): Likewise.
16622         [POSIX] (_SC_FIFO): Likewise.
16623         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
16624         [POSIX] (_SC_FILE_LOCKING): Likewise.
16625         [POSIX] (_SC_FILE_SYSTEM): Likewise.
16626         [POSIX] (_SC_IOV_MAX): Likewise.
16627         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
16628         [POSIX] (_SC_NETWORKING): Likewise.
16629         [POSIX] (_SC_PAGE_SIZE): Likewise.
16630         [POSIX] (_SC_PASS_MAX): Likewise.
16631         [POSIX] (_SC_PIPE): Likewise.
16632         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
16633         [POSIX] (_SC_REGEXP): Likewise.
16634         [POSIX] (_SC_SHELL): Likewise.
16635         [POSIX] (_SC_SIGNALS): Likewise.
16636         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
16637         [POSIX] (_SC_SPIN_LOCKS): Likewise.
16638         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
16639         [POSIX] (_SC_USER_GROUPS): Likewise.
16640         [POSIX] (_SC_USER_GROUPS_R): Likewise.
16641         [POSIX] (_SC_STREAMS): Likewise.
16642         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
16643         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
16644         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
16645         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
16646         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
16647         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
16648         [POSIX] (_PC_FILESIZEBITS): Likewise.
16649         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
16650         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
16651         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
16652         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
16653         [POSIX] (uid_t): Likewise.
16654         [POSIX] (gid_t): Likewise.
16655         [POSIX] (off_t): Likewise.
16656         [POSIX] (pid_t): Likewise.
16657         [POSIX] (cuserid): Allow.
16658         (_SC_2_CHAR_TERM): Require constant.
16659         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
16660         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
16661         variable.
16663 2015-05-20  Roland McGrath  <roland@hack.frob.com>
16665         * sysdeps/nacl/pthread-pids.h: New file.
16666         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
16667         (create_thread): Use __nacl_get_tid to initialize PD->tid.
16669         * nptl/pthread-pids.h: New file.
16670         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
16671         * nptl/nptl-init.c: Include <pthread-pids.h>.
16672         (__pthread_initialize_minimal_internal):
16673         Call __pthread_initialize_pids instead of set_tid_address syscall.
16675         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
16676         * sysdeps/posix/usleep.c: ... here.
16678 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16680         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
16681         call_pselect6 object.
16682         [$(subdir) = io]: Remove call_sync_file_range object.
16683         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
16684         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
16685         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
16686         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
16688 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
16690         * math/s_cproj.c: Add include "math_private.h".
16691         * math/s_cprojf.c: Likewise.
16692         * math/s_cprojl.c: Likewise.
16694 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
16696         [BZ #18244]
16697         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
16698         high mantissa bit when testing whether P is a NaN.
16699         * math/libm-test.inc (remainder_test_data): Add more tests.
16700         (remquo_test_data): Likewise.
16702         [BZ #18049]
16703         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
16704         below -32, return the argument, with underflow if subnormal.
16705         * math/auto-libm-test-in: Add more tests of atanh.
16706         * math/auto-libm-test-out: Regenerated.
16708 2015-05-19  Roland McGrath  <roland@hack.frob.com>
16710         [BZ #18434]
16711         * nptl/tst-sem15.c: New file.
16712         * nptl/Makefile (tests): Add it.
16713         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
16714         s/<</>>/ to fix typo in EOVERFLOW check.
16715         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
16717 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16719         * manual/strings.texi (envz_remove): Fix typo in safety
16720         annotations.
16722 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
16723             Steve Ellcey  <sellcey@imgtec.com>
16725         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
16726         in order to avoid strict alias warnings.
16727         (iruserok_af): Ditto for ra.
16729 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
16731         [BZ #17581]
16732         * malloc/hooks.c
16733         (magicbyte): Convert to a function and avoid returning 0x01.
16734         (mem2mem_check): Avoid using a length byte equal to the magic byte.
16735         (mem2chunk_check): Fix unsigned comparisons to zero.
16736         Hoist defs of sz and magic.
16738 2015-05-19  Richard Henderson  <rth@redhat.com>
16740         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
16742         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16744 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16746         [BZ #16159]
16747         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
16748         * malloc/arena.c (arena_lock): Check if arena is corrupt.
16749         (reused_arena): Find a non-corrupt arena.
16750         (heap_trim): Pass arena to unlink.
16751         * malloc/hooks.c (malloc_check_get_size): Pass arena to
16752         malloc_printerr.
16753         (top_check): Likewise.
16754         (free_check): Likewise.
16755         (realloc_check): Likewise.
16756         * malloc/malloc.c (malloc_printerr): Add arena argument.
16757         (unlink): Likewise.
16758         (munmap_chunk): Adjust.
16759         (ARENA_CORRUPTION_BIT): New macro.
16760         (arena_is_corrupt): Likewise.
16761         (set_arena_corrupt): Likewise.
16762         (sysmalloc): Use mmap if there are no usable arenas.
16763         (_int_malloc): Likewise.
16764         (__libc_malloc): Don't fail if arena_get returns NULL.
16765         (_mid_memalign): Likewise.
16766         (__libc_calloc): Likewise.
16767         (__libc_realloc): Adjust for additional argument to
16768         malloc_printerr.
16769         (_int_free): Likewise.
16770         (malloc_consolidate): Likewise.
16771         (_int_realloc): Likewise.
16772         (_int_memalign): Don't touch corrupt arenas.
16773         * malloc/tst-malloc-backtrace.c: New test case.
16775         * Makefile (summarize-tests): Fix return value on success.
16777         * manual/string.texi (Envz Functions): Add envz_remove.
16779 2015-05-18  Roland McGrath  <roland@hack.frob.com>
16781         * sysdeps/posix/opendir.c: Include <stdbool.h>.
16782         (invalid_name): New function, broken out of ...
16783         (__opendirat): ... here.  Call it.
16784         (need_isdir_precheck): New function, broken out of ...
16785         (__opendirat): ... here.  Call it.
16786         Use __fxstatat64, not __xstatat64.
16787         (opendir_oflags): New function, broken out of ...
16788         (__opendirat): ... here.  Call it.
16789         (opendir_tail): New function, broken out of ...
16790         (__opendirat): ... here.  Call it.
16791         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
16792         opendir_tail, rather than punting to __opendirat.
16793         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
16795 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16797         * .gitignore: Ignore generated *.pyc.
16799 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
16801         * include/stdio.h: Define __need_wint_t.
16802         * test-skeleton.c: Avoid `for' loop initial declaration.
16803         * nptl/tst-initializers1.c: Use test-skeleton.c.
16805 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16807         [BZ #18418]
16808         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
16810 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16812         [BZ #16352]
16813         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
16814         (__ieee754_atanh): Force underflow exception for results with
16815         small absolute value.
16816         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
16817         (__ieee754_atanhf): Force underflow exception for results with
16818         small absolute value.
16819         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
16820         (__ieee754_atanh): Force underflow exception for results with
16821         small absolute value.
16822         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
16823         (__ieee754_atanhf): Force underflow exception for results with
16824         small absolute value.
16825         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
16826         (__ieee754_atanhl): Force underflow exception for results with
16827         small absolute value.
16828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
16829         (__ieee754_atanhl): Force underflow exception for results with
16830         small absolute value.
16831         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
16832         (__ieee754_atanhl): Force underflow exception for results with
16833         small absolute value.
16834         * math/auto-libm-test-in: Do not allow missing underflow
16835         exceptions from atanh.
16836         * math/auto-libm-test-out: Regenerated.
16838         [BZ #18221]
16839         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
16840         2**-28 as threshold for returning x or +/- 1/x.
16841         * math/auto-libm-test-in: Add more tests of tan.
16842         * math/auto-libm-test-out: Regenerated.
16844         [BZ #18220]
16845         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
16846         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
16847         * math/auto-libm-test-in: Add another test of lgamma.
16848         * math/auto-libm-test-out: Regenerated.
16850 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
16852         * stdio-common/printf_fp.c (___printf_fp): Use abs.
16853         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
16854         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
16855         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
16856         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
16857         (ADD2A): Use fabs.  (SUB2A): Use fabs.
16858         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
16859         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
16860         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
16861         (log1): Use fabs.  (my_log2): Use fabs.
16862         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
16863         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
16864         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
16865         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
16866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
16867         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
16868         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
16869         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
16870         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
16871         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
16872         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
16874 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
16876         [BZ #18217]
16877         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
16878         as threshold for returning 1 - x.
16879         * math/auto-libm-test-in: Add more tests of erfc.
16880         * math/auto-libm-test-out: Regenerated.
16882 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
16884         [BZ #18196]
16885         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
16886         threshold for large arguments.
16887         * math/auto-libm-test-in: Add another test of atan.
16888         * math/auto-libm-test-out: Regenerated.
16890         [BZ #16339]
16891         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
16892         (__log1p): Force underflow exception for results with small
16893         absolute value.
16894         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
16895         (__log1pf): Force underflow exception for results with small
16896         absolute value.
16897         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
16898         (__log1p): Force underflow exception for results with small
16899         absolute value.
16900         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
16901         (__log1pf): Force underflow exception for results with small
16902         absolute value.
16903         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
16904         (__log1pl): Force underflow exception for results with small
16905         absolute value.
16906         * math/auto-libm-test-in: Do not allow missing underflow
16907         exceptions from log1p.
16908         * math/auto-libm-test-out: Regenerated.
16910 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
16911             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16913         [BZ #16704]
16914         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
16916 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
16918         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
16919         (libmvec): New variable.
16920         * configure.ac: Added option for mathvec build.
16921         * configure: Regenerated.
16922         * mathvec/Depend: New file.
16923         * mathvec/Makefile: New file.
16924         * shlib-versions: Added libmvec.
16925         * math/Makefile: Added rule for libm.so installation.
16927         * bits/math-vector.h: New file.
16928         * bits/libm-simd-decl-stubs.h: New header.
16929         * math/Makefile (headers): Added new header
16930         libm-simd-decl-stubs.h.
16931         * math/math.h (__MATHCALL_VEC): New macro.
16933         * math/gen-libm-have-vector-test.sh: Script generates series of macros
16934         for conditions in testing functions.
16935         * math/Makefile: Added call of libm-have-vector-test.sh.
16936         * math/libm-test.inc (HAVE_VECTOR): New macros.
16938         * math/libm-test.inc: START refactored.
16939         * math/test-double.c (TEST_MATHVEC): Add define.
16940         * math/test-float.c: Likewise.
16941         * math/test-idouble.c: Likewise.
16942         * math/test-ifloat.c: Likewise.
16943         * math/test-ildoubl.c: Likewise.
16944         * math/test-ldouble.c: Likewise.
16945         * sysdeps/generic/math-tests-arch.h
16946         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
16947         architecture check.
16949         * math/test-double.c (FUNC_TEST): New macro.
16950         * math/test-float.c: Likewise.
16951         * math/test-idouble.c: Likewise.
16952         * math/test-ifloat.c: Likewise.
16953         * math/test-ildoubl.c: Likewise.
16954         * math/test-ldouble.c: Likewise.
16955         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
16957 2015-05-13  Roland McGrath  <roland@hack.frob.com>
16959         * sysdeps/nacl/fdopendir.c: New file.
16961         * dirent/scandir-tail.c: New file.
16962         * dirent/scandir64-tail.c: New file.
16963         * dirent/Makefile (routines): Add them.
16964         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
16965         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
16966         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
16967         [!SCANDIR] (SCANDIR_TAIL): New macro.
16968         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
16969         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
16970         (SCANDIRAT): Macro removed.
16971         (SCANDIR_TAIL): New macro.
16972         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
16973         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
16974         (SCANDIRAT): Just call __opendirat and __scandir_tail.
16975         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
16976         (READDIR): Macro removed.
16977         (SCANDIR_TAIL): New macro.
16978         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
16979         (SCANDIR_TAIL): New macro.
16981         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
16982         * dirent/scandir-cancel.c: ... to this new file.
16983         * dirent/Makefile (routines): Add it.
16984         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
16985         * sysdeps/unix/sysv/linux/i386/scandir64.c
16986         (SKIP_SCANDIR_CANCEL): Macro removed.
16987         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
16989         * dirent/tst-scandir.c: New file.
16990         * dirent/tst-scandir64.c: New file.
16991         * dirent/Makefile (tests): Add them.
16993 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
16995         [BZ #18409]
16996         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
16998 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17000         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
17001         list.
17003 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
17005         * benchtests/bench-strcoll.c: New benchmark.
17006         * benchtests/Makefile: Generate locales and run benchmark.
17007         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
17008         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
17009         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
17010         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
17011         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
17012         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
17013         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
17014         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
17015         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
17016         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
17017         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
17018         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
17019         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
17020         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
17021         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
17022         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
17023         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
17024         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
17025         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
17026         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
17027         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
17028         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
17029         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
17030         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
17032 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
17034         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
17035         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
17037 2015-05-12  Roland McGrath  <roland@hack.frob.com>
17039         * posix/uname-values.h: New file.
17040         * posix/uname.c: Include that instead of <config-name.h>.
17041         * sysdeps/nacl/uname-values.h: New file.
17042         * sysdeps/arm/nacl/uname-values.h: New file.
17044 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
17046         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
17047         splitting into fields.
17049 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
17051         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
17052         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
17053         * locale/localeinfo.h: Add enum collation_encoding_type.
17054         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
17055         * programs/ld-collate.c (collate_output): Add encoding type info.
17056         * string/strcoll_l.c (STRDIFF): New function.
17057         * (STRCOLL): Use STRDIFF to skip over equal prefix.
17058         * wcsmbs/wcscoll_l.c: Define STRDIFF.
17060 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
17062         [BZ #18397]
17063         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
17064         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
17065         <fpu_control.h> instead of <math/fpu_control.c>.
17066         * sysdeps/mips/mips32/fpu/Makefile: New file.
17068 2015-05-11  Andreas Schwab  <schwab@suse.de>
17070         [BZ #18007]
17071         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
17072         nss_endgrent.
17073         (_nss_compat_endgrent): Call nss_endgrent.
17074         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
17075         nss_endpwent.
17076         (_nss_compat_endpwent): Call nss_endpwent.
17077         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
17078         needent, call nss_setspent only if non-zero.
17079         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
17080         (internal_endspent): Don't call nss_endspent.
17081         (_nss_compat_endspent): Call nss_endspent.
17082         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
17083         Remove.  All uses removed.
17084         (internal_setent): Remove parameter stayopen, add parameter
17085         stream.  Use it instead of global variable.
17086         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
17087         (internal_endent, internal_getent): Add parameter stream.  Use it
17088         instead of global variable.
17089         (CONCAT(_nss_files_end,ENTNAME))
17090         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
17091         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
17092         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
17093         uses removed.
17094         (internal_setent, internal_endent): Add parameter stream.  Use it
17095         instead of global variable.
17096         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
17097         stream.
17098         (get_next_alias): Add parameter stream.
17099         (_nss_files_getaliasent_r): Pass global stream.
17100         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
17101         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
17102         (_nss_files_gethostbyname4_r): Pass local stream to
17103         internal_setent, internal_getent and internal_endent.  Remove
17104         locking.
17106 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17108         * tst-strfmon1.c (tests): Update expected currency symbol.
17110 2015-05-08  Roland McGrath  <roland@hack.frob.com>
17112         * sysdeps/nacl/gethostname.c: New file.
17114 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
17116         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
17117         and sinh.
17118         * math/auto-libm-test-out: Regenerated.
17119         * sysdeps/i386/fpu/libm-test-ulps: Update.
17120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17122 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
17124         [BZ #18125]
17125         * stdlib/tst-setcontext3.c: New file.
17126         * stdlib/tst-setcontext3.sh: New file.
17127         * stdlib/Makefile (tests): Add tst-setcontext3.
17128         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
17129         to verify test program created output file.
17130         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
17131         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
17132         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
17133         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
17135 2015-05-06  Roland McGrath  <roland@hack.frob.com>
17137         [BZ #18383]
17138         * elf/tst-tlsalign.c: New file.
17139         * elf/tst-tlsalign-static.c: New file.
17140         * elf/tst-tlsalign-lib.c: New file.
17141         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
17142         (tests-static): Add tst-tlsalign-static.
17143         (modules-names): Add tst-tlsalign-lib.
17144         (test-xfail-tst-tlsalign): New variable.
17145         (test-xfail-tst-tlsalign-static): New variable.
17147         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
17148         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
17150 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
17152         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
17153         csqrt, erfc, sin and sincos.
17154         * math/auto-libm-test-out: Regenerated.
17155         * sysdeps/i386/fpu/libm-test-ulps: Update.
17156         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17158 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17160         * sysdeps/aarch64/libm-test-ulps: Update.
17162 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
17164         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
17165         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
17172         [BZ #18265]
17173         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
17174         (wcsncpy): Likewise.
17176 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17178         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17179         Assume __ASSUME_FALLOCATE is always true.
17180         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17181         (__posix_fallocate64_l64): Likweise.
17182         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
17183         (posix_fallocate): Likewise.
17184         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
17185         (__posix_fallocate64_l64): Likewise.
17186         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17187         [!__ASSUME_FALLOCATE]: Add comment.
17189 2015-05-05  Florian Weimer  <fweimer@redhat.com>
17191         * sysdeps/unix/sysv/linux/i386/Makefile
17192         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
17193         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
17194         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
17195         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
17196         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
17197         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
17198         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
17200 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
17202         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
17203         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
17204         tgamma.
17205         * math/auto-libm-test-out: Regenerated.
17206         * sysdeps/i386/fpu/libm-test-ulps: Update.
17207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17209 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17211         * math/auto-libm-test-in: Add more tests of tgamma.
17212         * math/auto-libm-test-out: Regenerated.
17213         * sysdeps/i386/fpu/libm-test-ulps: Update.
17214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17216         * math/auto-libm-test-in: Add more tests of tanh.
17217         * math/auto-libm-test-out: Regenerated.
17218         * sysdeps/i386/fpu/libm-test-ulps: Update.
17219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17221         * math/auto-libm-test-in: Add more tests of tan.
17222         * math/auto-libm-test-out: Regenerated.
17223         * sysdeps/i386/fpu/libm-test-ulps: Update.
17224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17226         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
17227         * math/auto-libm-test-out: Regenerated.
17228         * sysdeps/i386/fpu/libm-test-ulps: Update.
17229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17231         * math/auto-libm-test-in: Add another test of pow.
17232         * math/auto-libm-test-out: Regenerated.
17233         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17235         * math/auto-libm-test-in: Add more tests of lgamma.
17236         * math/auto-libm-test-out: Regenerated.
17237         * sysdeps/i386/fpu/libm-test-ulps: Update.
17238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17240         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
17241         log1p.
17242         * math/auto-libm-test-out: Regenerated.
17243         * sysdeps/i386/fpu/libm-test-ulps: Update.
17244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17246 2015-05-01  Mark Wielaard  <mjw@redhat.com>
17248         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
17249         Elf64_Chdr structs and ELFCOMPRESS constants.
17251 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
17253         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
17254         expm1.
17255         * math/auto-libm-test-out: Regenerated.
17256         * sysdeps/i386/fpu/libm-test-ulps: Update.
17257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17259         * math/auto-libm-test-in: Add more tests of erf and erfc.
17260         * math/auto-libm-test-out: Regenerated.
17261         * sysdeps/i386/fpu/libm-test-ulps: Update.
17262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17264 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17266         * config.h.in (HAVE_AARCH64_BE): Add.
17268 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
17270         * math/auto-libm-test-in: Add more tests of csqrt.
17271         * math/auto-libm-test-out: Regenerated.
17272         * sysdeps/i386/fpu/libm-test-ulps: Update.
17273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17275         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17276         * math/auto-libm-test-out: Regenerated.
17277         * sysdeps/i386/fpu/libm-test-ulps: Update.
17278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17280         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
17282 2015-04-29  Roland McGrath  <roland@hack.frob.com>
17284         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
17285         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
17287         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
17288         (euidaccess, eaccess): Define as weak aliases.
17290         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
17291         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
17292         but __suseconds_t is often 'long int' so some sources assume that
17293         type is being used (e.g. they use %ld to print tv_usec).
17295 2015-04-29  Florian Weimer  <fweimer@redhat.com>
17297         [BZ #18007]
17298         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
17299         (CVE-2014-8121)
17300         * nss/tst-nss-getpwent.c: New file.
17301         * nss/Makefile (tests): Add new test.
17303 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
17305         [BZ #18346]
17306         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
17307         exponents less than 48 as cases where high part of mantissa needs
17308         examining to determine whether argument is integral.
17309         * math/libm-test.inc (round_test_data): Add more tests.
17311 2015-04-28  Mark Wielaard  <mjw@redhat.com>
17313         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
17315 2015-04-27  David S. Miller  <davem@davemloft.net>
17317         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
17318         __tls_get_addr.
17319         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
17321 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
17323         [BZ#18333]
17324         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
17326 2015-04-27  Florian Weimer  <fweimer@redhat.com>
17328         [BZ#18333]
17329         * time/tzset.c (parse_tzname): Return error on memory allocation
17330         failure.
17331         * test-skeleton.c (struct temp_name_list): Change type of name
17332         member to non-const.
17333         (add_temp_file): Create a copy of the file name.
17334         (delete_temp_files): Deallocate memory.
17335         (create_temp_file): Add comment.
17337 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17339         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
17340         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
17342 2015-04-24  Roland McGrath  <roland@hack.frob.com>
17344         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
17345         * sysdeps/arm/configure: Regenerated.
17347 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17349         [BZ #17715]
17350         * time/tzfile.c (__tzfile_read): Check for large values of
17351         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
17352         * time/tzset.c (__tzstring_len): New function, based on the old
17353         __tzstring function.
17354         (__tzstring): Call __tzstring_len.
17355         (parse_tzname): New helper function extracted from
17356         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
17357         the input string.
17358         (parse_offset): New helper function extracted from
17359         __tzset_parse_tz.  Replace switch with fallthrough with
17360         initialization before sscanf.
17361         (parse_rule): Likewise.
17362         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
17363         new-style function definition.
17364         * timezone/Makefile (tests): Add tst-tzset.
17365         (tst-tzset.out): Dependencies on time zone files.
17366         (tst-tzset-ENV): Set TZDIR.
17367         (testdata/XT%): Copy crafted time zone files.
17368         * timezone/README: Mention crafted time zone files.
17369         * timezone/testdata/XT1, timezone/testdata/XT2,
17370         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
17371         files.
17372         * timezone/tst-tzset.c: New test.
17374 2015-04-24  Florian Weimer  <fweimer@redhat.com>
17376         * Makeconfig (+gccwarn): Remove -Winline.
17378 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17380         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
17382 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17384         * NEWS: Mention sysconf() cache information support for s390.
17385         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
17387 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
17389         * math/k_casinh.c (__kernel_casinh): Use __copysign.
17390         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
17391         (__nearbyint): Likewise.
17392         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
17393         (copysignl): Likewise.
17395 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
17397         [BZ #18287]
17398         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
17399         based on padding.  (CVE-2015-1781)
17401 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17403         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
17404         libc-vdso.h.
17405         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
17406         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
17407         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
17408         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17409         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17410         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
17411         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
17412         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
17413         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
17414         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
17415         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
17416         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17417         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
17418         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
17419         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17420         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
17421         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
17422         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
17423         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
17424         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
17425         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
17426         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
17427         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
17429 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
17431         * stdlib/setenv.c (__add_to_environ):
17432         Dump core quickly if setenv (..., NULL, ...) is called.
17433         This time, do it the right way, and pacify GCC with a pragma.
17435 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17437         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
17438         IMAP->l_prev cannot be null, and #if out the code for the contrary
17439         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
17440         believe that NS (&_dl_ns[NSID]) could point outside the array.
17442         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
17443         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
17444         before using NSID as an index.
17446 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
17448         [BZ #17825]
17449         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
17450         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
17451         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17453 2015-04-17  Roland McGrath  <roland@hack.frob.com>
17455         Add preliminary port to Google Native Client on ARM.
17456         * abi-tags (.*-.*-nacl.*): New entry.
17457         * sysdeps/arm/nacl: New directory.
17458         * sysdeps/nacl: New directory.
17460 2015-04-16  David S. Miller  <davem@davemloft.net>
17462         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
17463         lowlevellock-futex.h
17465 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
17467         * sysdeps/tile/configure.ac: New file.
17468         * sysdeps/tile/configure: Regenerated.
17470 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17472         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
17473         conditionals for weak_alias and libc_hidden_weak.
17474         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
17475         libc_hidden_weak and weak_alias.
17476         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
17477         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
17478         and weak_alias for static one.
17480 2015-04-15  David S. Miller  <davem@davemloft.net>
17482         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17484 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17486         [BZ #18206]
17487         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
17488           Use signed comparision instead of substraction to avoid
17489           overflow bug.
17490         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
17491           Take the sign of ret.
17492         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
17493           Do not expect precise return values. Only the sign matters.
17494         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
17495         * wcsmbs/test-wcsncmp.c: New File.
17496         * string/test-strncmp.c: Add wcsncmp support.
17498 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
17500         [BZ #6792]
17501         * math/w_log1p.c: New file.
17502         * math/w_log1pf.c: Likewise.
17503         * math/w_log1pl.c: Likewise.
17504         * math/Makefile (libm-calls): Add w_log1p.
17505         * math/s_log1pl.c (log1pl): Remove weak_alias.
17506         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
17507         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
17508         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
17509         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
17510         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
17511         [NO_LONG_DOUBLE] (log1pl): Likewise.
17512         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
17513         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
17514         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
17515         (log1p): Remove long_double_symbol.
17516         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
17517         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
17518         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
17519         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
17520         remove weak_alias for corresponding log1p function.
17521         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
17522         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
17523         * sysdeps/ia64/fpu/w_log1p.c: New file.
17524         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
17525         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
17526         * math/libm-test.inc (log1p_test_data): Add errno expectations.
17528 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
17530         [BZ #18247]
17531         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
17532         decimal exponent by 1.
17533         * stdlib/tst-strtod-round-data: Add more tests.
17534         * stdlib/tst-strtod-round.c (tests): Regenerated.
17536 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
17538         * math/auto-libm-test-in: Add more tests of clog and clog10.
17539         * math/auto-libm-test-out: Regenerated.
17540         * sysdeps/i386/fpu/libm-test-ulps: Update.
17541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17543 2015-04-09  Roland McGrath  <roland@hack.frob.com>
17545         * Makeconfig (module-cppflags): Exclude all .v.i files.
17546         (skip-module-cppflags): Variable removed.
17548         * configure.ac (libc_config_ok): Initialize before reading
17549         preconfigure scripts, not after.
17550         * configure: Regenerated.
17552         * test-skeleton.c (TIMEOUT): Move #define to top level.
17553         (main): Grok environment variable TEST_DIRECT.  If set, print
17554         test expectation details into that file and then behave as if
17555         given --direct.
17557 2015-04-09  Florian Weimer  <fweimer@redhat.com>
17559         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
17560         warning on 32-bit.
17562 2015-04-08  David S. Miller  <davem@davemloft.net>
17564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17566 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17568         * math/auto-libm-test-in: Add more tests of atanh.
17569         * math/auto-libm-test-out: Regenerated.
17570         * sysdeps/i386/fpu/libm-test-ulps: Update.
17571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17573         * math/auto-libm-test-in: Add more tests of atan.
17574         * math/auto-libm-test-out: Regenerated.
17575         * sysdeps/i386/fpu/libm-test-ulps: Update.
17576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17578 2015-04-08  Florian Weimer  <fweimer@redhat.com>
17580         * elf/pldd.c (main): Rewrite to use struct
17581         scratch_buffer instead of extend_alloca.
17582         * elf/pldd-xx.c (find_maps): Likewise.
17583         * grp/initgroups.c: Include <scratch_buffer.h> instead of
17584         <alloca.h>.
17585         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
17586         scratch_buffer instead of extend_alloca.
17587         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
17588         grp/compat-initgroups.c.
17589         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
17590         Rewrite to use struct scratch_buffer instead of extend_alloca.
17591         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
17592         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17594 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
17596         * math/auto-libm-test-in: Add more tests of cbrt.
17597         * math/auto-libm-test-out: Regenerated.
17598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17600         * math/auto-libm-test-in: Add more tests of cabs.
17601         * math/auto-libm-test-out: Regenerated.
17602         * sysdeps/i386/fpu/libm-test-ulps: Update.
17603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17605         [BZ #18210]
17606         [BZ #18211]
17607         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
17608         (__ieee754_atan2): Set FE_TONEAREST mode for internal
17609         computations.
17610         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
17611         clog10.
17612         * math/auto-libm-test-out: Regenerated.
17613         * sysdeps/i386/fpu/libm-test-ulps: Update.
17614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17616         [BZ #18197]
17617         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
17618         (atan): Set FE_TONEAREST mode for internal computations.
17619         * math/auto-libm-test-in: Add more tests of atan.
17620         * math/auto-libm-test-out: Regenerated.
17622 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
17624         [BZ #17930]
17625         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
17627 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17629         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
17631 2015-04-07  Florian Weimer  <fweimer@redhat.com>
17633         * include/scratch_buffer.h: New file.
17634         * malloc/scratch_buffer_grow.c: Likewise.
17635         * malloc/scratch_buffer_grow_preserve.c: Likewise.
17636         * malloc/scratch_buffer_set_array_size.c: Likewise.
17637         * malloc/tst-scratch_buffer.c: Likewise.
17638         * malloc/Makefile (routines): Add scratch_buffer_grow.
17639         (tests): Add test case.
17640         * malloc/Versions (GLIBC_PRIVATE): Export
17641         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
17642         __libc_scratch_buffer_set_array_size.
17644 2015-04-06  Richard Henderson  <rth@redhat.com>
17646         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
17647         * sysdeps/alpha/fpu/libm-test-ulps: Update.
17649         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
17650         unsigned int before printing.
17652 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17654         [BZ #17596]
17655         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
17656         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17658 2015-04-02  Florian Weimer  <fweimer@redhat.com>
17660         * include/libc-internal.h (libc_max_align_t): Define.
17662 2015-04-02  Andreas Schwab  <schwab@suse.de>
17664         [BZ #16850]
17665         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
17667 2015-04-02  Mel Gorman  <mgorman@suse.de>
17669         [BZ #17195]
17670         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
17671         as well as the main arena.
17673 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17675         [BZ #18185]
17676         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
17677         sharing L2 cache to 2 for Silvermont/Knights Landing.
17679 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17681         [BZ #17711]
17682         * config.make.in (have-protected-data): New.
17683         * configure.ac: Check linker support for protected data symbol.
17684         * configure: Regenerated.
17685         * elf/Makefile (modules-names): Add tst-protected1moda and
17686         tst-protected1modb if $(have-protected-data) is yes.
17687         (tests): Add tst-protected1a and tst-protected1b if
17688         $(have-protected-data) is yes.
17689         ($(objpfx)tst-protected1a): New.
17690         ($(objpfx)tst-protected1b): Likewise.
17691         (tst-protected1modb.so-no-z-defs): Likewise.
17692         * elf/tst-protected1a.c: New file.
17693         * elf/tst-protected1b.c: Likewise.
17694         * elf/tst-protected1mod.h: Likewise.
17695         * elf/tst-protected1moda.c: Likewise.
17696         * elf/tst-protected1modb.c: Likewise.
17698 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
17700         [BZ #17711]
17701         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
17702         indicates it is called from do_lookup_x on relocation against
17703         protected data, skip the data definion in the executable from
17704         copy reloc.
17705         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
17706         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
17707         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
17708         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
17709         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
17710         otherwise to 0.
17711         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17712         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
17713         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
17714         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
17715         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
17716         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
17718 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
17720         * sysdeps/nptl/pthread.h: Remove duplicate definition of
17721         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
17723 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
17725         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
17726         THREAD_SETMEM_NC.
17727         * sysdeps/x86_64/nptl/tls.h: Ditto.
17729 2015-03-27  Roland McGrath  <roland@hack.frob.com>
17731         * dlfcn/tststatic.c (main): Converted to ...
17732         (do_test): ... this.
17733         (TEST_FUNCTION): New macro.
17734         Include test-skeleton.c.
17736 2015-03-26  Alan Modra  <amodra@gmail.com>
17738         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
17739         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
17740         zero for undefined weak.
17741         (elf_machine_plt_conflict): Similarly.
17743 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17745         * math/auto-libm-test-in: Add more tests of acosh, asinh and
17746         atanh.
17747         * math/auto-libm-test-out: Regenerated.
17748         * sysdeps/i386/fpu/libm-test-ulps: Update.
17749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17751         * math/auto-libm-test-in: Add another test of asin.
17752         * math/auto-libm-test-out: Regenerated.
17753         * sysdeps/i386/fpu/libm-test-ulps: Update.
17754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17756         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
17757         Remove macro.
17758         (LLL_EBX_REG): Likewise.
17759         (LLL_ENTER_KERNEL): Likewise.
17761         * math/auto-libm-test-in: Add more tests of asin.
17762         * math/auto-libm-test-out: Regenerated.
17763         * sysdeps/i386/fpu/libm-test-ulps: Update.
17764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17766         [BZ #18138]
17767         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
17768         libc_do_syscall_args): New structure.
17769         (INTERNAL_SYSCALL_MAIN_0): New macro.
17770         (INTERNAL_SYSCALL_MAIN_1): Likewise.
17771         (INTERNAL_SYSCALL_MAIN_2): Likewise.
17772         (INTERNAL_SYSCALL_MAIN_3): Likewise.
17773         (INTERNAL_SYSCALL_MAIN_4): Likewise.
17774         (INTERNAL_SYSCALL_MAIN_5): Likewise.
17775         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
17776         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
17777         Replace conditional definitions by conditional definitions of ....
17778         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
17779         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
17780         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
17781         (libpthread-sysdep_routines): Add libc-do-syscall.
17782         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
17783         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
17784         to __NR_futex not 240.
17786 2015-03-25  Alan Modra  <amodra@gmail.com>
17788         * NEWS: Advertise TLS optimization.
17789         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
17790         (DT_PPC_NUM): Increment.
17791         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
17792         (CHECK_STATIC_TLS): Use here.
17793         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
17794         TLS descriptors.
17795         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17796         * sysdeps/powerpc/dl-tls.c: New file.
17797         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
17798         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
17799         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
17800         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
17801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
17802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
17803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
17805 2015-03-25  Alan Modra  <amodra@gmail.com>
17807         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
17808         for overlapping .opd entries" to "support...".
17809         * sysdeps/powerpc/powerpc64/configure: Regenerate
17811 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
17813         * math/auto-libm-test-in: Add more tests of acos.
17814         * math/auto-libm-test-out: Regenerated.
17815         * sysdeps/i386/fpu/libm-test-ulps: Update.
17816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17818         * math/auto-libm-test-in: Add more tests of expm1.
17819         * math/auto-libm-test-out: Regenerated.
17820         * sysdeps/i386/fpu/libm-test-ulps: Update.
17821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17823 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
17825         * math/auto-libm-test-in: Add more tests of cosh and sinh.
17826         * math/auto-libm-test-out: Regenerated.
17827         * sysdeps/i386/fpu/libm-test-ulps: Update.
17828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17830         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17833         * math/auto-libm-test-in: Add more tests of log2.
17834         * math/auto-libm-test-out: Regenerated.
17835         * sysdeps/i386/fpu/libm-test-ulps: Update.
17836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17838 2015-03-23  Roland McGrath  <roland@hack.frob.com>
17840         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
17841         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
17842         _IO_IS_APPENDING bit in READ_WRITE instead.
17844 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17846         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
17847         (__determine_cpumask_size): Replace extend_alloca with a
17848         variable-length array.  Do not treat res == 0 as an error.
17850 2015-03-23  Florian Weimer  <fweimer@redhat.com>
17852         [BZ #18100]
17853         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
17854         and integer overflow.
17855         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
17856         (main): Add integer overflow tests.
17857         * manual/pattern.texi (Calling Wordexp): Document additional use
17858         for WRDE_SYNTAX.
17860 2015-03-23  Alan Modra  <amodra@gmail.com>
17862         * config.h.in: Remove HAVE_ASM_PPC_REL16.
17863         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
17864         and false branch of conditional.
17865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17866         Likewise.
17868 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
17870         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
17871         libc-modules.h
17872         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
17873         unused declaration of _hurd_intr_rpc_msg_in_trap.
17874         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
17875         defined instead of whether it is non-zero.
17876         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
17877         input constraint instead of both input and output constraint.  Use ecx
17878         clobber instead of %ecx.
17879         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
17880         mutex_unlock): Use a statement expression instead of an expression list.
17881         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
17882         type to vm_size_t instead of vm_address_t.
17883         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
17884         defined instead of whether it is non-zero.
17885         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
17886         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
17887         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
17888         comparisons with mapaddr.
17889         * nscd/nscd-client.h: Include <time.h>.
17890         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
17891         9th parameter to __vm_region instead of int.
17892         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
17893         * scripts/check-local-headers.sh (exclude): Add device/,
17894         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
17895         cthreads.h.
17897 2015-03-19  Roland McGrath  <roland@hack.frob.com>
17899         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
17900         to account for alignment padding.
17901         * sysdeps/arm/memmove.S: Likewise.
17903 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
17905         * sysdeps/unix/sysv/linux/generic/README: New file.
17907 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
17909         [BZ #18138]
17910         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
17911         (futex_abstimed_wait)
17912         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
17913         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
17914         of lll_futex_timed_wait.
17916 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
17918         [BZ #17542]
17919         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
17921 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
17923         [BZ #17090]
17924         [BZ #17620]
17925         [BZ #17621]
17926         [BZ #17628]
17927         * NEWS: Update.
17928         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
17929         entries with Static TLS too.  Skip entries past the end of the
17930         allocated DTV, from Alan Modra.
17931         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
17932         Static TLS DTV entry set up from...
17933         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
17934         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
17935         * nptl/allocatestack.c (init_one_static_tls): ... and here...
17936         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
17937         for Static TLS.
17938         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
17939         that the slot we find is associated with the given map before
17940         using its generation count.
17941         * nptl_db/db_info.c: Include ldsodefs.h.
17942         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
17943         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
17944         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
17945         (link_map::l_tls_offset): New struct field.
17946         (dtv_t::counter): Likewise.
17947         (rtld_global): New struct.
17948         (_rtld_global): New rtld variable.
17949         (dl_tls_dtv_slotinfo_list): New rtld global field.
17950         (dtv_slotinfo_list): New struct.
17951         (dtv_slotinfo): Likewise.
17952         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
17953         (td_lookup): Rename to...
17954         (td_mod_lookup): ... this.  Use new mod parameter instead of
17955         LIBPTHREAD_SO.
17956         * nptl_db/td_thr_tlsbase.c: Include link.h.
17957         (dtv_slotinfo_list, dtv_slotinfo): New functions.
17958         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
17959         addresses even if the DTV is out of date or missing them.
17960         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
17961         index zero-length arrays.
17962         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
17963         (td_lookup): Make it a macro implemented in terms of...
17964         (td_mod_lookup): ... this declaration.
17965         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
17966         (DB_MAIN_VARIABLE): Likewise.
17968 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
17970         [BZ #18134]
17971         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17973 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
17975         * stdlib/setenv.c (__add_to_environ): Revert previous change.
17977 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
17979         [BZ #18128]
17980         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
17981         (atomic_add, atomic_increment_and_test)
17982         (atomic_decrement_and_test): Fix 64-bit arithmetic.
17984 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
17986         * stdlib/setenv.c (__add_to_environ):
17987         Dump core quickly if setenv (..., NULL, ...) is called.
17989 2015-03-13  Roland McGrath  <roland@hack.frob.com>
17991         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
17992         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
17993         all the necessary asm magic in one place.
17994         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
17995         using those.
17997 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
17999         [BZ #14906]
18000         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
18001         traced file mtime. Use consistent log message.
18002         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
18003         (register_traced_file): Call install_watches. Always set mtime.
18004         (invalidate_cache): Iterate over all trace files. Call install_watches.
18005         (inotify_check_files): Don't inline. Handle watching parent
18006         directories and configuration file movement in and out.
18007         (handle_inotify_events): New function.
18008         (main_loop_poll): Call handle_inotify_events.
18009         (main_loop_epoll): Likewise.
18010         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
18011         (struct traced_file): Use array of inotify fds. Add parent directory,
18012         and basename.
18013         (struct database_dyn): Remove unused file_mtime.
18014         (init_traced_file): New inline function.
18015         (define_traced_file): New macro.
18016         * nss/nss_db/db-init.c: Use define_traced_file.
18017         (_nss_db_init): Use init_traced_file.
18018         * nss/nss_files/files-init.c: Use define_traced_file.
18019         (_nss_files_init): Use init_traced_file.
18021 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
18023         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
18024         [_LIBC]: Do not include <stdlib.h>.
18025         [!_LIBC] (abort): Remove declaration.
18026         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
18027         _FP_STATIC_ASSERT instead of conditionally calling abort.
18028         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
18029         (_FP_EXTEND_CNAN): Likewise.
18030         (FP_TRUNC): Likewise.
18031         (__FP_CLZ): Likewise.
18032         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
18034 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
18036         * manual/string.texi (XPG basename): Fix prototype.
18038 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18040         [BZ #18080]
18041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
18042         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18043         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
18044         (__setcontext): Likewise.
18045         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
18046         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
18047         Call rt_sigprocmask syscall one time to set new signal mask
18048         and retrieve the current signal mask instead of two calls.
18049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
18050         (__swapcontext): Likewise.
18051         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
18052         * stdlib/tst-setcontext2.c: New file.
18054 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
18056         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18058 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
18060         [BZ #18093]
18061         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
18062         the wrong size.
18064 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18066         [BZ #18043]
18067         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
18069 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18071         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
18072         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
18073         Remove define.
18074         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
18075         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
18076         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
18077         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
18078         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
18079         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
18080         define.
18081         * nptl_db/td_symbol_list.c (td_lookup): Remove
18082         HAVE_ASM_GLOBAL_DOT_NAME code.
18083         * sysdeps/powerpc/powerpc64/configure.ac: Remove
18084         HAVE_ASM_GLOBAL_DOT_NAME check.
18085         * sysdeps/powerpc/powerpc64/configure: Regenerate.
18086         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
18087         (DOT_LABEL): Remove define.
18088         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
18089         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
18090         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
18091         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
18092         (__TLS_GET_ADDR): Likewise.
18093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
18094         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
18096 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
18098         [BZ #18111]
18099         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
18100         (_FPU_SETCW): Initialize cw from fpsr before storing.
18101         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
18102         (fesetexceptflag): Rewrite using fpu_control.h.
18103         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
18105 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
18107         [BZ #18110]
18108         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
18109         asms.
18110         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
18112 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
18114         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
18115         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
18116         abort.
18117         (_FP_FMA): Likewise.
18118         (_FP_DIV): Likewise.
18120 2015-03-10  Roland McGrath  <roland@hack.frob.com>
18122         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
18123         with 0 in that case.
18124         * Makefile (summarize-tests): New canned sequence, factored out of
18125         commands for targets tests and xtests.  Display summary lines that
18126         don't start with PASS: or XFAIL: rather than ones that do start with
18127         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
18128         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
18129         do start with ERROR: or FAIL:.
18130         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
18131         (except for [$(build-shared) = yes]).
18132         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
18133         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
18134         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
18135         * nptl/Makefile: Revert 2015-03-04 changes.
18136         [$(CXX) empty] (tests-unsupported): New variable.
18137         * debug/Makefile: Likewise.
18139         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
18140         gnulib file.  Replace __attribute with __attribute__ throughout.
18142 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
18144         * sysdeps/hppa/fpu/libm-test-ulps: Update.
18146 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18148         [BZ #18104]
18149         * math/auto-libm-test-in: Add another test of pow.
18150         * math/auto-libm-test-out: Regenerated.
18152 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18154         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
18155         $(config-cflags-nofma).
18157 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
18159         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
18160         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
18161         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
18162         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
18163         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
18164         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
18165         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
18166         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
18167         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
18168         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
18169         Add comment on closing #endif.
18171 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18173         * posix/wordexp.c (CHAR_IN_SET): New macro.
18174         (parse_param): Use it.
18176 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18178         * sysdeps/powerpc/fpu/libm-test-ulps: update.
18180 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18182         [BZ #18043]
18183         * posix/wordexp.c (parse_param): Fix buffer overflow.
18184         * posix/wordexp-test.c (test_case): Add test case.
18186 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18188         [BZ #18042]
18189         * posix/wordexp.c (parse_backtick): Fix off-by-one.
18190         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
18192 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
18194         [BZ #18043]
18195         * posix/wordexp-test.c (test_case): Add test for BZ #18043
18196         (do_bz18043): Delete.
18197         (at_page_end): New.
18198         (testit): Refactor to have words at the edge of unreadable page.
18200 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18202         [BZ #16734]
18203         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
18204         Cleanup read-only streams as well.
18205         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
18207 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18209         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
18210         <bits/libc-lockP.h>
18212 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
18214         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
18215         on [__KERNEL__].
18216         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
18217         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
18218         * soft-fp/op-common.h (_FP_DECL): Likewise.
18220 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
18222         * elf/ifuncdep2.c (global): Replace
18223         __attribute__((visibility("protected"))) with
18224         asm (".protected global").
18225         * elf/ifuncmod1.c (global): Likewise.
18226         * elf/ifuncmod5.c (global): Likewise.
18228 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
18230         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
18231         <asm/sfp-machine.h> instead of <sfp-machine.h>.
18233 2015-03-06  Roland McGrath  <roland@hack.frob.com>
18235         * manual/install.texi (Configuring and compiling):
18236         Document test-wrapper-env-only.
18237         * INSTALL: Regenerated.
18239 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18241         [BZ #18043]
18242         * posix/wordexp.c (parse_param): Fix buffer overflow.
18243         * posix/wordexp-test.c (do_bz18043): Add test case.
18245 2015-03-06  Vincent Bernat  <vincent@bernat.im>
18247         * time/tst-strptime2.c (do_test): Ensure failing tests are
18248         reported correctly.
18249         * time/tst-strptime3.c (do_test): Likewise.
18251 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
18253         Fix aio_error thread-safety.
18254         * sysdeps/pthread/aio_error.c: New file
18255         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
18256         synchronization.
18258 2015-03-06  Florian Weimer  <fweimer@redhat.com>
18260         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
18261         (group_number, vfprintf): Use it.
18262         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
18263         (JUMP, REF): Use it.
18264         (WORK_BUFFER_SIZE): New enum constant.
18265         (process_arg, vfprintf): Use it.
18267 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
18269         * manual/errno.texi (Error Messages): Complete example function
18270         by adding missing #define.
18271         (program_invocation_name): Add statement indicating GNU
18272         extension and reference which header file declares the variable.
18273         (program_invocation_short_name): Likewise.
18275 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
18277         * manual/errno.texi (Error Messages): Delete strerror ISO C89
18278         compatibility note.
18280 2015-03-05  Roland McGrath  <roland@hack.frob.com>
18282         * Makeconfig (test-wrapper-env-only): New variable.
18283         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
18284         then use that with $(test-wrapper-env-only) rather than using
18285         $(test-wrapper-env) $(run-program-env) $($*-ENV).
18287 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
18289         [BZ #18082]
18290         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
18291         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
18292         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
18293         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
18294         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
18295         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
18296         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
18297         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
18298         Likewise.
18299         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
18300         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
18301         Likewise.
18302         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
18303         Likewise.
18304         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
18305         Likewise.
18306         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
18307         Likewise.
18308         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
18309         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
18310         Likewise.
18311         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
18312         Likewise.
18313         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
18314         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
18316 2015-03-04  Roland McGrath  <roland@hack.frob.com>
18318         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
18319         (ETH_ALEN): New macro.
18320         (struct ether_addr): Use it for length of ether_addr_octet.
18322         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
18323         (setdb): Don't call __nss_configure_lookup for "rpc".
18324         (do_test): Don't call test_rpc.
18325         (output_rpcent, test_rpc): Functions moved ...
18326         * sunrpc/test-rpcent.c: ... to this new file.
18327         * sunrpc/Makefile (tests): Add it.
18329         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
18330         __xpg_sigpause.
18331         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
18332         * nptl/tst-signal6.c: Likewise.
18333         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
18334         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
18336         * configure.ac (libc_cv_cxx_link_ok): New check.
18337         Reset CXX to empty if it fails to link.
18338         * configure: Regenerated.
18339         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
18340         bug-atexit3-lib only if $(CXX) is nonempty.
18341         * nptl/Makefile (tests): Likewise for tst-cancel24.
18342         (tests, tests-static): Likewise for tst-cancel24-static.
18343         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
18344         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
18345         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
18346         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
18348 2015-03-04  Andreas Schwab  <schwab@suse.de>
18350         [BZ #17631]
18351         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
18352         for non-GCC compilers.
18353         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18354         Likewise.
18356 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
18358         [BZ #17776]
18359         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
18360         integer before bitwise and assembly operations.
18361         (feclearexcept): Likewise.
18362         * math/test-fenvinline.c: New file.
18363         * math/Makefile: Add test-fenvinline test.
18365 2015-03-03  Alan Modra  <amodra@gmail.com>
18367         [BZ #16512]
18368         * scripts/localplt.awk: Strip off symbol version.
18369         * NEWS: Mention bug fix.
18371 2015-03-02  Roland McGrath  <roland@hack.frob.com>
18373         * sysdeps/pthread/timer_routines.c
18374         (timer_free_list, thread_free_list, thread_active_list): Make static.
18376 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
18378         [BZ #17779]
18379         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18380         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18381         Undefine.
18382         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18383         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18384         Likewise.
18385         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18386         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
18387         Likewise.
18389 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
18391         [BZ #18036]
18392         * posix/fnmatch_loop.c (END): Detect invalid pattern.
18393         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
18395 2015-03-02  Andreas Schwab  <schwab@suse.de>
18397         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
18398         variable name.
18400 2015-03-02  Florian Weimer  <fweimer@redhat.com>
18402         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
18403         Return error status.
18405 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
18407         [BZ #15969]
18408         * locale/findlocale.c (_nl_find_locale): Introduce const
18409         version of loc_name and drop unsafe type casts.
18411 2015-02-27  Roland McGrath  <roland@hack.frob.com>
18413         * dlfcn/tststatic2.c (main): Converted to ...
18414         (do_test): ... this.
18415         (TEST_FUNCTION): New macro.
18416         Include test-skeleton.c.
18418 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
18420         [BZ #17711]
18421         * elf/Makefile (tests): Add vismain only if PIE is enabled.
18422         (tests-pie): Add vismain.
18423         (CFLAGS-vismain.c): New.
18424         * elf/vismain.c: Add comments for PIE requirement.
18426 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18428         [BZ #18046]
18429         [BZ #18047]
18430         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
18431         0x1p-56L as threshold for just returning the argument.
18432         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
18433         0x1p-32L as threshold for just returning the argument.
18434         * math/auto-libm-test-in: Add more tests of atanh.
18435         * math/auto-libm-test-out: Regenerated.
18436         * sysdeps/i386/fpu/libm-test-ulps: Update.
18437         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
18439 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18441         * string/bcopy.c (bcopy): Call memmove for performance.
18443 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
18445         * string/bzero.c (__bzero): Call memset for performance.
18447 2015-02-27  John David Anglin  <dave.anglin@bell.net>
18449         [BZ #18068]
18450         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
18451         to 00100000.
18453 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18455         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
18457 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18459         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
18460         (__kernel_standard): Use CSTR macro when setting exc.name.
18461         * sysdeps/ieee754/Makefile [$(subdir) = math]
18462         (CFLAGS-k_standard.c): Remove variable.
18464         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
18465         setting p and q from "else if" to "else".
18466         (qzero): Likewise.
18467         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
18468         (qone): Likewise.
18469         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
18470         (qzerof): Likewise.
18471         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
18472         (qonef): Likewise.
18473         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
18474         (qzero): Likewise.
18475         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
18476         (qone): Likewise.
18478         [BZ #18038]
18479         [BZ #18039]
18480         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
18481         return pi/2 for arguments below 0x1p-113L.
18482         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
18483         return pi/2 for arguments below 0x1p-106L.
18484         * math/auto-libm-test-in: Add more tests of acos.
18485         * math/auto-libm-test-out: Regenerated.
18487         [BZ #16351]
18488         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
18489         (MO): New macro.
18490         (__ieee754_asin): Force underflow exception for results with small
18491         absolute value.
18492         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
18493         (MO): New macro.
18494         (__ieee754_asinf): Force underflow exception for results with
18495         small absolute value.
18496         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
18497         (__ieee754_asin): Force underflow exception for results with small
18498         absolute value.
18499         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
18500         (__ieee754_asinf): Force underflow exception for results with
18501         small absolute value.
18502         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
18503         (__ieee754_asinl): Force underflow exception for results with
18504         small absolute value.
18505         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
18506         (__ieee754_asinl): Force underflow exception for results with
18507         small absolute value.
18508         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
18509         (__ieee754_asinl): Force underflow exception for results with
18510         small absolute value.
18511         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
18512         Include <math.h>.
18513         * math/auto-libm-test-in: Do not mark underflow exceptions as
18514         possibly missing for bug 16351.
18515         * math/auto-libm-test-out: Regenerated.
18517         [BZ #18030]
18518         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
18519         of power of 2 down when low part has opposite sign.
18520         * math/libm-test.inc (logb_test_data): Add more tests.
18522 2015-02-26  Andreas Schwab  <schwab@suse.de>
18524         [BZ #18032]
18525         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
18526         over collating symbol inside a bracket expression.  Minor cleanup.
18527         * posix/tst-fnmatch3.c (do_test): Add test case.
18529 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
18531         [BZ #18029]
18532         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
18533         Adjust exponent of power of 2 down when low part has opposite
18534         sign.
18535         * math/libm-test.inc (ilogb_test_data): Add more tests.
18537 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
18539         [BZ #15969]
18540         * locale/findlocale.c (_nl_find_locale): Fix constness error in
18541         the previous change.
18543         [BZ #15969]
18544         * locale/findlocale.c (_nl_find_locale): Retry archive search
18545         after alias expansion.
18547 2015-02-25  Roland McGrath  <roland@hack.frob.com>
18549         * iconv/tst-iconv3.c (main): Converted to ...
18550         (do_test): ... this.
18551         (TEST_FUNCTION): New macro.
18552         Include test-skeleton.c.
18554         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
18555         (convert): Make function static.
18556         (test_unalign): Likewise.  Add const to argument pointee types.
18557         (main): Replace with static function do_test.
18558         Print "Succeeded." only if RET is zero.
18559         (TEST_FUNCTION): New macro.
18560         Include test-skeleton.c.
18562         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
18563         returns a null pointer.
18565 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18567         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
18568         to __memcpy_ppc only for static builds.
18570 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
18572         [BZ #18020]
18573         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
18574         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
18575         * math/auto-libm-test-in: Add more tests of asinh.
18576         * math/auto-libm-test-out: Regenerated.
18577         * sysdeps/i386/fpu/libm-test-ulps: Update.
18578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18580 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
18582         [BZ #15850]
18583         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
18584         and ip6_mtuinfo definitions here.
18585         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
18586         in this define too.  Update comment.
18588 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
18590         * elf/sprof.c (load_shobj): Tweak error message to match others.
18592 2015-02-24  Kevin Easton  <kevin@guarana.org>
18594         [BZ #16145] (partial fix)
18595         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
18596         to reduce lock contention.
18598 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
18600         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
18601         (struct timex): Update time comment.
18602         (ADJ_SETOFFSET): Define.
18604 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18606         [BZ #18019]
18607         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18608         2**56 not 2**28 as threshold for log (2x) formula.
18609         * math/auto-libm-test-in: Add more tests of acosh.
18610         * math/auto-libm-test-out: Regenerated.
18611         * sysdeps/i386/fpu/libm-test-ulps: Update.
18612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18614 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18616         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
18617         parenthesis around the buf assignment.
18618         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
18620 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
18622         [BZ #16783]
18623         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
18624         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
18625         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
18626         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18627         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18628         * math/libm-test.inc (scalb_test_data): Add more tests.
18630 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18632         [BZ #17916]
18633         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
18634         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
18636 2015-02-24  Eric Rannaud  <e@nanocritical.com>
18638         [BZ #17523]
18639         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
18640         * io/bits/fcntl2.h (open): Use it.
18641         (openat): Likewise.
18642         * io/open.c (__libc_open): Likewise.
18643         * io/open64.c (__libc_open64): Likewise.
18644         * io/open64_2.c (__open64_2): Likewise.
18645         * io/open_2.c (__open_2): Likewise.
18646         * io/openat.c (__openat): Likewise.
18647         * io/openat64.c (__openat64): Likewise.
18648         * io/openat64_2.c (__openat64_2): Likewise.
18649         * io/openat_2.c (__openat_2): Likewise.
18650         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
18651         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
18652         * sysdeps/posix/open64.c (__libc_open64): Likewise.
18653         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
18654         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18655         (__open_nocancel): Likewise.
18656         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18657         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18658         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
18660 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18662         [BZ #14841]
18663         * resolv/gethnamaddr.c (getanswer): Skip logging if
18664         RES_USE_DNSSEC is set.
18665         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18667 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
18669         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
18671 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
18673         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
18674         201304L, for Unicode 7.
18676 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
18678         [BZ #17836]
18679         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
18680         shared library.  Add gmon-start.os otherwise.
18681         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
18682         $(objpfx)gmon-start.os if builing shared library.
18683         ($(objpfx)g$(static-start-installed-name)): Likewise.
18685 2015-02-23  Andreas Schwab  <schwab@suse.de>
18687         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
18689 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
18691         [BZ #17269]
18692         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
18693         (enlarge_userbuf): Likewise.
18695 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
18697         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
18698         * math/atest-exp.c (TIMEOUT): Adjust to 200.
18699         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
18700         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
18702 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
18704         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
18705         expression inside statement expression.
18707 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18709         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
18710         <sysdeps/nptl/lowlevellock.h> and remove macros and
18711         functions that are now defined there.
18712         (SYS_futex): Remove.
18713         (lll_compare_and_swap): Remove.
18714         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
18716 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
18718         [BZ #17999]
18719         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
18720         instead of scandirat.
18721         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
18722         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
18723         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
18724         __scandirat.
18725         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
18726         (__scandirat): Declare.  Use libc_hidden_proto.
18727         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
18728         Remove variable.
18729         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
18731 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18733         [BZ #15319]
18734         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
18735         (MO): New macro.
18736         (__ieee754_atan2): For results with small absolute value, force
18737         underflow exception and remove excess range and precision from
18738         return value.
18739         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
18740         (MO): New macro.
18741         (__ieee754_atan2f): For results with small absolute value, force
18742         underflow exception and remove excess range and precision from
18743         return value.
18744         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
18745         (MO): New macro.
18746         (__atan): For results with small absolute value, force underflow
18747         exception and remove excess range and precision from return value.
18748         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
18749         (MO): New macro.
18750         (__atanf): For results with small absolute value, force underflow
18751         exception and remove excess range and precision from return value.
18752         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
18753         <math.h>.
18754         (__ieee754_atan2): Force underflow exception for results with
18755         small absolute value.
18756         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
18757         <math_private.h>.
18758         (atan): Force underflow exception for results with small absolute
18759         value.
18760         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
18761         (__atanf): Force underflow exception for results with small
18762         absolute value.
18763         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
18764         <math.h>.
18765         (__atanl): Force underflow exception for results with small
18766         absolute value.
18767         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
18768         (__atanl): Force underflow exception for results with small
18769         absolute value.
18770         * sysdeps/x86/fpu/bits/mathinline.h
18771         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
18772         (__ieee754_atan2): Only define inline for long double.
18773         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
18774         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
18775         * math/auto-libm-test-in: Do not mark underflow exceptions as
18776         possibly missing for bug 15319.  Add more tests of atan2.
18777         * math/auto-libm-test-out: Regenerated.
18778         * math/libm-test.inc (casin_test_data): Do not mark underflow
18779         exceptions as possibly missing for bug 15319.
18780         (casinh_test_data): Likewise.
18781         * sysdeps/i386/fpu/libm-test-ulps: Update.
18783 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
18785         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
18786         * sysdeps/mips/bits/endian.h: Fix comments.
18788 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
18790         [BZ #17996]
18791         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
18792         (hdestroy_r): Likewise.
18793         (hsearch_r): Likewise.
18794         (__hcreate_r): Declare and use libc_hidden_proto.
18795         (__hdestroy_r): Likewise.
18796         (__hsearch_r): Likewise.
18797         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
18798         (hcreate): Call __hcreate_r instead of hcreate_r.
18799         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
18800         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
18801         as weak alias of __hcreate_r.
18802         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
18803         __hdestroy_r.
18804         (hsearch_r): Rename to __hsearch_r and define as weak alias of
18805         __hsearch_r.
18806         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
18807         Remove variable.
18808         (test-xfail-XPG4/search.h/linknamespace): Likewise.
18809         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
18810         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
18811         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
18813 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18815         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
18816         arena_lock into a single arena_get.
18818 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
18820         * dl-reloc.c: Inlucde libc-internal.h.
18821         (_dl_try_allocate_static_tls): Call ALIGN_UP.
18822         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
18823         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
18824         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
18825         (grow_heap): Likewise.
18826         * malloc/malloc.c: Include libc-internal.h.
18827         (do_check_malloc): Call powerof2.
18828         (sysmalloc): Use pagesize. Call ALIGN_UP.
18829         (systrim): Use pagesize.
18830         (mremap_chunk): Use pagesize. Call ALIGN_UP.
18831         (__libc_valloc): Use pagesize.
18832         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
18834 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18836         [BZ #17991]
18837         * include/sys/resource.h (__getrlimit64): Declare.  Use
18838         libc_hidden_proto.
18839         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
18840         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
18841         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
18842         getrlimit64.
18843         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
18844         __getrlimit64.
18845         [!getrlimit64] (getrlimit64): Define as weak alias of
18846         __getrlimit64.  Use libc_hidden_weak.
18847         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
18848         using __getrlimit64 not __new_getrlimit64.
18849         (__GI_getrlimit64): Likewise.
18850         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
18851         Likewise.
18852         (__GI_getrlimit64): Likewise.
18853         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
18854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
18855         (getrlimit): Add __getrlimit64 alias.
18856         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
18857         Likewise.
18858         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
18859         Remove variable.
18860         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
18861         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
18863 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
18865         * libio/fileops.c: Add missing sys/mman.h
18866         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
18868 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
18870         * manual/math.texi (Errors in Math Functions): Clarify goals
18871         regarding inexact and underflow exceptions.
18873 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18875         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
18876         * sysdeps/mips/memset.S: Ditto.
18878 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
18880         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
18882 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18884         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
18885         (__v1longjmp): Remove versioned symbol.
18886         (__v1siglongjmp): Remove alias and versioned symbol.
18887         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
18888         (__v2siglongjmp): Likewise.
18890 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18892         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
18894 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
18896         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
18898 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18900         [BZ #17987]
18901         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
18902         zero result does not depend on the sign resulting from
18903         subtraction.
18904         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18905         Likewise.
18906         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18907         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18908         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18909         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18910         * math/libm-test.inc (remquo_test_data): Add more tests.
18912 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
18914         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
18915         Problem reported by J William Piggott.
18917 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
18919         [BZ #17978]
18920         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
18921         products 4 * y and 2 * y where those would overflow.
18922         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18923         Likewise.
18924         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
18925         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
18926         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
18927         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
18928         * math/libm-test.inc (remquo_test_data): Add more tests.
18930         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
18932         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
18933         [defined _COMPILING_NEWLIB].
18934         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
18935         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
18937         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
18938         [!defined __mips_isa_rev || __mips_isa_rev < 6].
18940 2015-02-16  Torvald Riegel  <triegel@redhat.com>
18942         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
18943         acquired.
18945 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
18947         [BZ #17792]
18948         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
18949         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
18950         HOST_STACK_END_ADDR): Likewise.
18952 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
18954         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
18955         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
18956         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
18958 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18960         * sysdeps/generic/c++-types.data: New file.
18961         * sysdeps/generic/ld.abilist: New file.
18962         * sysdeps/generic/libBrokenLocale.abilist: New file.
18963         * sysdeps/generic/libanl.abilist: New file.
18964         * sysdeps/generic/libc.abilist: New file.
18965         * sysdeps/generic/libcrypt.abilist: New file.
18966         * sysdeps/generic/libdl.abilist: New file.
18967         * sysdeps/generic/libm.abilist: New file.
18968         * sysdeps/generic/libpthread.abilist: New file.
18969         * sysdeps/generic/libresolv.abilist: New file.
18970         * sysdeps/generic/librt.abilist: New file.
18972 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18974         [BZ #17569]
18975         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
18976         Compute absolute value of x as modified by fmod, not original
18977         value of x.
18978         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
18979         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
18980         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
18981         RUN_TEST_ffI_f1_mod8.
18982         (remquo_test_data): Add more tests.
18984 2015-02-13  Roland McGrath  <roland@hack.frob.com>
18986         * sysdeps/init_array/pt-crti.S: New file.
18988 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
18990         [BZ #17967]
18991         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
18992         __builtin_fmaf instead of relying on contraction of a * b + c.
18994 2015-02-12  J William Piggott  <elseifthen@gmx.com>
18996         [BZ #17969]
18997         * manual/time.texi: correct the zoneinfo path in the TZ Variable
18998         node.
19000 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19002         [BZ #17964]
19003         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
19004         __builtin_fma instead of relying on contraction of a * b + c.
19006 2015-02-12  Roland McGrath  <roland@hack.frob.com>
19008         * Makeconfig (ASFLAGS): Add -Werror=undef.
19009         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
19010         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
19011         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
19013         * Makeconfig (after-link): New variable.
19014         (+link-pie, +link-pie-tests): Use it.
19015         (+link-static, +link-static-tests): Likewise.
19016         (+link, +link-tests): Likewise.
19017         * Makerules (build-module, build-module-asneeded): Likewise.
19018         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
19019         Likewise.
19020         * elf/Makefile ($(objpfx)ld.so): Likewise.
19022 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
19024         [BZ #17965]
19025         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
19026         both struct timeval and struct timespec.
19028 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
19030         [BZ #16560]
19031         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19032         and redefine.
19033         (__ieee754_exp2l): Do not multiply small fractional parts by
19034         M_LN2l.
19035         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
19036         small argument.
19037         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19038         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
19039         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
19040         * math/auto-libm-test-in: Add more tests of exp2.
19041         * math/auto-libm-test-out: Regenerated.
19043 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19045         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
19046         unaligned path.
19048 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19050         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
19051         little endian.
19053 2015-02-12  Andreas Schwab  <schwab@suse.de>
19055         [BZ #15790]
19056         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
19057         Filter out elision flags from value returned in kind.
19058         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
19059         * nptl/tst-pthread-mutexattr.c: New file.
19061 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19063         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
19064         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
19065         into gnu-gnu, and update comment to refer to abi-tags.
19067 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
19069         [BZ #15467]
19070         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
19071         (__sincos): Set errno to EDOM for infinite argument.
19072         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
19073         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
19074         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
19075         (__sincosl): Set errno to EDOM for infinite argument.
19076         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
19077         (__sincosl): Set errno to EDOM for infinite argument.
19078         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
19079         (__sincosl): Set errno to EDOM for infinite argument.
19080         * math/libm-test.inc (sincos_test_data): Test errno setting.
19082 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
19084         * string/strxfrm_l.c: Remove #define STRCMP.
19085         * string/strcoll_l.c: Remove #define STRLEN.
19086         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
19087         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
19089 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
19091         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
19092         * sysdeps/mips/mips32/sfp-machine.h: ... here.
19093         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
19094         * sysdeps/mips/mips64/Makefile: ... here.
19095         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
19096         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
19097         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
19098         * sysdeps/mips/mips64/sfp-machine.h: ... here.
19099         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19100         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
19101         * sysdeps/mips/mips64/n64/Implies: Likewise.
19103 2015-02-10  Roland McGrath  <roland@hack.frob.com>
19105         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
19106         <sys/time.h>, <string.h>, and <errno.h>.
19107         (dest_offset, dest_address, value, zero): Remove unused variables.
19108         (ldouble): Remove typedef.
19109         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
19110         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
19111         1).  Fix code style.
19112         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
19113         (check): Function removed.
19114         (CHECK): New macro.
19115         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
19116         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
19117         Don't call set_sigaction_FP and remove_sigaction_FP here.
19118         (ldouble_test): Just use 'long double' as macro argument, no need for
19119         the 'ldouble' typedef.
19120         (do_test): Set up SIGFPE handler at start, using plain signal rather
19121         than sigaction.  Fix code style.
19123 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
19125         [BZ #17949]
19126         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
19127         jump label.
19129 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19131         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
19132         * sysdeps/powerpc/powerpc32/configure: Regenerated.
19134         * sysdeps/powerpc/configure.ac: Remove file.
19135         * sysdeps/powerpc/configure: Likewise.
19137         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19138         [sysdep_routines]: Remove wordcopy-power6 object.
19139         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
19140         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
19141         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
19142         (__memmove_ppc32): Likewise.
19143         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
19144         file.
19145         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
19146         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
19147         Remove preprocessor.
19149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
19150         [sysdep_routines]: Remove wide chars objects.
19151         [wcsmbs]: New rule for wide char objects.
19153         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19154         Remove wordcopy-power6 obejct.
19155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
19156         Use local call for wordcopy and memcpy symbols.
19157         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
19158         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
19159         implementation for loader.
19160         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
19162         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19163         Remove wordcopy-power7 object.
19164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
19165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
19166         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
19167         (_wordcopy_fwd_dest_aligned): Likewise.
19168         (_wordcopy_bwd_aligned): Likewise.
19169         (_wordcopy_bwd_dest_aligned): Likewise.
19171         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
19172         Rewrite to call __memmove_ppc instead of include default
19173         implementation.
19175         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19176         Remove wide chars objects.
19177         [wcsmbs]: New rule for wide char objects.
19179 2015-02-09  Andreas Schwab  <schwab@suse.de>
19181         [BZ #17912]
19182         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
19183         in terms of __O_DIRECTORY.
19185 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19187         * time/getdate.c: Include <stdbool.h>.
19188         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
19189         call PTR_MANGLE.
19190         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
19191         PTR_DEMANGLE.
19193 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
19195         Add ersatz _Static_assert on older C hosts
19196         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
19197         pre-C11 C platform that is not known to support _Static_assert.
19199 2015-02-07  Richard Braun  <rbraun@sceen.net>
19201         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
19202         sigstate.
19203         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
19205 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19207         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
19208         priority against unexistent AIO_PRIO_DELTA_MAX.
19209         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
19210         instead of int.
19211         * misc/fchflags.c (fchflags): Likewise.
19212         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
19213         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
19214         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
19215         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
19216         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
19217         Declare macros.
19218         [__USE_MISC] (chflags, fchflags): Declare functions.
19219         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
19220         EINVAL when nfds is greater than FD_SETSIZE.
19221         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
19222         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
19223         45.
19224         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
19225         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
19226         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
19227         MACH_RCV_TIMED_OUT.
19228         * hurd/hurd/signal.h (_hurd_self_sigstate,
19229         _hurd_critical_section_lock, _hurd_critical_section_unlock):
19230         Explicit casts from void *.
19231         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
19232         * abi-tags: Rename gnu-gnu os into gnu.
19234         [BZ #4719]
19235         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
19236         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
19237         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
19238         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
19239         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
19240         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
19242         [BZ #17944]
19243         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
19244         duplicates ADDR->sun_path with sockaddr LEN limitation.
19245         * sysdeps/mach/hurd/connect.c: Include <string.h>
19246         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
19247         * sysdeps/mach/hurd/sendmsg.c: Likewise.
19248         * sysdeps/mach/hurd/sendto.c: Likewise.
19249         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
19250         implementing it by hand.
19252 2015-02-06  Roland McGrath  <roland@hack.frob.com>
19254         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
19255         Use sfi_breg on ldr.
19256         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
19257         Likewise.
19259         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
19260         it's defined.
19261         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
19262         Test SIGSETXID only if it's defined.
19264         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
19266         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
19267         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
19269         * nptl/tst-align2.c: Moved ...
19270         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
19271         * nptl/Makefile (tests): Remove tst-align2.
19272         * sysdeps/unix/sysv/linux/Makefile
19273         [$(subdir) = nptl] (tests): Add tst-align-clone.
19274         * nptl/tst-getpid1.c: Moved ...
19275         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
19276         * nptl/tst-getpid2.c: Moved ...
19277         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
19278         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
19279         * sysdeps/unix/sysv/linux/Makefile
19280         [$(subdir) = nptl] (tests): ... here.
19281         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
19282         * sysdeps/unix/sysv/linux/Makefile
19283         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
19285         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
19286         Drop trailing \n from perror argument.  Use return rather than exit.
19288         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
19289         on [SA_SIGINFO].
19290         * nptl/tst-cancel21.c (do_test): Likewise.
19291         * debug/tst-backtrace6.c: Include <signal.h> first thing.
19292         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
19293         [!SA_SIGINFO]: Make it a stub test.
19295         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
19296         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
19298         * posix/tst-getlogin.c: Move to ...
19299         * login/tst-getlogin.c: ... here.
19300         * posix/Makefile (tests): Move tst-getlogin to ...
19301         * login/Makefile (tests): ... here.
19303         * libio/tst-atime.c (do_test): Move local variables SV and E
19304         inside [ST_NOATIME] conditional.
19306         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
19308         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
19310         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
19311         (wait_code): New function replaces macro.
19312         Call nanosleep rather than syscall.
19314         * nptl/pt-system.c: Rewritten.  Put everything under
19315         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19316         Use IFUNC to redirect when possible.
19318         * nptl/pt-longjmp.c: Rewritten.  Put everything under
19319         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19320         Use IFUNC to redirect when possible.
19322         * nptl/pt-fork.c: Rewritten.  Put everything under
19323         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
19324         Use IFUNC to redirect when possible.
19325         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
19327         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
19328         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
19329         unconditionally nowadays.  This included the only reference to
19330         __vdso_clock_gettime that appears outside libc proper.
19331         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
19332         Remove version set (containing only __vdso_clock_gettime).
19333         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19334         Add attribute_hidden.
19335         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19336         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
19337         libc_hidden_data_def.
19338         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
19339         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19341         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
19342         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
19343         setrpcent, and getrpcport to ...
19344         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
19345         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
19346         getrpcbynumber_r, and getrpcent_r to ...
19347         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
19348         * inet/getrpcbyname.c: Moved ...
19349         * sunrpc/getrpcbyname.c: ... here.
19350         * inet/getrpcbyname_r.c: Moved ...
19351         * sunrpc/getrpcbyname_r.c: ... here.
19352         * inet/getrpcbynumber.c: Moved ...
19353         * sunrpc/getrpcbynumber.c: ... here.
19354         * inet/getrpcbynumber_r.c: Moved ...
19355         * sunrpc/getrpcbynumber_r.c: ... here.
19356         * inet/getrpcent.c: Moved ...
19357         * sunrpc/getrpcent.c: ... here.
19358         * inet/getrpcent_r.c: Moved ...
19359         * sunrpc/getrpcent_r.c: ... here.
19360         * inet/Makefile (routines): Move those to ...
19361         * sunrpc/Makefile (routines): ... here.
19362         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
19363         the $(subdirs) list.
19364         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
19365         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
19366         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
19367         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
19369         * elf/Makefile (routines): Include $(all-dl-routines), not just
19370         $(dl-routines).
19371         (rtld-routines): Likewise.  Use = rather than :=.
19372         * sysdeps/aarch64/Makefile [$(subdir) = elf]
19373         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
19374         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
19375         * sysdeps/arm/Makefile: Likewise.
19376         * sysdeps/i386/Makefile: Likewise.
19377         * sysdeps/x86_64/Makefile: Likewise.
19378         * sysdeps/hppa/Makefile [$(subdir) = elf]
19379         (sysdep_routines, sysdep-rtld-routines): Don't add
19380         $(sysdep-dl-routines) to these.
19381         * sysdeps/ia64/Makefile: Likewise.
19382         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
19383         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
19384         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
19385         Don't add dl-static to these; sysdep-dl-routines alone is enough.
19386         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
19387         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
19388         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
19389         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
19390         * sysdeps/powerpc/Makefile [$(subdir) = elf]
19391         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
19392         these; sysdep-dl-routines alone is enough.
19394 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
19396         [BZ #17932]
19397         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
19398         where multiplication results in zero and third argument is finite
19399         and nonzero.
19400         * math/auto-libm-test-in: Add more tests of fma.
19401         * math/auto-libm-test-out: Regenerated.
19403         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
19404         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
19405         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
19406         (_FP_CMP_EQ): Likewise.
19407         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
19409         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
19410         extra argument CHECK_NAN.  Redefine as wrapper around
19411         _FP_EXTEND_CNAN.
19413 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
19415         * version.h (RELEASE): Set to "stable".
19416         (VERSION): Set to "2.21"
19417         * include/features.h (__GLIBC_MINOR__): Set to 21.
19419         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
19421 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19422             Paul Eggert  <eggert@cs.ucla.edu>
19424         [BZ #16618]
19425         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
19426         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
19427         size in bytes. Store needed elements in wpmax. Use needed size
19428         in bytes for extend_alloca.
19430 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
19432         * manual/install.texi: Latest tested versions are GCC 4.9.2,
19433         binutls 2.25, and texinfo 5.2.
19434         * INSTALL: Regenerate.
19435         * sysdeps/nios2/configure: Regenerate.
19436         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
19437         * manual/contrib.texi: Update.
19438         * po/be.po: Update.
19439         * po/bg.po: Update.
19440         * po/ca.po: Update.
19441         * po/cs.po: Update.
19442         * po/da.po: Update.
19443         * po/de.po: Update.
19444         * po/el.po: Update.
19445         * po/eo.po: Update.
19446         * po/es.po: Update.
19447         * po/fi.po: Update.
19448         * po/fr.po: Update.
19449         * po/gl.po: Update.
19450         * po/hr.po: Update.
19451         * po/hu.po: Update.
19452         * po/ia.po: Update.
19453         * po/id.po: Update.
19454         * po/it.po: Update.
19455         * po/ja.po: Update.
19456         * po/ko.po: Update.
19457         * po/lt.po: Update.
19458         * po/nb.po: Update.
19459         * po/nl.po: Update.
19460         * po/pl.po: Update.
19461         * po/pt_BR.po: Update.
19462         * po/ru.po: Update.
19463         * po/rw.po: Update.
19464         * po/sk.po: Update.
19465         * po/sl.po: Update.
19466         * po/sv.po: Update.
19467         * po/tr.po: Update.
19468         * po/uk.po: Update.
19469         * po/vi.po: Update.
19470         * po/zh_CN.po: Update.
19471         * po/zh_TW.po: Update.
19473         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
19474         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
19475         * sysdeps/hppa/dl-irel.h: Remove #warning.
19476         * sysdeps/hppa/entry.h: Provide prototype for
19477         __canonicalize_funcptr_for_compare and cast argument.
19478         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
19479         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
19480         * sysdeps/hppa/sotruss-lib.c: New file.
19481         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
19482         (atomic_compare_and_exchange_val_acq): Use __typeof__.
19483         (atomic_compare_and_exchange_bool_acq): Likewise.
19484         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
19485         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
19487         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
19488         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
19489         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
19491 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
19493         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
19494         called function in non-PIC case.
19496 2015-01-31  David S. Miller  <davem@davemloft.net>
19498         * sysdeps/sparc/sparc32/bits/atomic.h
19499         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
19500         unlock not after it.
19501         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
19502         volatile register usage warnings from the compiler.
19504         * sysdeps/sparc/nptl/sem_init.c: Delete.
19505         * sysdeps/sparc/nptl/sem_post.c: Delete.
19506         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
19507         * sysdeps/sparc/nptl/sem_wait.c: Delete.
19508         * sysdeps/sparc/sparc32/sem_init.c: New file.
19509         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
19510         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
19511         padding explicitly initialized.
19512         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
19513         padding for in-semaphore spinlock.
19514         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
19515         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
19516         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
19517         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
19518         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
19519         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
19520         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
19521         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
19522         version.
19523         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
19524         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
19526 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
19528         [BZ #17801]
19529         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19530         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
19531         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
19532         New.
19533         (index_AVX_Fast_Unaligned_Load): Likewise.
19534         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
19535         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
19536         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
19537         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
19538         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
19539         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
19540         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
19541         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
19542         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
19544 2015-01-29  Andreas Schwab  <schwab@suse.de>
19546         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
19548 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
19550         [BZ #17892]
19551         * nscd/nscd_stat.c (send_stats): Initialize DATA.
19553 2015-01-28  Martin Sebor  <msebor@redhat.com>
19555         * math/README.libm-test: Clarify. Add "How to read the test output."
19557 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
19559         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
19560         Define to 0.
19562 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
19564         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
19565         (__HAVE_64B_ATOMICS): Define to 0.
19567 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19569         [BZ #17885]
19570         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
19571         value to set as new flag.
19573         [BZ #16576]
19574         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
19575         and use _ARCH_PPCSQ instead.
19576         (__ieee754_sqrt): Likewise.
19577         (__ieee754_sqrtf): Likewise.
19578         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
19579         _ARCH_PPCSQ is defined.
19580         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
19581         fsqrt instruction.
19582         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
19583         _ARCH_PPCSQ is defined.
19584         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
19585         fsqrts instruction.
19586         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
19588 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19590         * iconv/loop.c: Suppress array out of bound warning caused by GCC
19591         bug (GCC BZ #64739).
19593 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
19595         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
19596         Mark _retval as used.
19597         (lll_futex_wake_unlock): Likewise.
19598         (lll_futex_timed_wait_requeue_pi): Likewise.
19600         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
19601         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
19602         register variables.
19604         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
19605         libm_hidden_def.
19607         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
19608         (__bswap_64): Mark as __always_inline.
19610 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
19612         [BZ #15378]
19613         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
19614         when none of the search directories exist.
19616 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
19618         [BZ #17869]
19619         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
19620         power8 in .machine directive.
19622         [BZ #17868]
19623         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
19624         set dependency from opd value.
19626 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19628         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19629         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
19630         architecture.
19632 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
19634         [BZ #17870]
19635         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
19636         with uint64_t.
19637         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
19638         (uint64_t) 1.
19639         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
19640         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
19641         Replace 1UL with (uint64_t) 1.
19642         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
19643         int with uint64_t.
19645 2015-01-23  Roland McGrath  <roland@hack.frob.com>
19647         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
19648         (if_freenameindex): Likewise.
19650         * resource/getrlimit64.c: Add missing libc_hidden_def.
19652 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
19654         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
19655         __label__.
19656         (_FP_FMA): Likewise.
19657         (_FP_TO_INT_ROUND): Likewise.
19658         (_FP_FROM_INT): Likewise.
19660 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19662         [BZ #16418]
19663         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
19664         Make code racy and cancel safe.
19666 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
19668         * sysdeps/arm/unwind-resume.h: Fix copyright year.
19669         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
19670         attribution.
19672         * pwd/tst-getpw.c: Rewrite.
19674         [BZ #17702]
19675         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
19676         (modules-names): Add moddummy1 and moddummy2.
19677         ($(objpfx)tst-rec-dlopen): Define.
19678         * dlfcn/moddummy1.c: New file.
19679         * dlfcn/moddummy2.c: New file.
19680         * dlfcn/tst-rec-dlopen.c: New file.
19681         * elf/dl-cache.c (_dl_load_cache_lookup):
19682         Return char*. Copy result with alloca/strcpy/strdup.
19683         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
19684         returns char*. Free cached. If not saving realname
19685         free cached.
19686         * elf/dl-open.c (dl_open_worker): Do not assert that
19687         _r_debug->r_state is RT_CONSISTENT.
19688         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
19689         returns char*.
19691 2015-01-21  Torvald Riegel  <triegel@redhat.com>
19692             Carlos O'Donell  <carlos@redhat.com>
19694         [BZ #12674]
19695         * nptl/sem_waitcommon.c: New file.
19696         * nptl/sem_wait.c: Include sem_waitcommon.c.
19697         (__sem_wait_cleanup, do_futex_wait): Remove.
19698         (__new_sem_wait): Adapt.
19699         (__new_sem_trywait): New function.
19700         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
19701         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
19702         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
19703         (sem_timedwait): Adapt.
19704         * nptl/sem_post.c (__new_sem_post): Adapt.
19705         (futex_wake): New function.
19706         (__old_sem_post): Add release MO fence.
19707         * nptl/sem_open.c (sem_open): Adapt.
19708         * nptl/sem_init.c (__new_sem_init): Adapt.
19709         (futex_private_if_supported): New function.
19710         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
19711         (__old_sem_getvalue): Add using previous code.
19712         * sysdeps/nptl/internaltypes.h: Adapt.
19713         * nptl/tst-sem13.c (do_test): Adapt.
19714         * nptl/tst-sem11.c (main): Adapt.
19715         * nptl/sem_trywait.c: Remove.
19716         * nptl/DESIGN-sem.txt: Remove.
19717         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
19718         (gen-as-const-headers): Remove structsem.sym.
19719         * nptl/structsem.sym: Remove.
19720         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
19721         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
19722         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
19723         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
19724         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
19725         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
19726         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
19727         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
19728         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
19729         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
19730         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
19731         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
19732         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
19733         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
19734         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
19735         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
19736         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
19737         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
19738         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
19739         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
19740         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
19741         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
19743 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
19745         * INSTALL: Regenerated.
19747         * po/libc.pot: Regenerated.
19749 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
19750             Sandra Loosemore  <sandra@codesourcery.com>
19751             Andrew Jenner  <andrew@codesourcery.com>
19752             Joseph Myers  <joseph@codesourcery.com>
19753             Nathan Sidwell  <nathan@codesourcery.com>
19755         * NEWS: Mention new Nios II port.
19756         * sysdeps/nios2/Implies: New file.
19757         * sysdeps/nios2/Makefile: New file.
19758         * sysdeps/nios2/Subdirs: New file.
19759         * sysdeps/nios2/Versions: New file.
19760         * sysdeps/nios2/__longjmp.S: New file.
19761         * sysdeps/nios2/abort-instr.h: New file.
19762         * sysdeps/nios2/backtrace.c: New file.
19763         * sysdeps/nios2/bits/endian.h: New file.
19764         * sysdeps/nios2/bits/fenv.h: New file.
19765         * sysdeps/nios2/bits/link.h: New file.
19766         * sysdeps/nios2/bits/setjmp.h: New file.
19767         * sysdeps/nios2/bsd-_setjmp.S: New file.
19768         * sysdeps/nios2/bsd-setjmp.S: New file.
19769         * sysdeps/nios2/configure: New generated file.
19770         * sysdeps/nios2/configure.ac: New file.
19771         * sysdeps/nios2/crti.S: New file.
19772         * sysdeps/nios2/crtn.S: New file.
19773         * sysdeps/nios2/dl-init.c: New file.
19774         * sysdeps/nios2/dl-machine.h: New file.
19775         * sysdeps/nios2/dl-sysdep.h: New file.
19776         * sysdeps/nios2/dl-tls.h: New file.
19777         * sysdeps/nios2/dl-trampoline.S: New file.
19778         * sysdeps/nios2/gccframe.h: New file.
19779         * sysdeps/nios2/gmp-mparam.h: New file.
19780         * sysdeps/nios2/jmpbuf-offsets.h: New file.
19781         * sysdeps/nios2/jmpbuf-unwind.h: New file.
19782         * sysdeps/nios2/ldsodefs.h: New file.
19783         * sysdeps/nios2/libc-tls.c: New file.
19784         * sysdeps/nios2/libm-test-ulps: New file.
19785         * sysdeps/nios2/machine-gmon.h: New file.
19786         * sysdeps/nios2/math-tests.h: New file.
19787         * sysdeps/nios2/math_private.h: New file.
19788         * sysdeps/nios2/memusage.h: New file.
19789         * sysdeps/nios2/nptl/Makefile: New file.
19790         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
19791         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
19792         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
19793         * sysdeps/nios2/nptl/pthreaddef.h: New file.
19794         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
19795         * sysdeps/nios2/nptl/tls.h: New file.
19796         * sysdeps/nios2/preconfigure: New file.
19797         * sysdeps/nios2/s_fma.c: New file.
19798         * sysdeps/nios2/s_fmaf.c: New file.
19799         * sysdeps/nios2/setjmp.S: New file.
19800         * sysdeps/nios2/sfp-machine.h: New file.
19801         * sysdeps/nios2/sotruss-lib.c: New file.
19802         * sysdeps/nios2/stackguard-macros.h: New file.
19803         * sysdeps/nios2/stackinfo.h: New file.
19804         * sysdeps/nios2/start.S: New file.
19805         * sysdeps/nios2/sysdep.h: New file.
19806         * sysdeps/nios2/tls-macros.h: New file.
19807         * sysdeps/nios2/tst-audit.h: New file.
19808         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
19809         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
19810         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
19811         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
19812         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
19813         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
19814         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
19815         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
19816         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
19817         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
19818         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
19819         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
19820         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
19821         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
19822         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
19823         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
19824         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
19825         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
19826         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
19827         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
19828         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
19829         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
19830         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
19831         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
19832         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
19833         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
19834         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
19835         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
19836         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
19837         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
19838         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
19839         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
19840         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
19841         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
19842         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
19843         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
19844         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
19845         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
19846         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
19847         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
19848         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
19849         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
19850         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
19851         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
19853 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19855         [BZ #17844]
19856         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
19857         (getutent): Use weak_alias in non SHARED case
19858         and default_symbol_version in SHARED case.
19859         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
19860         (getutent_r, pututline): Likewise.
19861         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
19862         (getutid): Likewise.
19863         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
19864         (getutid_r): Likewise.
19865         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
19866         (getutline): Likewise.
19867         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
19868         (getutline_r): Likewise.
19869         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
19870         (updwtmp): Likewise.
19872 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
19874         [BZ #17848]
19875         * sysdeps/s390/s390-32/memcmp.S
19876         (memcmp_g5): Rename to __memcmp_g5.
19877         * sysdeps/s390/s390-32/memcpy.S
19878         (memcpy_g5): Rename to __memcpy_g5.
19879         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19880         (memcpy_mvcle) Rename to __memcpy_mvcle.
19881         * sysdeps/s390/s390-32/memset.S
19882         (memset_g5): Rename to __memset_g5.
19883         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
19884         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19885         and use prefixed functions.
19886         * sysdeps/s390/s390-32/multiarch/memcmp.S
19887         (memcmp_z196): Rename to __memcmp_z196.
19888         (memcmp_z10): Rename to __memcmp_z10.
19889         (memcmp): Set alias to __memcmp_g5.
19890         (bcmp): Set alias to __memcmp_g5.
19891         * sysdeps/s390/s390-32/multiarch/memcpy.S
19892         (memcpy_z196): Rename to __memcpy_z196.
19893         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19894         (memcpy_z10): Rename to __memcpy_z10.
19895         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19896         (memcpy): Set alias to __memcpy_g5.
19897         * sysdeps/s390/s390-32/multiarch/memset.S
19898         (memset_z196): Rename to __memset_z196.
19899         Jump to __memset_mvcle instead of memset_mvcle.
19900         (memset_z10): Rename to __memset_z10.
19901         Jump to __memset_mvcle instead of memset_mvcle.
19902         (memset_mvcle) Rename to __memset_mvcle.
19903         (memset): Set alias to __memset_g5.
19904         * sysdeps/s390/s390-64/memcmp.S
19905         (memcmp_z900): Rename to __memcmp_z900.
19906         * sysdeps/s390/s390-64/memcpy.S
19907         (memcpy_z900): Rename to __memcpy_z900.
19908         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19909         (memcpy_mvcle) Rename to __memcpy_mvcle.
19910         * sysdeps/s390/s390-64/memset.S
19911         (memset_z900): Rename to __memset_z900.
19912         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
19913         (IFUNC_RESOLVE): Prefix ifunc-resolve function
19914         and use prefixed functions.
19915         * sysdeps/s390/s390-64/multiarch/memcmp.S
19916         (memcmp_z196): Rename to __memcmp_z196.
19917         (memcmp_z10): Rename to __memcmp_z10.
19918         (memcmp): Set alias to __memcmp_z900.
19919         (bcmp): Set alias to __memcmp_z900.
19920         * sysdeps/s390/s390-64/multiarch/memcpy.S
19921         (memcpy_z196): Rename to __memcpy_z196.
19922         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19923         (memcpy_z10): Rename to __memcpy_z10.
19924         Jump to __memcpy_mvcle instead of memcpy_mvcle.
19925         (memcpy): Set alias to __memcpy_z900.
19926         * sysdeps/s390/s390-64/multiarch/memset.S
19927         (memset_z196): Rename to __memset_z196.
19928         Jump to __memset_mvcle instead of memset_mvcle.
19929         (memset_z10): Rename to __memset_z10.
19930         Jump to __memset_mvcle instead of memset_mvcle.
19931         (memset_mvcle) Rename to __memset_mvcle.
19932         (memset): Set alias to __memset_z900.
19934 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
19936         [BZ #17748]
19937         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
19938         __fesetenv instead of fesetenv.
19940 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19942         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
19943         macro.
19945 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19947         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
19948         regression on LE.
19950         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
19951         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
19952         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
19953         strncmp-power8 object.
19954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19955         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
19956         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
19957         * NEWS: Update.
19959 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19960             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19962         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
19963         trailing byte check.
19965 2015-01-13  David S. Miller  <davem@davemloft.net>
19967         * include/signal.h (__sigreturn): Guard with __USE_MISC.
19969 2015-01-13  Roland McGrath  <roland@hack.frob.com>
19971         * login/logout.c (logout): Use memset rather than bzero.
19972         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
19973         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
19974         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
19975         (_gethtbyaddr): Likewise.
19976         * locale/programs/simple-hash.c (bcopy): Macro removed.
19978 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19980         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19981         Add strcmp-power8 object.
19982         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19983         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
19984         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
19985         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
19986         __strcmp_power8 implementation.
19987         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
19988         * NEWS: Update.
19990         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
19991         Add strncpy-power8 and stpncpy-power8 objects.
19992         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19993         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
19994         implementations.
19995         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
19996         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
19997         __stpncpy_power8 implementation.
19998         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
19999         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
20000         __strncpy_power8 implementation.
20001         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
20002         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
20003         * NEWS: Update.
20005         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
20006         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
20007         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
20009         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20010         strncat-power8 object.
20011         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
20012         __strcat_power8 implementation.
20013         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20014         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
20015         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
20016         optimized strcat for power8.
20018         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
20019         strcpy-power8 and stpcpy-power8 objects.
20020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20021         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
20022         implementations.
20023         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
20024         multiarch stpcpy implementation for POWER8.
20025         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
20026         multiarch strcpy implementation for POWER8.
20027         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
20028         __strcpy_power8 function.
20029         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
20030         stpcpy for POWER8.
20031         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
20032         strcpy for POWER8.
20033         * NEWS: Update.
20035 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
20037         [BZ #16009]
20038         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
20039         weights and rules. Use do_xfrm_cached if data fits in cache,
20040         do_xfrm otherwise.  Moved former main loop to...
20041         * (do_xfrm_cached): New function.
20042         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
20043         find_idx, find_position and stack_push.
20044         * (find_idx): New function.
20045         * (find_position): Likewise.
20046         * localedata/sort-test.sh: Added test run for do_xfrm.
20047         * localedata/xfrm-test.c (main): Added command line option
20048         -nocache to run the test with strings that are too large for
20049         the STRXFRM cache.
20051 2015-01-13  Torvald Riegel  <triegel@redhat.com>
20053         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
20054         variable to lll_futex_wake call, not the value itself.
20056 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
20058         [BZ #17803]
20059         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
20060         twom64.  Adjust value to 0x1p-64L.
20061         (__scalblnl): Only return standard underflowing result for K <=
20062         -64 not K <= -63; adjust exponent for underflowing result by 64
20063         not 63.
20064         * math/libm-test.inc (scalbn_test_data): Add more tests.
20065         (scalbln_test_data): Likewise.
20067         [BZ #17834]
20068         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
20069         0x1p63L.
20070         (__scalblnl): Get new exponent of adjusted subnormal value from ES
20071         not HX.
20072         * math/libm-test.inc (scalbn_test_data): Add more tests.
20073         (scalbln_test_data): Likewise.
20075 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20076             Stefani Seibold  <stefani@seibold.net>
20078         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
20079         (sysdep_routines): Add dl-vdso here, ...
20080         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
20081         (sysdep_routines): ... not here.
20082         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
20083         fallback when vDSO is not presented.
20084         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20085         Define with libc_hidden_proto/libc_hidden_data_def definitions.
20086         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
20087         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
20088         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
20089         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
20090         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
20091         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
20092         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
20093         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
20094         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
20095         fallback configurable symbol when vDSO is not available.
20096         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
20097         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
20098         be able to redefine fallback symbol when vDSO is not available.
20099         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
20100         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
20102 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20104         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
20105         (TLS_INIT_TP): Add tm_capable initialization.
20106         (TLS_DEFINE_INIT_TP): Likewise.
20107         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
20108         TCB.
20109         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
20110         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
20111         calculation.
20112         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
20113         transactoion is lock elision is built and TCB tm_capable is set.
20114         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
20115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20116         (INTERNAL_SYSCALL_NCS): Likewise.
20117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20118         (INTERNAL_SYSCALL_NCS): Likewise.
20119         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
20121         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
20122         for powerpc.
20123         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20124         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
20125         and remove it for 32 bits case.
20126         [pthread_rwlock_t] (__rwelision): New field for lock elision.
20127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
20128         initialization.
20129         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
20130         Disable lock elision with rdlocks if elision is not available.
20132         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
20133         (sysdep_routines): Add lock elision objects.
20134         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
20135         [pthread_mutex_t] (__spins): Rework to add lock elision field.
20136         [pthread_mutex_t] (__elision): Add field.
20137         [__PTHREAD_SPINS]: Adjust to init lock elision field.
20138         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
20139         elision definitions for powerpc.
20140         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
20141         implementation of lock elision for powerpc.
20142         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
20143         implementation of timed lock elision for powerpc.
20144         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
20145         implementation of trylock with lock elision for powerpc.
20146         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
20147         implementaion of unlock for lock elision for powerpc.
20148         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
20149         automatic enable lock elision for mutexes.
20150         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
20151         transaction execution definitions for powerpc.
20152         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
20153         definitions.
20154         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
20155         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
20156         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
20157         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
20158         * NEWS: Update.
20160 2015-01-09  Roland McGrath  <roland@hack.frob.com>
20162         * sysdeps/posix/shm-directory.c: Use <> rather than ""
20163         for #include of <shm-directory.h>.
20165 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
20167         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
20168         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
20170 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
20172         [BZ #17791]
20173         * NEWS: Mention bug fix.
20174         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
20175         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
20176         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
20178 2015-01-09  Torvald Riegel <triegel@redhat.com>
20180         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
20182 2015-01-09  Torvald Riegel <triegel@redhat.com>
20184         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
20186 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20188         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
20189         pointer and cast to uintptr_t.
20191 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20193         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
20194         removed.
20195         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
20197 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
20199         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
20200         of 0.
20202 2015-01-08  Roland McGrath  <roland@hack.frob.com>
20204         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
20205         <nptl/pthreadP.h> instead.
20206         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
20208         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
20209         already defined.
20210         [__SIGRTMIN] (init): Function removed.
20211         [__SIGRTMIN] (initialized): Variable removed.
20212         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
20213         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
20214         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
20215         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
20216         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
20217         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
20218         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
20219         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
20220         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
20221         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
20222         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
20223         * sysdeps/nptl/allocrtsig.c: New file.
20224         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
20225         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
20226         * sysdeps/generic/testrtsig.h: File removed.
20228         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
20229         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
20231         * nptl/nptl-init.c (pthread_functions): Conditionalize
20232         .ptr__nptl_setxid initialization on [SIGSETXID].
20234         * sysdeps/nptl/sys/procfs.h: New file.
20235         * nptl_db/Makefile (headers): Add it.
20236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
20238         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
20239         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
20240         * nptl/pthread_attr_setaffinity.c: Include it.
20241         * nptl/pthread_setattr_default_np.c: Likewise.
20242         * nptl/check-cpuset.h: New file.
20244 2015-01-08  Richard Henderson  <rth@redhat.com>
20246         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
20247         (CFLAGS-tst-execstack-prog.c): Likewise.
20248         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
20250 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
20251             Sandra Loosemore  <sandra@codesourcery.com>
20252             Andrew Jenner  <andrew@codesourcery.com>
20253             Joseph Myers  <joseph@codesourcery.com>
20254             Nathan Sidwell  <nathan@codesourcery.com>
20256         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
20257         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
20258         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
20259         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
20260         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
20261         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
20262         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
20263         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
20264         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
20265         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
20266         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
20267         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
20268         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
20269         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
20270         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
20271         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
20272         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
20274 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20276         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
20277         timespec struct member in syscall macro.
20278         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
20279         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
20280         first timeval struct member in syscall macro.
20281         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
20283 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
20285         [BZ #17748]
20286         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
20287         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
20288         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
20289         __feupdateenv and define as weak alias of __feupdateenv.  Use
20290         libm_hidden_weak.
20291         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
20292         libm_hidden_def.
20293         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
20294         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
20295         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20296         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
20297         libm_hidden_def.
20298         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
20299         __feupdateenv and define as weak alias of __feupdateenv.  Use
20300         libm_hidden_weak.
20301         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
20302         libm_hidden_def.
20303         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
20304         __feupdateenv and define as weak alias of __feupdateenv.  Use
20305         libm_hidden_weak.
20306         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
20307         libm_hidden_def.
20308         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20309         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20310         (__feupdateenv): Likewise.
20311         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
20312         __feupdateenv and define as weak alias of __feupdateenv.  Use
20313         libm_hidden_weak.
20314         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20315         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
20316         libm_hidden_def.
20317         * sysdeps/tile/math_private.h (__feupdateenv): New inline
20318         function.
20319         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
20320         libm_hidden_def.
20321         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
20322         __feupdateenv instead of feupdateenv.
20323         (default_libc_feupdateenv_test): Likewise.
20324         (libc_feresetround_ctx): Likewise.
20326 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20328         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
20329         prototype.
20331 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
20333         * posix/regcomp.c (parse_bracket_exp): Initialize type to
20334         COLL_SYM in a couple of places to avoid uninitialized variable
20335         wanings on tilegx gcc 4.8.2.
20337 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20339         * sysdeps/aarch64/strcpy.S: New file.
20340         * sysdeps/aarch64/stpcpy.S: New file.
20341         * NEWS: Updated.
20343 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
20345         * sysdeps/aarch64/strrchr.S: New file.
20346         * NEWS: Updated.
20348 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
20350         [BZ #17658]
20351         * stdlib/setenv.c: Fix memory leak when setting large,
20352         duplicate string.
20354 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
20356         [BZ #17273]
20357         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
20358         and tabs from buffer before parsing fstab entry.
20359         * misc/tst-mntent.c (main): Add test for mount entry with
20360         trailing spaces and tabs.
20362 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
20364         [BZ #17748]
20365         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
20366         * math/fesetround.c (fesetround): Rename to __fesetround and
20367         define as weak alias of __fesetround.  Use libm_hidden_weak.
20368         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
20369         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
20370         * sysdeps/arm/fesetround.c (fesetround): Likewise.
20371         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
20372         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
20373         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
20374         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
20375         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
20376         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
20377         __fesetround_inline.
20378         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
20379         __fesetround_inline instead of __fesetround.
20380         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
20381         __fesetround and define as weak alias of __fesetround.  Use
20382         libm_hidden_weak.  Call __fesetround_inline instead of
20383         __fesetround.
20384         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
20385         __fesetround and define as weak alias of __fesetround.  Use
20386         libm_hidden_weak.
20387         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
20388         Likewise.
20389         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
20390         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20391         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
20392         * sysdeps/tile/math_private.h (__fesetround): New inline function.
20393         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
20394         __fesetround and define as weak alias of __fesetround.  Use
20395         libm_hidden_weak.
20396         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
20397         __fesetround instead of fesetround.
20398         (default_libc_feholdexcept_setround): Likewise.
20399         (libc_feholdsetround_ctx): Likewise.
20400         (libc_feholdsetround_noex_ctx): Likewise.
20402         [BZ #17748]
20403         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
20404         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
20405         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20406         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20407         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20408         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
20409         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20410         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
20411         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20412         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20413         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20414         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20415         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20416         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20417         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
20418         libm_hidden_def.
20419         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
20420         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
20421         Likewise.
20422         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
20423         define as weak alias of __fesetenv.  Use libm_hidden_weak.
20424         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20425         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
20426         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
20427         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
20428         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
20429         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
20430         __fesetenv instead of fesetenv.
20431         (libc_feresetround_noex_ctx): Likewise.
20432         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20433         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
20434         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
20435         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20436         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20437         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20438         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20439         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
20440         (__feupdateenv): Likewise.
20441         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20442         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20443         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20444         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
20446 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20448         [BZ #17806]
20449         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
20450         addresses have been freed.
20452 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
20454         * resolv/res_init.c (__res_vinit): Improve comments about nserv
20455         and nservall.
20457 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
20459         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
20460         Clean up check_pf allocation pattern. addresses
20462 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20464         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
20465         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
20466         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
20467         * nptl/pthread_exit.c (__pthread_exit): Likewise.
20468         * nptl/pthread_join.c (pthread_join): Likewise.
20469         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20470         * sysdeps/posix/waitid.c (__waitid): Likewise.
20471         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
20472         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
20473         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
20474         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
20475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
20476         Likewise.
20477         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
20478         (__libc_pread64): Likewise.
20479         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
20480         (__libc_pwrite): Likewise.
20481         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
20482         (__libc_pwrite64): Likewsie.
20483         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
20484         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
20485         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
20486         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
20487         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
20488         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
20489         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
20490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
20491         Likewise.
20492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20493         (__libc_pread64): Likewise.
20494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
20495         Likewise.
20496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20497         (__libc_pwrite64): Likewise.
20498         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
20499         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
20500         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
20501         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
20502         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
20503         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
20504         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
20505         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
20506         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
20507         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
20508         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
20509         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
20510         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
20511         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
20512         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
20513         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
20514         Likewise.
20516 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
20518         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
20519         (CFLAGS-test-double.c): Likewise.
20520         (CFLAGS-test-ldouble.c): Likewise.
20521         (CPPFLAGS-test-ifloat.c): Likewise.
20522         (CPPFLAGS-test-idouble.c): Likewise.
20523         (CPPFLAGS-test-ildoubl.c): Likewise.
20524         (CFLAGS-test-test-fenv.c): Remove variable.
20525         (CFLAGS-test-misc.c): Likewise.
20527 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
20529         [BZ #17797]
20530         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
20531         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
20532         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
20533         CLOCKS_PER_SEC == 1000000.
20534         * time/clocktest.c (main): Replace %ld with %jd and cast to
20535         intmax_t.
20537 2015-01-05  Roland McGrath  <roland@hack.frob.com>
20539         * sysdeps/generic/unwind-resume.h: New file.
20540         * sysdeps/gnu/unwind-resume.c: Include it.
20541         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
20542         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
20543         argument list.
20544         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
20545         global rather than static.
20546         (_Unwind_Resume): Update user.
20547         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
20548         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
20549         rather than static.  Add __attribute__ ((cold)).
20550         (_Unwind_Resume, __gcc_personality_v0): Update callers.
20551         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
20552         * sysdeps/arm/arm-unwind-resume.S: New file.
20553         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
20554         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
20555         * sysdeps/arm/Makefile [$(subdir) = csu]
20556         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
20557         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
20558         Add rt-arm-unwind-resume.
20559         [$(subdir) = nptl]
20560         (libpthread-sysdep_routines, libpthread-shared-only-routines):
20561         Add pt-arm-unwind-resume.
20562         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
20563         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
20565 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20567         [BZ #17748]
20568         * include/fenv.h (__feholdexcept): Declare.  Use
20569         libm_hidden_proto.
20570         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
20571         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
20572         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20573         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
20574         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
20575         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
20576         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
20577         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20578         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
20579         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
20580         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20581         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
20582         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
20583         (feholdexcept): Likewise.
20584         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20585         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20586         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
20587         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
20588         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
20589         __feholdexcept instead of feholdexcept.
20590         (default_libc_feholdexcept_setround): Likewise.
20592 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20594         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
20595         to avoid using stl/str to align destination.
20597 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20599         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
20601 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #17796]
20604         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
20605         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
20606         Define as weak alias not strong alias.
20608 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
20610         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
20611         bltzal with addiupc.
20612         (RTLD_START): Ditto.
20614 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
20616         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
20617         for __vdso_* functions in declarations.
20618         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
20619         definitions.
20620         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
20621         INTERNAL_VSYSCALL): Use struct return types to check for error.
20623         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
20624         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
20625         function with cast from llround().
20626         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
20627         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
20628         Define.
20630 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
20632         [BZ #17793]
20633         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
20634         Define as weak alias not strong alias.
20636         [BZ #17635]
20637         * ctype/ctype-c99.c: New file.  isblank implementation moved from
20638         ...
20639         * ctype/ctype-extn.c: ... here.
20640         (__isblank_l): Move to ...
20641         * ctype/ctype-c99_l.c: ... here.  New file.
20642         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
20643         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
20644         Remove variable.
20645         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
20646         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
20647         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
20648         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
20649         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
20651         [BZ #17777]
20652         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
20653         (posix_fadvise64): Define as weak alias not strong alias.
20654         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20655         (posix_fallocate64): Likewise.
20656         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
20657         Remove variable.
20658         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
20659         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
20660         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
20661         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
20662         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
20664 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
20666         [BZ #16191]
20667         * NEWS: Mention bug fix.
20668         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
20669         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
20670         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
20671         (HOST_STACK_END_ADDR): Likewise.
20673 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20675         [BZ #17748]
20676         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
20677         * math/fegetround.c (fegetround): Rename to __fegetround and
20678         define as weak alias of __fegetround.  Use libm_hidden_weak.
20679         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
20680         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
20681         * sysdeps/arm/fegetround.c (fegetround): Likewise.
20682         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
20683         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20684         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
20685         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
20686         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
20687         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20688         Undefine after rather than before function definition; use
20689         parentheses around function name in definition.
20690         (__fegetround): Also undefine macro after function definition.
20691         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
20692         __fegetround and define as weak alias of __fegetround.  Use
20693         libm_hidden_weak.  Do not undefine as macro.
20694         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20695         Likewise.
20696         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
20697         __fegetround and define as weak alias of __fegetround.  Use
20698         libm_hidden_weak.
20699         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20700         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20701         * sysdeps/tile/math_private.h (__fegetround): New inline function.
20702         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
20703         __fegetround and define as weak alias of __fegetround.  Use
20704         libm_hidden_weak.
20705         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
20706         __fegetround instead of fegetround.
20708         [BZ #17782]
20709         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
20710         Condition macro definition on [__USE_MISC].
20712         [BZ #17781]
20713         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
20714         (struct sigaction): Change type of sa_flags field to int.
20716         [BZ #17780]
20717         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
20718         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
20719         __glibc_reserved0.
20721         * nptl/version.c (banner): Use single year in copyright notice.
20723         * NEWS: Update copyright dates.
20724         * catgets/gencat.c (print_version): Likewise.
20725         * csu/version.c (banner): Likewise.
20726         * debug/catchsegv.sh: Likewise.
20727         * debug/pcprofiledump.c (print_version): Likewise.
20728         * debug/xtrace.sh (do_version): Likewise.
20729         * elf/ldconfig.c (print_version): Likewise.
20730         * elf/ldd.bash.in: Likewise.
20731         * elf/pldd.c (print_version): Likewise.
20732         * elf/sotruss.sh: Likewise.
20733         * elf/sprof.c (print_version): Likewise.
20734         * iconv/iconv_prog.c (print_version): Likewise.
20735         * iconv/iconvconfig.c (print_version): Likewise.
20736         * locale/programs/locale.c (print_version): Likewise.
20737         * locale/programs/localedef.c (print_version): Likewise.
20738         * login/programs/pt_chown.c (print_version): Likewise.
20739         * malloc/memusage.sh (do_version): Likewise.
20740         * malloc/memusagestat.c (print_version): Likewise.
20741         * malloc/mtrace.pl: Likewise.
20742         * manual/libc.texinfo: Likewise.
20743         * nptl/version.c (banner): Likewise.
20744         * nscd/nscd.c (print_version): Likewise.
20745         * nss/getent.c (print_version): Likewise.
20746         * nss/makedb.c (print_version): Likewise.
20747         * posix/getconf.c (main): Likewise.
20748         * scripts/test-installation.pl: Likewise.
20749         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20751 2015-01-02  Will Newton  <will.newton@linaro.org>
20753         * sysdeps/arm/armv7/configure: Removed.
20754         * sysdeps/arm/armv7/configure.ac: Likewise.
20756 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
20758         * All files with FSF copyright notices: Update copyright dates
20759         using scripts/update-copyrights.
20760         * intl/plural.c: Regenerated.
20761         * locale/programs/charmap-kw.h: Likewise.
20762         * locale/programs/locfile-kw.h: Likewise.
20764 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20766         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
20768 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20770         [BZ #17748]
20771         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
20772         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
20773         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20774         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20775         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20776         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
20777         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20778         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
20779         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20780         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20781         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20782         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20783         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20784         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20785         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
20786         libm_hidden_def.
20787         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
20788         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
20789         Likewise.
20790         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
20791         define as weak alias of __fegetenv.  Use libm_hidden_weak.
20792         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20793         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
20794         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
20795         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
20796         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
20797         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
20798         __fegetenv instead of fegetenv.
20799         (libc_feholdsetround_noex_ctx): Likewise.
20801 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
20803         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
20804         (Elf_MIPS_ABIFlags_v0): New structure.
20805         (EF_MIPS_FP64): Define.
20806         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
20807         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
20808         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
20809         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
20810         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
20811         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
20812         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
20813         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
20814         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
20815         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
20816         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
20817         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
20818         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
20819         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
20820         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
20821         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
20822         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
20823         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
20824         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
20825         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
20826         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
20827         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
20828         field.
20829         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
20830         EF_MIPS_FP64.
20831         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
20832         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
20833         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
20834         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
20835         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
20836         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
20837         * sysdeps/mips/tst-abi-interlink.c: Likewise.
20838         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
20839         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
20840         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
20841         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
20842         record the current FP ABI extension.
20843         (mips-mode-switch): Define to show if kernel headers support mode
20844         switching.
20845         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
20846         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
20847         supported SYSV ABI version to 3.
20848         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
20849         feature.
20851 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20852             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20854         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
20855         path.
20856         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
20858 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
20860         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
20861         __fegetround and redefine to call __fegetround.  Remove condition
20862         on [!__NO_MATH_INLINES].
20863         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
20864         function.
20865         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
20866         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20867         Remove macro.
20868         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
20869         instead of <fenv_libc.h>.
20870         (__llrintl): Call fegetround instead of __fegetround.
20871         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
20872         instead of <fenv_libc.h>.
20873         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
20874         (__lrintl): Call fegetround instead of __fegetround.
20875         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
20876         instead of <fenv_libc.h>.
20877         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
20878         (__rintl): Call fegetround instead of __fegetround.
20880 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
20882         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
20883         arrays.
20885 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20887         [BZ #17775]
20888         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
20889         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
20890         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
20892 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20894         * sysdeps/i386/tls-macros.h: Include <features.h>.
20895         (TLS_LE): Use non-PIC version for GCC >= 5.0.
20896         (TLS_IE): Likewise.
20897         (TLS_LD): Likewise.
20898         (TLS_GD): Likewise.
20899         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
20900         define for GCC >= 5.0.
20902 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
20904         * math/test-fenv.c (test_single_exception, set_single_exc,
20905         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
20906         feexcp_mask_test, feenable_test, fe_single_test): Add
20907         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
20908         case where they are not used.
20909         * math/libm-test.inc: Likewise.
20910         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
20911         unused in the absence of FP rounding/exception support.
20912         * stdio-common/tst-printf-round.c: Likewise.
20913         * stdlib/tst-strtod-round.c: Likewise.
20914         * stdlib/tst-strtod-underflow.c: Likewise.
20916 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
20918         [BZ #17723]
20919         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
20920         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
20921         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20922         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20923         libm_hidden_weak.
20924         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
20925         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20926         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
20927         libm_hidden_def.
20928         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20930         libm_hidden_weak.
20931         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
20932         Likewise.
20933         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
20934         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20935         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20936         libm_hidden_weak.
20937         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20938         libm_hidden_def.
20939         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20940         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
20941         (__feraiseexcept): Likewise.
20942         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20943         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
20944         libm_hidden_weak.
20945         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
20946         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
20947         libm_hidden_def.
20948         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
20949         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
20950         Use libm_hidden_def.
20951         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
20952         libm_hidden_def.
20953         (feraiseexcept): Define as weak not strong alias.  Use
20954         libm_hidden_weak.
20955         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
20956         New inline function.  Factored out of ...
20957         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
20958         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
20959         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
20960         feraiseexcept.
20961         * math/w_acos.c (__acos): Likewise.
20962         * math/w_asin.c (__asin): Likewise.
20963         * math/w_ilogb.c (__ilogb): Likewise.
20964         * math/w_j0.c (y0): Likewise.
20965         * math/w_j1.c (y1): Likewise.
20966         * math/w_jn.c (yn): Likewise.
20967         * math/w_log.c (__log): Likewise.
20968         * math/w_log10.c (__log10): Likewise.
20969         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
20970         * sysdeps/aarch64/fpu/math_private.h
20971         (libc_feupdateenv_test_aarch64): Likewise.
20972         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
20973         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
20974         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
20975         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
20976         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
20977         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
20978         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
20979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
20980         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20981         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20983 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
20985         [BZ #17732]
20986         * io/test-utime.c (main): Replace %ld with %jd and cast to
20987         intmax_t.
20988         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
20989         * nptl/tst-mutex5.c: Include <stdint.h>.
20990         (do_test): Replace %ld with %jd and cast to intmax_t.
20991         * posix/tst-regex.c (run_test): Likewise.
20992         (run_test_backwards): Likewise.
20993         * rt/tst-clock.c: Include <stdint.h>.
20994         (clock_test): Replace %ld with %jd and cast to intmax_t.
20995         * rt/tst-cpuclock1.c: Include <stdint.h>.
20996         (do_test): Replace %lu with %ju and cast to uintmax_t.
20997         * rt/tst-cpuclock2.c: Include <stdint.h>.
20998         (do_test): Replace %lu with %ju and cast to uintmax_t.
20999         * rt/tst-mqueue1.c: Include <stdint.h>.
21000         (check_attrs): Replace %ld with %jd and cast to intmax_t.
21001         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
21002         intmax_t.
21003         * rt/tst-mqueue4.c (do_test): Likewise.
21004         * rt/tst-timer4.c: Include <stdint.h>.
21005         (check_ts): Replace %ld with %jd and cast to intmax_t.
21006         (do_test): Likewise.
21007         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
21008         and cast to intmax_t.
21009         * sysdeps/pthread/tst-timer.c (main): Likewise.
21010         * time/clocktest.c (main): Likewise.
21011         * time/tst-posixtz.c (do_test): Likewise.
21012         * timezone/tst-timezone.c (main): Likewise.
21014 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
21015             H.J. Lu  <hongjiu.lu@intel.com>
21017         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
21018         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
21019         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
21020         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
21021         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
21022         version if bit_Fast_Unaligned_Load is set.
21023         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21024         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21025         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21026         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21027         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21028         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21029         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
21030         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
21031         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
21032         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
21033         to 4.
21034         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
21035         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
21036         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
21037         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
21039 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
21041         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
21042         instead of #if to avoid a Wundef warning.
21043         * stdlib/tst-limits.c (do_test): Likewise.
21045         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
21046         parallel other exception macros.
21047         (fegetenv): Convert from macro to extern inline so that it applies
21048         retroactively to inline functions already seen by the compiler.
21049         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
21051         * posix/Makefile (before-compile): Use $(objpfx) for
21052         posix-conf-vars-def.h.
21054 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21056         * posix/getconf.c (main): Use size_t for type of I.
21057         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
21058         NSPEC.
21060         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
21061         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
21062         * posix/posix-envs.def: Likewise.
21063         * sysdeps/posix/sysconf.c: Likewise.
21064         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
21065         (specs): Remove array.
21066         * scripts/gen-posix-conf-vars.awk: Support generation of specs
21067         array.
21069         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
21070         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
21071         (__sysconf): Use CONF_IS_* macros.
21073         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
21074         ($(objpfx)posix-conf-vars-def.h): New target.
21075         * posix/posix-conf-vars.list: New file.
21076         * posix/posix-conf-vars.h: New file.
21077         * posix/confstr.c: Include posix-conf-vars.h.
21078         (confstr): Use CONF_IS_* macros.
21079         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
21080         CONF_IS_* macros.
21081         * scripts/gen-posix-conf-vars.awk: New file.
21083 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
21085         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
21086         fegetround): Add no-op macros to avoid linknamespace issues.
21088         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
21089         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
21091         * sysdeps/unix/sysv/linux/tile/sysdep.h
21092         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
21093         assembly-specific section to avoid a redefinition warning.
21095         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
21096         long before casting to pointer to avoid a cast warning.
21098 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
21100         * sysdeps/tile/tilegx/Implies: New file.
21102 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
21104         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
21106 2014-12-23  Florian Weimer  <fweimer@redhat.com>
21108         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
21110 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21112         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
21113         not define.
21114         * sysdeps/unix/sysv/linux/utimes.c: Do not include
21115         <kernel-features.h>.
21116         (__utimes) [__NR_utimes]: Make code unconditional.
21117         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
21118         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21119         (__ASSUME_UTIMES): Do not undefine.
21120         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21121         (__ASSUME_UTIMES): Likewise.
21122         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21123         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
21124         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
21125         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
21127 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21129         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
21131 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
21133         [BZ #17747]
21134         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
21135         alias to weak alias for j0l, y0l.
21136         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
21137         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
21139         [BZ #17746]
21140         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
21141         conversion.
21143 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
21145         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
21146         to zero if not already defined.
21148 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21150         [BZ #17724]
21151         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
21152         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
21153         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
21154         (char *) casts added.
21155         * sysdeps/ieee754/k_standardf.c: New file.
21156         * sysdeps/ieee754/k_standardl.c: Likewise.
21157         * math/Makefile (libm-support): Remove k_standard.
21158         (libm-calls): Add k_standard.
21160 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21162         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
21163         Optimize to avoid an unnecessary FPCR read.
21165 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21167         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
21168         Optimize to reduce FPCR/FPSR accesses.
21170 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21172         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
21173         Call libc_fetestexcept_aarch64.
21175 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
21177         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
21178         Call libc_fesetround_aarch64.
21180 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
21182         [BZ #17733]
21183         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
21184         (__bind): Do not define as weak alias.
21185         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
21186         define.
21187         (__getsockname): Do not define as weak alias.
21189 2014-12-22  Will Newton  <will.newton@linaro.org>
21191         * manual/install.texi: Document that we require bison 2.7
21192         or above.
21193         * INSTALL: Regenerate.
21194         * configure.ac: Use AC_CHECK_PROG_VER instead of
21195         AC_PATH_PROG when checking for bison and check for
21196         version 2.7 or above.
21197         * configure: Regenerate.
21199 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
21201         [BZ #17745]
21202         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
21203         * sysdeps/tile/ffsll.c (ffsll): To here.
21205         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
21207 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21209         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
21210         if not defined.
21211         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
21212         definition.
21213         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21214         hidden ___tls_get_addr.
21215         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
21216         hidden __tls_get_addr.
21217         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
21218         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
21219         Likewise.
21221 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
21223         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
21224         _dl_init call.
21226 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
21228         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
21229         from "call _dl_init@PLT".
21230         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
21232 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
21234         * manual/search.texi: (Array Sort Function): Clarify stable sorting
21235         guarantees.
21237 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
21239         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
21241 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21243         [BZ #17744]
21244         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
21245         strnlen.
21247 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21249         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
21250         of multu on MIPSr6.
21251         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
21252         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
21253         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
21254         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
21255         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
21257 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
21259         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
21260         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
21261         (PTR_SUBU): Use subu for mips32r6/mips64r6.
21262         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
21263         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
21264         mips32r6/mips64r6.
21265         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
21267 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
21269         * string/strncat.c (STRNCAT): Simplify implementation.
21271 2014-12-19  David S. Miller  <davem@davemloft.net>
21273         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
21274         access the quad as both a long double and as a series of 4 words.
21276         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
21277         link_map->l_info array access.
21279 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
21281         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
21283         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
21284         * math/atest-exp2.c (TIMEOUT): Likewise.
21285         * math/atest-sincos.c (TIMEOUT): Likewise.
21287 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21289         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
21290         -Wno-error with -fno-builtin-lround.
21292 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21294         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
21295         Contains futex constants and functions moved over from ...
21296         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
21297         <lowlevellock-futex.h>.
21298         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21299         (lll_timedwait_tid): Add comments and parentheses around macro
21300         arguments.
21302 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21304         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
21305         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
21306         (__lll_private_flag): Remove.
21307         (lll_futex_wait): Likewise.
21308         (lll_futex_timed_wait): Likewise.
21309         (lll_futex_wake): Likewise.
21310         (lll_futex_requeue): Likewise.
21311         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
21312         (__lll_timedwait_tid): Spell out argument names.
21313         (lll_timedwait_tid): Add comments and parentheses around macro
21314         arguments.
21315         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
21316         LLL_SHARED and LLL_PRIVATE usable from assembly code.
21318 2014-12-19  Torvald Riegel  <triegel@redhat.com>
21320         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
21321         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
21322         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
21323         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
21324         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
21325         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
21326         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
21327         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
21328         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
21329         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
21330         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
21331         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
21332         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
21333         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
21334         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
21335         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
21336         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
21337         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
21338         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
21340 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21342         * sysdeps/x86_64/x32/Makefile: New file.
21344 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
21346         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
21347         1L with (mp_limb_t) 1.
21349 2014-12-17  Roland McGrath  <roland@hack.frob.com>
21351         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
21352         * nptl/libc_pthread_init.c: ... here.
21353         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
21354         * nptl/register-atfork.c: ... here.
21356         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
21357         Use pthread_sigmask rather than INTERNAL_SYSCALL.
21358         Use assert_perror to check its return value.
21359         (__gai_create_helper_thread): Likewise.
21361         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
21363         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
21365 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
21367         [BZ #17725]
21368         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
21369         __profil_counter.
21370         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
21371         Likewise.
21372         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
21373         Likewise.
21374         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
21375         Likewise.
21376         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
21377         (profil_counter): Likewise.
21378         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
21379         (profil_counter): Likewise.
21380         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
21381         Likewise.
21382         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
21383         Likewise.
21384         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
21385         (profil_counter): Likewise.
21386         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
21387         Likewise.
21388         [!__profil_counter] (profil_counter): Define as weak alias of
21389         __profil_counter.
21390         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
21391         (profil_counter): Rename to __profil_counter.
21392         [!__profil_counter] (profil_counter): Define as weak alias of
21393         __profil_counter.
21394         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
21395         (profil_counter): Rename to __profil_counter.
21396         [!__profil_counter] (profil_counter): Define as weak alias of
21397         __profil_counter.
21398         * sysdeps/posix/profil.c: Update comment referring to
21399         profil_counter.
21400         (__profil): Use __profil_counter instead of profil_counter.
21401         * sysdeps/posix/sprofil.c (profil_counter): Rename to
21402         __profil_counter.  Use __profil_counter_ushort and
21403         __profil_counter_uint in definitions.
21404         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
21405         instead of profil_counter_uint and profil_counter_ushort.
21407         [BZ #17722]
21408         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
21409         define as weak alias of __inet_makeaddr.
21410         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
21411         as weak alias of __inet_addr.
21412         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
21413         as weak alias of __inet_pton.  Use libc_hidden_weak.
21414         * include/arpa/inet.h (__inet_pton): Declare.  Use
21415         libc_hidden_proto.
21416         (inet_makeaddr): Don't use libc_hidden_proto.
21417         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
21418         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
21419         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
21420         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
21421         Remove variable.
21422         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
21423         (test-xfail-POSIX/time.h/linknamespace): Likewise.
21425 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
21427         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
21429 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21431         * stdio-common/bug-vfprintf-nargs.c (do_test):
21432         Cast value to intptr_t to avoid format warning
21433         for usage with PRIdPTR printing macro.
21435 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21437         * libio/tst-widetext.c (do_test):
21438         Use format type %td instead of %Zd for ptrdiff_t
21439         in order to avoid format warning.
21441 2014-12-17  Andreas Schwab  <schwab@suse.de>
21443         * nscd/mem.c (gc): Add size_t cast to match printf format.
21445 2014-12-16  Roland McGrath  <roland@hack.frob.com>
21447         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
21448         (init): Apply PTR_MANGLE to pointers before storing them.
21449         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
21450         before using them.
21452 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
21454         [BZ #17719]
21455         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
21456         define as weak alias of __memrchr.
21457         (__memrchr): Do not define as strong alias of memrchr.
21458         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
21459         Remove variable.
21460         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
21461         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
21462         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
21464         [BZ #17717]
21465         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
21466         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
21467         (if_indextoname): Rename to __if_indextoname and define as weak
21468         alias of __if_indextoname.  Use libc_hidden_weak.
21469         (if_freenameindex): Rename to __if_freenameindex and define as
21470         weak alias of __if_freenameindex.
21471         (if_nameindex): Rename to __if_nameindex and define as weak alias
21472         of __if_nameindex.
21473         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
21474         __if_nametoindex and define as weak alias of __if_nametoindex.
21475         Use libc_hidden_weak.
21476         (if_freenameindex): Rename to __if_freenameindex and define as
21477         weak alias of __if_freenameindex.
21478         (if_nameindex): Rename to __if_nameindex and define as weak alias
21479         of __if_nameindex.
21480         (if_indextoname): Rename to __if_indextoname and define as weak
21481         alias of __if_indextoname.  Use libc_hidden_weak.
21482         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
21483         __if_nametoindex and define as weak alias of __if_nametoindex.
21484         Use libc_hidden_weak.
21485         (if_freenameindex): Rename to __if_freenameindex and define as
21486         weak alias of __if_freenameindex.  Use libc_hidden_weak.
21487         (if_nameindex_netlink): Use __if_freenameindex instead of
21488         if_freenameindex.
21489         (if_nameindex): Rename to __if_nameindex and define as weak alias
21490         of __if_nameindex.  Use libc_hidden_weak.
21491         (if_indextoname): Rename to __if_indextoname and define as weak
21492         alias of __if_indextoname.  Use libc_hidden_weak.
21493         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
21494         libc_hidden_proto.
21495         [!_ISOMAC] (__if_freenameindex): Likewise.
21496         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
21497         if_nametoindex.
21498         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
21499         variable.
21500         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
21501         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
21502         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
21503         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
21504         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
21505         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
21506         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
21508         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
21509         Remove variable.
21510         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
21511         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
21513 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
21515         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
21516         subscript above bounds'
21518         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
21519         bounds.
21521 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
21523         * libio/tst-fopenloc.c: Use test-skeleton.c.
21525         * stdlib/tst-bsearch.c: Use test-skeleton.c.
21526         (entry): Rename to ITEM.
21527         (do_test, comp): Adjust.
21529         * stdio-common/tst-fseek.c: Use test-skeleton.c.
21531 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21533         * string/tester.c: Include <libc-internal.h>.
21534         (test_memset): Ignore -Wmemset-transposed-args.
21536 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21538         * misc/tst-mntent2.c (do_test): Fix warning.
21540 2014-12-16  Torvald Riegel  <triegel@redhat.com>
21542         * elf/tst-unique4lib.cc(a): Mark as used.
21544 2014-12-16  Florian Weimer  <fweimer@redhat.com>
21546         [BZ #17630]
21547         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
21548         names.
21550 2014-12-16  Allan McRae  <allan@archlinux.org>
21552         * stdio-common/Makefile (tests): Re-add bug26.
21554 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
21556         [BZ #17657]
21557         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
21558         static array.
21560 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
21562         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
21563         (__lll_lock_wait): Likewise.
21564         (__lll_timedlock_wait): Likewise.
21565         (__lll_timedwait_tid): Likewise.
21566         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
21567         (__lll_robust_timedlock_wait): Likewise.
21568         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
21569         (lll_cond_trylock): Likewise.
21570         (__lll_lock): Likewise.
21571         (__lll_robust_lock): Likewise.
21572         (__lll_cond_lock): Likewise.
21573         (lll_robust_cond_lock): Likewise.
21574         (__lll_timedlock): Likewise.
21575         (__lll_robust_timedlock): Likewise.
21576         (__lll_unlock): Likewise.
21577         (__lll_robust_unlock): Likewise.
21578         (lll_wait_tid): Likewise.
21579         (lll_timedwait_tid): Likewise.
21581 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21583         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
21585 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21587         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
21589 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21591         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
21592         * stdio-common/tst-sprintf.c: Likewise.
21594 2014-12-15  Torvald Riegel  <triegel@redhat.com>
21596         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
21598 2014-12-15  Jeff Law  <law@redhat.com>
21600         [BZ #16617]
21601         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
21602         on the heap.  (CVE-2012-3406)
21603         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
21604         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
21605         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
21607 2014-12-15  Will Newton  <will.newton@linaro.org>
21609         * manual/install.texi: Bump required version of texinfo
21610         to 4.7 from 4.5.
21611         * INSTALL: Regenerated.
21612         * configure.ac: Check for makeinfo version 4.7 and above.
21613         * configure: Regenerated.
21615 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21617         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
21618         PREFIX, string constant to insert between directory and name.
21619         * sysdeps/posix/shm_open.c: Update caller.
21620         * sysdeps/posix/shm_unlink.c: Likewise.
21621         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
21622         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
21623         (SEM_SHM_PREFIX): New macro.
21624         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
21625         [$(have-thread-library) = no].
21626         * nptl/Makefile (libpthread-routines): Add shm-directory.
21627         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
21628         * sysdeps/nptl/shm-directory.h: New file.
21629         * sysdeps/posix/shm-directory.c
21630         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
21631         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21632         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
21633         INTERNAL_SYSCALL.
21634         (__where_is_shmfs): Function removed.
21635         (mountpoint, defaultmount, defaultdir, __namedsem_once):
21636         Variables removed.
21637         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
21638         Use SHM_GET_NAME.
21639         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
21641         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
21642         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
21643         unconditional for use inside libpthread.
21644         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
21646 2014-12-12  Roland McGrath  <roland@hack.frob.com>
21648         * nptl/pthread_getaffinity.c: New file.
21649         * nptl/pthread_setaffinity.c: New file.
21650         * nptl/pthread_getname.c: New file.
21651         * nptl/pthread_setname.c: New file.
21653         * nptl/pthread_create.c (START_THREAD_DEFN)
21654         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
21656 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21657             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21659         * resolv/res_send.c (send_vc): Disable warning resplen may
21660         be used uninitialized.
21662 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21664         * nptl/tst-mutex6.c
21665         (ATTR_NULL): New define checks ATTR against NULL.
21666         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
21667         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
21669 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
21671         [BZ #17581]
21672         * malloc/hooks.c
21673         (mem2mem_check): Revert my previous change.
21674         (malloc_check_get_size): Revert my previous change.
21675         (mem2chunk_check): Revert my previous change.
21677 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21679         * sysdeps/posix/shm-directory.c: New file.
21680         * sysdeps/posix/shm-directory.h: New file.
21681         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
21682         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
21683         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
21684         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
21685         Transmute EPERM to EACCES.
21686         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
21687         from ...
21688         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
21689         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
21691 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21693         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
21694         pointer and cast to uintptr_t.
21695         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
21696         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
21697         Add cast to avoid warning.
21698         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
21700 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21702         * nptl/semaphore.h: Move to ...
21703         * sysdeps/pthread/semaphore.h: ... here.
21704         * Makefile (installed-headers): Change nptl/semaphore.h to
21705         sysdeps/pthread/semaphore.h.
21707 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21709         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
21710         generated error format strings.
21712         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
21713         -Wformat-extra-args warnings for scanf formats.
21714         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
21715         test of zero-length format (duh).
21716         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
21717         corner-case scanf format test.
21718         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
21719         generated fprintf format string.
21720         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
21721         corner-case sprintf format tests.
21722         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
21723         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
21724         -Wformat-extra-args warnings throughout.
21725         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
21726         (CFLAGS-scanf4.c): Likewise.
21727         (CFLAGS-scanf7.c): Likewise.
21728         (CFLAGS-tst-sprintf.c): Likewise.
21729         (CFLAGS-tst-printf.c): Likewise.
21730         (CFLAGS-tst-printfsz.c): Likewise.
21732 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
21734         * include/cpio.h: New file.
21735         * include/fmtmsg.h: Likewise.
21737         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
21738         corresponding format argument to size_t.
21739         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
21740         arguments.
21741         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
21742         corresponding format argument to size_t.
21743         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
21744         arguments.
21745         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
21746         corresponding format argument to size_t.
21747         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
21748         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
21749         (CFLAGS-tst-mbswcs2.c): Likewise.
21750         (CFLAGS-tst-mbswcs3.c): Likewise.
21751         (CFLAGS-tst-mbswcs4.c): Likewise.
21752         (CFLAGS-tst-mbswcs5.c): Likewise.
21753         (CFLAGS-tst-trans.c): Likewise.
21755 2014-12-11  Roland McGrath  <roland@hack.frob.com>
21757         * posix/regexbug1.c (main): Use "%s" format with regerror results,
21758         rather than assuming they won't contain any '%'s.
21760 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
21762         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
21763         inhibit_loop_to_libcall to avoid recursive calls.
21764         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
21765         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
21767 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
21769         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
21770         prototype.
21772 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21774         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
21775         integer value instead of boolean.
21777 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
21779         * malloc/malloc.c: Fix powerof2 check.
21781 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21783         * locale/programs/locfile.h (maybe_swap_uint32):
21784         Remove inline and add unused attribute.
21786 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21788         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
21789         Truncating assembler expression to a .long expression.
21791 2014-12-11  Andreas Schwab  <schwab@suse.de>
21793         * elf/rtld.c (struct map_args): Constify str member.
21794         (do_preload): Constify fname argument.
21796 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21798         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
21799         constants definition.
21801 2014-12-11  Andreas Schwab  <schwab@suse.de>
21803         [BZ #16657]
21804         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
21805         FORCE_ELISION instead of DO_ELISION.
21806         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
21807         Remove.
21808         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
21809         Likewise.
21811         * iconvdata/gconv-modules: Remove duplicate entry.
21813 2014-12-11  Will Newton  <will.newton@linaro.org>
21815         Merge gettext 0.19.3 into intl/.
21817         This involves a number of cosmetic changes to comments
21818         and ANSI function definitions and prototypes throughout
21819         all the files. The gettext copyright header is used but
21820         with the date ranges taken from the glibc copy.
21822         * NEWS: Add gettext merge to 2.21.
21823         * intl/bindtextdom.c: Switch to gettext copyright.
21824         Use ANSI definitions and prototypes.
21825         Use gl_* locking primitives rather than __libc_* ones.
21826         Use __builtin_expect rather than __glibc_likely/unlikely.
21827         * intl/dcgettext.c: Switch to gettext copyright.
21828         Use ANSI definitions and prototypes.
21829         * intl/dcigettext.c: Switch to gettext copyright.
21830         Use ANSI definitions and prototypes.
21831         (INTDIV0_RAISES_SIGFPE): New define.
21832         Use gl_* locking primitives rather than __libc_* ones.
21833         Include eval-plural.h instead of plural-eval.c.
21834         Use __builtin_expect rather than __glibc_likely/unlikely.
21835         * intl/dcngettext.c: Switch to gettext copyright.
21836         Use ANSI definitions and prototypes.
21837         * intl/dgettext.c: Likewise.
21838         * intl/dngettext.c: Likewise.
21839         * intl/plural-eval.c: Renamed to...
21840         * intl/eval-plural.h: ...this.
21841         * intl/explodename.c: Switch to gettext copyright.
21842         Use ANSI definitions and prototypes.
21843         (_nl_explode_name): Use strchr instead of __rawmemchr.
21844         * intl/finddomain.c: Switch to gettext copyright.
21845         Use ANSI definitions and prototypes.
21846         Use gl_* locking primitives rather than __libc_* ones.
21847         (_nl_find_domain): Use malloc rather than alloca for
21848         allocation of temporary locale name.
21849         * intl/gettext.c: Switch to gettext copyright.
21850         Use ANSI definitions and prototypes.
21851         * intl/gettextP.h: Switch to gettext copyright.
21852         Use ANSI definitions and prototypes.
21853         Use gl_* locking primitives rather than __libc_* ones.
21854         * intl/gmo.h: Switch to gettext copyright.
21855         (struct sysdep_string): Move struct segment_pair outside of
21856         struct definition.
21857         * intl/hash-string.c: Use ANSI definitions and prototypes.
21858         * intl/hash-string.h: Switch to gettext copyright.
21859         Use ANSI definitions and prototypes.
21860         * intl/l10nflist.c: Switch to gettext copyright.
21861         Use ANSI definitions and prototypes.
21862         (_nl_normalize_codeset): Avoid integer overflow.
21863         * intl/loadinfo.h: Switch to gettext copyright.
21864         Use ANSI definitions and prototypes.
21865         (LIBINTL_DLL_EXPORTED): New define.
21866         (PATH_SEPARATOR): New define.
21867         * intl/loadmsgcat.c: Switch to gettext copyright.
21868         * intl/localealias.c: Switch to gettext copyright.
21869         Use ANSI definitions and prototypes.
21870         (_nl_expand_alias): Use PATH_SEPARATOR.
21871         * intl/ngettext.c: Switch to gettext copyright.
21872         Use ANSI definitions and prototypes.
21873         * intl/plural-exp.c: Likewise.
21874         * intl/plural-exp.h: Switch to gettext copyright.
21875         Use ANSI definitions and prototypes.
21876         (struct expression): Move definition of enum operator outside
21877         of struct definition.
21878         * intl/plural.c: Regenerate.
21879         * intl/plural.y: Switch to gettext copyright.
21880         Use ANSI definitions and prototypes.
21881         Port to bison 3.0.
21882         * intl/textdomain.c: Switch to gettext copyright.
21883         Use ANSI definitions and prototypes.
21884         Use gl_* locking primitives rather than __libc_* ones.
21886 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
21888         * debug/warning-nop.c: Add used atrribute.
21890 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21892         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
21894         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
21895         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
21896         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
21898 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21899             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21901         [BZ #17634]
21902         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
21903         Undefine after defining function.  Define as weak alias of
21904         __wcschr.  Use libc_hidden_weak.
21905         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
21906         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
21907         (libc_hidden_def): Also define __GI___wcschr alias.
21908         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
21909         __wcschr and define as weak alias of __wcschr.
21910         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
21911         __wcschr.
21912         [!WCSCHR] (DEFAULT_WCSCHR): Define.
21913         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
21914         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
21915         libc_hidden_weak.  Do not use libc_hidden_def.
21916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
21917         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
21918         __GI___wcschr alias.
21919         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
21920         [IS_IN (libc)] (wcschr): Define as macro expanding to
21921         __redirect_wcschr.
21922         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
21923         [IS_IN (libc)] (__wcschr_power6): Likewise.
21924         [IS_IN (libc)] (__wcschr_power7): Likewise.
21925         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
21926         instead of wcschr.
21927         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
21928         __libc_wcschr.
21929         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
21930         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
21931         __wcschr and define as weak alias of __wcschr.  Use
21932         libc_hidden_builtin_def.
21933         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
21934         as weak alias of __wcschr.  Use libc_hidden_weak.
21935         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
21936         wcschr.
21937         * time/era.c (_nl_init_era_entries): Likewise.
21938         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
21939         variable.
21940         (test-xfail-XPG3/time.h/linknamespace): Likewise.
21941         (test-xfail-XPG4/time.h/linknamespace): Likewise.
21943 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21945         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
21946         format for long int variable.
21948 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
21950         [BZ #10672]
21951         * manual/search.texi: (Array Sort Function): Remove claim how to make
21952         qsort stable.
21954 2014-12-10  Andreas Schwab  <schwab@suse.de>
21956         [BZ #12847]
21957         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
21958         user-controlled locks.
21960 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
21962         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
21963         register.
21965 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
21967         * configure.ac (--disable-werror): New configure option.
21968         (enable_werror): New AC_SUBST.
21969         * configure: Regenerated.
21970         * config.make.in (enable-werror): New variable.
21971         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
21972         -Wno-error=undef.
21973         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
21974         * manual/install.texi (Configuring and compiling): Document
21975         --disable-werror.
21976         * INSTALL: Regenerated.
21977         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
21978         (CFLAGS-tst-chk2.c): Likewise.
21979         (CFLAGS-tst-chk3.c): Likewise.
21980         (CFLAGS-tst-chk4.cc): Likewise.
21981         (CFLAGS-tst-chk5.cc): Likewise.
21982         (CFLAGS-tst-chk6.cc): Likewise.
21983         (CFLAGS-tst-lfschk1.c): Likewise.
21984         (CFLAGS-tst-lfschk2.c): Likewise.
21985         (CFLAGS-tst-lfschk3.c): Likewise.
21986         (CFLAGS-tst-lfschk4.cc): Likewise.
21987         (CFLAGS-tst-lfschk5.cc): Likewise.
21988         (CFLAGS-tst-lfschk6.cc): Likewise.
21990         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
21991         (main): Disable -Wdeprecated-declarations around calls to
21992         register_printf_function.
21994         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
21995         (do_test): Disable -Wdiv-by-zero around some calls to
21996         fwrite_unlocked and fread_unlocked.
21998         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
21999         (DIAG_POP_NEEDS_COMMENT): Likewise.
22000         (_DIAG_STR1): Likewise.
22001         (_DIAG_STR): Likewise.
22002         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
22003         * stdio-common/bug21.c: Include <libc-internal.h>.
22004         (do_test): Disable -Wformat around call to sscanf.
22005         * stdio-common/scanf14.c: Include <libc-internal.h>.
22006         (main): Disable -Wformat around some calls to scanf functions.
22008 2014-12-09  Torvald Riegel  <triegel@redhat.com>
22010         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
22012 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22014         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
22015         stack variable alignment.
22017 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
22019         [BZ #17682]
22020         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
22021         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
22022         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
22023         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
22024         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
22025         __getrlimit instead of getrlimit.
22026         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
22027         __gettimeofday instead of gettimeofday.
22028         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
22029         Likewise.
22030         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
22031         Likewise.
22032         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22033         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
22034         Remove variable.
22035         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
22036         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
22038 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22040         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
22041         for wide-character tests.
22043 2014-12-04  Roland McGrath  <roland@hack.frob.com>
22045         * io/openat64.c: #include <libc-internal.h>
22046         (__openat64): Prototypify.  Use ignore_value on MODE.
22047         * io/openat.c: Likewise.
22048         * misc/reboot.c: #include <libc-internal.h>
22049         (reboot): Prototypify.  Use ignore_value on HOWTO.
22050         * misc/ptrace.c: #include <libc-internal.h>
22051         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
22053 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
22055         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
22056         XPG4, UNIX98 and XOPEN2K.
22057         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
22058         Remove variable.
22059         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
22061 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22063         * libio/fileops.c: Use ISO C style for function definitions.
22064         * libio/iofopen.c: Likewise.
22065         * libio/wfileops.c: Likewise.
22067         [BZ #17653]
22068         * libio/fileops.c (_IO_new_file_underflow): Unset cached
22069         offset on EOF.
22070         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
22071         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
22072         (fgets_func): Function pointer to fgets and fgetws.
22073         (do_ftell_test): Add test to verify ftell value after read
22074         EOF.
22075         (do_test): Set fgets_func.
22077         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
22078         O_TRUNC flag for w and w+ modes.
22079         (do_rewind_test): Likewise.
22080         (do_ftell_test): Likewise.
22081         (do_write_test): Likewise.
22083         [BZ #17647]
22084         * libio/fileops.c (do_ftell): Seek only when there are
22085         unflushed writes.
22086         * libio/wfileops.c (do_ftell_wide): Likewise.
22087         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
22088         test case.
22089         (do_one_test): Call it.
22091 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
22093         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
22094         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
22095         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
22096         Remove variable.
22097         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
22098         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
22099         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
22101 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22103         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
22104         Remove variable.
22105         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
22107         [BZ #17668]
22108         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
22109         as weak alias of __getifaddrs.  Use libc_hidden_weak.
22110         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22111         __freeifaddrs.  Use libc_hidden_weak.
22112         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
22113         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
22114         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22115         __freeifaddrs.  Use libc_hidden_weak.
22116         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
22117         __getifaddrs and define as weak alias of __getifaddrs.  Use
22118         libc_hidden_weak.
22119         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
22120         __freeifaddrs.  Use libc_hidden_weak.
22121         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
22122         Remove variable.
22123         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
22124         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
22126 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22128         [BZ #17601]
22129         * sysdeps/mips/start.S (__start): Use indirect jump to call
22130         __libc_start_main.
22132 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
22134         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
22136         * nptl/tst-mutex1.c: Include <stdbool.h>.
22137         [!ATTR] (ATTR_NULL): New macro.
22138         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
22139         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
22140         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
22142         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
22143         to char *.
22145         [BZ #17665]
22146         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
22147         Change conditional to [__USE_MISC].
22149         [BZ #17664]
22150         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
22151         fgets_unlocked.
22152         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
22153         __fgets_unlocked.
22154         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
22155         fgets_unlocked.
22156         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
22157         Remove variable.
22158         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
22159         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
22160         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
22161         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
22162         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
22163         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
22164         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
22165         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
22166         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
22168         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
22170 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22172         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22173         Remove strpbrk objects.
22174         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22175         (__libc_ifunc_impl_list): Remove strpbrk implementation.
22176         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
22177         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
22178         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
22179         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
22181         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22182         Remove strcspn objects.
22183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22184         (__libc_ifunc_impl_list): Remove strcspn implementation.
22185         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
22186         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
22187         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
22188         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
22190         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22191         Remove strspn objetcs.
22192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22193         (__libc_ifunc_impl_list): Remove strspn implementation.
22194         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
22195         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22196         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
22197         * sysdeps/powerpc/powerpc64/strspn.S: New file.
22199 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
22201         [BZ #17581]
22202         * malloc/hooks.c
22203         (mem2mem_check): Add a terminator to the chain of checking blocks.
22204         (malloc_check_get_size): Use it here.
22205         (mem2chunk_check): Ditto.
22207 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22209         * sysdeps/powerpc/powerpc64/strtok.S: New file.
22210         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
22212 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
22214         * bits/ioctl-types.h: Indent preprocessor directives correctly.
22216         * nptl/nptl-init.c: Include libc-internal.h.
22217         (__pthread_initialize_minimal_internal): Use ROUND_UP.
22219         * elf/ldconfig.c (search_dir): Expand comment.
22221 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
22223         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
22224         variable.
22225         (linknamespace-symlist-stdlibs-tests): Likewise.
22226         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
22227         instead of $(objpfx)symlist-stdlibs.
22228         (linknamespace-libs-isoc): New variable.
22229         (linknamespace-libs): Use $(linknamespace-libs-isoc).
22230         (linknamespace-libs-ISO): New variable.
22231         (linknamespace-libs-ISO99): Likewise.
22232         (linknamespace-libs-ISO11): Likewise.
22233         (linknamespace-libs-XPG3): Likewise.
22234         (linknamespace-libs-XPG4): Likewise.
22235         (linknamespace-libs-POSIX): Likewise.
22236         (linknamespace-libs-UNIX98): Likewise.
22237         (linknamespace-libs-XOPEN2K): Likewise.
22238         (linknamespace-libs-POSIX2008): Likewise.
22239         (linknamespace-libs-XOPEN2K8): Likewise.
22240         ($(objpfx)symlist-stdlibs): Replace by
22241         $(linknamespace-symlist-stdlibs-tests).  Use
22242         $(linknamespace-libs-$*) as set of libraries.
22243         ($(linknamespace-header-tests)): Update dependencies.  Use
22244         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
22245         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
22246         * conform/linknamespace.pl: Remove comment about considering
22247         definitions of symbols from irrelevant libraries.
22249 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
22251         [BZ #13862]
22252         * elf/dl-tls.c: Include <atomic.h>.
22253         (oom): Remove #ifdef SHARED/#endif.
22254         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
22255         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
22256         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
22257         big enough.
22258         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
22259         * nptl/Makefile (tests): Add tst-stack4.
22260         (modules-names): Add tst-stack4mod.
22261         ($(objpfx)tst-stack4): New.
22262         (tst-stack4mod.sos): Likewise.
22263         ($(objpfx)tst-stack4.out): Likewise.
22264         ($(tst-stack4mod.sos)): Likewise.
22265         (clean): Likewise.
22266         * nptl/tst-stack4.c: New file.
22267         * nptl/tst-stack4mod.c: Likewise.
22269 2014-11-27  J. Brown  <jb999@gmx.de>
22271         * sysdeps/x86/bits/string.h: Add recent CPUs.
22273 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22275         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
22276         sigblock.
22278         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
22279         feof.
22281         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
22282         variable.
22284 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22286         * nscd/connections.c: Include libc-internal.h because of macro
22287         usage ignore_value.
22289 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22291         * string/bits/string3.h (__warn_memset_zero_len): Don't
22292         declare for gcc newer than 5.0.
22293         (memset): Don't test for zero-length __LEN for gcc newer than
22294         5.0.
22296 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
22298         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
22299         size_t for %zu format.
22301         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
22302         difference, not %ju.
22304 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22306         * include/libc-internal.h (ignore_value): New macro.
22307         * nscd/connections.c (restart): Wrap calls to setuid and setgid
22308         with ignore_value.
22310         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
22311         definition.
22313         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
22314         pthread_cleanup_push to void *.
22316         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
22317         Undefine.
22319         [BZ #16619]
22320         [BZ #16740]
22321         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
22322         instead of 1L << 52.
22324         * libio/bug-rewind.c (do_test): Check fwscanf return values.
22325         * libio/bug-rewind2.c (do_test): Likewise.
22327         * debug/test-stpcpy_chk-ifunc.c: Remove file.
22328         * debug/test-strcpy_chk-ifunc.c: Likewise.
22329         * wcsmbs/test-wcschr-ifunc.c: Likewise.
22330         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22331         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22332         * wcsmbs/test-wcslen-ifunc.c: Likewise.
22333         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22334         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22335         * Rules [$(multi-arch) = no] (tests): Do not filter out
22336         $(tests-ifunc).
22337         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
22338         * debug/Makefile (tests-ifunc): Remove variable.
22339         (tests): Do not add $(tests-ifunc).
22340         * wcsmbs/Makefile (tests-ifunc): Remove variable.
22341         (tests): Do not add $(tests-ifunc).
22342         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
22343         [TEST_IFUNC]: Remove conditionals.
22344         * string/test-string.h (TEST_IFUNC): Remove macro.
22345         [TEST_IFUNC]: Remove conditionals.
22347         * string/test-strchr.c [!WIDE] (L): New macro.
22348         [WIDE] (L): Likewise.
22349         (check1): Use CHAR instead of char.  Use L on string and character
22350         constants.
22352 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
22354         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
22355         tests.
22356         * sysdeps/powerpc/bits/atomic.h
22357         (__arch_atomic_exchange_and_add_32_acq): Add definition.
22358         (__arch_atomic_exchange_and_add_32_rel): Likewise.
22359         (atomic_exchange_and_add_acq): Likewise.
22360         (atomic_exchange_and_add_rel): Likewise.
22361         * sysdeps/powerpc/powerpc32/bits/atomic.h
22362         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22363         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22364         * sysdeps/powerpc/powerpc64/bits/atomic.h
22365         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22366         (__arch_atomic_exchange_and_add_64_rel): Likewise.
22368 2014-11-26  Torvald Riegel  <triegel@redhat.com>
22370         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
22371         Change synchronization of __sched_fifo_min_prio and
22372         __sched_fifo_max_prio.
22373         * nptl/pthread_mutexattr_getprioceiling.c
22374         (pthread_mutexattr_getprioceiling): Likewise.
22375         * nptl/pthread_mutexattr_setprioceiling.c
22376         (pthread_mutexattr_setprioceiling): Likewise.
22377         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
22378         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
22379         Likewise.
22381 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
22383         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
22384         void.
22386 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22388         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22389         third argument const.
22391 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
22393         fnmatch: work around GCC compiler warning bug with uninit var
22394         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
22395         This works around a bug with x86-64 GCC 4.9.2 and earlier
22396         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
22397         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
22398         used uninitialized in this function [-Wmaybe-uninitialized]".
22400 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
22402         * posix/bug-regex31.c (main): Return RES not 0.
22404 2014-11-25  Anton Blanchard <anton@samba.org>
22406         * sysdeps/powerpc/bits/atomic.h
22407         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
22409 2014-11-24  Sterling Augustine  <saugustine@google.com>
22411         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
22413 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
22415         [BZ #17608]
22416         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
22418 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
22420         [BZ #17633]
22421         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
22422         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
22423         variable.
22424         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
22425         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
22427 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22429         * string/strncpy.c (strncpy): Improve performance by using memset.
22431 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
22433         * string/strcpy.c (strcpy):
22434         Improve performance by using strlen and memcpy.
22436 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
22438         * string/strcoll_l.c (get_next_seq): __always_inline.
22439         * string/strcoll_l.c (do_compare): __always_inline.
22441 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
22444         defined.
22445         * include/mqueue.h: Likewise.
22446         * include/stdlib.h: Likewise.
22448         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
22449         (get_null_defines): Adjust.
22450         * sunrpc/Makefile: Adjust comment.
22451         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
22452         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
22453         (CFLAGS-interp.c): Likewise.
22454         (CFLAGS-ldconfig.c): Likewise.
22455         (CPPFLAGS-.os): Likewise.
22456         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
22457         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
22458         * extra-modules.mk (extra-modules.mk): Likewise.
22459         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
22460         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
22461         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
22462         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
22463         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
22464         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
22465         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
22466         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
22467         * iconvdata/Makefile (CPPFLAGS): Likewise.
22468         (cpp-srcs-left): Add libof for all iconvdata routines.
22469         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
22470         * include/assert.h: Likewise.
22471         * include/ctype.h: Likewise.
22472         * include/errno.h: Likewise.
22473         * include/libc-symbols.h: Likewise.
22474         * include/math.h: Likewise.
22475         * include/netdb.h: Likewise.
22476         * include/resolv.h: Likewise.
22477         * include/stdio.h: Likewise.
22478         * include/stdlib.h: Likewise.
22479         * include/string.h: Likewise.
22480         * include/sys/stat.h: Likewise.
22481         * include/wctype.h: Likewise.
22482         * intl/l10nflist.c: Likewise.
22483         * libidn/idn-stub.c: Likewise.
22484         * libio/libioP.h: Likewise.
22485         * nptl/libc_multiple_threads.c: Likewise.
22486         * nptl/pthreadP.h: Likewise.
22487         * posix/regex_internal.h: Likewise.
22488         * resolv/res_hconf.c: Likewise.
22489         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
22490         * sysdeps/arm/memmove.S: Likewise.
22491         * sysdeps/arm/sysdep.h: Likewise.
22492         * sysdeps/generic/_itoa.h: Likewise.
22493         * sysdeps/generic/symbol-hacks.h: Likewise.
22494         * sysdeps/gnu/errlist.awk: Likewise.
22495         * sysdeps/gnu/errlist.c: Likewise.
22496         * sysdeps/i386/i586/memcpy.S: Likewise.
22497         * sysdeps/i386/i586/memset.S: Likewise.
22498         * sysdeps/i386/i686/memcpy.S: Likewise.
22499         * sysdeps/i386/i686/memmove.S: Likewise.
22500         * sysdeps/i386/i686/mempcpy.S: Likewise.
22501         * sysdeps/i386/i686/memset.S: Likewise.
22502         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
22503         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22504         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
22505         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
22506         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22508         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
22509         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22510         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
22511         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
22512         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22513         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22514         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22515         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22516         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22517         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22518         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
22519         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
22520         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
22521         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22522         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22523         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22524         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22525         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22526         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22527         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22528         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
22529         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
22531         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
22532         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22533         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22534         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22535         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22536         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22537         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
22538         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22539         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22540         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
22541         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
22542         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22543         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22544         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
22545         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
22546         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22547         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22548         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
22549         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
22550         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22551         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
22552         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22553         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
22554         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
22555         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22556         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
22557         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
22558         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22559         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
22560         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
22561         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22562         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
22563         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22564         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
22565         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22566         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22567         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
22568         * sysdeps/posix/closedir.c: Likewise.
22569         * sysdeps/posix/opendir.c: Likewise.
22570         * sysdeps/posix/readdir.c: Likewise.
22571         * sysdeps/posix/rewinddir.c: Likewise.
22572         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
22573         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
22574         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22575         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22576         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22577         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
22578         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
22579         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
22581         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
22583         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
22584         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
22585         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
22586         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
22587         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
22588         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
22589         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
22590         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
22591         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
22592         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
22593         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
22594         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
22595         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
22596         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
22597         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
22598         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
22599         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
22600         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
22601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
22602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
22603         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
22604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
22605         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
22606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
22607         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
22608         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22609         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22610         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
22611         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
22612         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
22613         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
22614         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
22615         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
22616         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
22617         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
22618         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
22619         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
22620         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
22621         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
22622         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
22623         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
22624         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22625         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
22626         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
22627         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
22628         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
22629         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
22630         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
22631         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
22632         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
22633         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
22634         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22635         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
22636         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
22637         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
22638         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
22639         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
22640         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
22641         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
22642         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
22643         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
22644         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
22645         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
22646         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
22647         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
22648         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
22649         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
22650         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
22651         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
22652         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
22653         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22654         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
22655         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
22656         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22657         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
22658         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
22659         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22660         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22661         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
22662         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
22663         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
22664         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
22665         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
22666         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
22667         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
22668         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
22669         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
22670         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
22671         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
22672         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22673         * sysdeps/unix/alpha/sysdep.S: Likewise.
22674         * sysdeps/unix/alpha/sysdep.h: Likewise.
22675         * sysdeps/unix/make-syscalls.sh: Likewise.
22676         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22677         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22678         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22679         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
22680         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22681         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
22682         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
22683         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22684         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22685         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
22686         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22687         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22688         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22689         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22690         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22691         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
22692         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22693         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22694         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22695         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22696         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
22697         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22698         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22699         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22700         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22701         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22702         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22705         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
22706         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22708         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
22709         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22710         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
22711         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22712         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
22713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22714         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
22715         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
22716         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22717         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22718         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22719         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22720         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22721         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22723         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22724         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22725         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22726         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22727         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22728         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22729         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22730         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
22731         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22732         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22734         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
22735         * sysdeps/x86_64/memcpy.S: Likewise.
22736         * sysdeps/x86_64/memmove.c: Likewise.
22737         * sysdeps/x86_64/memset.S: Likewise.
22738         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
22739         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22740         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22741         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
22742         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
22743         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22745         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22746         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22747         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22748         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22749         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22750         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
22751         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22752         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22753         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
22754         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22755         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22756         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
22757         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22758         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
22759         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22761         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
22762         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22763         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22764         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22765         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
22766         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
22767         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22768         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
22769         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22770         * sysdeps/x86_64/strcmp.S: Likewise.
22772         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
22774         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
22775         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
22776         * elf/rtld-Rules: Likewise.
22777         * elf/setup-vdso.h: Likewise.
22778         * include/assert.h: Likewise.
22779         * include/bits/stdlib-float.h: Likewise.
22780         * include/errno.h: Likewise.
22781         * include/sys/stat.h: Likewise.
22782         * include/unistd.h: Likewise.
22783         * sysdeps/aarch64/setjmp.S: Likewise.
22784         * sysdeps/alpha/setjmp.S: Likewise.
22785         * sysdeps/arm/__longjmp.S: Likewise.
22786         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
22787         * sysdeps/arm/setjmp.S: Likewise.
22788         * sysdeps/arm/sysdep.h: Likewise.
22789         * sysdeps/generic/_itoa.h: Likewise.
22790         * sysdeps/generic/dl-sysdep.h: Likewise.
22791         * sysdeps/generic/ldsodefs.h: Likewise.
22792         * sysdeps/i386/dl-tls.h: Likewise.
22793         * sysdeps/i386/setjmp.S: Likewise.
22794         * sysdeps/m68k/setjmp.c: Likewise.
22795         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
22796         * sysdeps/mach/hurd/opendir.c: Likewise.
22797         * sysdeps/posix/getcwd.c: Likewise.
22798         * sysdeps/posix/opendir.c: Likewise.
22799         * sysdeps/posix/profil.c: Likewise.
22800         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22801         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22802         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
22803         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22804         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22805         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
22806         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
22807         * sysdeps/s390/dl-tls.h: Likewise.
22808         * sysdeps/s390/s390-32/setjmp.S: Likewise.
22809         * sysdeps/s390/s390-64/setjmp.S: Likewise.
22810         * sysdeps/sh/sh3/setjmp.S: Likewise.
22811         * sysdeps/sh/sh4/setjmp.S: Likewise.
22812         * sysdeps/unix/alpha/sysdep.h: Likewise.
22813         * sysdeps/unix/arm/sysdep.S: Likewise.
22814         * sysdeps/unix/i386/sysdep.S: Likewise.
22815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22816         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
22817         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
22818         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
22819         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22820         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
22821         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
22822         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22823         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
22824         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
22825         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
22826         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
22827         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
22828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
22829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22830         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22831         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22832         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22833         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
22834         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
22835         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
22836         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22838         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
22839         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22840         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
22841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22842         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22843         * sysdeps/x86_64/setjmp.S: Likewise.
22845         * include/math.h: Use IS_IN instead of IS_IN_libm.
22846         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
22847         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22848         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22849         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
22850         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22851         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22852         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22853         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22854         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22855         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22856         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
22857         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
22858         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
22859         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
22860         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
22861         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
22862         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
22863         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
22864         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
22865         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
22866         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
22867         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
22868         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
22869         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
22870         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
22871         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
22872         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
22873         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
22874         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
22875         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
22876         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
22877         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22878         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22879         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22880         Likewise.
22881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
22882         Likewise.
22883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
22884         Likewise.
22885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
22886         Likewise.
22887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
22888         Likewise.
22889         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22890         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
22891         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22892         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22893         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22894         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22895         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
22896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
22898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
22899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
22900         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
22901         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
22902         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22903         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22904         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
22905         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22906         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22907         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
22908         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22909         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
22910         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
22911         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
22912         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
22913         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
22914         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22915         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
22917         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
22918         * nptl/pthreadP.h: Likewise.
22919         * nptl_db/structs.def: Likewise.
22920         * sysdeps/arm/sysdep.h: Likewise.
22921         * sysdeps/nptl/bits/libc-lock.h: Likewise.
22922         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
22923         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
22924         * sysdeps/unix/alpha/sysdep.h: Likewise.
22925         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
22927         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22928         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22929         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22930         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22931         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22932         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22933         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22934         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22935         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22936         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22937         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22938         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
22941         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22942         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22943         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22945         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22946         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22947         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
22948         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22949         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
22950         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22952         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
22953         * nptl/pthreadP.h: Likewise.
22954         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
22955         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
22956         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
22957         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
22958         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
22959         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
22960         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
22961         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
22962         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
22963         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
22964         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
22965         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
22966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22967         Likewise.
22968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22969         Likewise.
22970         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
22971         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
22972         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
22973         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
22974         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
22975         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
22976         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
22977         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
22979         * dlfcn/dladdr.c: Use IS_IN.
22980         * dlfcn/dladdr1.c: Likewise.
22981         * dlfcn/dlclose.c: Likewise.
22982         * dlfcn/dlerror.c: Likewise.
22983         * dlfcn/dlinfo.c: Likewise.
22984         * dlfcn/dlmopen.c: Likewise.
22985         * dlfcn/dlopen.c: Likewise.
22986         * dlfcn/dlsym.c: Likewise.
22987         * dlfcn/dlvsym.c: Likewise.
22989         * include/ifaddrs.h: Use IS_IN.
22990         * inet/check_pf.c: Likewise.
22991         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
22992         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
22994         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
22995         IS_IN_ldconfig.
22996         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
22997         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
22999         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
23000         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
23001         IS_IN (libc).
23003         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
23005         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
23006         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
23007         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
23008         * include/libc-symbols.h (IS_IN_LIB): New macro.
23009         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
23010         * include/netdb.h: Likewise.
23011         * include/stap-probe.h: Remove all uses of IN_LIB.
23013         * Makeconfig (module-cppflags-real): Define MODULE_NAME
23014         instead of IN_MODULE.
23015         * include/libc-symbols.h (IN_MODULE): Define using
23016         MODULE_NAME.
23017         (PASTE_NAME, PASTE_NAME1): New macros.
23018         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
23019         of IN_LIB.
23020         (STAP_PROBE_ASM): Likewise.
23022 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23024         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
23025         __mach_init in dlopened libc.
23027 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
23029         * sysdeps/arm/preconfigure.ac: Delete EABI check.
23030         * sysdeps/arm/preconfigure: Regenerate.
23032 2014-11-21  Roland McGrath  <roland@hack.frob.com>
23034         * nptl/pthread_create.c (__pthread_create_2_1): Set
23035         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
23036         when copying values from IATTR into PD.
23038 2014-11-21  Will Newton  <will.newton@linaro.org>
23039             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
23041         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
23042         Refactor inline-asm.  Also add comment.
23044         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
23045         ElfW macro instead of hardcoded Elf64 types.
23046         (la_aarch64_gnu_pltenter): Likewise.
23047         * sysdeps/aarch64/dl-machine.h
23048         (elf_machine_runtime_setup): Use ElfW(Addr).
23050         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
23051         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
23052         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
23053         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
23054         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
23055         (R_AARCH64_TLS_DTPMOD64): Rename to ..
23056         (R_AARCH64_TLS_DTPMOD): This.
23057         (R_AARCH64_TLS_DTPREL64): Rename to ...
23058         (R_AARCH64_TLS_DTPREL): This.
23059         (R_AARCH64_TLS_TPREL64): Rename to ...
23060         (R_AARCH64_TLS_TPREL): This.
23061         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
23062         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
23063         R_AARCH64_TLS_TPREL64.
23064         (elf_machine_rela): Likewise.
23066 2014-11-21  Torvald Riegel  <triegel@redhat.com>
23068         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
23069         by setting it to 0.  64b atomics are not supported currently.
23071 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23073         [BZ #16469]
23074         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
23075         search domain names.
23077 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23079         [BZ #16469]
23080         * NEWS: Update.
23081         * resolv/res_query.c (__libc_res_nquerydomain): Retain
23082         trailing dot.
23083         * posix/tst-getaddrinfo5.c: New.
23084         * posix/Makefile (tests): Add it.
23086 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23088         [BZ #14498]
23089         * NEWS: Fixed.
23090         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
23091         after parsing line but before break_if_match.
23092         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
23093         if there is a protocol mismatch.
23095 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
23097         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
23098         because the potential race is on the user-supplied stream.
23100 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23102         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
23103         string literal if not passed a buffer.
23104         * manual/job.texi (ctermid): Update reasoning, note deviation
23105         from posix, suggest mtasurace when not passed a buffer, for
23106         future non-preliminary safety notes.
23108 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23110         * manual/users.texi (cuserid): Fix MT-Safety note for the case
23111         of not passing it a buffer.
23112         Reported by Peng Haitao.
23114 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
23116         * manual/Makefile ($(objpfx)stamp-summary): Require
23117         check-safety.sh to pass.
23118         * manual/check-safety.sh: Wish for verification that every
23119         @deftypefn and @deftypefun is followed by a @safety remark.
23121 2014-11-20  Roland McGrath  <roland@hack.frob.com>
23123         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
23125         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
23126         PTHREAD_CANCEL_ASYNCHRONOUS.
23127         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
23128         send SIGCANCEL.
23130         * nptl/default-sched.h: New file.
23131         * sysdeps/unix/sysv/linux/default-sched.h: New file.
23132         * nptl/pthread_create.c: Include it.
23133         (__pthread_create_2_1): Use collect_default_sched instead of making
23134         Linux syscalls here directly.
23136 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23138         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
23139         __pthread_once): Use C11 atomics.
23141 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23143         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
23145 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23147         * include/atomic.h (__atomic_link_error, __atomic_check_size,
23148         atomic_thread_fence_acquire, atomic_thread_fence_release,
23149         atomic_thread_fence_seq_cst, atomic_load_relaxed,
23150         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
23151         atomic_compare_exchange_weak_relaxed,
23152         atomic_compare_exchange_weak_acquire,
23153         atomic_compare_exchange_weak_release,
23154         atomic_exchange_acquire, atomic_exchange_release,
23155         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
23156         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
23157         atomic_fetch_and_acquire,
23158         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
23160 2014-11-20  Torvald Riegel  <triegel@redhat.com>
23162         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
23163         USE_ATOMIC_COMPILER_BUILTINS): Define.
23164         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
23165         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23166         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
23167         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23168         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
23169         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23170         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
23171         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23172         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
23173         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23174         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
23175         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23176         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
23177         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23178         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
23179         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23180         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23181         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23182         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23183         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23184         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
23185         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23186         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
23187         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23188         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
23189         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23190         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
23191         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23192         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
23193         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23194         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
23195         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23196         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
23197         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23198         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23199         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23200         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
23201         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23202         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
23203         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
23205 2014-11-19  Roland McGrath  <roland@hack.frob.com>
23207         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
23208         the sched_priority value here.  It was already checked when the user
23209         called pthread_attr_setschedparam.
23211         * nptl/tst-bad-schedattr.c: New file.
23212         * nptl/Makefile (tests): Add it.
23214 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
23215             Florian Weimer  <fweimer@redhat.com>
23216             Joseph Myers  <joseph@codesourcery.com>
23217             Adam Conrad  <adconrad@0c3.net>
23218             Andreas Schwab  <schwab@suse.de>
23219             Brooks  <bmoses@google.com>
23221         [BZ #17625]
23222         * wordexp-test.c (__dso_handle): Add prototype.
23223         (__register_atfork): Likewise.
23224         (__app_register_atfork): New function.
23225         (registered_forks): New global.
23226         (register_fork): New function.
23227         (test_case): Add 3 new tests for WRDE_CMDSUB.
23228         (main): Call __app_register_atfork.
23229         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
23230         fork count is non-zero fail the test.
23231         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
23232         is set.
23233         (parse_dollars): Remove check for WRDE_NOCMD.
23234         (parse_dquote): Likewise.
23236 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23238         * Makeconfig (built-modules): List non-library modules to be
23239         built.
23240         (module-cppflags): Include libc-modules.h for
23241         everything except shlib-versions.v.i.
23242         (CPPFLAGS): Use it.
23243         (before-compile): Add libc-modules.h.
23244         ($(common-objpfx)libc-modules.h,
23245         $(common-objpfx)libc-modules.stmp): New targets.
23246         (common-generated): Add libc-modules.h and libc-modules.stmp.
23247         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
23248         * include/libc-symbols.h: Don't include libc-modules.h.
23249         * include/libc-modules.h: Remove file.
23250         * scripts/gen-libc-modules.awk: New script to generate
23251         libc-modules.h.
23252         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
23253         Depend on libc-modules.stmp.
23255         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
23257         * Makeconfig (in-module): Get value of libof set for the
23258         translation unit.
23259         (CPPFLAGS): Use $(in-module).
23260         * Makerules: Don't suffix routine names for nonlib.
23261         * include/libc-modules.h: New file.
23262         * include/libc-symbols.h: Include libc-modules.h
23263         (IS_IN): New macro to replace IS_IN_* macros.
23264         * elf/Makefile: Set libof-* for each routine.
23265         * elf/rtld-Rules: Likewise.
23266         * extra-modules.mk: Likewise.
23267         * iconv/Makefile: Likewise.
23268         * iconvdata/Makefile: Likewise.
23269         * locale/Makefile: Likewise.
23270         * malloc/Makefile: Likewise.
23271         * nss/Makefile: Likewise.
23272         * sysdeps/gnu/Makefile: Likewise.
23273         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
23274         * sysdeps/unix/sysv/linux/Makefile: Likewise.
23275         * sysdeps/s390/s390-64/Makefile: Likewise.
23276         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
23277         CPPFLAGS for nscd instead of nonlib.
23279 2014-11-18  Roland McGrath  <roland@hack.frob.com>
23281         * nptl/createthread.c: New file.
23283         * nptl/createthread.c: Moved ...
23284         * sysdeps/unix/sysv/linux/createthread.c: ... here.
23286         * nptl/createthread.c: Add proper top-line comment.
23287         (do_clone): Folded into ...
23288         (create_thread): ... here.  Take new arguments STOPPED_START and
23289         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
23290         increment __nptl_threads, do event-reporting logic, do
23291         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
23292         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
23293         resource cleanup if sched_setaffinity or sched_setscheduler fails,
23294         just send SIGCANCEL.
23295         * nptl/pthread_create.c: Forward-declare create_thread before
23296         including createthread.c.
23297         (start_thread): Use new macro START_THREAD_DEFN to replace defining
23298         declaration, and new macro START_THREAD_SELF to replace argument.
23299         Remove return statement.
23300         (report_thread_creation): New function.
23301         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
23302         synchronization logic, and __nptl_nthreads increment here, around
23303         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
23304         PD->parent_cancelhandling here, before create_thread.  When
23305         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
23306         __deallocate_stack, and ENOMEM translation here.
23308 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
23310         [BZ #17616]
23311         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
23312         (mptwo): Rename to __mptwo.
23313         (__inv): Use __mptwo instead of mptwo.
23314         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
23315         (mptwo): Rename to __mptwo.
23316         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
23317         of mpone and __mptwo instead of mptwo.
23318         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
23319         instead of mpone.
23320         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23321         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
23322         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
23323         of mpone and __mptwo instead of mptwo.
23324         (__mpranred): Use __mpone instead of mpone.
23325         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
23326         variable.
23327         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23328         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23329         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23330         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23331         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23332         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23333         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23334         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23335         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23336         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23337         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23338         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23339         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23340         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23341         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23342         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23343         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23344         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23345         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23347 2014-11-18  Tom de Vries  <tom@codesoucery.com>
23349         * manual/signal.texi (Primitives Interrupted by Signals): In section,
23350         replace BSD Handler xref with BSD Signal Handling.
23352 2014-11-17  Richard Henderson  <rth@redhat.com>
23354         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
23355         (_FP_PACK_RAW_2): Remove.
23356         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
23357         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
23358         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
23359         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
23360         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
23361         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
23362         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
23363         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
23364         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
23365         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
23366         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
23367         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
23368         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
23369         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
23370         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
23371         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
23373 2014-11-14  Roland McGrath  <roland@hack.frob.com>
23375         * signal/signal.h [__USE_MISC]
23376         (struct sigvec): Remove type.
23377         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
23378         (sigvec): Remove declaration.
23379         * sysdeps/posix/sigvec.c: Moved ...
23380         * signal/sigvec.c: ... here, replacing old file.
23381         (struct sigvec): New type, copied from old signal.h definition.
23382         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
23383         (__sigvec): Convert definition to prototype.
23384         (sigvec): Replace weak_alias with compat_symbol.
23385         * signal/Versions (libc: GLIBC_2.21): New version set.
23386         * include/signal.h: Remove __sigvec declaration.
23387         * sysdeps/unix/bsd/sigvec.c: Remove file.
23388         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
23389         * manual/signal.texi (BSD Handler): Remove subsection.
23390         Move siginterrupt up to ...
23391         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
23392         (Blocking in BSD): Fold subsection into its parent.
23393         * NEWS: Mention sigvec removal.
23395 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23397         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
23398         (DLA_FMS): Make definition conditional only on [__FMA4__].
23399         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
23400         definition.
23402         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
23403         Make definition conditional only on [PROF].
23404         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
23405         definition.
23406         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
23407         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
23409         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
23410         !__GNUC__].
23411         * include/signal.h (__sigpause): Move declaration above call to
23412         libc_hidden_proto.
23413         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
23414         variable.
23415         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23416         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23418 2014-11-14  David S. Miller  <davem@davemloft.net>
23420         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
23421         Define before including <string/memcpy.c> and <string/mempcpy.c>.
23423 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
23425         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
23426         * configure: Regenerated.
23427         * manual/install.texi (Tools for Compilation): Document a
23428         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
23429         compiler verified to work.
23430         * INSTALL: Regenerated.
23432         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
23433         redeclare with asm name.
23434         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
23435         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
23436         including <string.h>.
23437         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23438         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
23439         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23440         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
23441         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23442         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23443         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
23445 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
23447         * stdlib/strtol.c (__strtol): Use prototype definition.
23449         [BZ #17594]
23450         * stdlib/strtol.c (SYM__): New macro.
23451         (SYM__1): Likewise.
23452         (__strtol): Likewise.
23453         (strtol): Rename to __strtol and define as weak alias of
23454         __strtol.  Use libc_hidden_weak.
23456 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23458         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
23459         Use numbered labels in inline assembly.
23461 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23463         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
23464         Add setjmp LIBC_PROBE.
23465         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
23466         Likewise.
23467         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
23468         Add longjmp, longjmp_target LIBC_PROBE.
23469         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
23470         Likewise.
23472 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23474         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
23475         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
23476         to get rid of unused variable warning.
23478 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23480         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
23481         Check for unwind_backtrace ==  NULL only in SHARED case.
23482         (__backchain_backtrace): Compile only in SHARED case.
23483         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
23484         Likewise.
23485         (__backchain_backtrace): Declare as static.
23487 2014-11-12  Roland McGrath  <roland@hack.frob.com>
23489         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
23490         (__libc_multiple_threads_ptr): Variable moved ...
23491         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
23493 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
23495         * conform/GlibcConform.pm: New file.
23496         * conform/conformtest.pl: Use GlibcConform module.
23497         * conform/linknamespace.pl: New file.
23498         * conform/list-header-symbols.pl: Likewise.
23499         * conform/Makefile (linknamespace-symlists-base): New variable.
23500         (linknamespace-symlists-tests): Likewise.
23501         (linknamespace-header-base): Likewise.
23502         (linknamespace-header-tests): Likewise.
23503         (tests-special): Add new tests.
23504         ($(linknamespace-symlists-tests)): New rule.
23505         (linknamespace-libs): New variable.
23506         ($(objpfx)symlist-stdlibs): New rule.
23507         ($(linknamespace-header-tests)): Likewise.
23508         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
23509         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
23510         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
23511         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
23512         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
23513         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
23514         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
23515         (test-xfail-ISO/math.h/linknamespace): Likewise.
23516         (test-xfail-ISO/signal.h/linknamespace): Likewise.
23517         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
23518         (test-xfail-ISO/time.h/linknamespace): Likewise.
23519         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
23520         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
23521         (test-xfail-ISO99/math.h/linknamespace): Likewise.
23522         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
23523         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
23524         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
23525         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
23526         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23527         (test-xfail-ISO11/math.h/linknamespace): Likewise.
23528         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
23529         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
23530         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
23531         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23532         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
23533         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
23534         (test-xfail-XPG3/math.h/linknamespace): Likewise.
23535         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
23536         (test-xfail-XPG3/search.h/linknamespace): Likewise.
23537         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
23538         (test-xfail-XPG3/time.h/linknamespace): Likewise.
23539         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
23540         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
23541         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23542         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
23543         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23544         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
23545         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
23546         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
23547         (test-xfail-XPG4/math.h/linknamespace): Likewise.
23548         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
23549         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
23550         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
23551         (test-xfail-XPG4/search.h/linknamespace): Likewise.
23552         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23553         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
23554         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
23555         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
23556         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
23557         (test-xfail-XPG4/time.h/linknamespace): Likewise.
23558         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
23559         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
23560         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
23561         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23562         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23563         (test-xfail-POSIX/math.h/linknamespace): Likewise.
23564         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
23565         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
23566         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
23567         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
23568         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
23569         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
23570         (test-xfail-POSIX/time.h/linknamespace): Likewise.
23571         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
23572         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23573         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
23574         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23575         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
23576         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23577         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23578         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
23579         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
23580         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
23581         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
23582         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
23583         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
23584         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
23585         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
23586         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
23587         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
23588         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
23589         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23590         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
23591         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
23592         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
23593         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
23594         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
23595         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
23596         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
23597         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23598         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
23599         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
23600         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
23601         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
23602         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23603         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23604         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
23605         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
23606         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
23607         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23608         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
23609         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
23610         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
23611         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
23612         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23613         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
23614         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
23615         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
23616         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
23617         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
23618         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
23619         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
23620         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23621         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
23622         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
23623         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
23624         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23625         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23626         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23627         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
23628         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
23629         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23630         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
23631         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23632         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
23633         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
23634         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23635         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
23636         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
23637         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
23638         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23639         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
23640         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
23641         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
23642         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
23643         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
23644         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
23645         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
23646         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
23647         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
23648         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
23649         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23650         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
23651         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
23652         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
23653         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
23654         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23655         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
23656         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
23657         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
23658         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
23659         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23660         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
23661         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
23662         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
23663         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
23664         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
23665         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
23666         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
23667         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
23668         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23670         [BZ #17589]
23671         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
23672         of fgets_unlocked.
23674         [BZ #17585]
23675         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
23676         (memmem): Rename to __memmem and define as weak alias of
23677         __memmem.  Use libc_hidden_weak.
23678         (__memmem): Use libc_hidden_def.
23679         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
23680         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
23681         memmem.
23683         [BZ #17582]
23684         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
23685         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
23686         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
23687         and define as weak alias of __fgets_unlocked.  Use
23688         libc_hidden_weak.
23689         (__fgets_unlocked): Use libc_hidden_def.
23690         * include/stdio.h (__fgets_unlocked): Declare.  Use
23691         libc_hidden_proto.
23692         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
23693         __fgets_unlocked instead of fgets_unlocked.
23694         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
23695         (GET_NPROCS_CONF_PARSER): Likewise.
23696         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
23697         (GET_NPROCS_CONF_PARSER): Likewise.
23699         [BZ #17574]
23700         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
23701         weak alias of __wmemset.  Use libc_hidden_weak.
23702         (__wmemset): Use libc_hidden_def.
23703         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
23704         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
23705         of wmemset.
23707         [BZ #17573]
23708         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
23709         with asm name __mempcpy.
23710         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
23712         [BZ #17572]
23713         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
23714         and define as weak alias of __rawmemchr.
23715         (__rawmemchr): Do not define as strong alias of rawmemchr.
23717         [BZ #17571]
23718         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
23719         alias of __qsort_r.
23720         (qsort): Call __qsort_r instead of qsort_r.
23721         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
23722         (__qsort_r): Declare.  Call libc_hidden_proto.
23723         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
23724         instead of qsort_r.
23725         * nscd/gai.c (__qsort_r): Define to qsort_r.
23726         * posix/tst-rfc3484.c (__qsort_r): Likewise.
23727         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
23728         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
23730         [BZ #17570]
23731         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
23732         define as weak alias of __malloc_info.
23734         [BZ #17584]
23735         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
23736         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23737         (__rewinddir): Use libc_hidden_def.
23738         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
23739         as weak alias of __rewinddir.  Don't use libc_hidden_def.
23740         (__rewinddir): Use libc_hidden_def.
23741         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
23742         weak alias of __rewinddir.  Don't use libc_hidden_def.
23743         (__rewinddir): Use libc_hidden_def.
23744         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
23745         (__rewinddir): Use libc_hidden_proto.
23746         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
23747         rewinddir.
23748         (__getcwd): Use __rewinddir instead of rewinddir.
23750         [BZ #17583]
23751         * libio/fileno.c (fileno): Rename to __fileno and define as weak
23752         alias of __fileno.  Use libc_hidden_weak.
23753         (__fileno): Use libc_hidden_def.
23754         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
23755         * libio/ftello.c (ftello): Rename to __ftello and define as weak
23756         alias of __ftello.
23757         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
23758         __ftello.
23759         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
23760         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
23761         libc_hidden_def.
23762         (fread_unlocked): Don't use libc_hidden_ver.
23763         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
23764         and define as weak alias of __fread_unlocked.  Don't use
23765         libc_hidden_def.
23766         (__fread_unlocked): Use libc_hidden_def.
23767         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
23768         (ftello): Don't use libc_hidden_proto.
23769         (__ftello): Declare.  Use libc_hidden_proto.
23770         (fread_unlocked): Don't use libc_hidden_proto.
23771         (__fread_unlocked): Declare.  Use libc_hidden_proto.
23772         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
23773         and __ftello instead of fileno, fread_unlocked and ftello.
23775 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23777         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
23778         GOT12.
23779         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
23780         Likewise.
23781         (_dl_start_user): Likewise.
23782         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
23784 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
23785             Siddhesh Poyarekar  <siddhesh@redhat.com>
23787         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
23788         Move argv and envp down instead of moving argc up.
23789         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
23791 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
23793         [BZ #17506]
23794         * test-skeleton.c (main): Return successful if one of
23795         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
23796         * string/tst-strcoll-overflow.c: Define expected status.
23798 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
23800         [BZ #17475]
23801         * locale/iso-639.def: Define Bhili and Tulu language codes.
23803 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
23805         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
23807 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
23809         [BZ #17555]
23810         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
23812 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23814         * configure.ac: Updated check of minimal required version to
23815         2.22.
23816         * manual/install.texi (Tools for Compilation): Updated version
23817         number.
23818         * configure: Regenerated.
23819         * INSTALL: Likewise.
23821 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
23823         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
23824         __tls_get_addr.
23826 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
23828         * include/sys/wait.h (__libc_waitpid): Remove declaration.
23829         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
23830         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23831         libc_hidden_weak.
23832         (waitpid): Define as alias of __waitpid.
23833         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
23834         __waitpid.
23835         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23836         libc_hidden_weak.
23837         (waitpid): Define as alias of __waitpid.
23838         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
23839         __libc_waitpid alias.
23840         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
23841         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
23842         Likewise.
23843         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
23844         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
23845         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
23846         alias.
23847         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
23848         __waitpid.
23849         (__waitpid): Don't define as alias.  Use libc_hidden_def not
23850         libc_hidden_weak.
23851         (waitpid): Define as alias of __waitpid.
23853 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
23855         * manual/llio.texi: Add comment that write safety has been
23856         fixed in Linux.
23858         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
23859         (localplt-build-dso): Add elf/ld.so.
23860         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
23861         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
23862         and free for ld.so.
23863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
23864         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
23865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
23866         Likewise.
23867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
23868         Likewise.
23869         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
23870         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
23871         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
23872         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
23873         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23874         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
23875         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
23876         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
23877         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23878         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
23879         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23881 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
23883         [BZ #14132]
23884         * include/libc-symbols.h (INTUSE): Remove macro.
23885         (INTDEF): Likewise.
23886         (INTVARDEF): Likewise.
23887         (_INTVARDEF): Likewise.
23888         (INTDEF2): Likewise.
23889         (INTVARDEF2): Likewise.
23890         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
23891         rtld_hidden_def instead of INTVARDEF.
23892         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
23893         (_dl_starting_up_internal): Remove declaration.
23894         (_dl_starting_up): Use rtld_hidden_proto.
23895         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
23896         declaration.
23897         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
23898         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
23899         _dl_starting_up.
23900         * elf/dl-writev.h (_dl_writev): Likewise.
23901         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
23902         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
23903         _dl_starting_up_internal.
23905 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23907         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
23908         test-skeleton.c.
23910 2014-11-05  Will Newton  <will.newton@linaro.org>
23912         * benchtests/Makefile: (bench-malloc): Add malloc thread
23913         scalability benchmark.
23914         * benchtests/bench-malloc-threads.c: New file.
23916 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
23918         * sysdeps/aarch64/strchrnul.S: New file.
23920 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23922         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
23923         definition.
23924         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
23925         Likwise.
23926         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
23927         Likewise.
23928         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
23929         Likewise.
23930         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
23931         Likewise.
23932         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
23933         Likewise.
23935 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
23937         * catgets/test-gencat.c: Use test-skeleton.c.
23938         * catgets/tst-catgets.c: Likewise.
23939         * csu/tst-empty.c: Likewise.
23940         * elf/tst-audit2.c: Likewise.
23941         * elf/tst-global1.c: Likewise.
23942         * elf/tst-pathopt.c: Likewise.
23943         * elf/tst-piemod1.c: Likewise.
23944         * elf/tst-tls10.c: Likewise.
23945         * elf/tst-tls11.c: Likewise.
23946         * elf/tst-tls12.c: Likewise.
23947         * gnulib/tst-gcc.c: Likewise.
23948         * iconvdata/tst-e2big.c: Likewise.
23949         * iconvdata/tst-loading.c: Likewise.
23950         * iconv/tst-iconv1.c: Likewise.
23951         * iconv/tst-iconv2.c: Likewise.
23952         * inet/test-inet6_opt.c: Likewise.
23953         * inet/tst-gethnm.c: Likewise.
23954         * inet/tst-network.c: Likewise.
23955         * inet/tst-ntoa.c: Likewise.
23956         * intl/tst-codeset.c: Likewise.
23957         * intl/tst-gettext2.c: Likewise.
23958         * intl/tst-gettext3.c: Likewise.
23959         * intl/tst-ngettext.c: Likewise.
23960         * intl/tst-translit.c: Likewise.
23961         * io/test-stat.c: Likewise.
23962         * libio/test-fmemopen.c: Likewise.
23963         * libio/tst-freopen.c: Likewise.
23964         * libio/tst-sscanf.c: Likewise.
23965         * libio/tst-ungetwc1.c: Likewise.
23966         * libio/tst-ungetwc2.c: Likewise.
23967         * libio/tst-widetext.c: Likewise.
23968         * localedata/tst-ctype.c: Likewise.
23969         * localedata/tst-digits.c: Likewise.
23970         * localedata/tst-leaks.c: Likewise.
23971         * localedata/tst-mbswcs1.c: Likewise.
23972         * localedata/tst-mbswcs2.c: Likewise.
23973         * localedata/tst-mbswcs3.c: Likewise.
23974         * localedata/tst-mbswcs4.c: Likewise.
23975         * localedata/tst-mbswcs5.c: Likewise.
23976         * localedata/tst-setlocale.c: Likewise.
23977         * localedata/tst-trans.c: Likewise.
23978         * localedata/tst-wctype.c: Likewise.
23979         * localedata/tst-xlocale1.c: Likewise.
23980         * login/tst-grantpt.c: Likewise.
23981         * malloc/tst-calloc.c: Likewise.
23982         * malloc/tst-malloc.c: Likewise.
23983         * malloc/tst-mallocstate.c: Likewise.
23984         * malloc/tst-mcheck.c: Likewise.
23985         * malloc/tst-mtrace.c: Likewise.
23986         * malloc/tst-obstack.c: Likewise.
23987         * math/atest-exp2.c: Likewise.
23988         * math/atest-exp.c: Likewise.
23989         * math/atest-sincos.c: Likewise.
23990         * math/test-matherr.c: Likewise.
23991         * math/test-misc.c: Likewise.
23992         * math/test-powl.c: Likewise.
23993         * math/tst-definitions.c: Likewise.
23994         * misc/tst-dirname.c: Likewise.
23995         * misc/tst-efgcvt.c: Likewise.
23996         * misc/tst-fdset.c: Likewise.
23997         * misc/tst-hsearch.c: Likewise.
23998         * misc/tst-mntent2.c: Likewise.
23999         * nptl/tst-sem7.c: Likewise.
24000         * nptl/tst-sem8.c: Likewise.
24001         * nptl/tst-sem9.c: Likewise.
24002         * nss/test-netdb.c: Likewise.
24003         * posix/tst-fnmatch.c: Likewise.
24004         * posix/tst-getlogin.c: Likewise.
24005         * posix/tst-gnuglob.c: Likewise.
24006         * posix/tst-mmap.c: Likewise.
24007         * pwd/tst-getpw.c: Likewise.
24008         * resolv/tst-inet_ntop.c: Likewise.
24009         * rt/tst-timer.c: Likewise.
24010         * stdio-common/test-fseek.c: Likewise.
24011         * stdio-common/test-popen.c: Likewise.
24012         * stdio-common/test-vfprintf.c: Likewise.
24013         * stdio-common/tst-cookie.c: Likewise.
24014         * stdio-common/tst-fileno.c: Likewise.
24015         * stdio-common/tst-gets.c: Likewise.
24016         * stdio-common/tst-obprintf.c: Likewise.
24017         * stdio-common/tst-perror.c: Likewise.
24018         * stdio-common/tst-sprintf2.c: Likewise.
24019         * stdio-common/tst-sprintf3.c: Likewise.
24020         * stdio-common/tst-sprintf.c: Likewise.
24021         * stdio-common/tst-swprintf.c: Likewise.
24022         * stdio-common/tst-tmpnam.c: Likewise.
24023         * stdio-common/tst-unbputc.c: Likewise.
24024         * stdio-common/tst-wc-printf.c: Likewise.
24025         * stdlib/tst-environ.c: Likewise.
24026         * stdlib/tst-fmtmsg.c: Likewise.
24027         * stdlib/tst-limits.c: Likewise.
24028         * stdlib/tst-rand48-2.c: Likewise.
24029         * stdlib/tst-rand48.c: Likewise.
24030         * stdlib/tst-random2.c: Likewise.
24031         * stdlib/tst-random.c: Likewise.
24032         * stdlib/tst-strtol.c: Likewise.
24033         * stdlib/tst-strtoll.c: Likewise.
24034         * stdlib/tst-tls-atexit.c: Likewise.
24035         * stdlib/tst-xpg-basename.c: Likewise.
24036         * string/test-ffs.c: Likewise.
24037         * string/tst-bswap.c: Likewise.
24038         * string/tst-inlcall.c: Likewise.
24039         * string/tst-strtok.c: Likewise.
24040         * string/tst-strxfrm.c: Likewise.
24041         * sysdeps/x86_64/tst-audit10.c: Likewise.
24042         * sysdeps/x86_64/tst-audit3.c: Likewise.
24043         * sysdeps/x86_64/tst-audit4.c: Likewise.
24044         * sysdeps/x86_64/tst-audit5.c: Likewise.
24045         * time/tst-ftime_l.c: Likewise.
24046         * time/tst-getdate.c: Likewise.
24047         * time/tst-mktime3.c: Likewise.
24048         * time/tst-mktime.c: Likewise.
24049         * time/tst-posixtz.c: Likewise.
24050         * time/tst-strptime2.c: Likewise.
24051         * time/tst-strptime3.c: Likewise.
24052         * wcsmbs/tst-btowc.c: Likewise.
24053         * wcsmbs/tst-mbrtowc.c: Likewise.
24054         * wcsmbs/tst-mbsrtowcs.c: Likewise.
24055         * wcsmbs/tst-wchar-h.c: Likewise.
24056         * wcsmbs/tst-wcpncpy.c: Likewise.
24057         * wcsmbs/tst-wcrtomb.c: Likewise.
24058         * wcsmbs/tst-wcsnlen.c: Likewise.
24059         * wcsmbs/tst-wcstof.c: Likewise.
24061 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
24063         [BZ #14132]
24064         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
24065         INTDEF.
24066         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
24067         declaration.
24068         (_dl_mcount): Use rtld_hidden_proto.
24069         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
24070         _dl_mcount.
24071         * elf/rtld.c (_rtld_global_ro): Likewise.
24073         [BZ #14132]
24074         * elf/dl-init.c (_dl_init): Don't use INTDEF.
24075         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
24076         of _dl_init_internal.
24077         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
24078         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
24079         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
24080         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
24081         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
24082         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
24083         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
24084         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
24085         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
24086         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
24087         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
24088         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
24089         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
24090         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
24091         * sysdeps/tile/dl-start.S (_start): Likewise.
24092         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
24093         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
24095         [BZ #14132]
24096         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
24097         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
24098         (rtld_progname): Make macro definition unconditional.
24099         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
24100         INTDEF.
24101         (dlmopen_doit): Do not use INTUSE with _dl_argv.
24102         (dl_main): Likewise.
24103         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
24104         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
24105         instead of _dl_argv_internal.
24106         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
24107         __GI__dl_argv instead of INTUSE(_dl_argv).
24108         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
24109         __GI__dl_argv instead of _dl_argv_internal.
24111         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
24112         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
24113         macro.
24114         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
24115         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
24116         New macro.
24117         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
24118         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
24119         macro.
24120         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
24121         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
24123 2014-11-04  Andreas Schwab  <schwab@suse.de>
24125         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
24127 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24129         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
24130         mtvsrd instruction in binary form.
24132 2014-11-03  Andreas Schwab  <schwab@suse.de>
24134         [BZ #17522]
24135         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
24136         for less than MB_LEN_MAX use a local buffer of that size.
24137         * libio/tst-fputws.c: New file.
24138         * libio/Makefile (tests): Add tst-fputws.
24140 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
24142         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
24143         the size of the fpu_fr.fpu_dregs[] array.
24145 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
24147         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
24148         (__nanosleep): Do not define as alias.
24149         (nanosleep): Define as alias of __nanosleep.
24150         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
24151         __libc_nanosleep name.
24153 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24155         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
24156         install.texi in comment.
24158 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24160         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
24161         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
24162         ... add here and use lwsync or sync ...
24163         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
24164         ... and add here using lwsync.
24166 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24168         * elf/dl-machine-reject-phdr.h: New file.
24169         * elf/dl-load.c: #include that.
24170         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
24171         if that returned true.
24173 2014-10-31  Roland McGrath  <roland@hack.frob.com>
24175         [BZ #17496]
24176         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
24177         gen-as-const-headers chunk.  Add a big scare comment after the last
24178         safe place to touch before-compile.
24180 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
24182         * manual/install.texi (Tools for Compilation): Update autoconf
24183         version requirements.
24184         * INSTALL: Regenerated.
24186         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
24187         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
24188         (__libc_pselect): Likewise.
24190         [BZ #14138]
24191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
24192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
24193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
24194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
24196 2014-10-31  Torvald Riegel  <triegel@redhat.com>
24198         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
24199         correct barrier instruction.
24200         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
24201         Likewise.
24202         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
24203         Likewise.
24205 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24207         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
24208         after defining inlines.  Instead, just use parens to defeat macro
24209         expansion of __isctype in its declaration.
24211 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24213         * include/sys/uio.h (__libc_readv): Remove declaration.
24214         (__libc_writev): Likewise.
24215         * misc/readv.c (__libc_readv): Rename to __readv.
24216         (__readv): Do not define as alias.
24217         (readv): Define as alias of __readv.
24218         * misc/writev.c (__libc_writev): Rename to __writev.
24219         (__writev): Do not define as alias.
24220         (writev): Define as alias of __writev.
24221         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
24222         (__readv): Do not define as alias.
24223         (readv): Define unconditionally as alias of __readv.
24224         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
24225         (__writev): Do not define as alias.
24226         (writev): Define unconditionally as alias of __writev.
24227         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
24228         name.
24229         (writev): Do not define __libc_writev name.
24231 2014-10-30  Roland McGrath  <roland@hack.frob.com>
24233         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
24234         (convert_charseq): New function, broken out of ...
24235         (use_from_charmap): ... here.  Call it.
24236         (use_to_charmap): Use convert_charseq and free instead of duplicating
24237         its code with a variable-length stack struct.
24239 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
24241         * include/fcntl.h (__libc_creat): Remove declaration.
24242         * io/creat.c (__libc_creat): Rename to creat.
24243         (creat): Do not define as alias.
24244         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
24245         of creat instead of __libc_creat.
24246         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
24247         to creat.
24248         (creat): Do not define as alias.
24249         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
24250         __libc_creat.
24251         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
24252         __libc_creat name.
24253         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
24254         Likewise.
24256 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
24258         * manual/llio.texi: Add comments discussing why write() may be
24259         considered MT-unsafe on Linux.
24261 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
24263         * dl-load.c (local_strdup): Remove.
24264         (expand_dynamic_string_token): Use __strdup.
24265         (decompose_rpath): Likewise.
24266         (_dl_map_object): Likewise.
24268 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
24270         [BZ #14132]
24271         * sysdeps/generic/unwind-dw2-fde.c
24272         (__register_frame_info_bases_internal): Do not declare.
24273         (__register_frame_info_table_bases_internal): Likewise.
24274         (__deregister_frame_info_bases_internal): Likewise.
24275         (__register_frame_info_bases): Declare and use hidden_proto before
24276         definition.  Use hidden_def instead of INTDEF.
24277         (__register_frame_info_table_bases): Likewise.
24278         (__deregister_frame_info_bases): Likewise.
24279         (__register_frame_info): Do not use INTUSE.
24280         (__register_frame): Likewise.
24281         (__register_frame_info_table): Likewise.
24282         (__register_frame_table): Likewise.
24283         (__deregister_frame_info): Likewise.
24284         (__deregister_frame): Likewise.
24286 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
24288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24289         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
24290         not undefine.
24291         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
24292         Likewise.
24293         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
24294         Likewise.
24296 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
24298         [BZ #14138]
24299         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
24300         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
24301         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
24302         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
24303         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
24304         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
24305         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
24306         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
24307         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
24308         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
24309         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
24310         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
24311         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
24312         syscall.
24313         (setfsuid): Likewise.
24314         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
24315         (setfsuid): Likewise.
24316         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
24317         (setfsuid): Likewise.
24318         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
24319         Likewise.
24320         (setfsuid): Likewise.
24321         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
24322         (setfsuid): Likewise.
24323         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
24324         Likewise.
24325         (setfsuid): Likewise.
24327 2014-10-27  Andreas Schwab  <schwab@suse.de>
24329         [BZ #17501]
24330         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
24331         check for Slow_SSE4_2 feature bit.
24332         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
24333         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24334         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
24335         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
24337 2014-10-24  Roland McGrath  <roland@hack.frob.com>
24339         * configure.ac: Validate compiler version with a empirical test of
24340         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
24341         $CC -v output.
24342         * configure: Regenerated.
24344         * inet/htons.c (htons): Prototypify.
24345         * inet/htonl.c (htonl): Likewise.
24347 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24349         * string/strncat.c (strncat): Improve performance by using strlen.
24351 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24353         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
24355 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24357         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
24358         Call libc_fetestexcept_aarch64.
24360 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24362         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
24363         Call libc_feholdexcept_aarch64.
24365 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24367         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
24368         Call get_rounding_mode.
24370 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24372         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24373         Simplify logic.
24375 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
24377         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
24378         Simplify logic.
24380 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
24382         [BZ #14138]
24383         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
24384         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
24385         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
24386         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
24387         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
24388         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
24389         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
24390         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
24391         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
24392         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
24393         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24394         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
24395         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
24396         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
24397         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
24398         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
24399         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
24400         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
24401         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
24402         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
24403         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
24404         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
24405         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
24406         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
24407         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
24408         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
24409         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
24410         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
24411         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
24412         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
24413         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
24414         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
24415         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
24416         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
24417         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
24418         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
24419         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
24420         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
24421         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
24422         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
24423         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
24424         syscall.
24425         (geteuid): Likewise.
24426         (getgid): Likewise.
24427         (getuid): Likewise.
24428         (getresgid): Likewise.
24429         (getresuid): Likewise.
24430         (getgroups): Likewise.
24431         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
24432         (geteuid): Likewise.
24433         (getgid): Likewise.
24434         (getuid): Likewise.
24435         (getresgid): Likewise.
24436         (getresuid): Likewise.
24437         (getgroups): Likewise.
24438         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
24439         (geteuid): Likewise.
24440         (getgid): Likewise.
24441         (getuid): Likewise.
24442         (getresgid): Likewise.
24443         (getresuid): Likewise.
24444         (getgroups): Likewise.
24445         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
24446         Likewise.
24447         (geteuid): Likewise.
24448         (getgid): Likewise.
24449         (getuid): Likewise.
24450         (getresgid): Likewise.
24451         (getresuid): Likewise.
24452         (getgroups): Likewise.
24453         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
24454         (geteuid): Likewise.
24455         (getgid): Likewise.
24456         (getuid): Likewise.
24457         (getresgid): Likewise.
24458         (getresuid): Likewise.
24459         (getgroups): Likewise.
24460         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
24461         Likewise.
24462         (geteuid): Likewise.
24463         (getgid): Likewise.
24464         (getuid): Likewise.
24465         (getgroups): Likewise.
24467         [BZ #14138]
24468         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
24469         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
24470         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
24471         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24472         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
24473         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
24474         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
24475         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
24476         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
24477         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
24478         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
24479         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
24480         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
24481         __chown.
24482         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
24483         (lchown): Likewise.
24484         (fchown): Likewise.
24485         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
24486         Likewise.
24487         (lchown): Likewise.
24488         (fchown): Likewise.
24489         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
24490         (lchown): Likewise.
24491         (fchown): Likewise.
24492         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
24493         Likewise.
24494         (lchown): Likewise.
24495         (fchown): Likewise.
24497 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24499         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
24500         Simplify logic.
24502 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24504         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24505         Cleanup logic.
24507 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24509         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
24510         Remove unused include.
24512 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
24514         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
24515         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
24516         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
24517         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
24519 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
24520             Helge Deller <deller@gmx.de>
24522         [BZ #17508]
24523         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
24524         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
24525         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
24527 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
24529         [BZ #14132]
24530         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
24531         Remove macro definition.
24532         (__ashrdi3_v_glibc20): Likewise.
24533         (__lshrdi3_v_glibc20): Likewise.
24534         (__cmpdi2_v_glibc20): Likewise.
24535         (__ucmpdi2_v_glibc20): Likewise.
24536         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
24537         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
24538         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
24539         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
24540         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
24541         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
24543 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24545         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
24546         old GNU extension [0] syntax.
24547         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
24548         alloca rather than an array member with variable length.
24549         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
24550         * nscd/nscd.c (invalidate_db): New function, broken out of ...
24551         (parse_opt): ... here.  Likewise use alloca there.
24552         Validate the -i argument before checking for rootness.
24553         (send_shutdown): New function, broken out of ...
24554         (parse_opt): ... here.
24556 2014-10-22  Roland McGrath  <roland@hack.frob.com>
24558         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
24559         macro to get at the _rt_local_ro field.
24560         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
24561         ([PIC] case) or _dl_hwcap ([!PIC] case).
24562         * sysdeps/arm/setjmp.S: Likewise.
24564         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
24565         * sysdeps/arm/configure.ac: New check to define it.
24566         * sysdeps/arm/configure: Regenerated.
24567         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
24568         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
24569         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
24570         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
24571         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
24572         Use move/movt pair instead of a load.
24573         (LDST_GLOBAL): Macro removed.
24574         (LDR_GLOBAL): New macro replaces it.
24575         (LDR_HIDDEN): New macro.
24576         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
24577         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
24579         * setjmp/tst-setjmp-static.c: New file.
24580         * setjmp/Makefile (tests): Add it.
24581         (tests-static): New variable.
24583 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
24585         [BZ #17485]
24586         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
24588 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
24590         [BZ #14132]
24591         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
24593 2014-10-21  Roland McGrath  <roland@hack.frob.com>
24595         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
24597 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24599         * io/fts.c (dirent_not_directory): New function.
24600         (fts_build): Call it.
24602 2014-10-20  Roland McGrath  <roland@hack.frob.com>
24604         * nptl/version.c (__nptl_main): Use normal __write rather than
24605         INTERNAL_SYSCALL.
24606         (banner): Update copyright years.
24608         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
24609         gettimeofday.
24610         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
24611         * nptl/pthread_cond_timedwait.c: Likewise.
24612         * nptl/pthread_mutex_timedlock.c: Likewise.
24613         * nptl/sem_timedwait.c: Likewise.
24615         * sysdeps/nptl/bits/libc-lock.h
24616         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
24617         (__libc_lock_init_recursive): Return void, not 0.
24618         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
24619         (__libc_rwlock_init): Likewise.
24620         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
24622 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24624         [BZ #15215]
24625         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
24626         (__pthread_once_slow): ... here.
24627         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
24628         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
24630 2014-10-20  Torvald Riegel  <triegel@redhat.com>
24632         [BZ #15215]
24633         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
24634         __PTHREAD_ONCE_FORK_GEN_INCR): New.
24635         * sysdeps/nptl/fork.c (__libc_fork): Use them.
24636         * nptl/pthread_once.c (__pthread_once): Likewise.
24637         Update comments.
24639 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
24641         [BZ #14138]
24642         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
24643         name.
24644         (writev): Use __libc_writev as strong name.
24645         * sysdeps/unix/sysv/linux/readv.c: Remove file.
24646         * sysdeps/unix/sysv/linux/writev.c: Likewise.
24648 2014-10-17  Roland McGrath  <roland@hack.frob.com>
24650         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
24652         * sysdeps/i386/nptl/tls.h
24653         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
24654         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
24655         New macros.
24656         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
24657         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
24658         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
24659         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
24660         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
24661         Call CHECK_THREAD_SYSINFO instead of doing an assert.
24663         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
24664         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
24665         on [__NR_futex].
24666         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
24667         broken out of ...
24668         (__pthread_mutex_init): ... here.  Call it.
24669         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
24670         Conditionalize PI cases on [__NR_futex].
24671         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
24672         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
24673         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24675         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
24676         conditional on [SIGSETXID].
24677         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
24678         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
24679         is defined.  Likewise for SIGSETXID.
24680         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
24681         Conditionalize definitions on [SIGSETXID].
24682         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
24683         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
24684         unblocking on [SIGCANCEL].
24686         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
24687         [__NR_set_robust_list].
24689 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
24691         * string/strcoll_l.c (get_next_seq): Fix up formatting.
24692         (do_compare): Likewise.
24694 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
24696         [BZ #15884]
24697         * string/strcoll_l.c: Don't include stdio.h.
24698         (coll_seq): Remove members idxarr and rulearr.
24699         (get_next_seq_cached): Remove function.
24700         (get_next_seq): Likewise.
24701         (get_next_seq_nocache): Rename to get_next_seq.
24702         (do_compare): Remove function.
24703         (do_compare_nocache): Rename to do_compare.
24704         (STRCOLL): Remove weight and rules cache.
24706 2014-10-16  Roland McGrath  <roland@hack.frob.com>
24708         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
24709         * sysdeps/arm/sfp-machine.h: ... to here.
24710         * sysdeps/arm/Implies: Remove arm/soft-fp.
24712 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
24714         * conform/data/sys/utsname.h-data (*_t): Allow.
24715         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
24716         [POSIX] (WEXITED): Do not expect constant.
24717         [POSIX] (WSTOPPED): Likewise.
24718         [POSIX] (WNOHANG): Likewise.
24719         [POSIX] (WNOWAIT): Likewise.
24720         [POSIX] (siginfo_t): Do not expect type or elements.
24721         [POSIX] (pid_t): Do not expect type.
24722         [POSIX] (signal.h): Do not allow header.
24723         [POSIX] (sys/resource.h): Likewise.
24724         [POSIX] (si_*): Do not allow pattern.
24725         [POSIX] (W*): Likewise.
24726         [POSIX] (P_*): Likewise.
24727         [POSIX] (BUS_*): Likewise.
24728         [POSIX] (CLD_*): Likewise.
24729         [POSIX] (FPE_*): Likewise.
24730         [POSIX] (ILL_*): Likewise.
24731         [POSIX] (POLL_*): Likewise.
24732         [POSIX] (SEGV_*): Likewise.
24733         [POSIX] (SI_*): Likewise.
24734         [POSIX] (TRAP_*): Likewise.
24735         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
24736         variable.
24738 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
24740         [BZ #12926]
24741         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
24742         infinite loop when __recvmsg returns 0.
24744 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
24746         * CANCEL-FCT-WAIVE: Remove file.
24747         * CANCEL-FILE-WAIVE: Likewise.
24749         [BZ #14132]
24750         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
24751         instead of INTVARDEF.
24752         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24753         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
24754         rtld_hidden_data_def instead of INTVARDEF.
24755         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
24756         * elf/dl-deps.c (expand_dst): Likewise.
24757         * elf/dl-load.c (_dl_dst_count): Likewise.
24758         (_dl_dst_substitute): Likewise.
24759         (decompose_rpath): Likewise.
24760         (_dl_init_paths): Likewise.
24761         (open_path): Likewise.
24762         (_dl_map_object): Likewise.
24763         * elf/rtld.c (dl_main): Likewise.
24764         (process_dl_audit): Likewise.
24765         (process_envvars): Likewise.
24766         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
24767         Remove declaration.
24768         (__libc_enable_secure): Use rtld_hidden_proto.
24770 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
24772         * elf/dl-load.c
24773         (add_path): New function broken out of _dl_rtld_di_serinfo.
24774         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
24776 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24778         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
24779         parentheses around macro arguments.
24780         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
24781         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
24782         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
24783         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
24784         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
24785         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24786         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24787         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
24788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
24789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
24790         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
24791         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
24792         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
24793         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
24794         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
24795         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
24796         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
24797         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
24798         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
24799         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
24800         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
24801         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
24802         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
24803         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
24804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
24805         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
24806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
24807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
24808         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
24809         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
24810         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
24811         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
24812         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
24813         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
24814         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
24815         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
24816         Likewise.
24817         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
24818         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24819         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24820         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
24821         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
24822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
24823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
24824         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
24825         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
24826         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
24827         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
24828         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
24829         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
24830         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
24831         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
24832         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
24833         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
24834         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
24835         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
24836         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
24837         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
24838         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
24839         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
24840         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
24841         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
24842         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
24843         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
24844         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
24845         (_FP_FRAC_SRS_1): Likewise.
24846         (_FP_FRAC_CLZ_1): Likewise.
24847         (_FP_MUL_MEAT_1_imm): Likewise.
24848         (_FP_MUL_MEAT_1_wide): Likewise.
24849         (_FP_MUL_MEAT_1_hard): Likewise.
24850         (_FP_SQRT_MEAT_1): Likewise.
24851         (_FP_FRAC_ASSEMBLE_1): Likewise.
24852         (_FP_FRAC_DISASSEMBLE_1): Likewise.
24853         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
24854         (__FP_CLZ_2): Likewise.
24855         (_FP_MUL_MEAT_2_wide): Likewise.
24856         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
24857         (_FP_MUL_MEAT_2_gmp): Likewise.
24858         (_FP_MUL_MEAT_2_120_240_double): Likewise.
24859         (_FP_SQRT_MEAT_2): Likewise.
24860         (_FP_FRAC_ASSEMBLE_2): Likewise.
24861         (_FP_FRAC_DISASSEMBLE_2): Likewise.
24862         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
24863         (_FP_FRAC_CLZ_4): Likewise.
24864         (_FP_MUL_MEAT_4_wide): Likewise.
24865         (_FP_MUL_MEAT_4_gmp): Likewise.
24866         (_FP_SQRT_MEAT_4): Likewise.
24867         (_FP_FRAC_ASSEMBLE_4): Likewise.
24868         (_FP_FRAC_DISASSEMBLE_4): Likewise.
24869         * soft-fp/op-common.h (_FP_CMP): Likewise.
24870         (_FP_CMP_EQ): Likewise.
24871         (_FP_CMP_UNORD): Likewise.
24872         (_FP_TO_INT): Likewise.
24873         (_FP_FROM_INT): Likewise.
24874         [!__FP_CLZ] (__FP_CLZ): Likewise.
24875         (_FP_DIV_HELP_imm): Likewise.
24876         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
24877         Likewise.
24878         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
24879         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
24880         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
24881         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
24882         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
24883         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24884         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24885         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
24886         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
24887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
24888         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
24889         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
24890         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
24891         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
24892         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
24893         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
24894         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
24895         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
24896         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
24897         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
24898         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
24899         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
24900         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
24901         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
24902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
24903         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
24904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
24905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
24906         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
24907         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
24908         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
24909         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
24910         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
24911         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
24912         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
24913         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
24914         (FP_UNPACK_RAW_SP): Likewise.
24915         (FP_PACK_RAW_S): Likewise.
24916         (FP_PACK_RAW_SP): Likewise.
24917         (FP_UNPACK_S): Likewise.
24918         (FP_UNPACK_SP): Likewise.
24919         (FP_UNPACK_SEMIRAW_S): Likewise.
24920         (FP_UNPACK_SEMIRAW_SP): Likewise.
24921         (FP_PACK_S): Likewise.
24922         (FP_PACK_SP): Likewise.
24923         (FP_PACK_SEMIRAW_S): Likewise.
24924         (FP_PACK_SEMIRAW_SP): Likewise.
24925         (_FP_SQRT_MEAT_S): Likewise.
24926         (FP_CMP_S): Likewise.
24927         (FP_CMP_EQ_S): Likewise.
24928         (FP_CMP_UNORD_S): Likewise.
24929         (FP_TO_INT_S): Likewise.
24930         (FP_FROM_INT_S): Likewise.
24932         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
24934         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
24935         (FP_EX_INVALID_IMZ): Likewise.
24936         (FP_EX_INVALID_IMZ_FMA): Likewise.
24937         (FP_EX_INVALID_ISI): Likewise.
24938         (FP_EX_INVALID_ZDZ): Likewise.
24939         (FP_EX_INVALID_IDI): Likewise.
24940         (FP_EX_INVALID_SQRT): Likewise.
24941         (FP_EX_INVALID_CVI): Likewise.
24942         (FP_EX_INVALID_VC): Likewise.
24943         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
24944         "invalid" exceptions.
24945         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
24946         (_FP_ADD_INTERNAL): Likewise.
24947         (_FP_MUL): Likewise.
24948         (_FP_FMA): Likewise.
24949         (_FP_DIV): Likewise.
24950         (_FP_CMP_CHECK_NAN): Likewise.
24951         (_FP_SQRT): Likewise.
24952         (_FP_TO_INT): Likewise.
24953         (FP_EXTEND): Likewise.
24955 2014-10-09  Allan McRae  <allan@archlinux.org>
24957         * po/fr.po: Update French translation from translation project.
24959 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
24961         [BZ #14132]
24962         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
24963         of INTDEF.
24964         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
24965         (__cxa_atexit): Use libc_hidden_proto.
24966         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
24968         [BZ #14132]
24969         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
24970         declaration.
24971         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
24972         [!_ISOMAC] (__iswspace_l_internal): Likewise.
24973         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
24974         [!_ISOMAC] (__iswctype_internal): Likewise.
24975         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
24976         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
24977         alias.
24978         (fcntl): Remove __fcntl_internal alias.
24979         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
24980         __connect_internal alias.
24981         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
24982         Likewise.
24984         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
24985         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
24986         FP_DENORM_ZERO.
24987         (_FP_CHECK_FLUSH_ZERO): New macro.
24988         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
24989         (_FP_CMP): Likewise.
24990         (_FP_CMP_EQ): Likewise.
24991         (_FP_TO_INT): Do not set inexact for subnormal arguments if
24992         FP_DENORM_ZERO.
24993         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
24994         (FP_TRUNC): Likewise.
24996         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
24997         treated as invalid conversion, not as normal exponent.
24999         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
25000         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
25001         (_FP_CMP_EQ): Likewise.
25002         (_FP_CMP_UNORD): Likewise.
25003         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
25004         (FP_CMP_EQ_D): Likewise.
25005         (FP_CMP_UNORD_D): Likewise.
25006         * soft-fp/extended.h (FP_CMP_E): Likewise.
25007         (FP_CMP_EQ_E): Likewise.
25008         (FP_CMP_UNORD_E): Likewise.
25009         * soft-fp/quad.h (FP_CMP_Q): Likewise.
25010         (FP_CMP_EQ_Q): Likewise.
25011         (FP_CMP_UNORD_Q): Likewise.
25012         * soft-fp/single.h (FP_CMP_S): Likewise.
25013         (FP_CMP_EQ_S): Likewise.
25014         (FP_CMP_UNORD_S): Likewise.
25015         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
25016         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
25017         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
25018         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
25019         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
25020         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
25021         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
25022         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
25023         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
25024         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
25025         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
25026         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
25027         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
25028         to FP_CMP_Q.
25029         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
25030         FP_CMP_Q.
25031         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
25032         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
25033         FP_CMP_EQ_Q.
25034         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
25035         FP_CMP_Q.
25036         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
25037         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
25038         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
25039         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
25040         FP_CMP_EQ_Q.
25041         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
25042         FP_CMP_Q.
25043         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
25044         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
25045         FP_CMP_EQ_Q.
25046         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
25047         FP_CMP_Q.
25048         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
25049         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
25050         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
25051         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
25052         FP_CMP_EQ_Q.
25054         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
25055         a subnormal result, set the underflow exception if trapping on
25056         underflow is enabled.
25057         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
25058         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
25059         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
25060         redefine to 0.
25061         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
25062         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25063         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
25064         * soft-fp/extendxftf2.c (__extendxftf2): Use
25065         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
25067         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
25068         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
25069         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25070         FP_HANDLE_EXCEPTIONS.
25071         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
25072         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25073         FP_HANDLE_EXCEPTIONS.
25074         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
25075         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25076         FP_HANDLE_EXCEPTIONS.
25077         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
25078         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
25079         FP_HANDLE_EXCEPTIONS.
25081 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
25083         [BZ #14132]
25084         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
25085         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
25086         use INTUSE.
25087         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
25088         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
25089         Remove alias.
25090         (__adjtimex): Define using libc_hidden_ver.
25091         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
25092         Remove declaration.
25093         (ntp_gettime): Call __adjtimex directly.
25094         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
25095         Remove declaration.
25096         (ntp_gettimex): Call __adjtimex directly.
25097         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
25098         __adjtimex_internal alias.
25100 2014-10-08  Roland McGrath  <roland@hack.frob.com>
25102         [BZ #17460]
25103         * nscd/nscd.c (more_help): Rewrite list of tables collection
25104         using xstrdup and asprintf.
25106         * nscd/nscd_conf.c: Remove local xstrdup declaration.
25108 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25109             Roland McGrath  <roland@hack.frob.com>
25111         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
25112         (do_lookup_unique): ... local function 'enter' here; update callers.
25114 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
25116         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
25117         compat_symbol calls on [SHARED].
25118         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
25119         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
25120         Remove.
25121         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25122         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
25123         (oldsetrlimit): Remove.
25124         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25126         (lchown): New syscall entry.
25127         (oldsetrlimit): Remove.
25128         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25129         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
25130         (oldsetrlimit): Remove.
25131         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
25133         [BZ #14138]
25134         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
25135         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
25136         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
25137         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
25138         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
25139         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
25140         (fchown): Likewise.
25141         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
25142         (fchown): Likewise.
25143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
25144         Likewise.
25146 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25148         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
25149         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
25150         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
25151         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
25152         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
25153         Likewise.
25154         (__old_sem_post): Likewise.
25156 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
25158         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
25159         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
25160         HAVE_CLOCK_GETTIME_VSYSCALL macros.
25161         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
25162         Use INLINE_VSYSCALL macro.
25163         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
25164         __vdso_clock_gettime.
25165         * sysdeps/unix/sysv/linux/tile/init-first.c
25166         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
25167         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
25168         __vdso_clock_gettime.
25170         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
25171         to set up frame more cleanly.
25173         * sysdeps/tile/memcmp.c: New file.
25175         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
25177         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
25178         * sysdeps/tile/tilegx/strcasestr.c: New file.
25179         * sysdeps/tile/tilegx/strnlen.c: New file.
25180         * sysdeps/tile/tilegx/strstr.c: New file.
25182         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
25184 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
25186         * nptl/tst-setuid3.c: Write errors to stdout.
25188 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25190         * elf/dl-deps.c
25191         (preload): New functions broken out of _dl_map_object_deps.
25192         (_dl_map_object_deps):  Remove a nested function. Update call sites.
25194 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
25196         [BZ #14138]
25197         * sysdeps/unix/sysv/linux/execve.c: Remove file.
25198         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
25200 2014-10-01  Steve Ellcey  <sellcey@mips.com>
25202         * sysdeps/mips/strcmp.S: New.
25204 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
25206         [BZ #14138]
25207         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
25208         (linkat): Likewise.
25209         (mkdirat): Likewise.
25210         (readlinkat): Likewise.
25211         (renameat): Likewise.
25212         (symlinkat): Likewise.
25213         (unlinkat): Likewise.
25214         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
25215         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
25216         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
25217         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
25218         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
25219         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
25220         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
25222 2014-09-30  Will Newton  <will.newton@linaro.org>
25224         * math/math.h: Define long double math functions if
25225         _LIBC_TEST is defined.
25226         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
25228         * localedata/Makefile: Move assignment to tests-special
25229         into an ifdef testing run-built-tests.
25230         * timezone/Makefile: Likewise.
25232 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
25234         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
25235         with $(BASH) not $(SHELL).
25237 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
25238             Matthew LeGendre  <legendre1@llnl.gov>
25240         [BZ #17411]
25241         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
25242         l_reloc_result.
25244 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25246         * stdio-common/printf_fp.c
25247         (hack_digit): New function, broken out of ...
25248         (__printf_fp): ... local function here.  Update call sites.
25249         hack_digit now takes an additional parameter that is a pointer
25250         to a struct of the referenced locals.  Those locals moved inside
25251         the struct and references updated.
25253 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
25255         * aclocal.m4: Require autoconf 2.69.
25256         * configure: Regenerated.
25257         * sysdeps/aarch64/configure: Likewise.
25258         * sysdeps/alpha/configure: Likewise.
25259         * sysdeps/arm/armv7/configure: Likewise.
25260         * sysdeps/arm/configure: Likewise.
25261         * sysdeps/ia64/configure: Likewise.
25262         * sysdeps/mach/configure: Likewise.
25263         * sysdeps/mips/configure: Likewise.
25264         * sysdeps/s390/configure: Likewise.
25265         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
25266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
25268         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
25269         file.
25270         * sysdeps/ia64/configure.ac: Likewise.
25272 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
25274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
25275         specify symbol version for ld.so.  Do not include entry for
25276         libpthread.
25277         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25278         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25279         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25281         [BZ #14171]
25282         * Makeconfig [$(build-shared) = yes]
25283         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
25284         makefiles.
25285         [$(build-shared) = yes && $(soversions.mk-done) = t]
25286         ($(common-objpfx)gnu/lib-names.h): Remove rule.
25287         [$(build-shared) = yes && $(soversions.mk-done) = t]
25288         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
25289         to Makerules.
25290         [$(build-shared) = yes && $(soversions.mk-done) = t]
25291         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
25292         here.
25293         [$(build-shared) = yes && $(soversions.mk-done) = t]
25294         (common-generated): Don't append gnu/lib-names.h and
25295         gnu/lib-names.stmp here.
25296         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
25297         (lib-names-h-abi): New variable.
25298         [$(build-shared) = yes && $(soversions.mk-done) = t]
25299         (lib-names-stmp-abi): Likewise.
25300         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25301         abi-variants] (before-compile): Append
25302         $(common-objpfx)$(lib-names-h-abi).
25303         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25304         abi-variants] (common-generated): Append gnu/lib-names.h.
25305         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25306         abi-variants] (install-others-nosubdir): Depend on
25307         $(inst_includedir)/$(lib-names-h-abi).
25308         [$(build-shared) = yes && $(soversions.mk-done) = t &&
25309         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
25310         [$(build-shared) = yes && $(soversions.mk-done) = t]
25311         ($(common-objpfx)$(lib-names-h-abi)): New rule.
25312         [$(build-shared) = yes && $(soversions.mk-done) = t]
25313         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
25314         [$(build-shared) = yes && $(soversions.mk-done) = t]
25315         (common-generated): Append $(lib-names-h-abi) and
25316         $(lib-names-stmp-abi).
25317         * scripts/lib-names.awk: Do not handle multi being set.
25318         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
25319         Remove variable.
25320         (abi-lp64_be-ld-soname): Likewise.
25321         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
25322         Likewise.
25323         (abi-hard-ld-soname): Likewise.
25324         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
25325         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
25326         Remove variable.
25327         (abi-o32_hard-ld-soname): Likewise.
25328         (abi-o32_soft_2008-ld-soname): Likewise.
25329         (abi-o32_hard_2008-ld-soname): Likewise.
25330         (abi-n32_soft-ld-soname): Likewise.
25331         (abi-n32_hard-ld-soname): Likewise.
25332         (abi-n32_soft_2008-ld-soname): Likewise.
25333         (abi-n32_hard_2008-ld-soname): Likewise.
25334         (abi-n64_soft-ld-soname): Likewise.
25335         (abi-n64_hard-ld-soname): Likewise.
25336         (abi-n64_soft_2008-ld-soname): Likewise.
25337         (abi-n64_hard_2008-ld-soname): Likewise.
25338         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
25339         Likewise.
25340         (abi-64-v2-ld-soname): Likewise.
25341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
25342         ld.so entries.
25343         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
25344         variable.
25345         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
25346         entry.
25347         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
25348         variable.
25349         (abi-64-ld-soname): Likewise.
25350         (abi-x32-ld-soname): Likewise.
25351         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
25352         entry.
25353         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25355 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
25357         [BZ #14138]
25358         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
25359         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
25360         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
25361         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
25362         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
25363         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
25364         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
25365         syscall entry for GLIBC_2.2 symbol version.
25366         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
25367         Likewise.
25368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
25369         (setrlimit): Likewise.
25370         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
25371         Likewise.
25373 2014-09-23  Will Newton  <will.newton@linaro.org>
25375         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
25376         _LINUX_ARM_SYSDEP_H include guard too.
25377         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
25378         define.
25380 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
25382         * sysdeps/unix/sysv/linux/eventfd.c:
25383         Make first argument unsigned.
25384         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
25385         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
25387 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
25389         [BZ #16852]
25390         * socket/recvmmsg.c (recvmmsg): Drop const argument.
25391         * socket/sys/socket.h: Likewise.
25392         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
25394 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25396         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
25398 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
25400         * time/tst-ftime.c: New test.
25401         * time/Makefile (tests): Add tst-ftime.
25403 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
25405         * soft-fp/extended.h: Fix comment formatting.
25406         * soft-fp/op-1.h: Likewise.
25407         * soft-fp/op-2.h: Likewise.
25408         * soft-fp/op-4.h: Likewise.
25409         * soft-fp/op-8.h: Likewise.
25410         * soft-fp/op-common.h: Likewise.
25411         * soft-fp/soft-fp.h: Likewise.
25413         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
25415 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
25417         [BZ #6652]
25418         * Makeconfig (soversions-default-setname): Remove variable.
25419         ($(common-objpfx)soversions.i): Don't pass default_setname to
25420         soversions.awk.
25421         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
25422         oldest_abi to abi-versions.awk.
25423         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
25424         * config.make.in (oldest-abi): Remove variable.
25425         * configure.ac (--enable-oldest-abi): Remove configure option.
25426         * configure: Regenerated.
25427         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
25428         text.
25429         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
25430         * scripts/soversions.awk: Do not handle default_setname variable.
25431         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
25432         variable.
25433         * sysdeps/mach/hurd/configure: Regenerated.
25434         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
25435         variable.
25436         * sysdeps/unix/sysv/linux/configure: Regenerated.
25438 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25440         * elf/Makefile (CFLAGS-interp.c): Remove.
25441         ($(elf-objpfx)runtime-linker.h): Generate header with linker
25442         path string.
25443         * elf/interp.c: Include generated runtime-linker.h
25445         * Makerules (lib%.so): Don't include $(+interp) in
25446         prerequisites.
25447         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
25448         * dlfcn/eval.c: Remove file.
25450         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
25451         macros.
25453         [BZ #17266]
25454         * misc/sys/cdefs.h: Define __extern_always_inline for clang
25455         4.2 and newer.
25457         [BZ #17370]
25458         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
25460 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25461             Jakub Jelinek  <jakub@redhat.com>
25463         [BZ #17266]
25464         * libio/stdio.h: Check definition of __fortify_function
25465         instead of __extern_always_inline to include bits/stdio2.h.
25466         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
25467         check if __extern_always_inline is defined.
25468         [__USE_MISC || __USE_XOPEN]: Likewise.
25469         [__USE_ISOC99] Likewise.
25470         * misc/sys/cdefs.h (__fortify_function): Define only if
25471         __extern_always_inline is defined.
25472         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
25473         __extern_always_inline and __extern_inline only for g++-4.3
25474         and newer or a compatible gcc.
25476 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
25478         [BZ #17371]
25479         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
25480         last change to handle zero prefix length.
25482 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25484         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
25485         _SC_REGEX_VERSION.
25487         * posix/getconf.c (vars): Add _POSIX_IPV6 and
25488         _POSIX_RAW_SOCKETS.
25490 2014-09-13  Allan McRae  <allan@archlinux.org>
25492         * po/ru.po: Update Russian translation from translation project.
25494 2014-09-12  Roland McGrath  <roland@hack.frob.com>
25496         * locale/programs/locale.c (show_locale_vars): Inline local function
25497         into its sole call site.  Clean up some style nits.
25498         (print_item): New function, broken out of ...
25499         (show_info): ... local function here.  Clean up style nits.
25501         * locale/programs/ld-ctype.c (set_one_default): New function, broken
25502         out of ...
25503         (set_class_defaults): ... local function set_default here.
25504         Define set_default as a macro locally to pass constant parameters.
25505         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
25506         rather than a shared local.
25508         * stdlib/rpmatch.c (try): New function, broken out of ...
25509         (rpmatch): ... local function here.  Also, prototypify definition.
25511 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
25513         * scripts/soversions.awk: Do not handle configuration names.
25514         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
25515         vendor and os variables to soversions.awk.
25516         * configure.ac: Do not modify gnu-* host_os.
25517         * configure: Regenerated
25518         * shlib-versions: Remove first column with configuration names.
25519         * nptl/shlib-versions: Likewise.
25520         * nptl_db/shlib-versions: Likewise.
25521         * sysdeps/hppa/shlib-versions: Likewise.
25522         * sysdeps/m68k/shlib-versions: Likewise.
25523         * sysdeps/mach/hurd/shlib-versions: Likewise.
25524         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
25525         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
25526         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
25527         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
25528         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
25529         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
25530         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
25531         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
25532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25533         Likewise.
25534         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25535         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25536         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25537         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25538         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25539         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
25540         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
25541         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
25543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
25544         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
25545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
25546         Regenerated.
25547         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
25548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
25549         Condition symbol version definitions on [HAVE_ELFV2_ABI].
25551         * shlib-versions: Remove OS-specific entries.  Moved to files in
25552         sysdeps.
25553         * sysdeps/mach/hurd/shlib-versions: New file.
25554         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
25556         * nptl/shlib-versions: Remove architecture-specific entries.
25557         Moved to files in sysdeps.
25558         * shlib-versions: Likewise.
25559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
25560         file.
25561         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
25562         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
25563         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
25564         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
25566         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
25567         (UDP_NO_CHECK6_RX): Likewise.
25569 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25571         * sysdeps/posix/sysconf.c (__sysconf): Spell
25572         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25574 2014-08-12  Florian Weimer  <fweimer@redhat.com>
25576         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
25577         loading.
25578         * iconv/Versions (__gconv_transliterate): Export for use from
25579         gconv modules.
25580         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
25581         (struct __gconv_trans_data, __gconv_trans_fct,
25582         __gconv_trans_context_fct, __gconv_trans_query_fct,
25583         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
25584         definitions.
25585         (struct __gconv_step_data): Remove __trans member.
25586         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
25587         longer hidden.  Remove unused trans_data argument.
25588         * iconv/gconv_int.h (struct trans_struct): Remove definition.
25589         (__gconv_translit_find): Remove declaration.
25590         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
25591         prototype.
25592         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
25593         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
25594         trans_data argument.  Add hidden definition.
25595         (__gconv_translit_find): Remove.
25596         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
25597         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
25598         * iconv/skeleton.c: Remove transliteration initialization.
25599         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
25600         __gconv_step_data initialization.
25601         * libio/iofwide.c (__libio_translit_): Remove.
25602         (_IO_fwide): Adjust struct __gconv_step_data initialization.
25603         * wcsmbs/btowc.c (__btowc): Likewise.
25604         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25605         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
25606         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
25607         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
25608         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
25609         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
25610         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
25611         * wcsmbs/wctob.c (wctob): Likewise.
25613 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25615         [BZ #16194]
25616         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
25617         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
25618         register usage.
25619         * sysdeps/x86/Makefile: Adjust.
25621 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
25622             Roland McGrath  <roland@hack.frob.com>
25624         * locale/weight.h: Add include guard.
25625         (findidx): Make static rather than auto; take new parameters
25626         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
25627         * locale/weightwc.h: Likewise.
25628         * posix/fnmatch_loop.c
25629         (FCT): Change type of EXTRA from int32_t to wint_t.
25630         Don't include either header inside the function.
25631         Call FINDIDX rather than findidx, and pass new arguments.
25632         #undef FINDIDX at the end of the file.
25633         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
25634         FINDIDX before including fnmatch_loop.c for the non-wide version.
25635         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
25636         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
25637         for the wide version.
25638         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
25639         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
25640         Pass new arguments to findidx.
25641         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
25642         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
25643         Don't #include it inside the function.  Pass new arguments to findidx.
25644         * posix/regex_internal.h
25645         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
25646         (re_string_elem_size_at): Don't #include it inside the function.
25647         Pass new arguments to findidx.
25648         * string/strcoll_l.c: #include WEIGHT_H at top level.
25649         (get_next_seq): Don't #include it inside the function.
25650         Pass new arguments to findidx.
25651         (get_next_seq_nocache): Likewise.
25652         * string/strxfrm_l.c: #include WEIGHT_H at top level.
25653         (STRXFRM): Don't #include it inside the function.
25654         Pass new arguments to findidx.
25656 2014-09-11  Florian Weimer  <fweimer@redhat.com>
25658         [BZ #17344]
25659         * malloc/malloc.c (unlink): Turn asserts into a call to
25660         malloc_printerr.
25662 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
25664         [BZ #17370]
25665         * libio/wfileops (do_ftell_wide): Free OUT.
25667 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
25669         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
25671 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25673         [BZ #17363]
25674         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
25675         group if the current group is empty.
25677 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25679         * benchtests/bench-memset.c (test_main): Add more test from size
25680         from 32 to 512 bytes.
25681         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25682         Add POWER8 memset object.
25683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25684         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
25685         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
25686         implementation.
25687         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
25688         Likewise.
25689         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
25690         multiarch POWER8 memset optimization.
25691         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
25692         POWER8 memset optimization.
25694         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25695         Remove bzero multiarch objects.
25696         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
25697         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
25698         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
25700         Remove define.
25701         [__bzero]: Redefine to specific name.
25702         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25703         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25704         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
25705         define.
25706         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
25707         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
25709 2014-09-10  Florian Weimer  <fweimer@redhat.com>
25711         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
25712         warnings into errors.
25714         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
25715         __cxa_thread_atexit_impl prototype.
25717 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25719         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
25720         Fix capitalization of error message.
25722 2014-09-09  Steve Ellcey  <sellcey@mips.com>
25724         * sysdeps/mips/preconfigure: Modify ABI tests.
25726 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
25728         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
25730 2014-09-07  Roland McGrath  <roland@hack.frob.com>
25731             Carlos O'Donell  <carlos@systemhalted.org>
25733         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
25734         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
25735         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
25736         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
25737         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
25738         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
25739         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
25740         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
25741         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
25742         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
25743         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
25744         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
25745         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
25746         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
25747         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
25748         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
25749         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
25750         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
25751         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
25752         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
25753         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
25754         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
25755         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
25756         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
25757         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
25758         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
25759         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
25760         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
25761         Deconditionalize the code that was previously under [RESET_PID].
25762         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
25763         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
25764         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
25765         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
25766         include sysdep.h.
25768 2014-09-08  Allan McRae  <allan@archlinux.org>
25770         * version.h (RELEASE): Set to "development".
25771         (VERSION): Set to "2.20.90"
25773 2014-09-07  Allan McRae  <allan@archlinux.org
25775         * version.h (RELEASE): Set to "stable".
25776         (VERSION): Set to "2.20"
25777         * include/features.h (__GLIBC_MINOR__): Set to 20.
25779         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
25780         Liebler.
25782         * po/ko.po: Update Korean translation from translation project.
25784 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
25786         [BZ #17354]
25787         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
25788         macro for handling signed relocations.
25790 2014-09-03  Florian Weimer  <fweimer@redhat.com>
25792         [BZ #17325]
25793         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
25794         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
25795         assert.
25796         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25797         * iconvdata/ibm935.c (BODY): Likewise.
25798         * iconvdata/ibm937.c (BODY): Likewise.
25799         * iconvdata/ibm939.c (BODY): Likewise.
25800         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
25801         assert.
25802         * iconvdata/Makefile (iconv-test.out): Pass module list to test
25803         script.
25804         * iconvdata/run-iconv-test.sh: New test loop for checking for
25805         decoder crashers.
25807 2014-09-02  Khem Raj  <raj.khem@gmail.com>
25809         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
25810         libm_hidden_ver.
25812 2014-09-01  Allan McRae  <allan@archlinux.org>
25814         * po/eo.po: Update Esperanto translation from translation project.
25816         * po/ca.po: Update Catalan translation from translation project.
25818 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25820         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
25821         __proc_dostop call.
25823 2014-08-27  Mark Wielaard  <mjw@redhat.com>
25825         [BZ #17319]
25826         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
25827         to call set_thread_area instead of hand written asm.
25828         (__NR_set_thread_area): Removed define.
25829         (TLS_FLAG_WRITABLE): Likewise.
25830         (__ASSUME_SET_THREAD_AREA): Remove check.
25831         (TLS_EBX_ARG): Remove define.
25832         (TLS_LOAD_EBX): Likewise.
25834 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25836         Simplify atomicity of socket creation in bind.
25838         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
25839         looking up the name after linking the file.
25841 2014-08-27  Allan McRae  <allan@archlinux.org>
25843         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25845 2014-08-26  Florian Weimer  <fweimer@redhat.com>
25847         [BZ #17187]
25848         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
25849         trans_compare, open_translit, __gconv_translit_find):
25850         Remove module loading code.
25852 2014-08-26  Allan McRae  <allan@archlinux.org>
25854         * po/vi.po: Update Vietnamese translation from translation project.
25856         * po/uk.po: Update Ukrainian translation from translation project.
25858         * po/fr.po: Update French translation from translation project.
25860         * po/ru.po: Update Russian translation from translation project.
25862         * po/pl.po: Update Polish translation from translation project.
25864         * po/cs.po: Update Czech translation from translation project.
25866         * po/de.po: Update German translation from translation project.
25868         * po/bg.po: Update Bulgarian translation from translation project.
25870         * po/sv.po: Update Sweedish translation from translation project.
25872         * po/nl.po: Update Dutch translation from translation project.
25874         * po/es.po: Update Spanish translation from translation project.
25876 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25878         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
25880         * catgets/Makefile (CPPFLAGS-gencat): Remove.
25881         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
25882         (CPPFLAGS-iconvconfig): Likewise.
25883         * timezone/Makefile (CPPFLAGS-zic): Likewise.
25885         * include/libc-symbols.h: Remove unnecessary check for
25886         NOT_IN_libc.
25887         * nptl/pthreadP.h: Likewise.
25888         * sysdeps/aarch64/setjmp.S: Likewise.
25889         * sysdeps/alpha/setjmp.S: Likewise.
25890         * sysdeps/arm/sysdep.h: Likewise.
25891         * sysdeps/i386/setjmp.S: Likewise.
25892         * sysdeps/m68k/setjmp.c: Likewise.
25893         * sysdeps/posix/getcwd.c: Likewise.
25894         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25895         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25896         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25897         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25898         * sysdeps/sh/sh3/setjmp.S: Likewise.
25899         * sysdeps/sh/sh4/setjmp.S: Likewise.
25900         * sysdeps/unix/alpha/sysdep.h: Likewise.
25901         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25903         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25904         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25907         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25908         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25909         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25910         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25911         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25912         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25913         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25914         * sysdeps/x86_64/setjmp.S: Likewise.
25916 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
25918         [BZ #17263]
25919         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
25920         <stdint.h>.
25921         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
25922         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
25924 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
25928         [BZ #17262]
25929         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
25930         and __x86_64__ when disabling x87 inline functions.
25932 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
25934         [BZ #17259]
25935         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
25936         asm statement with __cpuid_count.
25938 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
25940         * configure.ac: Change __ehdr_start code to dereference the struct.
25941         Run readelf on the output to look for relocations.
25942         * configure: Regenerated.
25944 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
25946         [BZ #17261]
25947         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
25948         value to 0.
25949         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
25951 2014-08-12  Roland McGrath  <roland@hack.frob.com>
25953         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
25955 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
25957         [BZ #16892]
25958         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
25959         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
25961 2014-08-12  Sean Anderson  <seanga2@gmail.com>
25963         * malloc/malloc.c: Fix typo in comment.
25965 2014-08-09  Allan McRae  <allan@archlinux.org>
25967         * Regenerate libc.po.
25969 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
25971         * intl/tst-gettext2.sh: Check every lang file for creation.
25973 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25975         * sysdeps/aarch64/fpu/math_private.h
25976         (libc_feholdsetround_noex_aarch64_ctx): New function.
25978 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
25980         * sysdeps/arm/armv6/strcpy.S (strcpy):
25981         Fix performance issue in misaligned cases.
25983 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25985         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
25986         Move definition from termios.h.
25987         (struct termio): Likewise.
25988         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25989         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25990         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25991         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
25992         Likewise.
25993         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
25994         Move definition to ioctl-types.h
25995         (struct termio): Likewise.
25996         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
25997         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
25998         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
25999         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
26000         Likewise.
26002 2014-08-05  Richard Henderson  <rth@redhat.com>
26004         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
26005         exceptions.
26006         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
26007         Add fraiseexcpt.
26008         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
26009         Use __feraiseexcept.
26010         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
26011         Protect libm symbols with IS_IN_libm.
26013         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
26015 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
26017         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
26019 2014-08-04  Will Newton  <will.newton@linaro.org>
26021         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
26022         file.
26024 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
26026         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
26027         variants for each function.
26029 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26031         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
26032         appended ...
26033         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
26034         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
26035         appended ...
26036         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
26037         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
26038         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
26039         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
26040         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
26041         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
26042         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
26043         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
26044         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
26045         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
26046         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
26047         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
26048         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
26049         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
26050         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
26051         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
26052         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
26053         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
26054         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
26055         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
26056         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
26057         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
26058         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
26059         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
26060         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
26061         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
26062         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
26063         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
26064         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
26065         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
26066         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
26067         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
26068         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
26069         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
26070         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
26071         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
26072         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
26073         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
26074         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
26075         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
26076         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
26077         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
26078         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
26079         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
26080         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
26081         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
26082         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
26083         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
26084         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
26085         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
26086         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
26087         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
26088         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
26089         Update #include.
26090         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
26091         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
26093 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26095         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
26096         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
26097         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
26098         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
26099         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
26100         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
26102 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26104         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
26105         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
26106         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
26107         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
26109 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26111         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
26112         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
26113         (__libc_vfork): Define function under this name.
26114         (__vfork): Define as an alias.
26115         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
26116         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
26118 2014-08-04  Roland McGrath  <roland@hack.frob.com>
26120         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
26121         that was previously under [RESET_PID].
26122         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
26124 2014-08-04  Andreas Schwab  <schwab@suse.de>
26126         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
26128 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
26130         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
26131         (main): Likewise.
26133 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26135         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
26137 2014-08-01  Richard Henderon  <rth@redhat.com>
26139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
26140         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
26141         typo in exact zero test.
26142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26143         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26144         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26146 2014-08-01  Roland McGrath  <roland@hack.frob.com>
26148         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
26149         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
26150         * sysdeps/arm/sysdep.h: ... here.
26151         [!__ASSEMBLER__]: Include <stdint.h>.
26153 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26155         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
26156         (HAVE_WCTYPE_H): Likewise.
26157         (HAVE_ISWCTYPE): Likewise.
26158         (ENABLE_NLS): Likewise.
26159         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
26160         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
26162         * posix/regex_internal.c: Check if DEBUG is defined and is
26163         set.
26165         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
26166         (HAVE_MBSRTOWCS): Likewise.
26167         * posix/fnmatch.c: Include string.h unconditionally.
26169 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
26171         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
26172         reversal.
26174 2014-07-31  Roland McGrath  <roland@hack.frob.com>
26176         * sysdeps/generic/safe-fatal.h: New file.
26177         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
26178         * nptl/forward.c: Include it.
26179         (__pthread_unwind): Use __safe_fatal as default action, rather
26180         than a bogus use of INTERNAL_SYSCALL that could never work.
26182         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
26183         * configure.ac (libc_cv_builtin_trap): New test.
26184         * configure: Regenerated.
26185         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
26186         (ABORT_INSTRUCTION): Define using __builtin_trap.
26188         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
26189         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
26190         * sysdeps/nptl/nptl-signals.h: New file.
26191         * nptl/pthreadP.h: Include <nptl-signals.h>.
26193 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26195         * sysdeps/s390/s390-64/utf16-utf32-z9.c
26196         (ONE_DIRECTION): Define.
26197         * sysdeps/s390/s390-64/utf8-utf16-z9.c
26198         (ONE_DIRECTION): Define.
26199         * sysdeps/s390/s390-64/utf8-utf32-z9.c
26200         (ONE_DIRECTION): Define.
26202 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
26204         * sysdeps/s390/Makefile: Delete file.
26205         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
26206         * sysdeps/s390/__longjmp.c: Delete file.
26207         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
26208         Remove fields __flags and __reserved.
26209         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
26210         and add versioning.
26211         * sysdeps/s390/rtld-__longjmp.c: Delete file.
26212         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
26213         * sysdeps/s390/rtld-setjmp.S: Likewise.
26214         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
26215         * sysdeps/s390/s390-32/__longjmp.c: ... here.
26216         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
26217         * sysdeps/s390/s390-32/setjmp.S: ... here.
26218         Add versioning.
26219         (__sigsetjmp): Remove setting __flags field.
26220         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
26221         * sysdeps/s390/s390-64/__longjmp.c: ... here.
26222         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
26223         * sysdeps/s390/s390-64/setjmp.S: ... here.
26224         Add versioning.
26225         (__sigsetjmp): Remove setting __flags field.
26226         * sysdeps/s390/setjmp.S: Delete file.
26227         * sysdeps/s390/sigjmp.c: Likewise.
26228         * sysdeps/s390/v1-longjmp.c: Likewise.
26229         * sysdeps/s390/v1-setjmp.h: Likewise.
26230         * sysdeps/s390/v1-sigjmp.c: Likewise.
26231         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
26232         Remove v1-longjmp_chk.
26233         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
26234         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
26235         Include debug/longjmp_chk.c and add versioning.
26236         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
26237         Include nptl/pt-longjmp.c and add versioning.
26238         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
26239         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
26240         Include __longjmp.c.
26241         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
26242         Move to ...
26243         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
26244         (__getcontext): Remove setting __flags field.
26245         Add versioning.
26246         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26247         Don't restore upper high grps.
26248         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
26249         Likewise.
26250         (__swapcontext): Remove setting uc_flags field.
26251         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
26252         Delete file.
26253         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
26254         Include __longjmp.c.
26255         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
26256         Move to ...
26257         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
26258         (__getcontext): Remove setting __flags field.
26259         Add versioning.
26260         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
26261         (__swapcontext): Remove setting uc_flags field.
26262         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
26263         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
26264         Remove fields uc_high_gprs and __reserved.
26265         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
26266         New file with reverted content.
26267         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
26268         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
26269         Regenerated.
26270         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
26271         Regenerated.
26273 2014-07-31  Andreas Schwab  <schwab@suse.de>
26275         * config.h.in (HAVE_IFUNC): Define to 0.
26276         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
26277         definedness.
26279 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
26281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26282         memmove-avx-unaligned, memcpy-avx-unaligned and
26283         mempcpy-avx-unaligned.
26284         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26285         Add tests for AVX memcpy functions.
26286         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
26287         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
26288         memcpy_chk.
26289         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
26290         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
26291         memmove_chk.
26292         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
26293         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
26294         mempcpy_chk.
26295         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
26296         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
26297         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
26299 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26301         [BZ #17213]
26302         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
26303         powerpc64le.
26305 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
26307         [BZ #16839]
26308         * manual/llio.texi: Add section about open file description locks.
26309         * manual/examples/ofdlocks.c: Example of open file description
26310         lock usage.
26311         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
26312         F_OFD_SETLK, and F_OFD_SETLKW.
26314 2014-07-23  Allan McRae  <allan@archlinux.org>
26316         * po/es.po: Update Spanish translation from translation project.
26318 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
26320         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
26322 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
26324         [BZ #17078]
26325         * sysdeps/arm/dl-machine.h (elf_machine_rela)
26326         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
26327         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
26329 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
26331         [BZ #17088]
26332         * math/fesetenv.c (__fesetenv)
26333         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
26334         * math/feupdateenv.c (__feupdateenv)
26335         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
26338         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
26339         (__ASSUME_SOCKETCALL): Do not define.
26341         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
26342         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
26343         (__ASSUME_SOCKETCALL): Do not define.
26344         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
26345         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26346         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26347         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
26348         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26349         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
26350         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26351         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26353         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
26354         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
26355         (__ASSUME_SOCKETCALL): Do not define.
26356         (__ASSUME_IPC64): Define unconditionally.
26357         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26358         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26359         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
26360         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26361         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
26362         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26363         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
26364         Likewise.
26366         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
26367         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
26368         (__ASSUME_SOCKETCALL): Do not define.
26369         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
26370         (__ASSUME_FUTEX_LOCK_PI): Likewise.
26371         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26372         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
26373         (__ASSUME_REQUEUE_PI): Define unconditionally.
26374         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
26375         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
26376         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26377         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
26378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26379         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26381         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
26382         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
26383         (__ASSUME_SOCKETCALL): Do not define.
26384         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
26385         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26386         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26387         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
26388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26389         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
26391         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
26392         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
26393         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
26394         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
26395         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
26396         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
26397         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
26398         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
26399         (__ASSUME_GETCPU_SYSCALL): Likewise.
26401         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
26402         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
26403         cases for individual architectures.
26404         * sysdeps/gnu/configure: Regenerated.
26405         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
26406         LIBC_SLIBDIR_RTLDDIR.
26407         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
26408         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
26409         LIBC_SLIBDIR_RTLDDIR.
26410         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
26411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
26412         LIBC_SLIBDIR_RTLDDIR.
26413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
26414         Regenerated.
26415         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
26416         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
26417         file.
26418         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
26419         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
26420         file.
26421         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
26422         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
26423         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
26424         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
26426         * sysdeps/aarch64/shlib-versions: Move to ...
26427         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
26428         * sysdeps/alpha/shlib-versions: Move to ...
26429         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
26430         * sysdeps/arm/shlib-versions: Move to ...
26431         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
26432         * sysdeps/hppa/shlib-versions: Move all contents except for
26433         libgcc_s entry to ...
26434         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
26435         entry from ...
26436         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
26437         * sysdeps/ia64/shlib-versions: Move to ...
26438         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
26439         entry from ...
26440         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
26441         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
26442         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
26443         * sysdeps/microblaze/shlib-versions: Move to ...
26444         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
26445         * sysdeps/mips/shlib-versions: Move to ...
26446         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
26447         entry from ...
26448         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
26449         * sysdeps/tile/shlib-versions: Move to ...
26450         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
26451         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
26452         from ...
26453         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
26454         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
26455         entry from ...
26456         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
26458 2014-07-17  Will Newton  <will.newton@linaro.org>
26460         * sysdeps/arm/bits/atomic.h
26461         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
26462         (__arch_compare_and_exchange_bool_16_int): Likewise.
26463         (__arch_compare_and_exchange_bool_64_int): Likewise.
26465         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
26466         into an #else block.
26468 2014-07-16  Roland McGrath  <roland@hack.frob.com>
26470         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
26471         just Linux configurations.  Test empirically that the compiler sets
26472         __ARM_EABI__, rather than using the tuple to decide.
26473         * sysdeps/arm/preconfigure: Regenerated.
26474         * sysdeps/unix/sysv/linux/arm/configure: File removed.
26475         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
26476         contents appended ...
26477         * sysdeps/arm/configure.ac: ... here.
26478         * sysdeps/arm/configure: Regenerated.
26480 2014-07-15  Roland McGrath  <roland@hack.frob.com>
26482         * nptl/pthread_kill.c: New file.
26483         * nptl/pthread_sigmask.c: New file.
26484         * nptl/pthread_sigqueue.c: New file.
26486         * sysdeps/nptl/lowlevellock.h: New file.
26487         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
26488         * sysdeps/nptl/lowlevellock-futex.h: New file.
26490         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
26491         Remove dead declarations.
26493 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
26495         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
26496         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
26497         config-cflags-avx2.
26498         * sysdeps/x86_64/configure.ac: Likewise.
26499         * sysdeps/i386/configure: Regenerated.
26500         * sysdeps/x86_64/configure: Likewise.
26501         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26502         memset-avx2 only if config-cflags-avx2 is yes.
26503         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26504         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
26505         defined.
26506         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
26507         only if HAVE_AVX2_SUPPORT is defined.
26508         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26510 2014-07-14  Alan Modra  <amodra@gmail.com>
26512         [BZ #17153]
26513         * elf/elf.h (DT_PPC64_NUM): Correct value.
26514         * NEWS: Add to fixed bug list.
26516 2014-07-13  Jim Meyering  <meyering@fb.com>
26518         [BZ 17150]
26519         regex: don't deref NULL upon heap allocation failure
26520         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
26521         failure in one more place.
26522         To trigger the segfault, configure grep -with-included-regex,
26523         build it, and run these commands:
26524         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
26526 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
26528         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
26530 2014-07-11  Richard Henderson  <rth@redhat.com>
26532         * sysdeps/aarch64/libm-test-ulps: Update.
26534 2014-07-10  Florian Weimer  <fweimer@redhat.com>
26536         [BZ #17135]
26537         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
26538         * nptl/allocatestack.c (__nptl_setxid_error): New function.
26539         (__nptl_setxid): Initialize error member.  Call
26540         __nptl_setxid_error.
26541         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
26542         * nptl/descr.h (struct xid_command): Add error member.
26543         * nptl/tst-setuid3.c: New file.
26544         * nptl/Makefile (tests): Add it.
26546 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26548         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
26549         New define.
26550         (__lll_trylock): Use __lll_base_trylock.
26551         (__lll_cond_trylock): Likewise.
26553 2014-07-10  Roland McGrath  <roland@hack.frob.com>
26555         * nptl/pthread_create.c (start_thread): Use atomic_or and
26556         lll_futex_wake directly rather than lll_robust_dead.
26557         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26558         (lll_robust_dead): Macro removed.
26559         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
26560         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26561         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26562         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26563         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26564         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26565         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26566         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26567         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26568         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26569         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26570         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26571         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26572         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26573         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26575         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
26576         Use atomic_compare_and_exchange_val_acq directly rather than
26577         lll_robust_trylock.
26578         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
26579         (__lll_robust_trylock, lll_robust_trylock): Removed.
26580         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
26581         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
26582         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26583         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26584         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
26585         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
26586         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26587         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
26588         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26589         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26590         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26591         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26592         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26595 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26597         * manual/locale.texi (Locale Names): New section documenting
26598         locale name syntax.  Adjust menu and node chaining accordingly.
26599         (Choosing Locale): Reference Locale Names, Locale Categories.
26600         Mention setting LC_ALL=C.  Reflect that name syntax is now
26601         documented.
26602         (Locale Categories): New section title.  Reference Locale Names.
26603         LC_ALL is an environment variable, but not a category.
26604         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
26605         description, now in Locale Name.  Reference that section.  Locale
26606         name syntax is now documented.
26608 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26610         [BZ #17137]
26611         * locale/findlocale.c (name_present, valid_locale_name): New
26612         functions.
26613         (_nl_find_locale): Use the loc_name variable to store name
26614         candidates.  Call name_present and valid_locale_name to check and
26615         validate locale names.  Return an error if the locale is invalid.
26617 2014-07-02  Florian Weimer  <fweimer@redhat.com>
26619         * locale/setlocale.c (setlocale): Use strdup for allocating
26620         composite name copy.
26622 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26624         Sync up with gnulib.
26625         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
26626         [!_LIBC && ENABLE_NLS]: Include gettext.h.
26627         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
26628         and _GL_ARG_NONNULL.
26629         [USE_UNLOCKED_IO]: Include unlocked-io.h.
26630         [!_LIBC]: Include code for Windows and Cygwin.
26631         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
26632         Include prototype for int strerror_r.
26633         [!_LIBC] (is_open): New function.
26634         (flush_stdout): New function.
26635         (print_errno_message): Use it.
26636         (error): Likewise.
26637         (error_at_line): Likewise.
26638         (error_tail) Add function attribute macros.  Use
26639         __builtin_expect.
26641         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
26643         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
26645         * io/ftw.c: Include sys/param.h unconditionally.
26647         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
26649         [BZ #17125]
26650         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
26651         libc_freeres_ptr.
26652         (freecache): New function to free CACHE on exit.
26654         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
26655         initialization.
26657 2014-07-09  David S. Miller  <davem@davemloft.net>
26659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26661         * sysdeps/sparc/nptl/internaltypes.h: Delete.
26662         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
26663         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
26664         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
26665         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
26666         * sysdeps/sparc/nptl/sem_init.c: Likewise.
26667         * sysdeps/sparc/nptl/sem_post.c: Likewise.
26668         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
26669         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
26670         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
26671         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
26672         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
26673         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
26675 2014-07-09  Andreas Schwab  <schwab@suse.de>
26677         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
26678         output.
26679         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
26680         (do_test): Likewise.
26682         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26684 2014-07-09  Will Newton  <will.newton@linaro.org>
26686         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
26687         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
26688         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
26689         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
26690         * sysdeps/hppa/start.S (_start): Likewise.
26692 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
26694         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
26696         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
26697         defined.
26699 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26701         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
26702         after checking that it is non-NULL.
26704         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
26706 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26708         * sysdeps/powerpc/memmove.c: Remove file.
26709         * sysdeps/powerpc/powerpc32/power4/memcopy.h
26710         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
26711         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26712         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
26713         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
26714         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
26715         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
26716         string memmove instead of removed powerpc one.
26718         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
26719         [weak_alias]: Fix compiler warning due trailing data.
26720         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
26721         [weak_alias]: Likewise.
26722         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
26723         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
26725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26726         (__libc_ifunc_impl_list): Add memmove functions.
26728 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26730         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
26731         Remove code.
26732         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
26733         Likewise.
26734         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
26735         Likewise.
26736         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
26737         Likewise.
26738         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
26739         Likewise.
26740         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
26741         Likewise.
26742         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
26743         Likewise.
26744         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
26745         Likewise.
26746         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
26747         Likewise.
26748         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
26749         Likewise.
26750         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
26751         Likewise.
26752         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
26753         Likewise.
26754         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
26755         Likewise.
26756         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
26757         Likewise.
26758         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
26759         Likewise.
26760         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
26761         Likewise.
26762         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
26763         Likewise.
26765 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26767         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
26768         to avoid alignment traps in non-cacheable memory.
26769         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26771         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
26772         multiarch objects.
26773         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
26774         file: multiarch power7 memmove.
26775         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
26776         multiarch default memmove.
26777         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
26778         multiarch memove for powerpc32/power4.
26780         * string/bcopy.c: Use full path to include memmove.c.
26781         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
26782         multiarch objects.
26783         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
26784         bcopy for powerpc64.
26785         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
26786         bcopy for powerpc64.
26787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
26788         and memmove implementations.
26789         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
26790         optimized multiarch memmove for POWER7/powerpc64.
26791         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
26792         default multiarch memmove for powerpc64.
26793         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
26794         multiarch for powerpc64.
26795         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
26796         for POWER7/powerpc64.
26797         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
26798         memmove for POWER7/powerpc64.
26800         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
26801         glibc default one.
26803         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
26804         __ELF_NATIVE_CLASS equal to 64.
26806 2014-07-07  Roland McGrath  <roland@hack.frob.com>
26808         * sysdeps/nptl/lowlevellock.h: File removed.
26810         * NEWS: NPTL is no longer an add-on!
26811         * nptl/internaltypes.h: Moved ...
26812         * sysdeps/nptl/internaltypes.h: ... here.
26813         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
26814         * sysdeps/nptl/fork.c: Likewise.
26815         * sysdeps/nptl/gai_misc.h: Likewise.
26816         * sysdeps/nptl/librt-cancellation.c: Likewise.
26817         * sysdeps/nptl/jmp-unwind.c: Likewise.
26818         * sysdeps/nptl/setxid.h: Likewise.
26819         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
26820         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
26821         * sysdeps/unix/sysv/linux/arm/Implies: New file.
26822         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
26823         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
26824         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
26825         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
26826         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
26827         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
26828         * sysdeps/unix/sysv/linux/mips/Implies: New file.
26829         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
26830         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
26831         * sysdeps/unix/sysv/linux/sh/Implies: New file.
26832         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
26833         * sysdeps/unix/sysv/linux/tile/Implies: New file.
26834         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
26835         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
26836         * nptl/Makeconfig: Moved ...
26837         * sysdeps/nptl/Makeconfig: ... here.
26838         * nptl/configure: File removed.
26839         * nptl/ANNOUNCE: File removed.
26840         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
26841         * sysdeps/unix/sysv/linux/configure: Regenerated.
26843         * nptl/Makefile (routines): Add libc_pthread_init,
26844         libc_multiple_threads, register-atfork and unregister-atfork.
26845         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
26846         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
26847         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
26848         pthread-pi-defines.sym, structsem.sym.
26849         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
26850         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
26851         [$(subdir) = nptl] (tests): Add tst-setgetname.
26852         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
26853         * sysdeps/unix/sysv/linux/sigaction.c: Just include
26854         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
26855         [!LIBC_SIGACTION]: Remove aliases.
26856         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
26857         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
26858         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
26859         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
26860         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
26861         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
26862         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
26863         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
26864         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
26865         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
26866         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
26867         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
26868         __libc_allocate_rtsig_private.
26869         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
26870         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
26871         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26872         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26873         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
26874         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
26875         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
26876         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
26877         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
26878         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
26879         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
26880         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
26881         * nptl/internaltypes.h: ... here.
26882         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
26883         * sysdeps/nptl/jmp-unwind.c: ... here.
26884         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
26885         * nptl/libc-lowlevellock.c: ... here.
26886         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
26887         * nptl/libc_multiple_threads.c: ... here.
26888         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
26889         * nptl/libc_pthread_init.c: ... here.
26890         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
26891         * nptl/lowlevelbarrier.sym: ... here.
26892         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
26893         * nptl/lowlevelcond.sym: ... here.
26894         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
26895         * nptl/lowlevellock.c: ... here.
26896         * nptl/lowlevellock.h: Moved ...
26897         * sysdeps/nptl/lowlevellock.h: ... here.
26898         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
26899         * nptl/lowlevelrobustlock.c: ... here.
26900         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
26901         * nptl/lowlevelrobustlock.sym: ... here.
26902         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
26903         * nptl/lowlevelrwlock.sym: ... here.
26904         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
26905         * nptl/pt-fork.c: ... here.
26906         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
26907         * nptl/pthread-pi-defines.sym: ... here.
26908         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
26909         * nptl/pthread_attr_getaffinity.c: ... here.
26910         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
26911         * nptl/pthread_attr_setaffinity.c: ... here.
26912         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
26913         * nptl/pthread_mutex_cond_lock.c: ... here.
26914         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
26915         Update #include.
26916         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
26917         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
26918         * nptl/pthread_once.c: ... here, replacing old file.
26919         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
26920         * nptl/pthread_yield.c: ... here.
26921         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
26922         * nptl/register-atfork.c: ... here.
26923         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
26924         * nptl/sem_post.c: ... here.
26925         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
26926         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
26927         * nptl/sem_timedwait.c: ... here.
26928         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
26929         * nptl/sem_trywait.c: ... here.
26930         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
26931         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
26932         * nptl/sem_wait.c: ... here.
26933         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
26934         * nptl/structsem.sym: ... here.
26935         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
26936         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
26937         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
26938         * nptl/unregister-atfork.c: ... here.
26939         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
26940         * nptl/unwindbuf.sym: ... here.
26941         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
26942         * sysdeps/nptl/fork.c: ... here.
26943         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
26944         * sysdeps/nptl/fork.h: ... here.
26945         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
26946         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
26947         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
26948         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
26949         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
26950         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
26951         * sysdeps/unix/sysv/linux/getpid.c: ... here.
26952         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
26953         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
26954         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
26955         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
26956         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
26957         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
26958         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
26959         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
26960         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
26961         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
26962         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
26963         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
26964         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
26965         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
26966         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
26967         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
26968         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
26969         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
26970         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
26971         * sysdeps/unix/sysv/linux/raise.c: ... here.
26972         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
26973         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
26974         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
26975         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
26976         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
26977         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
26978         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
26979         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
26980         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
26981         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
26982         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
26983         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
26984         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
26985         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
26986         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
26988 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
26990         * sysdeps/generic/memcopy.h: Add comment for
26991         MEMCPY_OK_FOR_FWD_MEMMOVE.
26993 2014-07-04  Will Newton  <will.newton@linaro.org>
26995         * string/memchr.c: Merge from gnulib.
26996         [_LIBC]: Remove conditionals.
26997         (__ptr_t): Remove define.
26998         (LONG_MAX_32_BITS): Likewise.
26999         (LONG_MAX): Likewise.
27000         (MEMCHR): Use ANSI prototype and optimize algorithm.
27002         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
27004 2014-07-03  Roland McGrath  <roland@hack.frob.com>
27006         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
27007         (lll_futex_timed_wait_bitset): Fix syscall argument count.
27009         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
27010         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
27011         in a bare environment with no <stdlib.h> installed.
27012         * sysdeps/nptl/configure: Regenerated.
27014         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
27016         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
27017         AC_EGREP_CPP for kernel header checks, so they only succeed if
27018         including <linux/version.h> actually works right.
27019         * sysdeps/unix/sysv/linux/configure: Regenerated.
27021         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
27022         value so it's not diagnosed as unused.
27024         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
27025         thing) with "ifeq ($(subdir),rt)".
27027 2014-07-03  Richard Henderson  <rth@redhat.com>
27029         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
27030         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
27031         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
27033         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
27034         (math_force_eval): New.
27036         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
27037         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
27039         * sysdeps/alpha/fpu/s_round.c: Remove file.
27040         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
27042         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
27043         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
27044         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
27045         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
27046         (_dl_start, print_statistics): Likewise.
27047         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
27048         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
27050         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27051         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27052         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27053         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27054         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27055         (HP_SMALL_TIMING_AVAIL): Define.
27056         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27057         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27058         (HP_SMALL_TIMING_AVAIL): Define.
27059         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27060         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
27062         * sysdeps/aarch64/hp-timing.h: New file.
27064         * sysdeps/generic/hp-timing.h: Remove dead comment.
27065         * sysdeps/generic/hp-timing-common.h: New file.
27066         * sysdeps/alpha/hp-timing.h: Include it.
27067         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
27068         * sysdeps/i386/i686/hp-timing.h: Likewise.
27069         * sysdeps/ia64/hp-timing.h: Likewise.
27070         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
27071         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
27072         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
27073         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
27074         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
27075         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
27076         (hp_timing_t): New.
27078         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
27079         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
27080         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
27081         * elf/rtld.c (_dl_start_final): Likewise.
27082         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
27083         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27084         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27085         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27086         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27087         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27088         (HP_TIMING_DIFF_INIT): Remove.
27089         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27090         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
27091         (HP_TIMING_DIFF_INIT): Remove.
27092         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
27093         * sysdeps/i386/i686/hp-timing.c: Remove file.
27094         * sysdeps/x86_64/hp-timing.c: Remove file.
27095         * sysdeps/ia64/hp-timing.c: Remove file.
27096         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
27097         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
27098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
27099         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
27101         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
27102         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
27103         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
27104         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27105         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
27106         (HP_TIMING_ACCUM): Remove.
27107         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27108         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
27109         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
27111         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
27112         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
27113         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
27114         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
27115         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
27116         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27117         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
27118         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
27120         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
27122 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
27124         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
27126 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27128         Sync up with gettext.
27129         * intl/loadmsgcat.c: Define O_BINARY if not defined.
27130         [_MSC_VER]: Include malloc.h
27131         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
27132         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
27133         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
27134         TEMP_FAILURE_RETRY.  Cast return of alloca.
27135         [!_LIBC] Call gl_rwlock_init.
27136         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
27138 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27140         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
27141         before checking its value.
27143 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27145         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
27147         * debug/memcpy_chk.c: Don't include pagecopy.h.
27148         * debug/mempcpy_chk.c: Likewise.
27149         * string/memcpy.c: Likewise.
27150         * string/memmove.c: Likewise.
27151         * sysdeps/powerpc/memmove.c: Likewise.
27152         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
27153         definition of PAGE_COPY_FWD_MAYBE here...
27154         * sysdeps/generic/pagecopy.h: ... from here.
27155         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
27157 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
27158             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27160         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
27161         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
27162         optimizations.
27163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
27164         (__libc_ifunc_impl_list): Likewise.
27165         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
27166         multiarch strcat for PPC64.
27167         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
27168         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
27170 2014-07-02  Roland McGrath  <roland@hack.frob.com>
27172         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
27174 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176         * intl/loadmsgcat.c: Remove declaration of
27177         get_sysdep_segment_value.
27178         (get_sysdep_segment_value): Use ISO C style.
27179         (_nl_load_domain): Use ISO C style.  Get rid of redundant
27180         semicolon.  Fix typo and formatting in comment.
27181         (_nl_unload_domain): Use ISO C style.
27183         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
27185 2014-07-02  Will Newton  <will.newton@linaro.org>
27187         * malloc/obstack.c: Merge from gnulib master.
27188         [HAVE_CONFIG_H]: Remove conditional code.
27189         [!_LIBC]: Include config.h.
27190         [!ELIDE_CODE]: Don't include inttypes.h, include
27191         stdint.h unconditionally.
27192         (print_and_abort): Mark as _Noreturn.
27193         (_obstack_allocated_p): Mark as __attribute_pure__.
27194         (obstack_free): Rename to __obstack_free.
27195         [!__attribute__]: Remove conditional code.
27196         * malloc/obstack.h: Merge from gnulib master.
27197         [__cplusplus]: Move conditional down.
27198         [!__attribute_pure__]: Define __attribute_pure__ here
27199         if it is not already defined.
27200         (_obstack_memory_used): Mark as __attribute_pure__.
27201         [!__obstack_free]: Define as obstack_free.
27202         [__GNUC__]: Remove check for ancient NeXT gcc.
27204 2014-07-02  Will Newton  <will.newton@linaro.org>
27205             Paul Eggert  <eggert@cs.ucla.edu>
27207         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
27209 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27211         * resolv/gethnamaddr.c: Add comment warning that the file is
27212         not maintained.
27214 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
27216         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
27217         entries.
27219         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
27220         entry for aio_cancel and aio_cancel64.
27221         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
27222         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
27223         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
27224         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
27225         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
27226         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
27227         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
27228         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
27229         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
27230         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
27231         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
27232         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
27233         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
27235 2014-07-01  Roland McGrath  <roland@hack.frob.com>
27237         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
27238         * nptl/pthread_mutex_lock.c: Likewise.
27239         * nptl/pthread_mutex_timedlock.c: Likewise.
27240         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
27242 2014-07-01  Richard henderson  <rth@redhat.com>
27244         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
27245         (__isnan, __isnanl): Remove.
27246         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
27248         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27250 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
27252         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27254 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
27256         * resolv/nss_dns/dns-host.c (getanswer_r)
27257         [MULTI_PTRS_ARE_ALIASES]: Remove code.
27259 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
27261         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27262         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
27263         undefine.
27264         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
27265         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
27267 2014-07-01  Roland McGrath <roland@hack.frob.com>
27269         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
27270         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
27272         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
27273         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
27275         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
27276         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
27277         ... here.
27278         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
27279         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
27281         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
27282         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
27283         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
27284         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
27286         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
27287         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
27288         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
27289         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
27290         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
27291         Moved ...
27292         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
27293         ... here.
27294         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
27295         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
27296         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
27297         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
27298         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
27299         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
27300         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
27301         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
27302         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
27303         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
27304         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
27305         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
27306         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
27307         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
27308         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
27309         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
27310         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
27311         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
27312         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
27313         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
27314         ... here.
27315         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
27316         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
27317         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
27318         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
27319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
27320         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
27321         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
27322         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
27324 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
27326         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
27327         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
27328         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
27329         Add sysdep.
27331 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27333         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27335 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27337         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
27338         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
27340         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27342         * sysdeps/arm/libm-test-ulps: Regenerated.
27344 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27345             Roland McGrath <roland@hack.frob.com>
27347         * test-skeleton.c (signal_handler): Kill the whole process group
27348         before killing the child individually.
27349         (main): Report any failure on `setpgid'.
27351 2014-06-30  Roland McGrath  <roland@hack.frob.com>
27353         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
27354         from _TLS_H to _ARM_NPTL_TLS_H.
27355         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
27356         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
27358 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
27360         [BZ #16539]
27361         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
27362         (__expm1l): Return argument unchanged when small but not
27363         subnormal.
27365         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
27366         include macro name.
27367         (_FP_UNPACK_RAW_1_P): Likewise.
27368         (_FP_PACK_RAW_1): Likewise.
27369         (_FP_PACK_RAW_1_P): Likewise.
27370         (_FP_MUL_MEAT_1_wide): Likewise.
27371         (_FP_MUL_MEAT_DW_1_hard): Likewise.
27372         (_FP_MUL_MEAT_1_hard): Likewise.
27373         (_FP_DIV_MEAT_1_imm): Likewise.
27374         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
27375         (_FP_DIV_MEAT_1_udiv): Likewise.
27376         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
27377         (_FP_UNPACK_RAW_2): Likewise.
27378         (_FP_UNPACK_RAW_2_P): Likewise.
27379         (_FP_PACK_RAW_2): Likewise.
27380         (_FP_PACK_RAW_2_P): Likewise.
27381         (_FP_MUL_MEAT_DW_2_wide): Likewise.
27382         (_FP_MUL_MEAT_2_wide): Likewise.
27383         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
27384         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27385         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
27386         (_FP_MUL_MEAT_2_gmp): Likewise.
27387         (_FP_DIV_MEAT_2_udiv): Likewise.
27388         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
27389         (_FP_FRAC_SRL_4): Likewise.
27390         (_FP_FRAC_SRST_4): Likewise.
27391         (_FP_FRAC_SRS_4): Likewise.
27392         (_FP_UNPACK_RAW_4): Likewise.
27393         (_FP_UNPACK_RAW_4_P): Likewise.
27394         (_FP_PACK_RAW_4): Likewise.
27395         (_FP_PACK_RAW_4_P): Likewise.
27396         (_FP_MUL_MEAT_DW_4_wide): Likewise.
27397         (_FP_MUL_MEAT_4_wide): Likewise.
27398         (_FP_MUL_MEAT_4_gmp): Likewise.
27399         (umul_ppppmnnn): Likewise.
27400         (_FP_DIV_MEAT_4_udiv): Likewise.
27401         (__FP_FRAC_ADD_4): Likewise.
27402         (__FP_FRAC_SUB_3): Likewise.
27403         (__FP_FRAC_SUB_4): Likewise.
27404         (__FP_FRAC_DEC_3): Likewise.
27405         (__FP_FRAC_DEC_4): Likewise.
27406         (__FP_FRAC_ADDI_4): Likewise.
27407         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
27408         (_FP_FRAC_SRL_8): Likewise.
27409         (_FP_FRAC_SRS_8): Likewise.
27411         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
27412         include macro name.
27413         (FP_UNPACK_RAW_EP): Likewise.
27414         (FP_PACK_RAW_E): Likewise.
27415         (FP_PACK_RAW_EP): Likewise.
27416         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
27417         (_FP_ISSIGNAN): Likewise.
27418         (_FP_ADD_INTERNAL): Likewise.
27419         (_FP_FMA): Likewise.
27420         (_FP_CMP): Likewise.
27421         (_FP_SQRT): Likewise.
27422         (_FP_TO_INT): Likewise.
27423         (_FP_FROM_INT): Likewise.
27424         (FP_EXTEND): Likewise.
27425         (_FP_DIV_MEAT_N_loop): Likewise.
27427 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
27429         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
27430         throughout.
27432 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
27434         [BZ #17097]
27435         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
27436         result with correct sign in case of exponents that produce
27437         overflow except for X very close to 1.
27439 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
27441         mktime: merge #if/#ifdef usage from glibc
27442         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
27443         as that works with both Glibc's and Gnulib's style.
27444         See thread starting at Siddhesh Poyarekar's bug report at:
27445         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
27447 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27449         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
27450         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
27451         * sysdeps/tile/tilegx/memmove.c: Remove file.
27453 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27455         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
27456         abi-name definition.
27457         * scripts/soversions.awk: Do not handle or generate ABI lines.
27458         * shlib-versions: Remove ABI entries.
27459         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
27460         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
27462 2014-06-27  Roland McGrath  <roland@hack.frob.com>
27464         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
27465         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
27466         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
27467         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
27468         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
27469         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
27470         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
27471         Moved ...
27472         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
27473         ... here.
27474         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
27475         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
27476         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
27477         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
27478         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
27479         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
27480         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
27481         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
27482         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
27483         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
27484         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
27485         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
27486         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
27487         Moved ...
27488         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
27489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
27490         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
27491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
27492         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
27493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
27494         Moved ...
27495         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
27496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
27497         Moved ...
27498         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
27499         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
27500         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
27501         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
27502         Moved ...
27503         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
27504         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
27505         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
27506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
27507         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
27508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
27509         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
27510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
27511         Moved ...
27512         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
27513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
27514         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
27515         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
27516         Moved ...
27517         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
27518         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
27519         Moved ...
27520         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
27521         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
27522         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
27523         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
27524         Moved ...
27525         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
27526         ... here.
27527         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
27528         Identical file removed.
27529         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
27530         Moved ...
27531         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
27532         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
27533         Identical file removed.
27534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
27535         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
27536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
27537         Moved ...
27538         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
27539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
27540         Identical file removed.
27541         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
27542         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
27543         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
27544         Identical file removed.
27545         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
27546         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
27547         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
27548         Identical file removed.
27549         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
27550         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
27551         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
27552         Identical file removed.
27553         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
27554         Moved ...
27555         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
27556         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
27557         Identical file removed.
27558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
27559         Moved ...
27560         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
27561         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
27562         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
27563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
27564         Identical file removed.
27565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
27566         Moved ...
27567         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
27568         ... here.
27569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
27570         Identical file removed.
27571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
27572         Moved ...
27573         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
27574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
27575         Identical file removed.
27576         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
27577         Moved ...
27578         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
27579         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
27580         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
27581         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
27582         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
27583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
27584         Moved ...
27585         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
27586         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
27587         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
27589         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
27590         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
27591         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
27592         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
27593         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
27595 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
27597         [BZ #17092]
27598         * nscd/nscd.c (monitor_child): Return exit status of child
27599         instead of return value from wait syscall.
27601 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
27603         * configure.ac (libc_commonpagesize): Remove variable.
27604         (libc_relro_required): Likewise.
27605         (libc_cv_z_relro): Remove configure test.
27606         * configure: Regenerated.
27607         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
27608         variable.
27609         (libc_relro_required): Likewise.
27610         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
27611         (libc_relro_required): Likewise.
27612         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27613         (libc_relro_required): Likewise.
27614         * sysdeps/arm/preconfigure: Regenerated.
27615         * sysdeps/ia64/preconfigure: Remove file.
27616         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
27617         variable.
27618         (libc_relro_required): Likewise.
27620         [BZ #16561]
27621         [BZ #16562]
27622         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
27623         (__ieee754_yn): Set FE_TONEAREST mode internally and then
27624         recompute overflowing results in original rounding mode.
27625         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
27626         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
27627         recompute overflowing results in original rounding mode.
27628         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
27629         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27630         recompute overflowing results in original rounding mode.
27631         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
27632         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27633         recompute overflowing results in original rounding mode.
27634         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
27635         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
27636         recompute overflowing results in original rounding mode.
27637         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
27638         (libc_feholdsetround_ctx): New macro.
27639         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
27640         * sysdeps/i386/fpu/libm-test-ulps: Update.
27641         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
27643 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27645         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
27646         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
27647         corresponding .cpsetup call.
27649 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27651         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
27652         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
27653         * sysdeps/arm/Makefile [$(subdir) = csu]
27654         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
27655         (static-only-routines): Add aeabi_read_tp here.
27656         (shared-only-routines): Add libc-aeabi_read_tp here.
27657         (CFLAGS-libc-start.c): Add -fexceptions here.
27658         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
27659         (sysdep_routines, static-only-routines, shared-only-routines):
27660         Don't add to these here.
27661         (CFLAGS-libc-start.c): Likewise.
27663         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
27664         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
27665         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
27666         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
27667         * sysdeps/arm/Makefile [$(subdir) = rt]
27668         (librt-sysdep_routines, librt-shared-only-routines):
27669         Append rt-aeabi_unwind_cpp_pr1 here.
27670         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
27671         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
27672         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
27673         (libpthread-sysdep_routines, libpthread-shared-only-routines):
27674         Append nptl-aeabi_unwind_cpp_pr1 here.
27675         (tests): Filter out tst-cleanupx4 here.
27676         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
27677         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
27678         Don't do those here.
27680 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27682         * scripts/list-sources.sh: Do not handle ports specially.
27684 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27686         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
27687         * sysdeps/arm/feupdateenv.c: Likewise.
27689         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
27691 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27693         * manual/texinfo.tex: Update to version 2014-05-05.10 with
27694         trailing whitespace removed.
27695         * scripts/config.guess: Update to version 2014-03-23.
27696         * scripts/config.sub: Update to version 2014-05-01
27697         * scripts/install-sh: Update to version 2013-12-25.23.
27698         * scripts/move-if-change: Update from gnulib.
27700 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27702         * debug/memmove_chk.c: Remove pagecopy.h include.
27704 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
27706         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
27707         identical to gnulib mktime.
27709 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
27711         * configure.ac: Do not test for machine being rs6000.  Do not test
27712         for powerpc*-*soft.
27713         * configure: Regenerated.
27715         [BZ #11505]
27716         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
27717         test.
27718         * configure: Regenerated.
27719         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
27720         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
27721         Remove configure test.
27722         * sysdeps/arm/configure: Regenerated.
27723         * sysdeps/nptl/configure.ac: Do not check
27724         libc_cv_asm_cfi_directives.
27725         * sysdeps/nptl/configure: Regenerated.
27726         * sysdeps/x86_64/nptl/configure.ac: Remove file.
27727         * sysdeps/x86_64/nptl/configure: Remove generated file.
27728         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
27729         unconditional.
27730         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
27732 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27734         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
27735         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
27736         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
27737         it is defined.
27739         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
27740         instead of whether it is defined.
27741         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
27742         * sysdeps/hppa/dl-machine.h: Likewise.
27743         * sysdeps/ia64/dl-machine.h: Likewise.
27744         * sysdeps/m68k/dl-machine.h: Likewise.
27745         * sysdeps/microblaze/dl-machine.h: Likewise.
27746         * sysdeps/mips/dl-machine.: Likewise.
27747         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27748         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27749         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27750         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27751         * sysdeps/sh/dl-machine.h: Likewise.
27752         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27753         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27754         * sysdeps/tile/dl-machine.h: Likewise.
27755         * sysdeps/x86_64/dl-machine.h: Likewise.
27757         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
27758         code.
27759         (verify_persistent_db): Likewise.
27761 2014-06-26  Roland McGrath  <roland@hack.frob.com>
27763         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
27764         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
27765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
27766         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
27767         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
27768         Moved ...
27769         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
27770         ... here.
27771         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
27772         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
27773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
27774         Identical file removed.
27775         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
27776         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
27777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
27778         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
27779         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
27780         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
27781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
27782         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
27783         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
27784         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
27785         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27786         Moved ...
27787         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
27788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
27789         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
27790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
27791         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
27792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
27793         Moved ...
27794         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
27795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
27796         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
27797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
27798         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
27799         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27800         Identical file removed.
27801         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
27802         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
27803         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
27804         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
27805         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
27806         Moved ...
27807         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
27808         ... here.
27809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
27810         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
27811         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
27812         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
27813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
27814         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
27815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
27816         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
27817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
27818         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
27819         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27820         Moved ...
27821         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
27822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
27823         Moved ...
27824         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
27825         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
27826         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
27827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
27828         Moved ...
27829         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
27830         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
27831         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
27833         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
27834         folded into ...
27835         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
27836         * sysdeps/unix/sysv/linux/s390/Versions
27837         (libpthread: GLIBC_2.19): New version set.
27838         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
27839         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
27840         (librt: GLIBC_2.3.3): New version set.
27841         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
27842         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
27843         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
27844         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
27845         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
27846         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
27847         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
27848         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
27849         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
27850         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
27851         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
27852         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
27853         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
27854         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
27855         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
27856         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
27857         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
27858         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
27859         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
27860         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
27861         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
27862         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
27863         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
27864         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
27865         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
27866         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
27867         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
27868         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
27869         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
27870         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
27871         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
27872         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
27873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
27874         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
27875         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
27876         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
27877         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
27878         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
27879         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
27880         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
27881         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
27882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
27883         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
27884         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
27885         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
27887         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
27888         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
27889         (__libc_vfork): Define the function under this name.
27890         [!NOT_IN_libc] (__vfork): Make this an alias.
27891         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27892         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
27893         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
27894         (__libc_vfork): Define the function under this name.
27895         [!NOT_IN_libc] (__vfork): Make this an alias.
27896         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
27897         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
27898         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
27899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
27900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
27901         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27903         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
27904         code that was previously under [RESET_PID].
27905         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
27906         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
27907         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
27909         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
27910         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
27911         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
27912         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
27913         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
27914         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
27915         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
27916         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
27917         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
27918         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
27919         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
27920         Moved ...
27921         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
27922         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
27923         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
27924         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
27925         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
27926         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
27927         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
27928         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
27929         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
27930         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
27931         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
27932         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
27933         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
27934         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
27935         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
27936         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
27937         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
27938         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
27939         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
27940         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
27941         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
27942         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
27943         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
27944         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
27945         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
27946         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
27947         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
27948         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
27949         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
27951 2014-06-25  Roland McGrath  <roland@hack.frob.com>
27953         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
27954         that was previously under [RESET_PID].
27955         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
27957 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
27959         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
27960         not undefine and redefine.
27961         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
27962         [O_CLOEXEC]: Make code unconditional.
27963         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
27964         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
27965         <kernel-features.h>.
27966         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
27967         conditional variable definition.
27968         (shm_open) [O_CLOEXEC]: Make code unconditional.
27969         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
27970         code.
27972         * configure.ac (USE_REGPARMS): Don't define here.
27973         * configure: Regenerated.
27974         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
27975         * sysdeps/i386/configure: Regenerated.
27977         * nptl/createthread.c: Don't include kernel-features.h.
27978         * nptl/pthread_cancel.c: Likewise.
27979         * nptl/pthread_condattr_setclock.c: Likewise.
27980         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
27981         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
27982         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
27983         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
27984         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
27985         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
27986         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
27987         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
27988         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
27989         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
27990         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
27991         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
27992         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
27993         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
27994         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
27995         * nscd/gai.c: Likewise.
27996         * nss/nss_db/db-open.c: Likewise.
27997         * sysdeps/generic/ldsodefs.h: Likewise.
27998         * sysdeps/sh/nptl/tls.h: Likewise.
27999         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
28000         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
28001         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
28002         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
28003         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
28004         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
28005         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
28006         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
28008         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28009         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28010         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
28011         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
28012         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
28013         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
28014         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
28015         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
28016         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
28017         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
28018         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
28019         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
28020         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
28021         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
28022         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
28023         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
28024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
28025         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
28026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
28027         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28028         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
28029         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
28030         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
28031         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
28032         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
28033         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28034         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
28035         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
28036         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
28037         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
28038         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28039         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28040         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
28041         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
28042         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28043         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
28044         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
28045         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
28046         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
28047         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
28048         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
28049         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
28050         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
28051         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
28052         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
28053         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
28054         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28055         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28056         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
28057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
28058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
28059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
28060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
28061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
28062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
28063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
28064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
28065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
28066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
28067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
28068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
28069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
28070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
28071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
28077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
28078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
28079         * sysdeps/unix/sysv/linux/pread.c: Likewise.
28080         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
28081         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
28082         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
28083         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
28084         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
28085         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
28086         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
28087         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
28088         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
28089         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
28090         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
28091         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
28092         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
28093         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
28094         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
28095         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
28096         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
28097         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
28098         * sysdeps/unix/sysv/linux/system.c: Likewise.
28099         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
28100         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28101         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
28102         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
28103         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28104         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
28105         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
28107         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
28108         * configure: Regenerated.
28109         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
28111         * configure.ac (base_machine): Do not set specially for particular
28112         machines here.
28113         * configure: Regenerated.
28114         * sysdeps/powerpc/preconfigure: Move machine and base_machine
28115         settings from configure.ac.
28116         * sysdeps/i386/preconfigure: New file.
28117         * sysdeps/s390/preconfigure: Likewise.
28118         * sysdeps/sh/preconfigure: Likewise.
28119         * sysdeps/sparc/preconfigure: Likewise.
28121 2014-06-25  Roland McGrath  <roland@hack.frob.com>
28123         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
28124         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
28125         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
28126         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
28127         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
28128         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
28129         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
28130         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
28131         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
28132         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
28133         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
28134         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
28135         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
28136         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
28137         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
28138         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
28139         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
28140         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
28141         * sysdeps/sparc/sparc64/Makefile: ... appended here.
28143         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
28144         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
28145         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
28146         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
28147         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
28148         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
28149         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
28150         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
28151         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
28152         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
28153         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
28154         * sysdeps/sparc/sparc32/sem_post.c: ... here.
28155         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
28156         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
28157         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
28158         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
28159         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
28160         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
28161         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
28162         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
28163         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
28164         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
28165         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
28166         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
28167         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
28168         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
28169         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
28170         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
28171         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
28172         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
28173         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
28174         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
28175         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
28176         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
28177         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
28178         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
28179         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
28180         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
28182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
28183         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
28184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
28185         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
28186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28187         Moved ...
28188         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
28189         ... here.
28190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
28191         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
28192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
28193         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
28194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
28195         Moved ...
28196         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
28197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
28198         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
28199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
28200         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
28201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
28202         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
28203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28204         Moved ...
28205         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
28206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28207         Moved ...
28208         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
28209         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
28210         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
28211         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28212         Moved ...
28213         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
28214         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
28215         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
28216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
28217         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
28218         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
28219         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
28220         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
28221         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
28222         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28223         Moved ...
28224         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
28225         ... here.
28226         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
28227         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
28228         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
28229         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
28230         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
28231         Moved ...
28232         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
28233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
28234         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
28235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
28236         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
28237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
28238         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
28239         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28240         Moved ...
28241         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
28242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28243         Moved ...
28244         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
28245         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
28246         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
28247         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28248         Moved ...
28249         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
28250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
28251         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
28252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
28253         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
28255 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28257         * timezone/checktab.awk: Update from tzcode 2014e.
28258         * timezone/private.h: Likewise.
28259         * timezone/tzfile.h: Likewise.
28260         * timezone/zdump.c: Likewise.
28261         * timezone/zic.c: Likewise.
28263         * sysdeps/unix/sysv/linux/kernel-features.h
28264         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
28265         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
28266         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
28267         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28268         Remove conditional code.
28270 2014-06-25  Will Newton  <will.newton@linaro.org>
28272         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
28273         (_dl_arm_cap_flags): Add HWCAP2 values.
28274         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
28275         (_DL_HWCAP_COUNT): Increase to 37.
28276         (_DL_HWCAP_LAST): New define.
28277         (_DL_HWCAP2_LAST): New define.
28278         (_dl_procinfo): Add support for printing
28279         AT_HWCAP2 entries.
28280         (_dl_string_hwcap): Use _dl_hwcap_string.
28282 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28286 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
28288         * README: Do not mention ports directory.
28290         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
28291         Remove macro.
28292         * sysdeps/unix/sysv/linux/futimes.c: Do not include
28293         <kernel-features.h>.
28294         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
28295         conditional variable definition.
28296         (__futimes): Update comment.
28297         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
28298         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
28300         [BZ #16560]
28301         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
28302         arguments close to 0.
28303         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
28304         Likewise.
28305         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
28306         Likewise.
28307         * math/auto-libm-test-in: Add more tests of exp10.
28308         * math/auto-libm-test-out: Regenerated.
28309         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28311         * sysdeps/unix/sysv/linux/kernel-features.h
28312         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
28313         * sysdeps/unix/sysv/linux/readv.c: Do not include
28314         <kernel-features.h>.
28315         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28316         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28317         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28318         unconditional.
28319         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28320         conditional code.
28321         * sysdeps/unix/sysv/linux/writev.c: Do not include
28322         <kernel-features.h>.
28323         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
28324         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
28325         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
28326         unconditional.
28327         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
28328         conditional code.
28330 2014-06-25  Will Newton  <will.newton@linaro.org>
28332         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
28333         comment changes throughout the file.  Remove checks
28334         for HAVE_*_H definitions that are not required.
28335         (__gen_tempname): Call abort if an unknown kind value is
28336         passed.
28338 2014-06-25  Andreas Schwab  <schwab@suse.de>
28340         [BZ #17086]
28341         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
28342         scalbln, scalblnf, scalblnl in libc.
28344 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28346         [BZ #17086]
28347         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
28348         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
28349         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
28351 2014-06-24  Roland McGrath  <roland@hack.frob.com>
28353         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
28354         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
28355         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
28356         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
28357         Update #include.
28358         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
28359         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
28360         Update #include.
28361         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
28362         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
28363         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
28364         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
28365         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
28366         * sysdeps/x86/bits/pthreadtypes.h: ... here.
28367         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
28368         * sysdeps/x86/bits/semaphore.h: ... here.
28369         * sysdeps/x86/nptl/elide.h: Moved ...
28370         * sysdeps/x86/elide.h: ... here.
28371         * sysdeps/x86_64/nptl/Implies: File removed.
28372         * sysdeps/i386/nptl/Implies: File removed.
28374 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
28376         [BZ #16539]
28377         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
28378         return the argument for normal arguments with exponent below -64.
28379         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
28380         Likewise.
28381         * math/auto-libm-test-in: Add another test of expm1.
28382         * math/auto-libm-test-out: Regenerated.
28384         [BZ #16287]
28385         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
28386         calling __erfcl for arguments at least 16.
28387         * math/auto-libm-test-in: Add more tests of erf.
28388         * math/auto-libm-test-out: Regenerated.
28390         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
28391         individual architectures.
28392         * sysdeps/unix/sysv/linux/configure: Regenerated.
28393         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
28394         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
28395         * sysdeps/unix/sysv/linux/powerpc/configure.ac
28396         (ldd_rewrite_script): Define variable.
28397         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
28399         file.
28400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
28401         generated file.
28402         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
28403         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
28404         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
28405         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
28406         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
28407         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
28408         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
28409         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
28411 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28413         [BZ #17084]
28414         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
28415         Rename member __data.d to __data.__elision_data.
28417 2014-06-24  Wilco  <wdijkstr@arm.com>
28419         * NEWS: Add 16918 to fixed bug list.
28421 2014-06-24  Wilco  <wdijkstr@arm.com>
28423         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
28425 2014-06-24  Wilco  <wdijkstr@arm.com>
28427         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
28428         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
28429         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
28430         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
28431         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
28432         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
28433         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
28434         Use _FPU_MASK_RM.
28436 2014-06-24  Wilco  <wdijkstr@arm.com>
28438         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
28440 2014-06-24  Wilco  <wdijkstr@arm.com>
28442         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
28443         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
28444         * sysdeps/arm/fesetround.c (fesetround): Remove space.
28445         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
28447 2014-06-24  Wilco  <wdijkstr@arm.com>
28449         [BZ #16918]
28450         * sysdeps/arm/feupdateenv.c (feupdateenv):
28451         Rewrite to reduce FPSCR accesses and fix return value.
28453 2014-06-24  Wilco  <wdijkstr@arm.com>
28455         * sysdeps/arm/fclrexcpt.c (feclearexcept):
28456         Optimize to avoid unnecessary FPSCR writes.
28457         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
28458         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
28459         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
28460         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
28462 2014-06-24  Wilco  <wdijkstr@arm.com>
28464         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
28465         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
28466         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
28467         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
28468         Call libc_fetestexcept_vfp.
28469         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
28470         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
28471         __SOFTFP__ ifdef so that they can be built for softfp.
28473 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28475         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
28476         argument type signed char.
28478         * Makerules (check-abi): Dump diff of symlist if the test
28479         fails.
28481 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28483         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
28484         using abort.
28486         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
28487         Remove unused variable ST.
28489 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28491         [BZ #16354]
28492         [BZ #17061]
28493         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
28494         small arguments before calling __expm1.
28495         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
28496         small arguments before calling __expm1f.
28497         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
28498         small arguments before calling __expm1l.
28499         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28500         Likewise.
28501         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
28502         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
28503         spurious underflow for some cosh tests.
28504         * math/auto-libm-test-out: Regenerated.
28505         * sysdeps/i386/fpu/libm-test-ulps: Update.
28507         [BZ #17050]
28508         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
28509         (__ieee754_y1): Set errno if return value overflows.
28510         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
28511         (__ieee754_y1f): Set errno if return value overflows.
28512         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
28513         (__ieee754_y1l): Set errno if return value overflows.
28514         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
28515         (__ieee754_y1l): Set errno if return value overflows.
28516         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
28517         * math/auto-libm-test-out: Regenerated.
28519         * math/gen-auto-libm-tests.c: Document use of
28520         ignore-zero-inf-sign.
28521         (input_flag_type): Add value flag_ignore_zero_inf_sign.
28522         (input_flags): Add ignore-zero-inf-sign.
28523         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
28524         * math/gen-libm-test.pl (generate_testfile): Handle
28525         ignore-zero-inf-sign.
28526         * math/auto-libm-test-in: Mark some cpow tests with
28527         ignore-zero-inf-sign and some with xfail-rounding.
28528         * math/auto-libm-test-out: Regenerated.
28529         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
28530         * sysdeps/i386/fpu/libm-test-ulps: Update.
28531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28533         [BZ #16315]
28534         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
28535         overflowing or underflowing operations take place with sign of
28536         result.
28537         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
28538         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
28539         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
28540         (__ieee754_pow): Recompute overflowing and underflowing results in
28541         original rounding mode.
28542         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
28543         (__powl_helper): Allow negative argument X and scale negated value
28544         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
28545         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
28546         overflowing or underflowing operations take place with sign of
28547         result.
28548         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
28549         Include <math.h>.
28550         * math/auto-libm-test-in: Add more tests of pow.
28551         * math/auto-libm-test-out: Regenerated.
28552         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
28553         (pow_tonearest_test_data): Remove.
28554         (pow_test_tonearest): Likewise.
28555         (pow_towardzero_test_data): Likewise.
28556         (pow_test_towardzero): Likewise.
28557         (pow_downward_test_data): Likewise.
28558         (pow_test_downward): Likewise.
28559         (pow_upward_test_data): Likewise.
28560         (pow_test_upward): Likewise.
28561         (main): Don't call removed functions.
28562         * sysdeps/i386/fpu/libm-test-ulps: Update.
28563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28565 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
28568         Moved ...
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
28570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28571         Moved ...
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
28573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28574         Moved ...
28575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
28577         Moved ...
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
28579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
28580         File removed.
28581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28582         File removed.
28583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
28584         File removed.
28585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
28586         File removed.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
28588         File removed.
28589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
28590         File removed.
28591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
28592         File removed.
28593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28594         File removed.
28595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
28596         File removed.
28597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28598         File removed.
28599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
28600         File removed.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
28602         File removed.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
28604         Moved ...
28605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
28607         Moved ...
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
28609         ... here.
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
28611         Moved ...
28612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
28613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
28614         Moved ...
28615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
28616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
28617         Moved ...
28618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
28619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
28620         Moved ...
28621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
28622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
28623         Moved ...
28624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
28625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
28626         Moved ...
28627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
28628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
28629         Moved ...
28630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
28631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
28632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
28633         ... here.
28634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
28635         Moved ...
28636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
28637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
28638         Moved ...
28639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
28640         ... here.
28641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
28642         Moved ...
28643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28644         ... here.
28645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
28646         Moved ...
28647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
28648         ... here.
28649         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
28650         Moved ...
28651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
28652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28653         Moved ...
28654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
28655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
28656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
28657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28658         Moved ...
28659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
28660         ... here.
28661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28662         Moved ...
28663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
28664         ... here.
28665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28666         Moved ...
28667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
28668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28669         Moved ...
28670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
28671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28672         Moved ...
28673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
28674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28675         Moved ...
28676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
28677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28678         Moved ...
28679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
28680         ... here.
28681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28682         Moved ...
28683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
28684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28685         Moved ...
28686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
28687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28688         Moved ...
28689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
28690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28691         Moved ...
28692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
28693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
28694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
28695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28696         Moved ...
28697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
28698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28699         Moved ...
28700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
28701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28702         Moved ...
28703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
28704         ... here.
28705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28706         Moved ...
28707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
28708         ... here.
28709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28710         Moved ...
28711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
28712         ... here.
28713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28714         Moved ...
28715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
28716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28717         Moved ...
28718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
28719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28720         Moved ...
28721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
28722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28723         Moved ...
28724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
28725         ... here.
28726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28727         Moved ...
28728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
28729         ... here.
28730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28731         Moved ...
28732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
28733         ... here.
28734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28735         Moved ...
28736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
28737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
28738         Moved ...
28739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
28741 2014-06-23  Will Newton  <will.newton@linaro.org>
28742             Wilco  <wdijkstr@arm.com>
28744         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
28745         implementation.  Include get-rounding-mode.h.
28746         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
28747         [!libc_feholdsetround_noex_ctx]: Define
28748         libc_feholdsetround_noex_ctx.
28749         [!libc_feholdsetround_noexf_ctx]: Define
28750         libc_feholdsetround_noexf_ctx.
28751         [!libc_feholdsetround_noexl_ctx]: Define
28752         libc_feholdsetround_noexl_ctx.
28753         (libc_feholdsetround_ctx): New function.
28754         (libc_feresetround_ctx): New function.
28755         (libc_feholdsetround_noex_ctx): New function.
28756         (libc_feresetround_noex_ctx): New function.
28758 2014-06-23  Roland McGrath  <roland@hack.frob.com>
28760         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
28761         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
28762         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
28763         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
28764         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
28765         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
28767         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
28768         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
28769         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
28770         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
28771         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
28772         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
28773         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
28774         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
28775         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
28776         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
28777         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
28778         Moved ...
28779         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
28780         ... here.
28781         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
28782         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
28783         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
28784         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
28785         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
28786         Moved ...
28787         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
28788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
28789         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
28790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
28791         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
28792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
28793         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
28794         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
28795         Moved ...
28796         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
28797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
28798         Moved ...
28799         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
28800         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
28801         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
28802         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
28803         Moved ...
28804         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
28805         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
28806         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
28807         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
28808         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
28809         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
28810         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
28811         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
28812         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
28813         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
28814         Moved ...
28815         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
28816         ... here.
28817         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
28818         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
28819         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
28820         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
28821         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
28822         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
28823         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
28824         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
28825         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
28826         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
28827         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
28828         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
28829         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
28830         Moved ...
28831         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
28832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
28833         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
28834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
28835         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
28836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
28837         Moved ...
28838         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
28839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
28840         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
28841         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
28842         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
28844         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
28845         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
28846         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
28847         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
28848         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
28849         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
28850         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
28851         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
28852         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
28853         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
28854         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
28855         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
28856         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
28857         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
28858         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
28859         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
28860         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
28861         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
28862         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
28863         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
28864         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
28865         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
28866         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
28867         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
28868         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28869         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
28870         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
28871         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
28873 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
28875         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
28876         (FALLOC_FL_COLLAPSE_RANGE): New macro.
28877         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
28878         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
28879         (IPV6_PMTUDISC_INTERFACE): Likewise.
28880         (IPV6_PMTUDISC_OMIT): Likewise.
28882 2014-06-23  Andreas Schwab  <schwab@suse.de>
28884         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
28885         Remove unused errout label.
28887 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28889         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
28890         macro: hardware supports Vector Crypto instructions.
28892 2014-06-23  Will Newton  <will.newton@linaro.org>
28894         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
28895         rather than __builtin_expect.
28897         * elf/dl-lookup.c (undefined_msg): Remove variable.
28898         (_dl_lookup_symbol_x): Replace undefined_msg with string
28899         literal.
28901         * elf/dl-lookup.c (do_lookup_unique): New function.
28902         (do_lookup_x): Move STB_GNU_UNIQUE handling code
28903         to a separate function.
28905 2014-06-23  Andreas Schwab  <schwab@suse.de>
28907         [BZ #17079]
28908         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
28909         before reading the next line.
28911 2014-06-23  Will Newton  <will.newton@linaro.org>
28913         * test-skeleton.c (signal_handler): Use printf and %m
28914         rather than perror.  Use printf rather than fprintf to
28915         stderr.  Use puts rather than fputs to stderr.
28916         (main): Likewise.
28918 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
28920         * nscd/nscd.c (thread_info_t): Remove typedef.
28921         (thread_info): Remove variable.
28923 2014-06-21  Allan McRae  <allan@archlinux.org>
28925         * NEWS: Mention CVE-2014-4043.
28927 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28929         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
28930         * nptl/smp.h: ... here.
28932         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
28934         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
28935         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
28936         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
28937         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
28939         * nptl/allocatestack.c: Include <stack-aliasing.h>.
28940         * nptl/stack-aliasing.h: New file.
28941         * sysdeps/i386/i686/stack-aliasing.h: New file.
28942         * sysdeps/i386/i686/nptl/Makefile: File removed.
28943         * sysdeps/x86_64/stack-aliasing.h: New file.
28944         * sysdeps/x86_64/nptl/Makefile
28945         (CFLAGS-pthread_create.c): Variable removed.
28947         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
28948         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
28949         old file.
28950         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
28951         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
28952         old file.
28954 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
28956         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28957         (__ASSUME_SIGFRAME_V2): Remove macro.
28958         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
28959         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
28960         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
28961         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
28962         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
28963         Declare as function.  Remove conditional macro definitions.
28964         (__default_rt_sa_restorer): Likewise.
28965         (__default_sa_restorer_v1): Remove declaration.
28966         (__default_sa_restorer_v2): Likewise.
28967         (__default_rt_sa_restorer_v1): Likewise.
28968         (__default_rt_sa_restorer_v2): Likewise.
28969         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
28970         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
28971         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
28973 2014-06-20  Roland McGrath  <roland@hack.frob.com>
28975         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
28976         (libpthread-routines): Add sysdep.
28977         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
28978         * sysdeps/unix/sysv/linux/sparc/Versions
28979         (libpthread: GLIBC_2.3.3): New version set.
28980         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
28981         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
28982         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
28983         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
28984         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
28985         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
28986         Moved ...
28987         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
28988         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
28989         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
28990         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
28991         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
28992         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
28993         * sysdeps/sparc/nptl/sem_init.c: ... here.
28994         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
28995         * sysdeps/sparc/nptl/sem_post.c: ... here.
28996         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
28997         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
28998         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
28999         * sysdeps/sparc/nptl/sem_wait.c: ... here.
29000         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
29001         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
29002         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
29003         (libpthread-routines): Add cpu_relax.
29004         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
29005         File removed.
29006         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
29007         (librt: GLIBC_2.3.3): New version set.
29008         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
29009         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
29010         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
29011         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
29012         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
29013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
29014         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
29015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
29016         Moved ...
29017         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
29018         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
29019         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
29020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
29021         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
29022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
29023         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
29024         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
29025         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
29026         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
29027         Moved ...
29028         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
29029         Update #include.
29030         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
29031         Moved ...
29032         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
29033         Update #include.
29034         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
29035         Moved ...
29036         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
29037         Update #include.
29038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
29039         Moved ...
29040         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
29041         Update #include.
29042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
29043         Moved ...
29044         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
29045         Update #include.
29046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
29047         Moved ...
29048         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
29049         Update #include.
29050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
29051         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
29052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
29053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
29054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
29055         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
29056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
29057         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
29058         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
29059         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
29060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
29061         Moved ...
29062         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
29063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
29064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
29065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
29066         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
29068 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29070         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
29071         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
29072         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
29073         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
29074         * nscd/nscd.c: Likewise.
29075         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
29076         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
29077         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
29078         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
29080         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
29081         <kernel-features.h>.
29082         (init_mq_netlink): Remove conditional have_sock_cloexec
29083         definitions.  Remove code conditional on have_sock_cloexec < 0.
29084         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
29085         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
29086         * sysdeps/unix/sysv/linux/opensock.c: Do not include
29087         <kernel-features.h>.
29088         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
29089         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
29091 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29094         Add tests for memset_chk and memset.
29096         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
29097         with AVX2_Usable.
29099 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29101         [BZ #16046]
29102         * elf/tst-dl-iter-static.c: New file.
29103         * elf/Makefile (tests-static): Add tst-dl-iter-static.
29105         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
29106         error.
29108 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29110         * sysdeps/unix/sysv/linux/kernel-features.h
29111         (__ASSUME_F_GETOWN_EX): Remove macro.
29112         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
29113         <kernel-features.h>.
29114         (miss_F_GETOWN_EX): Remove variable or macro.
29115         (do_fcntl): Do not check miss_F_GETOWN_EX.
29116         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
29118         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
29119         Remove macro.
29120         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
29121         [!__ASSUME_AT_RANDOM]: Remove conditional code.
29122         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
29124         * sysdeps/unix/sysv/linux/kernel-features.h
29125         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
29126         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
29127         [ADJ_OFFSET_SS_READ]: Make code unconditional.
29128         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
29130 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
29132         [BZ #17075]
29133         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
29134         Fix calculation of the symbol's value.
29135         * sysdeps/arm/tst-armtlsdescloc.c: New file.
29136         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
29137         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
29138         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
29139         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
29140         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
29141         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
29142         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
29143         (modules-names): Add `tst-armtlsdescmod',
29144         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
29145         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
29146         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29147         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
29148         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
29149         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
29150         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
29151         ($(objpfx)tst-armtlsdescloc): New dependency.
29152         ($(objpfx)tst-armtlsdescextnow): Likewise.
29153         ($(objpfx)tst-armtlsdescextlazy): Likewise.
29154         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
29155         TLS scheme support.
29156         * sysdeps/arm/configure: Regenerate.
29158 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
29160         * include/fcntl.h (__atfct_seterrno): Remove prototype.
29161         (__atfct_seterrno_2): Likewise.
29162         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
29163         <kernel-features.h>.
29164         (__ASSUME_ATFCTS): Do not undefine and redefine.
29165         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
29166         (__have_atfcts): Remove conditional definition.
29167         (__fxstatat([__NR_fstatat64]: Make code unconditional.
29168         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
29169         unreachable if [__ASSUME_ATFCTS].
29170         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
29171         not undefine and redefine.
29172         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
29173         <kernel-features.h>.
29174         (faccessat) [__NR_faccessat]: Make code unconditional.
29175         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
29176         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
29177         <kernel-features.h>.
29178         (fchmodat) [__NR_fchmodat]: Make code unconditional.
29179         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29180         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
29181         <kernel-features.h>.
29182         (fchownat) [__NR_fchownat]: Make code unconditional.
29183         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
29184         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
29185         <kernel-features.h>.
29186         (futimesat) [__NR_futimesat]: Make code unconditional.
29187         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
29188         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29189         <kernel-features.h>.
29190         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29191         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29192         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29193         <kernel-features.h>.
29194         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
29195         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29196         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
29197         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29198         <kernel-features.h>.
29199         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
29200         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29201         * sysdeps/unix/sysv/linux/linkat.c: Do not include
29202         <kernel-features.h>.
29203         (linkat) [__NR_linkat]: Make code unconditional.
29204         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29205         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
29206         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
29207         <kernel-features.h>.
29208         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
29209         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
29210         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
29211         <kernel-features.h>.
29212         (mkdirat) [__NR_mkdirat]: Make code unconditional.
29213         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
29214         * sysdeps/unix/sysv/linux/openat.c: Do not include
29215         <kernel-features.h>.
29216         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
29217         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
29218         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
29219         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
29220         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
29221         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
29222         <kernel-features.h>.
29223         (readlinkat) [__NR_readlinkat]: Make code unconditional.
29224         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
29225         result of INLINE_SYSCALL directly, not via int variable.
29226         * sysdeps/unix/sysv/linux/renameat.c: Do not include
29227         <kernel-features.h>.
29228         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
29229         (renameat) [__NR_renameat]: Make code unconditional.
29230         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
29231         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
29232         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
29233         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
29234         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
29235         (__ASSUME_ATFCTS): Do not undefine and redefine.
29236         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
29237         <kernel-features.h>.
29238         (symlinkat) [__NR_symlinkat]: Make code unconditional.
29239         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29240         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
29241         <kernel-features.h>.
29242         (unlinkat) [__NR_unlinkat]: Make code unconditional.
29243         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
29244         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
29245         (__ASSUME_ATFCTS): Do not undefine and redefine.
29246         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29247         <kernel-features.h>.
29248         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
29249         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
29250         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
29251         <kernel-features.h>.
29252         (__xmknodat) [__NR_mknodat]: Make code unconditional.
29253         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
29255 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
29257         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
29259 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
29261         [BZ #17069]
29262         * posix/regcomp.c (parse_reg_exp): Deallocate partially
29263         constructed tree before returning error.
29264         * posix/bug-regexp36.c: Expand test case.
29266 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29268         [BZ #6803]
29269         * math/libm-test.inc (scalbln_test_date):
29270         Add errno expectations.
29271         * math/w_scalblnf.c: New File.
29272         Add wrapper which checks for setting errno to ERANGE.
29273         Add weak_alias for corresponding scalbln function.
29274         * math/w_scalbln.c: Likewise.
29275         * math/w_scalblnl.c: Likewise.
29276         * math/Makefile (libm-calls): Add w_scalbln.
29277         * sysdeps/ieee754/flt-32/s_scalblnf.c:
29278         Remove weak_alias for corresponding scalbln function.
29279         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
29280         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
29281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29282         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29283         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
29284         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
29285         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
29286         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
29287         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
29288         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
29289         Remove long_double_symbol for scalblnl function in libm, libc.
29290         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
29291         Add wrapper which checks for setting errno to ERANGE.
29292         Add long_double_symbol for scalblnl function in libm, libc.
29293         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
29294         Remove long_double_symbol for scalblnl in libm.
29295         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
29296         Add wrapper which checks for setting errno to ERANGE.
29297         Add long_double_symbol for scalblnl function in libm.
29298         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
29299         Do not use wrapper because of own implementation.
29301 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
29303         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
29304         3 bytes for __pad1 for x32.
29305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
29307 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
29308             H.J. Lu  <hongjiu.lu@intel.com>
29310         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
29311         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
29312         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29313         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29314         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29316 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
29318         [BZ #17069]
29319         * posix/regcomp.c (parse_expression): Deallocate partially
29320         constructed tree before returning error.
29321         * posix/Makefile.c (tests): Add bug-regex36.
29322         (generated): Add bug-regex36.mtrace.
29323         (tests-special): Add $(objpfx)bug-regex36-mem.out
29324         (bug-regex36-ENV): New variable.
29325         ($(objpfx)bug-regex36-mem.out): New rule.
29326         * posix/bug-regex36.c: New file.
29328 2014-06-19  Will Newton  <will.newton@linaro.org>
29330         * malloc/malloc.c (systrim): If extra is zero then return
29331         early.
29333 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29335         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
29337 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
29339         * sysdeps/aarch64/strchr.S: New file.
29341 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29343         [BZ #17022]
29344         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
29345         from arguments -2 or below.
29346         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
29347         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
29349 2014-06-18  Andreas Schwab  <schwab@suse.de>
29351         [BZ #17062]
29352         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
29353         of a bracket expr not to run off the end of the string.
29354         * posix/Makefile (tests): Add tst-fnmatch3.
29355         * posix/tst-fnmatch3.c: New file.
29357 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
29359         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
29360         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
29361         [$(cross-compiling) = no]: Likewise.
29362         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
29363         [$(cross-compiling) = no]: Likewise.
29365 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29367         [BZ #17031]
29368         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
29369         double, adjusted for any remainder from the high double.
29370         * math/libm-test.inc (nearbyint): Add tests.
29371         (rint): Likewise.
29373 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29375         * nptl/sysdeps/powerpc/Makefile: Moved ...
29376         * sysdeps/powerpc/nptl/Makefile: ... here.
29377         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
29378         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
29379         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
29380         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
29381         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
29382         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
29383         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
29384         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
29385         * nptl/sysdeps/powerpc/tls.h: Moved ...
29386         * sysdeps/powerpc/nptl/tls.h: ... here.
29388 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
29390         [BZ #16681]
29391         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
29392         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
29393         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
29394         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
29395         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
29396         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
29397         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
29398         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
29399         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
29401 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
29403         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29405 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
29407         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
29408         defined operator.
29410         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
29411         $TIMEOUTFACTOR.
29413 2014-06-16  Florian Weimer  <fweimer@redhat.com>
29415         [BZ #17058]
29416         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
29417         non-executed part of the test.
29419 2014-06-16  Andreas Schwab  <schwab@suse.de>
29421         * string/bits/string2.h (strdup, strndup): Update feature guard.
29423 2014-06-14  David S. Miller  <davem@davemloft.net>
29425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29427 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
29429         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
29430         that was previously under [RESET_PID].
29431         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
29433         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
29434         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
29435         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
29436         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
29437         (__libc_vfork): New strong alias.
29438         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
29440 2014-06-14 Andi Kleen  <ak@linux.intel.com>
29442         * sysdeps/generic/elide.h: New file.
29444 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29446         * Makefile (installed-headers): Adjust path of pthread.h header.
29448 2014-06-13  Roland McGrath  <roland@hack.frob.com>
29450         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
29451         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
29452         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
29453         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
29455         * nptl/sysdeps/s390/Makefile: Moved ...
29456         * sysdeps/s390/nptl/Makefile: ... here.
29457         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
29458         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
29459         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
29460         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
29461         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
29462         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
29463         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
29464         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
29465         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
29466         * sysdeps/s390/nptl/pthreaddef.h: ... here.
29467         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
29468         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
29469         * nptl/sysdeps/s390/tls.h: Moved ...
29470         * sysdeps/s390/nptl/tls.h: ... here.
29472         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
29473         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
29475 2014-06-13  David S. Miller  <davem@davemloft.net>
29477         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
29478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
29479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
29480         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
29481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
29482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
29483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
29484         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
29485         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
29486         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
29487         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
29488         Remove RESET_PID cpp guards.
29489         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
29490         Remove RESET_PID cpp guards.
29491         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
29493 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
29495         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
29496         __sp to uintptr_t.
29498 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29500         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
29501         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
29502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
29503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
29504         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
29505         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
29506         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
29507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
29508         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
29509         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
29510         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
29511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
29512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
29513         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
29514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
29515         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
29516         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
29517         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
29518         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
29519         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
29521         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
29522         (pthread_rwlock_rdlock): Add elision.
29523         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
29524         (pthread_rwlock_wrlock): Add elision.
29525         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
29526         (pthread_rwlock_trywrlock): Add elision.
29527         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
29528         (pthread_rwlock_tryrdlock): Add elision.
29529         * nptl/pthread_rwlock_unlock.c: Include elide.h.
29530         (pthread_rwlock_tryrdlock): Add elision unlock.
29531         * nptl/sysdeps/pthread/pthread.h:
29532         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
29533         (PTHREAD_RWLOCK_INITIALIZER,
29534         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
29535         Handle new elision field.
29536         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
29537         * sysdeps/arm/nptl/bits/pthreadtypes.h
29538         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29539         * sysdeps/sh/nptl/bits/pthreadtypes.h
29540         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29541         * sysdeps/tile/nptl/bits/pthreadtypes.h
29542         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29543         * sysdeps/a/nptl/bits/pthreadtypes.h
29544         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29545         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
29546         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
29548         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29549         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
29550         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29551         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
29552         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29553         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
29554         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29555         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
29556         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29557         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
29558         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29559         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
29560         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29561         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
29562         (elision_init): Set try_xbegin to zero when no RTM.
29563         * sysdeps/x86/nptl/bits/pthreadtypes.h
29564         (pthread_rwlock_t): Change __pad1 to __rwelision.
29565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
29567 2014-06-13  Andi Kleen  <ak@linux.intel.com>
29569         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
29570         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
29571         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
29572         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
29574 2014-06-13  Meador Inge  <meadori@codesourcery.com>
29576         [BZ #16996]
29577         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
29578         that the cached result has been set before returning it.
29580 2014-06-12  Roland McGrath  <roland@hack.frob.com>
29582         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
29583         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
29584         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
29585         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
29586         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
29587         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
29589         * nptl/sysdeps/sparc/Makefile: Moved ...
29590         * sysdeps/sparc/nptl/Makefile: ... here.
29591         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
29592         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
29593         * nptl/sysdeps/sparc/tls.h: Moved ...
29594         * sysdeps/sparc/nptl/tls.h: ... here.
29595         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
29596         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
29597         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
29598         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
29599         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
29600         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
29601         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
29602         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
29603         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
29604         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
29605         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
29606         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
29607         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
29608         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
29609         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
29610         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
29611         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
29612         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
29613         Update #include.
29614         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
29615         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
29616         Update #include.
29617         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
29618         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
29619         Update #include.
29620         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
29621         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
29622         Update #include.
29624         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29626         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
29627         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
29629         * sysdeps/pthread/posix-timer.h: Include <list.h>.
29630         (struct list_links): Type removed.
29631         (struct thread_node, struct timer_node): Replace struct list_links
29632         with struct list_head.
29633         (list_unlink_ip): Likewise.
29634         * sysdeps/pthread/timer_routines.c
29635         (timer_free_list, thread_free_list, thread_active_list): Likewise.
29636         (list_append, list_insbefore): Likewise.
29637         (list_init): Function removed.
29638         (thread_init, init_module): Use INIT_LIST_HEAD instead.
29639         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
29640         * sysdeps/pthread/Makefile: ... here, new file.
29642         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
29643         * sysdeps/nptl/Implies: ... here.
29644         * sysdeps/unix/sysv/linux/Implies: Add nptl.
29645         * nptl/sysdeps/pthread/list.h: Moved ...
29646         * include/list.h: ... here.
29647         * nptl/sysdeps/pthread/createthread.c: Moved ...
29648         * nptl/createthread.c: ... here.
29649         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
29650         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
29651         * nptl/pt-longjmp.c: ... here.
29652         * nptl/sysdeps/pthread/Makefile: Moved ...
29653         * sysdeps/nptl/Makefile: ... here.
29654         * nptl/sysdeps/pthread/Subdirs: Moved ...
29655         * sysdeps/nptl/Subdirs: ... here.
29656         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
29657         * sysdeps/nptl/aio_misc.h: ... here.
29658         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
29659         * sysdeps/nptl/bits/libc-lock.h: ... here.
29660         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
29661         * sysdeps/nptl/bits/libc-lockP.h: ... here.
29662         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
29663         * sysdeps/nptl/bits/stdio-lock.h: ... here.
29664         * nptl/sysdeps/pthread/configure: Moved ...
29665         * sysdeps/nptl/configure: ... here.
29666         * nptl/sysdeps/pthread/configure.ac: Moved ...
29667         * sysdeps/nptl/configure.ac: ... here.
29668         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
29669         * sysdeps/nptl/gai_misc.h: ... here.
29670         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
29671         * sysdeps/nptl/librt-cancellation.c: ... here.
29672         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
29673         * sysdeps/nptl/malloc-machine.h: ... here.
29674         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
29675         * sysdeps/nptl/pthread-functions.h: ... here.
29676         * nptl/sysdeps/pthread/pthread.h: Moved ...
29677         * sysdeps/nptl/pthread.h: ... here.
29678         * nptl/sysdeps/pthread/setxid.h: Moved ...
29679         * sysdeps/nptl/setxid.h: ... here.
29680         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
29681         * sysdeps/nptl/sigfillset.c: ... here.
29682         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
29683         * sysdeps/nptl/tcb-offsets.h: ... here.
29684         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
29685         * sysdeps/nptl/tst-mqueue8x.c: ... here.
29686         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
29687         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
29688         * nptl/sysdeps/pthread/allocalim.h: Moved ...
29689         * sysdeps/pthread/allocalim.h: ... here.
29690         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
29691         * sysdeps/pthread/bits/sigthread.h: ... here.
29692         * nptl/sysdeps/pthread/flockfile.c: Moved ...
29693         * sysdeps/pthread/flockfile.c: ... here.
29694         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
29695         * sysdeps/pthread/ftrylockfile.c: ... here.
29696         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
29697         * sysdeps/pthread/funlockfile.c: ... here.
29698         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
29699         * sysdeps/pthread/posix-timer.h: ... here.
29700         * nptl/sysdeps/pthread/timer_create.c: Moved ...
29701         * sysdeps/pthread/timer_create.c: ... here.
29702         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
29703         * sysdeps/pthread/timer_delete.c: ... here.
29704         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
29705         * sysdeps/pthread/timer_getoverr.c: ... here.
29706         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
29707         * sysdeps/pthread/timer_gettime.c: ... here.
29708         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
29709         * sysdeps/pthread/timer_routines.c: ... here.
29710         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
29711         * sysdeps/pthread/timer_settime.c: ... here.
29712         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
29713         * sysdeps/pthread/tst-timer.c: ... here.
29714         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
29715         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
29717         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
29718         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
29720         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
29721         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
29722         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
29723         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
29724         Update #include target.
29725         * nptl/sysdeps/i386/i686/Makefile: Moved ...
29726         * sysdeps/i386/i686/nptl/Makefile: ... here.
29727         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
29728         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
29729         Update #include target.
29730         * nptl/sysdeps/i386/i686/tls.h: Moved ...
29731         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
29732         * nptl/sysdeps/i386/Makefile: Moved ...
29733         * sysdeps/i386/nptl/Makefile: ... here.
29734         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
29735         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
29736         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
29737         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
29738         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
29739         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
29740         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
29741         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
29742         * sysdeps/i386/nptl/pthreaddef.h: ... here.
29743         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
29744         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
29745         * nptl/sysdeps/i386/tls.h: Moved ...
29746         * sysdeps/i386/nptl/tls.h: ... here.
29748         * sysdeps/sh/Makefile [$(subdir) = csu]
29749         (gen-as-const-headers): Add tcb-offsets.sym.
29750         * nptl/sysdeps/sh/Makefile: File removed.
29751         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
29752         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
29753         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
29754         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
29755         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
29756         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
29757         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
29758         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
29759         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
29760         * sysdeps/sh/nptl/pthreaddef.h: ... here.
29761         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
29762         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
29763         * nptl/sysdeps/sh/tls.h: Moved ...
29764         * sysdeps/sh/nptl/tls.h: ... here.
29765         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
29766         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
29767         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
29768         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
29769         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
29770         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
29771         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
29772         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
29773         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
29774         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
29775         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
29776         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
29777         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
29778         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
29779         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
29780         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
29781         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
29782         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
29783         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
29784         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
29785         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
29786         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
29787         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
29788         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
29789         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
29790         Moved ...
29791         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
29792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
29793         Moved ...
29794         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
29795         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
29796         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
29797         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
29798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
29799         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
29800         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
29801         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
29802         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
29803         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
29804         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
29805         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
29806         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
29807         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
29808         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
29809         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
29810         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
29811         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
29812         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
29814 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29816         * posix/spawn_faction_addopen.c: Include string.h.
29818 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29820         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
29821         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
29822         * nptl/sysdeps/x86_64/Makefile: Moved ...
29823         * sysdeps/x86_64/nptl/Makefile: ... here.
29824         * nptl/sysdeps/x86_64/configure: Moved ...
29825         * sysdeps/x86_64/nptl/configure: ... here.
29826         * nptl/sysdeps/x86_64/configure.ac: Moved ...
29827         * sysdeps/x86_64/nptl/configure.ac: ... here.
29828         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
29829         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
29830         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
29831         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
29832         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
29833         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
29834         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
29835         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
29836         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
29837         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
29838         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
29839         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
29840         * nptl/sysdeps/x86_64/tls.h: Moved ...
29841         * sysdeps/x86_64/nptl/tls.h: ... here.
29842         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
29843         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
29844         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
29845         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
29847         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
29849 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29853 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
29855         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
29856         type.
29857         [POSIX] (off_t): Likewise.
29858         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
29859         [POSIX] (S_ISBLK): Require macro.
29860         [POSIX] (S_ISCHR): Likewise.
29861         [POSIX] (S_ISDIR): Likewise.
29862         [POSIX] (S_ISFIFO): Likewise.
29863         [POSIX] (S_ISREG): Likewise.
29864         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
29865         optional-macro.
29866         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
29867         type.
29868         [POSIX] (time_t): Likewise.
29869         [POSIX] (timer_t): Likewise.
29871 2014-06-11  Florian Weimer  <fweimer@redhat.com>
29873         [BZ #17048]
29874         * posix/spawn_int.h (struct __spawn_action): Make the path string
29875         non-const to support deallocation.
29876         * posix/spawn_faction_addopen.c
29877         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
29878         * posix/spawn_faction_destroy.c
29879         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
29880         path in all spawn_do_open actions.
29881         * posix/tst-spawn.c (do_test): Exercise the copy operation in
29882         posix_spawn_file_actions_addopen.
29884 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
29886         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
29887         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
29888         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
29889         conditional code always true.
29890         (__libc_vfork): New alias.
29892 2014-06-11  Roland McGrath  <roland@hack.frob.com>
29894         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29895         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
29897         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
29899         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29900         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
29902         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
29903         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
29905         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29906         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
29908 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
29910         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
29911         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
29912         multiarch strcmp for PPC64.
29913         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
29914         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
29915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
29916         multiarch optimizations.
29917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
29918         (__libc_ifunc_impl_list): Likewise.
29920 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29922         * benchtests/scripts/validate_benchout.py: New script.
29923         * benchtests/Makefile (bench-func): Call it.
29924         * benchtests/scripts/benchout.schema.json: New file.
29926 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
29928         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
29929         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
29930         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
29931         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
29932         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
29933         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
29934         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
29935         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
29936         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
29937         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
29938         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
29939         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
29940         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
29941         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
29942         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
29943         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
29944         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
29945         Moved ...
29946         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
29947         ... here.
29948         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
29949         Moved ...
29950         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
29951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
29952         Moved ...
29953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
29954         ... here.
29955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
29956         Moved ...
29957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
29958         ... here.
29959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
29960         Moved ...
29961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
29962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
29963         Moved ...
29964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
29965         ... here.
29966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
29967         Moved ...
29968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
29969         ... here.
29970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
29971         Moved ...
29972         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
29973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
29974         Moved ...
29975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
29976         ... here.
29977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
29978         Moved ...
29979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
29980         ... here.
29981         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
29982         Moved ...
29983         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
29984         ... here.
29985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
29986         Moved ...
29987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
29988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
29989         Moved ...
29990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
29991         ... here.
29992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
29993         Moved ...
29994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
29995         ... here.
29996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
29997         Moved ...
29998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
29999         ... here.
30000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
30001         Moved ...
30002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
30003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
30004         Moved ...
30005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
30006         ... here.
30007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
30008         Moved ...
30009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
30010         ... here.
30011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
30012         Moved ...
30013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
30014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
30015         Moved ...
30016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
30017         ... here.
30018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
30019         Moved ...
30020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
30021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
30022         Moved ...
30023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
30024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
30025         Moved ...
30026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
30027         ... here.
30028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
30029         Moved ...
30030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
30031         ... here.
30032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
30033         Moved ...
30034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
30035         ... here.
30036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
30037         Moved ...
30038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
30039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
30040         Moved ...
30041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
30042         ... here.
30043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
30044         Moved ...
30045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
30046         ... here.
30047         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
30048         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
30049         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
30050         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
30051         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
30052         Moved ...
30053         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
30054         ... here.
30055         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
30056         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
30057         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
30058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
30059         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
30060         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
30061         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
30062         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
30063         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
30064         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
30065         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
30066         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
30067         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
30068         Moved ...
30069         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
30070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
30071         Moved ...
30072         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
30073         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
30074         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
30075         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
30076         Moved ...
30077         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
30078         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
30079         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
30080         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
30081         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
30082         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
30083         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
30085 2014-06-10  Wilco  <wdijkstr@arm.com>
30087         * math/test-fenv-return.c: New file.
30088         * math/Makefile: Add new test test-fenv-return.
30090 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
30092         [BZ #17042]
30093         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
30094         when x - 1 is zero.
30095         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
30096         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
30097         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
30098         0.0L for an argument of 1.0L.
30099         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
30100         Likewise.
30101         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
30102         value when x - 1 is zero.
30103         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
30104         * sysdeps/i386/fpu/libm-test-ulps: Update.
30105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30107 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
30109         [BZ #15119]
30110         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
30112 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30114         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
30115         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
30117 2014-06-09  Roland McGrath  <roland@hack.frob.com>
30119         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30120         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
30122         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30123         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
30125         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30126         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
30128         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
30129         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
30131         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
30132         if not already defined.
30133         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
30134         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
30135         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
30136         (TLS_INIT_TP): Use it.
30137         (TLS_DEFINE_INIT_TP): New macro.
30138         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
30140 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
30142         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
30143         constant.
30144         [POSIX] (IXANY): Likewise.
30145         [POSIX] (OLCUC): Likewise.
30146         [POSIX || POSIX2008] (CBAUD): Do not allow.
30147         [POSIX || POSIX2008] (DEFECHO): Likewise.
30148         [POSIX || POSIX2008] (ECHOCTL): Likewise.
30149         [POSIX || POSIX2008] (ECHOKE): Likewise.
30150         [POSIX || POSIX2008] (ECHOPRT): Likewise.
30151         [POSIX || POSIX2008] (EXTA): Likewise.
30152         [POSIX || POSIX2008] (EXTB): Likewise.
30153         [POSIX || POSIX2008] (FLUSHO): Likewise.
30154         [POSIX || POSIX2008] (LOBLK): Likewise.
30155         [POSIX || POSIX2008] (PENDIN): Likewise.
30156         [POSIX || POSIX2008] (SWTCH): Likewise.
30157         [POSIX || POSIX2008] (VDISCARD): Likewise.
30158         [POSIX || POSIX2008] (VDSUSP): Likewise.
30159         [POSIX || POSIX2008] (VLNEXT): Likewise.
30160         [POSIX || POSIX2008] (VREPRINT): Likewise.
30161         [POSIX || POSIX2008] (VSTATUS): Likewise.
30162         [POSIX || POSIX2008] (VWERASE): Likewise.
30163         (B*): Change to B[0123456789]*.
30164         * conform/data/time.h-data [POSIX || UNIX98]
30165         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
30166         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30167         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
30168         [POSIX] (tm_*): Do not allow.
30170 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
30172         * Makefile (install): Don't set LANGUAGE.
30173         * Makefile.in (install): Likewise.
30174         * assert/Makefile (test-assert-ENV): Remove variable.
30175         (test-assert-perr-ENV): Likewise.
30176         * elf/Makefile (neededtest4-ENV): Likewise.
30177         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
30178         [$(cross-compiling) = no]: Don't set LANGUAGE.
30179         * io/ftwtest-sh (LANG): Remove variable.
30180         * libio/Makefile (tst-widetext-ENV): Likewise.
30181         * manual/install.texi (Running make install): Don't refer to
30182         environment settings for make install.
30183         * INSTALL: Regenerated.
30184         * nptl/tst-tls6.sh: Don't set LANG.
30185         * posix/globtest.sh (LANG): Remove variable.
30186         * string/Makefile (tester-ENV): Likewise.
30187         (inl-tester-ENV): Likewise.
30188         (noinl-tester-ENV): Likewise.
30189         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
30190         [$(cross-compiling) = no]: Don't set LANGUAGE.
30191         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
30192         without explicit environment settings.
30194 2014-06-06  Roland McGrath  <roland@hack.frob.com>
30196         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
30197         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
30198         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
30199         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
30201 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
30203         * crypt/crypt-private.h [DOS]: Add some includes taken from the
30204         other files in the crypt directory.
30205         * crypt/crypt.c: Remove duplicate includes.
30206         * crypt/crypt-entry.c: Likewise.
30207         * crypt/crypt_util.c: Likewise.
30209 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
30211         * Makeconfig (run-program-env): New variable.
30212         (run-program-prefix-before-env): Likewise.
30213         (run-program-prefix-after-env): Likewise.
30214         (run-program-prefix): Define in terms of new variables.
30215         (built-program-cmd-before-env): New variable.
30216         (built-program-cmd-after-env): Likewise.
30217         (built-program-cmd): Define in terms of new variables.
30218         (test-program-prefix-before-env): New variable.
30219         (test-program-prefix-after-env): Likewise.
30220         (test-program-prefix): Define in terms of new variables.
30221         (test-program-cmd-before-env): New variable.
30222         (test-program-cmd-after-env): Likewise.
30223         (test-program-cmd): Define in terms of new variables.
30224         * Rules (make-test-out): Use $(run-program-env).
30225         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
30226         (help): Do not mention environment variables.  Mention
30227         --timeoutfactor option.
30228         (timeoutfactor): New variable.
30229         (blacklist_exports): Remove function.
30230         (exports): Remove variable.
30231         (command): Do not include ${exports}.
30232         * manual/install.texi (Configuring and compiling): Do not mention
30233         test wrappers preserving environment variables.  Mention that last
30234         assignment to a variable must take precedence.
30235         * INSTALL: Regenerated.
30236         * benchtests/Makefile (run-bench): Use $(run-program-env).
30237         * catgets/Makefile ($(objpfx)test1.cat): Use
30238         $(built-program-cmd-before-env), $(run-program-env) and
30239         $(built-program-cmd-after-env).
30240         ($(objpfx)test2.cat): Do not specify environment variables
30241         explicitly.
30242         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
30243         $(run-program-env) and $(built-program-cmd-after-env).
30244         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
30245         $(run-program-env) and $(test-program-cmd-after-env).
30246         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
30247         explicitly.
30248         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
30249         run_program_env and test_program_cmd_after_env arguments.
30250         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
30251         * elf/tst-pathopt.sh: Use run_program_env argument.
30252         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
30253         $(test-wrapper-env) and $(run-program-env).
30254         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
30255         run_program_env arguments.
30256         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
30257         * intl/Makefile ($(objpfx)tst-gettext.out): Use
30258         $(test-program-prefix-before-env), $(run-program-env) and
30259         $(test-program-prefix-after-env).
30260         ($(objpfx)tst-gettext2.out): Likewise.
30261         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
30262         run_program_env and test_program_prefix_after_env arguments.
30263         * intl/tst-gettext2.sh: Likewise.
30264         * intl/tst-gettext4.sh: Do not set environment variables
30265         explicitly.
30266         * intl/tst-gettext6.sh: Likewise.
30267         * intl/tst-translit.sh: Likewise.
30268         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
30269         $(test-program-prefix-before-env), $(run-program-env) and
30270         $(test-program-prefix-after-env).
30271         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
30272         run_program_env and test_program_prefix_after_env arguments.
30273         * math/Makefile (run-regen-ulps): Use $(run-program-env).
30274         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
30275         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
30276         explicitly with each use of ${test_wrapper_env}.
30277         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
30278         $(test-program-prefix-before-env), $(run-program-env) and
30279         $(test-program-prefix-after-env).
30280         * posix/tst-getconf.sh: Do not set environment variables
30281         explicitly.
30282         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
30283         run_program_env and test_program_prefix_after_env arguments.
30284         * stdio-common/tst-printf.sh: Do not set environment variables
30285         explicitly.
30286         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
30287         $(test-program-prefix-before-env), $(run-program-env) and
30288         $(test-program-prefix-after-env).
30289         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
30290         run_program_env and test_program_prefix_after_env arguments.
30291         Split $test calls into $test_pre and $test.
30292         * timezone/Makefile (build-testdata): Use
30293         $(built-program-cmd-before-env), $(run-program-env) and
30294         $(built-program-cmd-after-env).
30296 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30298         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
30299         strlen for non SHARED builds.
30301 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30303         * nptl/allocatestack.c (check_list): Inlined function...
30304         (__reclaim_stacks): ... here.
30306 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30308         [BZ #15698]
30309         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
30310         memory overrun.
30312 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
30314         * Rules (make-test-out): Include
30315         LOCPATH=$(common-objpfx)localedata in default environment.
30316         * debug/Makefile (tst-chk1-ENV): Remove variable.
30317         (tst-chk2-ENV): Likewise.
30318         (tst-chk3-ENV): Likewise.
30319         (tst-chk4-ENV): Likewise.
30320         (tst-chk5-ENV): Likewise.
30321         (tst-chk6-ENV): Likewise.
30322         (tst-lfschk1-ENV): Likewise.
30323         (tst-lfschk2-ENV): Likewise.
30324         (tst-lfschk3-ENV): Likewise.
30325         (tst-lfschk4-ENV): Likewise.
30326         (tst-lfschk5-ENV): Likewise.
30327         (tst-lfschk6-ENV): Likewise.
30328         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
30329         (tst-iconv7-ENV): Likewise.
30330         * intl/Makefile (LOCPATH-ENV): Likewise.
30331         (tst-codeset-ENV): Likewise.
30332         (tst-gettext3-ENV): Likewise.
30333         (tst-gettext5-ENV): Likewise.
30334         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
30335         (tst-fopenloc-ENV): Likewise.
30336         (tst-fgetws-ENV): Remove variable.
30337         (tst-ungetwc1-ENV): Likewise.
30338         (tst-ungetwc2-ENV): Likewise.
30339         (bug-ungetwc2-ENV): Likewise.
30340         (tst-swscanf-ENV): Likewise.
30341         (bug-ftell-ENV): Likewise.
30342         (tst-fgetwc-ENV): Likewise.
30343         (tst-fseek-ENV): Likewise.
30344         (tst-ftell-partial-wide-ENV): Likewise.
30345         (tst-ftell-active-handler-ENV): Likewise.
30346         (tst-ftell-append-ENV): Likewise.
30347         * posix/Makefile (tst-fnmatch-ENV): Likewise.
30348         (tst-regexloc-ENV): Likewise.
30349         (bug-regex1-ENV): Likewise.
30350         (tst-regex-ENV): Likewise.
30351         (tst-regex2-ENV): Likewise.
30352         (bug-regex5-ENV): Likewise.
30353         (bug-regex6-ENV): Likewise.
30354         (bug-regex17-ENV): Likewise.
30355         (bug-regex18-ENV): Likewise.
30356         (bug-regex19-ENV): Likewise.
30357         (bug-regex20-ENV): Likewise.
30358         (bug-regex22-ENV): Likewise.
30359         (bug-regex23-ENV): Likewise.
30360         (bug-regex25-ENV): Likewise.
30361         (bug-regex26-ENV): Likewise.
30362         (bug-regex30-ENV): Likewise.
30363         (bug-regex32-ENV): Likewise.
30364         (bug-regex33-ENV): Likewise.
30365         (bug-regex34-ENV): Likewise.
30366         (bug-regex35-ENV): Likewise.
30367         (tst-rxspencer-ENV): Likewise.
30368         (tst-rxspencer-no-utf8-ENV): Likewise.
30369         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
30370         (tst-sscanf-ENV): Likewise.
30371         (tst-swprintf-ENV): Likewise.
30372         (tst-swscanf-ENV): Likewise.
30373         (test-vfprintf-ENV): Likewise.
30374         (scanf13-ENV): Likewise.
30375         (bug14-ENV): Likewise.
30376         (tst-grouping-ENV): Likewise.
30377         * stdlib/Makefile (tst-strtod-ENV): Likewise.
30378         (tst-strtod3-ENV): Likewise.
30379         (tst-strtod4-ENV): Likewise.
30380         (tst-strtod5-ENV): Likewise.
30381         (testmb2-ENV): Likewise./
30382         * string/Makefile (tst-strxfrm-ENV): Likewise.
30383         (tst-strxfrm2-ENV): Likewise.
30384         (bug-strcoll1-ENV): Likewise.
30385         (test-strcasecmp-ENV): Likewise.
30386         (test-strncasecmp-ENV): Likewise.
30387         * time/Makefile (tst-strptime-ENV): Likewise.
30388         (tst-ftime_l-ENV): Likewise.
30389         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
30390         (tst-mbrtowc-ENV): Likewise.
30391         (tst-wcrtomb-ENV): Likewise.
30392         (tst-mbrtowc2-ENV): Likewise.
30393         (tst-c16c32-1-ENV): Likewise.
30394         (tst-mbsnrtowcs-ENV): Likewise.
30396 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
30398         * manual/resource.texi (How to get information about the memory
30399         subsystem?): Fix typo.
30400         Reported by Peon de la Parra Ivan <peon@keba.com>
30402 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
30404         [BZ #16882]
30405         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
30406         (pthread_spin_lock): Branch out of spin loop to proper location.
30407         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
30408         (pthread_spin_lock): Likewise.
30410         * nptl/tst-spin4.c: New test.
30411         * nptl/Makefile (tests): Add tst-spin4.
30413 2014-06-03  Andreas Schwab  <schwab@suse.de>
30415         [BZ #15946]
30416         * resolv/res_send.c (send_dg): Reload file descriptor after
30417         calling reopen.
30419 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
30421         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30423 2014-06-03  Richard Henderson  <rth@redhat.com>
30425         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
30426         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
30427         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
30428         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
30429         in the SAVE_PID block.
30430         (__libc_vfork): New alias.
30431         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
30433         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
30434         child in registers, not on the stack.  Remove RESET_PID conditionals.
30435         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
30437 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
30439         * sysdeps/aarch64/libm-test-ulps: Regenerate.
30441 2014-06-03  Wilco  <wdijkstr@arm.com>
30443         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
30444         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
30445         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30446         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
30447         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
30448         Likewise.
30450 2014-06-03  Wilco  <wdijkstr@arm.com>
30452         * sysdeps/aarch64/fpu/math_private.h
30453         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
30454         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
30455         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
30456         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
30457         Fix declarations.
30459 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30461         * crypt/crypt-private.h: Include ufc-crypt.h.
30462         (__b64_from_24bit): Declare extern.
30463         * crypt/crypt_util.c(__b64_from_24bit): New function.
30464         (b64t): New static const variable.
30465         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
30466         (b64t): Remove variable.
30467         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
30468         * crypt/sha256-crypt.c: Include crypt-private.h.
30469         (b64t): Remove variable.
30470         (__sha256_crypt_r): Remove b64_from_24bit and replace
30471         with __b64_from_24bit.
30472         * crypt/sha512-crypt.c: Likewise.
30474 2014-06-02  Roland McGrath  <roland@hack.frob.com>
30476         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
30477         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
30478         Label the code __libc_vfork rather than __vfork.
30479         [!NOT_IN_libc] (vfork): Define as weak alias.
30480         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
30481         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
30482         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
30484 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30486         * malloc/malloc.c (malloc_info): Fix format specifier for
30487         n_mmaps.
30489 2014-06-02  Wilco  <wdijkstr@arm.com>
30491         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
30492         FPCR write.
30494 2014-06-02  Wilco  <wdijkstr@arm.com>
30496         [BZ #17009]
30497         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
30498         Rewrite to reduce FPCR/FPSR accesses.
30500 2014-06-01  David S. Miller  <davem@davemloft.net>
30502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30504 2014-05-31  David S. Miller  <davem@davemloft.net>
30506         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
30507         to occur in round to nearest mode when |x| >= 2.0
30509 2014-05-30  Richard Henderson  <rth@twiddle.net>
30511         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
30512         (PSEUDO_RET_NOERRNO): Remove.
30513         (ret): Don't redefine.
30514         (ret_NOERRNO): Define in terms of ret.
30515         (ret_ERRVAL): Likewise.
30517         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
30518         use of PSEUDO_RET; perform the error check directly.
30520 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
30522         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
30523         with __int128_t.
30525 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30527         * malloc/malloc (malloc_info): Fix formatting.
30529 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30530             Roland McGrath  <roland@hack.frob.com>
30532         * malloc/malloc (malloc_info): Also print mmapped statistics.
30534 2014-05-30  Roland McGrath  <roland@hack.frob.com>
30536         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
30537         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
30539 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
30541         * malloc/malloc.c (malloc_info): Inline mi_arena.
30543 2014-05-29  Richard Henderson  <rth@twiddle.net>
30545         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
30546         Remove comma before expanding ASM_ARGS_##nr.
30547         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
30548         Make _x0 a strict output; make _x8 a strict input; adjust expansion
30549         of ASM_ARGS_##nr.
30550         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
30551         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
30552         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
30553         (ASM_ARGS_1): Add leading comma.
30555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
30556         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
30557         to __errno_location.
30558         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
30559         Remove the expected plt for __errno_location.
30561         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30562         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
30563         call to __read_tp.
30565         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30566         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
30567         it and break it down.
30568         (DOCARGS_0, DOCARGS_1): Do nothing.
30569         (DOCARGS_2): Update to store into the new stack frame.
30570         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
30571         (UNDOCARGS_1): Update to restore from the new stack frame.
30572         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
30573         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
30575         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30576         (SINGLE_THREAD_P): New parameter for result regno.
30577         (PSEUDO): Update to match; use cbz instead of beq.
30579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30580         Use ENTRY to define the _nocancel entry point.  Share the syscall
30581         and syscall error check paths with the cancel path.
30582         (PSEUDO_END): New.
30584         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
30585         whitespace; tabs before and after asm mnemonics.
30587 2014-05-29  Eric Wong  <normalperson@yhbt.net>
30589         [BZ #15132]
30590         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30591         Call fstat64 or stat64 internally, depending on arguments passed.
30592         Replace stat buffer argument with file descriptor argument.
30593         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
30594         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
30595         Pass fd to __internal_statvfs instead of calling fstat64.
30596         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
30597         Pass fd to __internal_statvfs64 instead of calling fstat64.
30598         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
30599         Pass -1 to __internal_statvfs instead of calling stat64.
30600         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
30601         Pass -1 to __internal_statvfs64 instead of calling stat64.
30603 2014-05-28  Roland McGrath  <roland@hack.frob.com>
30605         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
30606         that was previously under [RESET_PID].
30607         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
30609         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
30610         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
30612 2014-05-27  Roland McGrath  <roland@hack.frob.com>
30614         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
30616         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
30617         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
30619 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
30621         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
30623 2014-05-27  Andreas Schwab  <schwab@suse.de>
30625         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
30626         TLS_INIT_TP macro.
30627         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
30628         * elf/rtld.c (init_tls, dl_main): Likewise.
30629         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
30630         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
30631         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
30632         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
30633         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
30634         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
30635         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
30636         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
30637         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
30638         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
30639         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
30640         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
30641         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
30642         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
30643         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
30644         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
30645         * sysdeps/generic/tls.h: Update description.
30647 2014-05-27  Will Newton  <will.newton@linaro.org>
30649         [BZ #16990]
30650         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
30651         and restore r2 rather than just restoring.
30653 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30655         [BZ #16724]
30656         * libio/tst-ftell-append.c: New test case.
30657         * libio/Makefile (tests): Add test case.
30658         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
30659         append mode.
30660         * libio/wfileops.c (do_ftell_wide): Likewise.
30662 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30664         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30666         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
30667         ...
30668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
30669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30670         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
30671         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
30672         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
30673         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
30674         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
30675         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
30676         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30677         Moved ...
30678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
30679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30680         Moved ...
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
30682         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
30683         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
30684         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
30685         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
30686         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
30687         ...
30688         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
30689         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
30690         Moved ...
30691         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
30692         here.
30693         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
30694         ...
30695         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
30696         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
30697         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
30699         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
30700         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
30701         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
30702         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
30704         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
30705         merge into ...
30706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
30707         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
30708         ...
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
30710         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
30711         ...
30712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
30713         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
30714         Moved ...
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
30716         here.
30717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
30718         Moved ...
30719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
30720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
30721         Moved ...
30722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
30725         conditional [RESET_PID].
30726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
30727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
30728         removed.
30729         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
30730         removed.
30732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
30733         <tcb-offsets.h>.
30734         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
30735         (__libc_vfork): New strong alias.
30736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
30737         removed.
30738         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
30739         Removed.
30741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
30742         <tcb-offsets.h>.
30743         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
30744         (__libc_vfork): New strong alias.
30745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
30746         removed.
30747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
30748         removed.
30750 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
30752         * malloc/malloc.c (mi_arena): New function.
30753         (malloc_info): Remove nested function mi_arena. Call non-nosted
30754         function mi_arena.
30756 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30758         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
30759         by insrwi.
30760         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
30761         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
30762         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
30763         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
30764         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
30765         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
30766         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
30768 2014-05-26  Andreas Schwab  <schwab@suse.de>
30770         [BZ #16984]
30771         * locale/programs/repertoire.c (repertoire_read): Add slash
30772         between I18NPATH element and file name.
30773         * locale/programs/locfile.c (locfile_read): Likewise.
30775 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30777         * nptl/pthread_mutexattr_settype.c
30778         (__pthread_mutexattr_settype):
30779         Disable lock elision for PTHREAD_MUTEX_NORMAL.
30781 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
30783         * nptl/tst-mutex5 (do_test):
30784         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
30786 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30788         * benchtests/README: Document 'init' directive.
30789         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
30790         BENCH_INIT.
30791         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
30792         (parse_file): Recognize 'init' directive.
30794 2014-05-26  Kyle McMartin  <kyle@redhat.com>
30796         [BZ #16796]
30797         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
30798         alignment of struct pthread.
30800 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30802         [BZ #16878]
30803         * nscd/netgroupcache.c (addgetnetgrentX): Look for
30804         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30805         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
30806         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
30808 2014-05-25  Richard Henderson  <rth@twiddle.net>
30810         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
30811         (SINGLE_THREAD_P_PIC): Remove.
30812         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
30813         (SINGLE_THREAD_P_PIC): Remove.
30815         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
30816         branch to syscall error ...
30817         (PSEUDO): ... here.
30818         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
30819         from __local_syscall_error to .Lsyscall_error.
30820         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
30821         (SYSCALL_ERROR): Update label name.
30823         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
30824         Do not use DOARGS/UNDOARGS.
30825         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
30826         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
30827         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
30828         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30829         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
30831         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
30832         block comment.
30834         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
30835         define if !NOT_IN_libc.
30836         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
30837         define with non-default symbol versions.
30839 2014-05-23  Richard Henderson  <rth@twiddle.net>
30841         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
30842         (vfork, __vfork): Define via compat_symbol.
30844         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
30845         [!HAVE_IFUNC] (vfork_compat): Remove.
30846         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
30848 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30850         [BZ #16978]
30851         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
30852         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
30853         variable.
30855 2014-05-23  Richard Henderson  <rth@twiddle.net>
30857         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
30858         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
30859         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
30860         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
30862         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
30863         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
30864         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
30865         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
30866         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
30867         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
30868         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
30869         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
30870         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
30871         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
30872         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
30873         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
30874         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
30875         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
30876         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
30877         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
30878         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
30879         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
30880         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
30881         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
30882         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
30883         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
30884         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
30885         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
30886         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
30887         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
30888         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
30889         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
30890         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
30891         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
30892         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
30893         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
30894         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
30895         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
30896         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
30897         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
30898         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
30899         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
30900         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
30901         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
30902         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
30903         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
30904         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
30905         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
30906         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
30907         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
30908         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
30909         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
30910         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
30911         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
30912         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
30913         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
30914         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
30915         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
30916         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
30917         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
30919         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
30920         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
30921         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
30922         before exiting on error.
30923         (__libc_vfork): New strong alias.
30924         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
30925         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
30927         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
30928         that was previously under [RESET_PID].
30929         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
30931         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
30933 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
30935         [BZ #16977]
30936         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
30937         value when x - 1 is zero.
30938         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
30939         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
30940         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
30941         0.0L for an argument of 1.0L.
30942         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
30943         Likewise.
30944         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
30945         value when x - 1 is zero.
30946         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
30947         * sysdeps/i386/fpu/libm-test-ulps: Update.
30948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30950 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30952         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
30953         alphasort and versionsort.
30955 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30957         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30958         macro.
30959         [copysignf]: Likewise.
30961 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30963         * crypt/md5-crypt.c: Fix formatting.
30965 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30967         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
30968         (b64_from_24bit): New function.
30970 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30972         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
30973         libc_hidden_builtin_def to ifunc.
30974         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
30975         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
30977 2014-05-21  Roland McGrath  <roland@hack.frob.com>
30979         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
30980         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
30982 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
30984         * nscd/Depend (linuxthreads): Remove.
30985         (nptl): Add.
30986         * resolv/Depend (linuxthreads): Remove.
30987         * rt/Depend (linuxthreads): Remove.
30989         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
30990         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
30991         $(common-objpfx)elf/.
30992         (link-libc-before-gnulib): Likewise.
30993         (elfobjdir): Remove variable.
30994         * Makefile (install): Use $(elf-objpfx) instead of
30995         $(common-objpfx)elf/.
30996         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
30997         $(elfobjdir)/.
30998         (link-libc-deps): Likewise.
30999         ($(common-objpfx)libc.so): Likewise.
31000         ($(common-objpfx)linkobj/libc.so): Likewise.
31001         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
31002         instead of $(common-objpfx)elf/.
31003         (symbolic-link-list): Likewise.
31004         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
31005         [$(cross-compiling) = no]: Likewise.
31006         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
31007         $(elfobjdir)/.
31008         (static-gnulib-arch): Likewise.
31009         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
31010         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
31011         $(common-objpfx)elf/.
31013 2014-05-21  Richard Henderson  <rth@redhat.com>
31015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
31016         (SINGLE_THREAD_P): Use the correct width load.  Fold
31017         into the ldr offset.
31019         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
31020         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
31022 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
31024         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
31025         (libgcc_s_resume): Use __attribute_used__.
31026         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
31027         Likewise.
31029 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31031         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
31032         optimization when used with float constants.
31034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31036 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
31038         [BZ #16915]
31039         * locale/nl_langinfo_l.c: Make direct reference to every
31040         _nl_current_CATEGORY symbol.
31041         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
31042         (tests-static): Add tst-langinfo-static.
31043         (tests-special): Add tst-langinfo-static.out.
31044         ($(objpfx)tst-langinfo.out): Redirect output.
31045         ($(objpfx)tst-langinfo-static.out): New.
31046         * localedata/tst-langinfo.sh: Send output to stdout.
31047         * localedata/tst-langinfo-static.c: New file.
31049         [BZ #16965]
31050         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
31051         when the shift amount is modulo the limb size.
31053 2014-05-20  Richard Henderson  <rth@redhat.com>
31055         [BZ #16967]
31056         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
31057         Change type of sa_flags from unsigned int to int.
31059         [BZ #16966]
31060         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
31062         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
31064 2014-05-20  Will Newton  <will.newton@linaro.org>
31066         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
31067         Test the return value of the system call in the nocancel case.
31069 2014-05-20  Will Newton  <will.newton@linaro.org>
31070             Yvan Roux  <yvan.roux@linaro.org>
31072         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
31073         #include of asm/ptrace.h.
31074         (PTRACE_GET_THREAD_AREA): Remove #undef.
31075         (PTRACE_GETHBPREGS): Likewise.
31076         (PTRACE_SETHBPREGS): Likewise.
31077         (struct user_regs_struct): New structure.
31078         (struct user_fpsimd_struct): New structure.
31079         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
31080         #include of asm/ptrace.h and second #include of sys/user.h.
31081         (PTRACE_GET_THREAD_AREA): Remove #undef.
31082         (PTRACE_GETHBPREGS): Likewise.
31083         (PTRACE_SETHBPREGS): Likewise.
31084         (ELF_NGREG): Use new struct user_regs_struct.
31085         (elf_fpregset_t): Use new struct user_fpsimd_struct.
31087 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31089         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
31090         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
31092 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
31094         [BZ #16958]
31095         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
31096         membar to avoid block loads/stores to overlap previous stores.
31098 2014-05-17  Richard Henderson  <rth@redhat.com>
31100         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
31101         Create the __##syscall_name##_nocancel entry point.
31102         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
31103         Remove; let the sysdep-cancel.h code create it.
31105 2014-05-17  David S. Miller  <davem@davemloft.net>
31107         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
31108         Protect with __USE_GNU.
31109         (TIOCSET_TEMPT): Likewise.
31110         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31111         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
31112         these are already provided in bits/ioctl-types.h
31114 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31116         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
31117         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
31119         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
31120         Use wait4 regardless of [__NR_waitpid].
31122 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31124         PR libgcc/60166
31125         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
31126         (_FP_NANSIGN_Q): Set the quiet bit.
31128 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
31130         * benchtests/Makefile
31131         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
31132         not $(common-objpfx)math/libm.so.
31133         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
31134         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
31135         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
31136         $(common-objpfx)dlfcn/libdl.so.
31137         ($(objpfx)tst-audit8): Depend on $(libm), not
31138         $(common-objpfx)math/libm.so.
31139         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
31140         not $(common-objpfx)dlfcn/libdl.so.
31141         * math/Makefile
31142         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
31143         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
31144         [$(build-shared) = yes].
31145         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
31146         $(common-objpfx)nptl/libpthread.so.
31147         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
31148         $(common-objpfx)math/libm.so$(libm.so-version) or
31149         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
31150         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
31151         $(common-objpfx)dlfcn/libdl.so.
31152         * setjmp/Makefile (link-libm): Remove variable.
31153         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
31154         * stdio-common/Makefile (link-libm): Remove variable.
31155         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
31156         * stdlib/Makefile (link-libm): Remove variable.
31157         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
31158         ($(objpfx)tst-strtod-round): Likewise.
31159         ($(objpfx)tst-tininess): Likewise.
31160         ($(objpfx)tst-strtod-underflow): Likewise.
31161         ($(objpfx)tst-strtod6): Likewise.
31162         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
31163         $(libdl), not $(common-objpfx)nptl/libpthread.so and
31164         $(common-objpfx)dlfcn/libdl.so.
31166 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31168         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
31169         BSD terminal modes definitions.
31171 2014-05-16  Roland McGrath  <roland@hack.frob.com>
31173         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
31174         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
31176         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
31177         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
31178         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
31179         Don't do #include_next.
31180         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
31181         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
31182         Don't do #include_next.
31183         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
31184         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
31185         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
31186         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
31188 2014-05-16  Allan McRae  <allan@archlinux.org>
31190         * po/sv.po: Update Swedish translation from translation project.
31192         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
31193         in sed expression.
31195 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
31197         [BZ #16917]
31198         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
31199         errno if the TIOCGPTN ioctl fails with an error different than
31200         EINVAL.
31201         * login/tst-ptsname.c: New file.
31202         * login/Makefile (tests): Add tst-ptsname.
31204         [BZ #16943]
31205         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
31206         and prlimit64.
31208 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31210         [BZ #16849]
31211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
31212         herrno to return EAI_AGAIN.
31214 2014-05-14  Roland McGrath  <roland@hack.frob.com>
31216         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
31217         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
31218         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
31219         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
31220         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
31221         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
31222         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
31223         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
31224         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
31225         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
31226         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
31227         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
31228         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
31229         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
31230         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
31231         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
31232         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
31233         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
31234         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
31235         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
31236         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
31237         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
31238         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
31239         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
31240         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
31241         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
31242         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
31243         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
31244         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
31245         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
31246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
31247         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
31248         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
31249         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
31254         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
31256         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
31257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
31258         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
31259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
31260         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
31261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
31262         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
31263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
31264         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
31265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
31266         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
31267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
31268         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
31269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
31270         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
31271         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
31272         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
31273         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
31274         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
31275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
31276         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
31277         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
31278         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
31279         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31280         Moved ...
31281         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
31282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
31283         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
31284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
31285         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
31286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
31287         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
31288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
31289         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
31290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
31291         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
31292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
31293         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
31294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
31295         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
31296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
31297         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
31298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
31299         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
31300         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31301         Moved ...
31302         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
31303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
31304         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
31306         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
31307         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
31308         (libpthread-sysdep_routines): Add elision-related stuff here instead.
31309         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
31310         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
31311         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
31312         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
31313         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
31314         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
31315         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
31316         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
31317         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
31318         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
31319         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
31320         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
31321         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
31322         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
31323         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
31324         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
31325         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
31326         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
31327         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
31328         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
31329         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
31330         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
31331         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
31332         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
31333         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
31334         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
31335         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
31336         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
31338         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
31339         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
31341         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
31342         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
31343         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
31344         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
31345         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
31346         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
31347         Moved ...
31348         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
31349         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
31350         Moved ...
31351         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
31352         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
31353         Moved ...
31354         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
31355         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
31356         Moved ...
31357         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
31358         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
31359         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
31360         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
31361         Moved ...
31362         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
31363         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
31364         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
31365         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
31366         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
31367         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
31368         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
31369         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
31370         Moved ...
31371         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
31372         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31373         Moved ...
31374         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
31375         ... here.
31376         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
31377         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
31378         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
31379         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
31380         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31381         Moved ...
31382         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
31383         ... here.
31384         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
31385         Moved ...
31386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
31387         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
31388         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
31389         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
31390         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
31391         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
31394         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
31395         Moved ...
31396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
31397         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
31398         Moved ...
31399         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
31400         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
31401         Moved ...
31402         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
31403         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
31404         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
31405         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
31406         Moved ...
31407         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
31408         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
31409         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
31410         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
31411         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
31412         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
31413         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
31414         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
31415         Moved ...
31416         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
31417         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
31420         ... here.
31421         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
31422         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
31423         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
31424         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
31425         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31426         Moved ...
31427         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
31428         ... here.
31429         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
31430         Moved ...
31431         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
31432         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
31433         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
31434         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
31435         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
31436         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
31437         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
31438         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
31439         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
31440         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
31441         Moved ...
31442         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
31443         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
31444         Moved ...
31445         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
31446         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
31447         Moved ...
31448         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
31449         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
31450         Moved ...
31451         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
31452         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
31453         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
31454         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
31455         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
31456         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
31457         Moved ...
31458         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
31459         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
31460         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
31461         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
31462         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
31463         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
31464         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
31465         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
31466         Moved ...
31467         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
31468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31469         Moved ...
31470         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
31471         ... here.
31472         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
31473         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
31474         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
31475         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
31476         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31477         Moved ...
31478         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
31479         ... here.
31480         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
31481         Moved ...
31482         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
31483         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
31484         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
31485         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
31486         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
31487         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
31488         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
31489         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
31490         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
31491         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
31492         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
31494         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
31495         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
31497         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
31498         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
31500         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
31501         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
31502         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
31503         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
31504         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
31505         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
31506         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
31507         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
31508         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
31509         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
31510         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
31511         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
31512         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
31513         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
31514         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
31515         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
31516         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
31517         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
31518         Moved ...
31519         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
31520         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
31521         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
31522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
31523         Moved ...
31524         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
31525         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
31526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
31527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
31528         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
31529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
31530         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
31531         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
31532         Moved ...
31533         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
31534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
31535         Moved ...
31536         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
31537         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
31538         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
31539         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
31540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
31541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
31542         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
31543         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
31544         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
31545         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
31546         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
31547         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
31548         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
31549         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
31550         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
31551         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
31552         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
31554         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
31555         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
31556         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
31557         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
31558         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
31560         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
31561         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
31562         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
31563         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
31564         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
31565         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
31566         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
31567         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
31568         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
31569         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
31571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
31572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
31574         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
31575         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
31576         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
31577         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
31578         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
31579         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
31580         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
31581         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
31582         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
31583         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
31584         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
31585         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
31586         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
31587         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
31588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
31589         Update #include.
31590         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
31591         Likewise.
31592         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
31593         Likewise.
31594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
31595         Likewise.
31596         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
31597         Likewise.
31598         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
31599         Likewise.
31600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
31601         Likewise.
31602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
31603         Likewise.
31604         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
31605         Likewise.
31606         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
31607         Likewise.
31608         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
31609         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
31610         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
31611         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
31612         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
31613         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
31614         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
31615         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
31616         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
31617         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
31618         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
31619         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
31620         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
31621         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
31622         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
31624         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
31625         that was previously under [RESET_PID].
31626         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
31627         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
31628         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
31630         * sysdeps/i386/nptl/Implies: New file.
31631         * sysdeps/x86_64/nptl/Implies: New file.
31632         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
31633         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
31634         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
31635         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
31637         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
31638         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31639         (__libc_vfork): New strong alias.
31640         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
31641         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
31643         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
31644         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31645         (__libc_vfork): New strong alias.
31646         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
31647         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
31649         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
31650         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
31651         (__libc_vfork): New strong alias.
31652         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
31653         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
31654         * nptl/pt-vfork.c: New file.
31655         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
31656         (libpthread: GLIBC_2.20): New version set (empty).
31658 2014-05-14  Will Newton  <will.newton@linaro.org>
31660         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
31661         rather than #if.
31663 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31665         [BZ #16564]
31666         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
31667         arguments with exponent 65 or above.
31668         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
31669         arguments 0x1p113L or above.
31670         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
31671         to arguments 0x1p107L or above.
31672         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
31673         positive arguments with exponent 65 or above.
31674         * math/auto-libm-test-in: Add more tests of log1p.
31675         * math/auto-libm-test-out: Regenerated.
31677         [BZ #16928]
31678         * math/s_cacos.c (__cacos): Ensure zero real part of result from
31679         non-finite arguments is +0.
31680         * math/s_cacosf.c (__cacosf): Likewise.
31681         * math/s_cacosl.c (__cacosl): Likewise.
31682         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
31683         * sysdeps/i386/fpu/libm-test-ulps: Update.
31684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31686         [BZ #16927]
31687         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
31688         value.
31689         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
31690         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
31691         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
31692         for explicit high bit of mantissa when testing for argument equal
31693         to 1.
31694         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
31695         * sysdeps/i386/fpu/libm-test-ulps: Update.
31696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31698         [BZ #16516]
31699         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
31700         (__erf): Scale by 16 instead of 8 in potentially underflowing
31701         case.  Ensure exception if result actually underflows.
31702         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
31703         (__erff): Scale by 16 instead of 8 in potentially underflowing
31704         case.  Ensure exception if result actually underflows.
31705         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
31706         (efx8): Remove variable.
31707         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31708         case.  Ensure exception if result actually underflows.
31709         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
31710         (efx8): Remove variable.
31711         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31712         case.  Ensure exception if result actually underflows.
31713         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
31714         (efx8): Remove variable.
31715         (__erfl): Scale by 16 instead of 8 in potentially underflowing
31716         case.  Ensure exception if result actually underflows.
31717         * math/auto-libm-test-in: Add more tests of erf.
31718         * math/auto-libm-test-out: Regenerated.
31720 2014-05-14  Andreas Schwab  <schwab@suse.de>
31722         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
31723         Remove code conditionalized on USE___THREAD.
31725         * config.h.in (HAVE_PT_CHOWN): Define as 0.
31726         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
31727         not definedness.
31729 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
31731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
31732         Define unconditionally.
31733         (__ASSUME_O_CLOEXEC): Likewise.
31734         (__ASSUME_SOCK_CLOEXEC): Likewise.
31735         (__ASSUME_IN_NONBLOCK): Likewise.
31736         (__ASSUME_PIPE2): Likewise.
31737         (__ASSUME_EVENTFD2): Likewise.
31738         (__ASSUME_SIGNALFD4): Likewise.
31739         (__ASSUME_DUP3): Likewise.
31740         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31741         (__ASSUME_DUP3): Do not define.
31742         (__ASSUME_EVENTFD2): Likewise.
31743         (__ASSUME_IN_NONBLOCK): Likewise.
31744         (__ASSUME_O_CLOEXEC): Likewise.
31745         (__ASSUME_PIPE2): Likewise.
31746         (__ASSUME_SIGNALFD4): Likewise.
31747         (__ASSUME_SOCK_CLOEXEC): Likewise.
31748         (__ASSUME_UTIMES): Undefine.
31749         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31750         (__ASSUME_UTIMES): Do not define.
31751         (__ASSUME_O_CLOEXEC): Likewise.
31752         (__ASSUME_SOCK_CLOEXEC): Likewise.
31753         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
31754         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
31755         0x020621].
31756         (__ASSUME_PIPE2): Likewise.
31757         (__ASSUME_EVENTFD2): Likewise.
31758         (__ASSUME_SIGNALFD4): Likewise.
31759         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
31760         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
31761         Do not define.
31762         (__ASSUME_EVENTFD2): Likewise.
31763         (__ASSUME_SIGNALFD4): Likewise.
31764         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31765         (__ASSUME_32BITUIDS): Likewise.
31766         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31767         (__ASSUME_IPC64): Likewise.
31768         (__ASSUME_ST_INO_64_BIT): Likewise.
31769         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
31770         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
31771         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31772         (__ASSUME_UTIMES): Do not define.
31773         (__ASSUME_PSELECT): Likewise.
31774         (__ASSUME_PPOLL): Likewise.
31775         (__ASSUME_O_CLOEXEC): Likewise.
31776         (__ASSUME_SOCK_CLOEXEC): Likewise.
31777         (__ASSUME_IN_NONBLOCK): Likewise.
31778         (__ASSUME_PIPE2): Likewise.
31779         (__ASSUME_EVENTFD2): Likewise.
31780         (__ASSUME_SIGNALFD4): Likewise.
31781         (__ASSUME_DUP3): Likewise.
31782         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
31783         (__ASSUME_UTIMES): Likewise.
31784         (__ASSUME_O_CLOEXEC): Likewise.
31785         (__ASSUME_SOCK_CLOEXEC): Likewise.
31786         (__ASSUME_IN_NONBLOCK): Likewise.
31787         (__ASSUME_PIPE2): Likewise.
31788         (__ASSUME_EVENTFD2): Likewise.
31789         (__ASSUME_SIGNALFD4): Likewise.
31790         (__ASSUME_DUP3): Likewise.
31791         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31792         (__ASSUME_UTIMES): Likewise.
31793         (__ASSUME_O_CLOEXEC): Likewise.
31794         (__ASSUME_SOCK_CLOEXEC): Likewise.
31795         (__ASSUME_IN_NONBLOCK): Likewise.
31796         (__ASSUME_PIPE2): Likewise.
31797         (__ASSUME_EVENTFD2): Likewise.
31798         (__ASSUME_SIGNALFD4): Likewise.
31799         (__ASSUME_DUP3): Likewise.
31800         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
31801         Likewise.
31802         (__ASSUME_UTIMES): Likewise.
31803         (__ASSUME_EVENTFD2): Likewise.
31804         (__ASSUME_SIGNALFD4): Likewise.
31805         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31806         (__ASSUME_O_CLOEXEC): Likewise.
31807         (__ASSUME_SOCK_CLOEXEC): Likewise.
31808         (__ASSUME_IN_NONBLOCK): Likewise.
31809         (__ASSUME_PIPE2): Likewise.
31810         (__ASSUME_EVENTFD2): Likewise.
31811         (__ASSUME_SIGNALFD4): Likewise.
31812         (__ASSUME_DUP3): Likewise.
31813         (__ASSUME_UTIMES): Undefine.
31815         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
31816         feclearexcept.  Remove symbol versioning code.
31817         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
31818         symbol versioning code.
31819         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
31820         symbol versioning code.
31821         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
31822         feupdateenv.  Remove symbol versioning code.
31823         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
31824         fegetexceptflag.  Remove symbol versioning code.
31825         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
31826         fesetexceptflag.  Remove symbol versioning code.
31827         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
31828         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
31829         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
31830         (__posix_fadvise64_l32): Remove prototype.
31831         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
31832         code.
31834 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31836         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
31837         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
31838         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
31839         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
31841 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
31843         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
31844         current working directory
31846 2014-05-13  Roland McGrath  <roland@hack.frob.com>
31848         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
31849         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
31850         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
31851         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
31852         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
31853         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
31854         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
31855         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
31856         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
31857         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
31858         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
31859         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
31860         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
31861         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
31862         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
31863         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
31864         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
31865         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
31866         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
31867         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
31868         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
31869         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
31870         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
31871         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
31872         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
31873         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
31874         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
31875         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
31877         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
31879         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
31881         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
31882         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
31883         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
31884         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
31885         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
31886         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
31887         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
31888         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
31889         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
31891         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
31892         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
31894         * sysdeps/unix/sysv/linux/arm/Makefile
31895         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31896         Add rt-aeabi_unwind_cpp_pr1.
31897         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
31898         Add nptl-aeabi_unwind_cpp_pr1.
31899         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
31900         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
31901         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
31902         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31903         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
31904         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31906         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
31907         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
31908         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
31909         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
31911         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
31912         Deconditionalize the code that was previously under [RESET_PID].
31913         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
31915         * sysdeps/generic/exit-thread.h: New file.
31916         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
31917         * include/unistd.h (__exit_thread): Remove declaration.
31918         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
31919         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
31920         * csu/libc-start.c: Include <exit-thread.h>.
31921         (LIBC_START_MAIN): Pass no argument to __exit_thread.
31922         * nptl/pthread_create.c: Include <exit-thread.h>.
31923         (start_thread): Call __exit_thread in place of __exit_thread_inline.
31924         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
31925         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
31926         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
31927         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
31928         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
31929         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
31930         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
31931         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
31932         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
31933         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
31934         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
31935         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
31936         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
31937         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
31938         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
31939         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
31941 2014-05-13  Andreas Schwab  <schwab@suse.de>
31943         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
31945 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
31947         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
31948         (__ASSUME_UTIMES): Do not condition on kernel version.
31949         (__ASSUME_PSELECT): Define unconditionally.
31950         (__ASSUME_PPOLL): Likewise.
31951         (__ASSUME_ATFCTS): Likewise.
31952         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
31953         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
31954         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
31955         (__ASSUME_UTIMENSAT): Define unconditionally.
31956         (__ASSUME_PRIVATE_FUTEX): Likewise.
31957         (__ASSUME_FALLOCATE): Likewise.
31958         (__ASSUME_O_CLOEXEC): Likewise.
31959         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
31960         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
31961         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
31962         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
31963         (__ASSUME_IN_NONBLOCK): Likewise.
31964         (__ASSUME_PIPE2): Likewise.
31965         (__ASSUME_EVENTFD2): Likewise.
31966         (__ASSUME_SIGNALFD4): Likewise.
31967         (__ASSUME_DUP3): Likewise.
31968         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
31969         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
31970         (__ASSUME_AT_RANDOM): Likewise.
31971         (__ASSUME_PREADV): Likewise.
31972         (__ASSUME_PWRITEV): Likewise.
31973         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
31974         (__ASSUME_F_GETOWN_EX): Define unconditionally.
31975         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
31976         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31977         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
31978         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31979         (__ASSUME_O_CLOEXEC): Define unconditionally.
31980         (__ASSUME_PSELECT): Do not undefine conditionally.
31981         (__ASSUME_PPOLL): Likewise.
31982         (__ASSUME_ATFCTS): Likewise.
31983         (__ASSUME_SET_ROBUST_LIST): Likewise.
31984         (__ASSUME_UTIMENSAT): Likewise.
31985         (__ASSUME_FDATASYNC): Define unconditionally.
31986         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31987         (__ASSUME_SIGFRAME_V2): Likewise.
31988         )__ASSUME_EVENTFD2): Likewise.
31989         (__ASSUME_SIGNALFD4): Likewise.
31990         (__ASSUME_PSELECT): Do not undefine conditionally.
31991         (__ASSUME_PPOLL): Likewise.
31992         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
31993         (__ASSUME_PSELECT): Define unconditionally.
31994         (__ASSUME_PPOLL): Likewise.
31995         (__ASSUME_O_CLOEXEC): Likewise.
31996         (__ASSUME_SOCK_CLOEXEC): Likewise.
31997         (__ASSUME_IN_NONBLOCK): Likewise.
31998         (__ASSUME_PIPE2): Likewise.
31999         (__ASSUME_EVENTFD2): Likewise.
32000         (__ASSUME_SIGNALFD4): Likewise.
32001         (__ASSUME_DUP3): Likewise.
32002         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
32003         (__ASSUME_O_CLOEXEC): Likewise.
32004         (__ASSUME_SOCK_CLOEXEC): Likewise.
32005         (__ASSUME_IN_NONBLOCK): Likewise.
32006         (__ASSUME_PIPE2): Likewise.
32007         (__ASSUME_EVENTFD2): Likewise.
32008         (__ASSUME_SIGNALFD4): Likewise.
32009         (__ASSUME_DUP3): Likewise.
32010         * sysdeps/unix/sysv/linux/mips/kernel-features.h
32011         (__ASSUME_EVENTFD2): Likewise.
32012         (__ASSUME_SIGNALFD4): Likewise.
32013         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
32015 2014-05-12  Andreas Schwab  <schwab@suse.de>
32017         [BZ #16932]
32018         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
32019         (_nss_nis_gethostbyname4_r): Return error if item length is larger
32020         than maximum RPC packet size.
32021         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
32022         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
32023         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
32024         (_nss_nis_getservbyport_r): Likewise.
32026 2014-05-12  Will Newton  <will.newton@linaro.org>
32028         * malloc/Makefile (tests): Add tst-mallopt.
32029         * malloc/tst-mallopt.c: New file.
32031 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32033         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
32034         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
32036 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32038         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
32039         (tst-tlsmod6.so): Likewise.
32041 2014-05-09  Roland McGrath  <roland@hack.frob.com>
32043         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
32045 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
32047         [BZ #16064]
32048         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
32049         and <dl-procinfo.h>.
32050         (__fegetenv): Save SSE state in envp->__eip if supported.
32051         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
32052         envp->__eip if supported.
32053         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
32054         and <dl-procinfo.h>.
32055         (__fesetenv): Always set __eip, __cs_selector, __opcode,
32056         __data_offset and __data_selector in environment to 0.  Set SSE
32057         state if supported.
32058         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
32059         test-fenv-sse.
32060         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
32061         -mfpmath=sse.
32062         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
32064 2014-05-09  Will Newton  <will.newton@linaro.org>
32066         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
32067         and libc_relro_required for ARM.
32068         * sysdeps/arm/preconfigure: Regenerate.
32070 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
32071             Stefan Liebler  <stli@linux.vnet.ibm.com>
32073         * config.make.in (enable-lock-elision): New Makefile variable.
32074         * configure.ac: Likewise.
32075         * configure: Regenerate.
32076         * sysdeps/s390/configure.ac:
32077         Add check for gcc transactions support.
32078         * sysdeps/s390/configure: Regenerate.
32079         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
32080         Build elision files if enabled.
32081         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
32082         Add lock elision support for s390.
32083         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
32084         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
32085         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
32086         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
32087         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
32088         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
32089         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32090         Likewise.
32091         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
32092         Likewise.
32093         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
32094         Likewise.
32095         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
32096         Likewise.
32097         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
32098         (__lll_timedlock_elision, __lll_lock_elision)
32099         (__lll_unlock_elision, __lll_trylock_elision)
32100         (lll_timedlock_elision, lll_lock_elision)
32101         (lll_unlock_elision, lll_trylock_elision): Add.
32102         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32103         (pthread_mutex_t): Add lock elision support for s390.
32105 2014-05-14  Wilco  <wdijkstr@arm.com>
32107         * sysdeps/arm/fclrexcpt.c: Cleanup.
32108         * sysdeps/arm/fedisblxcpt.c: Cleanup.
32109         * sysdeps/arm/feenablxcpt.c: Cleanup.
32110         * sysdeps/arm/fegetenv.c: Cleanup.
32111         * sysdeps/arm/fegetexcept.c: Cleanup.
32112         * sysdeps/arm/fegetround.c: Cleanup.
32113         * sysdeps/arm/feholdexcpt.c: Cleanup.
32114         * sysdeps/arm/fesetenv.c: Cleanup.
32115         * sysdeps/arm/fesetround.c: Cleanup.
32116         * sysdeps/arm/feupdateenv.c: Cleanup.
32117         * sysdeps/arm/fgetexcptflg.c: Cleanup.
32118         * sysdeps/arm/fraiseexcpt.c: Cleanup.
32119         * sysdeps/arm/fsetexcptflg.c: Cleanup.
32120         * sysdeps/arm/ftestexcept.c: Cleanup.
32121         * sysdeps/arm/get-rounding-mode.h: Cleanup.
32122         * sysdeps/arm/setfpucw.c: Cleanup.
32124 2014-05-09  Will Newton  <will.newton@linaro.org>
32126         * sysdeps/arm/armv7/strcmp.S: New file.
32127         * NEWS: Mention addition of ARMv7 optimized strcmp.
32129 2014-05-08  Roland McGrath  <roland@hack.frob.com>
32131         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
32132         look for %.ac rather than %.in.
32134         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
32135         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
32136         * sysdeps/mach/hurd/configure: Regenerated.
32137         * sysdeps/unix/sysv/linux/configure: Regenerated.
32139         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
32141 2014-05-07  Steve Ellcey  <sellcey@mips.com>
32143         [BZ# 16922]
32144         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
32145         (LONG_SUB): Ditto.
32146         (PTR_SUB): Ditto.
32148 2014-05-07  Andreas Schwab  <schwab@suse.de>
32150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
32151         when skipping over non-matching result from nscd.
32153 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
32155         [BZ #16876]
32156         * nptl/sockperf.c (client): Check socket return value.
32158         [BZ #16877]
32159         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
32160         nscd security class.
32162 2014-05-06  Roland McGrath  <roland@hack.frob.com>
32164         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
32165         * sysdeps/arm/unwind.h: ... here.
32167 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
32169         [BZ# 16916]
32170         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
32171         Define.
32173 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32175         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
32176         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
32177         multiarch strncpy for PPC64.
32178         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
32179         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
32180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
32181         multiarch optimizations.
32182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32183         (__libc_ifunc_impl_list): Likewise.
32184         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
32185         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
32186         multiarch stpncpy for PPC64.
32187         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
32188         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
32190 2014-05-06  Andreas Schwab  <schwab@suse.de>
32192         [BZ #16912]
32193         * gmon/mcount.c (_MCOUNT_DECL): Use
32194         atomic_compare_and_exchange_bool_acq instead of
32195         catomic_compare_and_exchange_bool_acq.
32197 2014-05-05  Roland McGrath  <roland@hack.frob.com>
32199         * elf/Makefile (others, install-bin): Remove pldd.
32200         (pldd-modules): Variable removed.
32201         ($(objpfx)pldd): Target removed.
32202         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
32203         (others, install-bin): Append pldd here.
32204         ($(objpfx)pldd): New target.
32206         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
32207         to 0, so the first #if test emitted later doesn't see it undefined.
32208         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
32209         * sysdeps/gnu/errlist.c: Regenerated.
32211 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32213         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
32214         [libc_hidden_builtin_def]: Define to empty value.
32215         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
32216         [libc_hidden_builtin_def]: Likewise.
32217         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
32218         [libc_hidden_builtin_def]: Likewise.
32219         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
32220         [libc_hidden_builtin_def]: Likewise.
32221         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
32222         __redirect_memcpy and define ifunc as default hidden symbol.
32223         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
32224         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
32226 2014-05-04  Adam Conrad  <adconrad@0c3.net>
32228         * locale/iso-4217.def: Reintroduce XDR currency.
32230 2014-05-04  Allan McRae  <allan@archlinux.org>
32232         * po/eo.po: Update Esperanto translation from translation project.
32234 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
32236         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
32237         and FEATURE_INDEX_MAX to 1.
32238         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
32240 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32242         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
32243         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
32244         * iconvdata/big5.c (ONE_DIRECTION): Define.
32245         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
32246         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
32247         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
32248         * iconvdata/cp932.c (ONE_DIRECTION): Define.
32249         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
32250         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
32251         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
32252         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
32253         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
32254         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
32255         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
32256         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
32257         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
32258         * iconvdata/gbk.c (ONE_DIRECTION): Define.
32259         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
32260         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
32261         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
32262         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
32263         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
32264         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
32265         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
32266         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
32267         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
32268         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
32269         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
32270         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
32271         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
32272         * iconvdata/iso646.c (ONE_DIRECTION): Define.
32273         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
32274         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
32275         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
32276         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
32277         * iconvdata/johab.c (ONE_DIRECTION): Define.
32278         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
32279         * iconvdata/sjis.c (ONE_DIRECTION): Define.
32280         * iconvdata/t.61.c (ONE_DIRECTION): Define.
32281         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
32282         * iconvdata/tscii.c (ONE_DIRECTION): Define.
32283         * iconvdata/uhc.c (ONE_DIRECTION): Define.
32284         * iconvdata/unicode.c (ONE_DIRECTION): Define.
32285         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
32286         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
32287         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
32289 2014-05-01  Roland McGrath  <roland@hack.frob.com>
32291         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
32292         (_IO_JUMPS_OFFSET): Define to 0.
32294         * nptl/sysdeps/pthread/bits/libc-lock.h
32295         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32296         (__libc_lock_define_initialized_recursive): Always define using
32297         initializer.  Modern compilers treat uninitialized (implicit zero) and
32298         explicit zero initializers the same (i.e. put the datum in bss).
32300 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32302         * nscd/nscd-client.h: Include <string.h>.
32304 2014-05-01  David S. Miller  <davem@davemloft.net>
32306         [BZ #16885]
32307         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
32308         multiple zero bytes exist at the end of a string.
32309         Reported by Aurelien Jarno <aurelien@aurel32.net>
32311         * string/test-strcmp.c (check): Add explicit test for situations where
32312         there are multiple zero bytes after the first.
32314 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32316         [BZ #16890]
32317         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
32318         when compiling wprintf.
32319         * stdio-common/tstdiomisc.c (t3): New function.
32320         (main): Call it.
32322 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32324         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
32325         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
32326         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
32327         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
32329 2014-05-01  Steve Ellcey  <sellcey@mips.com>
32331         * stdlib/longlong.h: Updated from GCC.
32333 2014-05-01  Will Newton  <will.newton@linaro.org>
32334             Bernard Ogden  <bernie.ogden@linaro.org>
32336         * NEWS: Update fixed bug list.
32338         [BZ #15119]
32339         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
32341 2014-04-30  David S. Miller  <davem@davemloft.net>
32343         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
32344         (libc_feholdexcept_setround_sparc_ctx): New function.
32345         (libc_fesetenv_sparc_ctx): Likewise.
32346         (libc_feupdateenv_sparc_ctx): Likewise.
32347         (libc_feholdsetround_sparc_ctx): Likewise.
32348         (libc_feholdexcept_setround_ctx): Define.
32349         (libc_feholdexcept_setroundf_ctx): Likewise.
32350         (libc_feholdexcept_setroundl_ctx): Likewise.
32351         (libc_fesetenv_ctx): Likewise.
32352         (libc_fesetenvf_ctx): Likewise.
32353         (libc_fesetenvl_ctx): Likewise.
32354         (libc_feupdateenv_ctx): Likewise.
32355         (libc_feupdateenvf_ctx): Likewise.
32356         (libc_feupdateenvl_ctx): Likewise.
32357         (libc_feresetround_ctx): Likewise.
32358         (libc_feresetroundf_ctx): Likewise.
32359         (libc_feresetroundl_ctx): Likewise.
32360         (libc_feholdsetround_ctx): Likewise.
32361         (libc_feholdsetroundf_ctx): Likewise.
32362         (libc_feholdsetroundl_ctx): Likewise.
32364         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32365         with __USE_GNU instead of XOPEN cpp guards.
32367         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
32368         0.
32370         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
32371         with XOPEN cpp guards.
32373 2014-04-30  Julian Brown  <julian@codesourcery.com>
32375         [BZ #16888]
32376         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
32377         handling.
32379 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
32381         [BZ #9894]
32382         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
32383         Change to 2.6.32.
32384         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
32385         * sysdeps/unix/sysv/linux/configure: Regenerated.
32386         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
32387         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
32388         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
32389         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
32390         * README: Update reference to required Linux kernel version.
32391         * manual/install.texi (Linux): Update reference to required Linux
32392         kernel headers version.
32393         * INSTALL: Regenerated.
32395         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
32396         header inclusion.
32397         [POSIX] (limits.h): Likewise.
32398         [POSIX] (math.h): Likewise.
32399         [POSIX] (sys/wait.h): Likewise.
32400         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
32401         function.
32402         [POSIX] (stddef.h): Do not allow header inclusion.
32404 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32406         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
32408 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
32410         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
32411         Return immediately after lll_futex_wake.
32413 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32415         [BZ #16791]
32416         * nscd/nscd-client.h (datahead_init_common): Initialize entire
32417         structure.
32418         (datahead_init_pos): Call datahead_init_common early.
32419         (datahead_init_neg): Likewise.
32421         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
32422         datahead_init_neg): New functions.
32423         * nscd/aicache.c (addhstaiX): Use them.
32424         * nscd/grpcache.c (cache_addgr): Likewise.
32425         * nscd/hstcache.c (cache_addhst): Likewise.
32426         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32427         * nscd/netgroupcache.c (do_notfound): Likewise.
32428         (addgetnetgrentX): Likewise.
32429         (addinnetgrX): Likewise.
32430         * nscd/pwdcache.c (cache_addpw): Likewise.
32431         * nscd/servicescache.c (cache_addserv): Likewise.
32433 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32434             Atsushi Onoe  <atsushi@onoe.org>
32436         [BZ #14308]
32437         [BZ #12994]
32438         [BZ #13651]
32439         * resolv/res_query.c (__libc_res_nsearch): Return if at least
32440         one response is valid.
32441         * resolv/res_send.c (send_dg): Check for validity of other
32442         response if the current response is a referral.
32444 2014-04-29  Steve Ellcey  <sellcey@mips.com>
32446         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
32448 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
32450         [BZ #16823]
32451         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
32452         Always divide by positive zero when computing -Inf result.
32453         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
32454         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
32456 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32458         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
32459         FPSCR if value do not change.
32460         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32461         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
32462         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
32463         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
32464         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
32465         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
32466         function.
32468 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
32470         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
32471         * sysdeps/unix/sysv/linux/hppa: Move directory from
32472         ports/systeps/unix/sysv/linux/hppa.
32473         * README: Update listing for hppa-*-linux-gnu.
32475 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
32477         [BZ #16754]
32478         * manual/stdio.texi (Hook functions): Fix types of stream hook
32479         functions.
32480         [BZ #16854]
32481         * socket/sys/socket.h: Fix typo in comment.
32483 2014-04-28  Wilco  <wdijkstr@arm.com>
32485         * sysdeps/arm/fenv_private.h: New file.
32486         * sysdeps/arm/math_private.h: New file.
32487         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
32489 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
32491         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
32492         with __int128_t.
32493         (La_x86_64_retval): Likewise.
32495 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
32497         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
32498         fpsr if value didn't change.
32499         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
32500         to fpcr if value didn't change.
32501         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
32502         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
32503         fpsr or fpcr if value didn't change.
32504         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
32505         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
32506         fpcr if value didn't change.
32507         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
32508         to fpsr if value didn't change.
32510 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32512         * nptl/tst-sem3.c: Use test-skeleton.c
32513         (main): Rename to do_test.  Use return instead of
32514         exit.
32515         * nptl/tst-sem4.c: Use test-skeleton.c
32516         (main): Rename to do_test.
32518 2014-04-22  David S. Miller  <davem@davemloft.net>
32520         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
32521         (struct sigaction): New struct member __glibc_reserved0, change
32522         type of sa_flags to int.
32524 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
32526         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
32527         (COUNT_LEADING_ZEROS_0): Define for AArch64.
32529 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32531         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
32532         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
32534 2014-04-22  Will Newton  <will.newton@linaro.org>
32535             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
32537         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
32538         (__longjmp): Add longjmp and longjmp_target SystemTap
32539         probes.
32540         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
32541         (__sigsetjmp): Add setjmp SystemTap probe.
32543 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
32545         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
32546         match manual order.
32548 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32550         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
32552         * sysdeps/powerpc/fpu/fenv_private.h
32553         (libc_feholdexcept_setroundl_ctx): Define to
32554         libc_feholdexcept_setround_ppc_ctx.
32555         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
32556         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
32557         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
32558         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
32560 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32562         * sysdeps/aarch64/math-tests.h: New file.
32564 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
32566         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
32567         New.
32568         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32569         Check and set bit_AVX2_Usable.
32570         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
32571         macro.
32572         (bit_AVX2): Likewise.
32573         (index_AVX2_Usable): Likewise.
32574         (CPUID_AVX2): Likewise.
32575         (HAS_AVX2): Likewise.
32577 2014-04-17  Will Newton  <will.newton@linaro.org>
32579         * manual/setjmp.texi (System V contexts): Add note that
32580         calling setcontext on a context created by a call to a
32581         signal handler is undefined.  Update text to note that
32582         setcontext from a signal handler is possible but not
32583         recommended.
32585         [BZ #16629]
32586         * stdlib/tst-setcontext.c: Include signal.h.
32587         (main): Check that the signal stack before and
32588         after swapcontext is the same.
32590         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
32591         Re-implement to restore registers in user code and avoid
32592         rt_sigreturn system call.
32594 2014-04-17  Wilco  <wdijkstr@arm.com>
32596         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
32597         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
32598         * math/test-fenv.c: Skip exception trap tests on targets which only
32599         support non-stop mode.
32601 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
32602             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32604         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
32605         (libc_feholdsetround_aarch64_ctx)
32606         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
32607         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
32608         (libc_feresetround_ctx, libc_feresetroundf_ctx)
32609         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
32610         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
32611         (libc_feresetround_noexl_ctx): Define.
32613 2014-04-16  Richard Henderson  <rth@redhat.com>
32615         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
32617         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
32618         unwind tables.
32620         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
32621         const from the non-libc, non-ldso copy.
32623         * sysdeps/alpha/libm-test-ulps: Regenerate.
32625 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
32626             Wilco Dijkstra  <wilco.dijkstra@arm.com>
32628         * sysdeps/aarch64/fpu/math_private.h: New file.
32630 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
32632         * sysdeps/aarch64/libm-test-ulps: Regenerate.
32634 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
32636         [BZ #16275]
32637         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
32638         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
32639         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
32640         Intel MPX bound registers before _dl_profile_fixup.
32641         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
32642         registers after _dl_profile_fixup.  Save and restore bound
32643         registers bnd0/bnd1 when calling _dl_call_pltexit.
32644         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
32645         (LR_BND_OFFSET): Likewise.
32646         (LRV_BND0_OFFSET): Likewise.
32647         (LRV_BND1_OFFSET): Likewise.
32649 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32651         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
32652         to...
32653         * sysdeps/mach/hurd/i386/tls.h: ... here.
32654         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
32655         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
32656         fields.
32658 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32660         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
32662 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32664         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
32666 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
32668         [BZ #14770]
32669         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
32670         * sysdeps/s390/configure: Regenerate.
32672         [BZ #16824]
32673         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
32674         Set round-to-nearest internally to reduce error accumulation.
32676 2014-04-16  Alan Modra  <amodra@gmail.com>
32678         [BZ #16740]
32679         [BZ #16619]
32680         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
32681         * math/libm-test.inc (frexp_test_data): Add tests.
32682         * NEWS: Update fixed bug list.
32684 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32686         * benchtests/Makefile: Depend on libraries in build directory.
32687         (bench-math): Separate out math tests.
32688         (bench-pthread): Separate out pthread tests.
32689         (bench): Include math and pthread tests.
32691 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
32693         [BZ #16831]
32694         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32695         _dl_debug_initialize.
32697         * configure.ac: Remove SELinux header check.
32698         * configure: Regenerate.
32699         * nscd/selinux.c (perms): Array of const char* to permission names.
32700         (nscd_request_avc_has_perm): Call security_deny_unknown to find
32701         default policy. Call string_to_security_class and string_to_av_perm to
32702         translate strings. Enforce default policy and call avs_has_perm with
32703         results of translated strings.
32705 2014-04-13  David S. Miller  <davem@davemloft.net>
32707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32709 2014-04-12  Allan McRae  <allan@archlinux.org>
32711         [BZ #16838]
32712         * manual/string.texi (Collation Functions): Fix qsort argument
32713         order in example.
32714         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32716 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
32718         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
32719         Make the test a no-op if there are no exceptions defined.
32721 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32723         * elf/Makefile (tests): make tst-dlopen-aout conditional on
32724         enable-hardcoded-path-in-tests
32726 2014-04-11  Will Newton  <will.newton@linaro.org>
32728         * benchtests/Makefile (extra-objs): Add json-lib.o.
32729         (bench-func): Tidy up JSON output.
32730         * benchtests/bench-skeleton.c: Include json-lib.h.
32731         (main): Use JSON library functions to do output of
32732         benchmark results.
32733         * benchtests/bench-timing-type.c (main): Output the
32734         timing type simply, leaving formatting to the user.
32735         * benchtests/json-lib.c: New file.
32736         * benchtests/json-lib.h: Likewise.
32738 2014-04-11  Torvald Riegel  <triegel@redhat.com>
32740         [BZ #15215]
32741         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
32742         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
32743         memory barriers.  Add comments.
32744         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
32745         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
32746         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
32747         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
32748         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
32749         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
32751 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32753         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
32754         * sysdeps/s390/s390-64/configure.ac: ... this ...
32755         * sysdeps/s390/configure.ac: ... to here.
32756         * sysdeps/s390/s390-32/configure: Delete file.
32757         * sysdeps/s390/s390-64/configure: Delete file.
32758         * sysdeps/s390/configure: Regenerate.
32760 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
32762         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
32764 2014-04-11  Will Newton  <will.newton@linaro.org>
32766         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
32767         to zero if it is not defined elsewhere.  (mtrim): Test
32768         the value of MALLOC_DEBUG with #if rather than #ifdef.
32770 2014-04-10 Torvald Riegel  <triegel@redhat.com>
32772         * benchtests/pthread_once-inputs: New file.
32773         * benchtests/pthread_once-source.c: New file.
32774         * benchtests/README: Update documentation.
32776 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
32777             H.J. Lu  <hongjiu.lu@intel.com>
32779         [BZ #16275]
32780         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
32781         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
32782         * sysdeps/x86_64/configure: Regenerated.
32783         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
32784         macro.
32785         (REGISTER_SAVE_RAX): Likewise.
32786         (REGISTER_SAVE_RCX): Likewise.
32787         (REGISTER_SAVE_RDX): Likewise.
32788         (REGISTER_SAVE_RSI): Likewise.
32789         (REGISTER_SAVE_RDI): Likewise.
32790         (REGISTER_SAVE_R8): Likewise.
32791         (REGISTER_SAVE_R9): Likewise.
32792         (REGISTER_SAVE_BND0): Likewise.
32793         (REGISTER_SAVE_BND1): Likewise.
32794         (REGISTER_SAVE_BND2): Likewise.
32795         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
32796         bound registers when calling _dl_fixup.
32798 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32800         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
32801         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
32802         of its definition.
32803         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
32804         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
32805         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
32806         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
32807         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
32808         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
32809         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
32811 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
32813         [BZ #15514]
32814         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
32815         pathconf(_PC_NAME_MAX).
32817 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32819         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
32820         Remove macro usage.
32821         (__PTHREAD_SPINS): Move definition to ...
32822         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
32823         (__PTHREAD_SPINS): ... here.
32824         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
32825         (__PTHREAD_SPIN): Likewise.
32826         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
32827         (__PTHREAD_SPIN): Likewise.
32828         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
32829         (__PTHREAD_SPIN): Likewise.
32830         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
32831         (__PTHREAD_SPIN): Likewise.
32832         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32833         (__PTHREAD_SPIN): Likewise.
32834         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32835         (__PTHREAD_SPIN): Likewise.
32836         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
32837         (__PTHREAD_SPIN): Likewise.
32838         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32839         (__PTHREAD_SPIN): Likewise.
32840         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32841         (__PTHREAD_SPIN): Likewise.
32842         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32843         (__PTHREAD_SPIN): Likewise.
32844         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32845         (__PTHREAD_SPIN): Likewise.
32846         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
32847         (__PTHREAD_SPIN): Likewise.
32849         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
32850         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
32851         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
32852         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
32853         imply folder.
32854         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
32855         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
32856         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
32857         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
32858         correct imply path.
32859         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
32860         strlen symbol for non multi-arch builds.
32861         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
32862         missing hidden_def and weak_alias.
32864 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
32866         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
32868 2014-04-07  Will Newton  <will.newton@linaro.org>
32870         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
32871         and contents.  [!_LIBC] Remove #ifndef and contents.
32872         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
32873         * string/memccpy.c (__memccpy): Use ANSI prototype.
32874         * string/memfrob.c (memfrob): Likewise.
32875         * string/strcoll.c (STRCOLL): Likewise.
32876         * string/strlen.c (strlen): Likewise.
32877         * string/strtok.c (STRTOK): Likewise.
32878         * string/strcat.c: Remove unused #include of memcopy.h.
32879         (strcat): Use ANSI prototype.
32880         * string/strchr.c: Remove unused #include of memcopy.h.
32881         (strchr): Use ANSI prototype.
32882         * string/strcmp.c: Remove unused #include of memcopy.h.
32883         (strcmp): Use ANSI prototype.
32884         * string/strcpy.c: Remove unused #include of memcopy.h.
32885         (strcpy): Use ANSI prototype.
32887 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32889         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
32890         * config.make.in (config-extra-cppflags): Set it from
32891         libc_extra_cppflags.
32892         * configure.ac (libc_extra_cflags): Make it accumulate over
32893         configure fragments.
32894         (libc_extra_cppflags): New flag.
32895         * configure. Regenerate.
32896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32897         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
32898         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
32899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
32901         [BZ #16815]
32902         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
32903         result for FE_DOWNWARD rounding mode.
32904         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
32905         Likewise.
32906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32908 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
32910         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
32911         in function argument name.
32913 2014-04-03  David Svoboda  <svoboda@cert.org>
32915         [BZ #5666]
32916         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
32917         explicitly.
32919 2014-04-03  Roland McGrath  <roland@hack.frob.com>
32921         * elf/dl-unmap-segments.h: New file.
32922         * sysdeps/generic/ldsodefs.h
32923         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
32924         * elf/dl-close.c: Include <dl-unmap-segments.h>.
32925         * elf/dl-fptr.c: Likewise.
32926         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
32927         * sysdeps/aarch64/tlsdesc.c: Likewise.
32928         * sysdeps/arm/tlsdesc.c: Likewise.
32929         * sysdeps/i386/tlsdesc.c: Likewise.
32930         * sysdeps/tile/dl-runtime.c: Likewise.
32931         * sysdeps/x86_64/tlsdesc.c: Likewise.
32932         * elf/dl-load.h: New file.
32933         * elf/dl-load.c: Include it.
32934         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
32935         Macros moved to dl-load.h.
32936         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
32937         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
32938         Use _dl_unmap_segments in place of __munmap.
32939         Break out segment-mapping loop into ...
32940         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
32942 2014-04-03  Will Newton  <will.newton@linaro.org>
32944         * elf/dl-lookup.c (do_lookup_x): Remove comment
32945         referring to nested function and move variable
32946         declarations down to before first use.
32948 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
32950         [BZ #16799]
32951         [BZ #16800]
32952         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
32953         with 0 numerator.
32954         * math/s_catanf.c (__catanf): Likewise.
32955         * math/s_catanh.c (__catanh): Likewise.
32956         * math/s_catanhf.c (__catanhf): Likewise.
32957         * math/s_catanhl.c (__catanhl): Likewise.
32958         * math/s_catanl.c (__catanl): Likewise.
32959         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
32960         by positive zero when computing -Inf result.
32961         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
32962         (catanh_test): Likewise.
32963         * sysdeps/i386/fpu/libm-test-ulps: Update.
32964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32966         [BZ #16789]
32967         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
32968         instead of using underflowing value in computing result.
32969         * math/s_clog10.c (__clog10): Likewise.
32970         * math/s_clog10f.c (__clog10f): Likewise.
32971         * math/s_clog10l.c (__clog10l): Likewise.
32972         * math/s_clogf.c (__clogf): Likewise.
32973         * math/s_clogl.c (__clogl): Likewise.
32974         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
32975         (clog10_test): Likewise.
32976         * sysdeps/i386/fpu/libm-test-ulps: Update.
32977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979 2014-04-02  Alan Modra  <amodra@gmail.com>
32981         [BZ #16739]
32982         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
32983         output when value is near a power of two.  Use int64_t for lx and
32984         remove casts.  Use decimal rather than hex exponent constants.
32985         Don't use long double multiplication when double will suffice.
32986         * math/libm-test.inc (nextafter_test_data): Add tests.
32987         * NEWS: Add 16739 and 16786 to bug list.
32989         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
32991         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
32993 2014-04-01  Will Newton  <will.newton@linaro.org>
32995         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
32996         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
32998 2014-04-01  Florian Weimer  <fweimer@redhat.com>
33000         [BZ #13347]
33001         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
33002         * nptl/tst-setuid2.c: New file.
33003         * nptl/Makefile (xtests): Add tst-setuid2.
33005 2014-04-01  Alan Modra  <amodra@gmail.com>
33007         [BZ #16786]
33008         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
33010 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33012         [BZ #6803]
33013         [BZ #6804]
33014         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
33015         set errno as appropriate.
33016         * math/w_scalbf.c (__scalbf): Likewise.
33017         * math/w_scalbl.c (__scalbl): Likewise.
33018         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
33019         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
33020         * math/libm-test.inc (scalb_test_data): Add errno expectations.
33021         Add more NaN tests.
33023         [BZ #16349]
33024         * math/w_atan2.c: Include <errno.h>.
33025         (__atan2): Set errno for result underflowing to zero.
33026         * math/w_atan2f.c: Include <errno.h>.
33027         (__atan2f): Set errno for result underflowing to zero.
33028         * math/w_atan2l.c: Include <errno.h>.
33029         (__atan2l): Set errno for result underflowing to zero.
33030         * math/auto-libm-test-in: Don't allow missing errno for some atan2
33031         tests.
33032         * math/auto-libm-test-out: Regenerated.
33034 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33036         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
33037         Encode instruction correctly in little endian.
33038         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
33039         Likewise.
33040         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
33041         Likewise.
33042         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
33043         Likewise.
33044         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
33045         Likewise.
33047 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
33049         [BZ #9894]
33050         * sysdeps/unix/sysv/linux/kernel-features.h
33051         [__sparc__ && !__arch64__ && !__sparc_v9__]
33052         (__ASSUME_SET_ROBUST_LIST): Do not define.
33053         [__sparc__ && !__arch64__ && !__sparc_v9__]
33054         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33055         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
33056         Likewise.
33057         * sysdeps/unix/sysv/linux/arm/kernel-features.h
33058         (__ASSUME_FUTEX_LOCK_PI): Undefine.
33059         (__ASSUME_REQUEUE_PI): Likewise.
33060         (__ASSUME_SET_ROBUST_LIST): Likewise.
33061         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
33062         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
33063         Undefine.
33064         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33065         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
33066         Likewise.
33067         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
33068         Likewise.
33069         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
33070         Likewise.
33071         * sysdeps/unix/sysv/linux/mips/kernel-features.h
33072         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
33073         Undefine.
33074         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
33075         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
33076         Likewise.
33078         [BZ #16648]
33079         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33080         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
33081         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
33083 2014-03-31  Will Newton  <will.newton@linaro.org>
33085         * benchtests/Makefile (bench): Add ffs and ffsll to list
33086         of tests.
33087         * benchtests/ffs-inputs: New file.
33088         * benchtests/ffsll-inputs: Likewise.
33090 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
33092         [BZ #16770]
33093         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
33094         too large before casting to int.
33095         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
33096         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
33097         * math/libm-test.inc (scalb_test_data): Add more tests.
33099 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33101         * benchtests/Makefile (DETAILED_OPT): New make option.
33102         (bench-func): Run benchmark program with -d if DETAILED_OPT is
33103         set.
33104         * benchtests/bench-skeleton.c: Include stdbool.h.
33105         (main): Store and print timings per input.
33106         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
33107         member to each argument value.
33108         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
33109         (_print_arg_data): Initialize per-input timing to 0.
33111         * benchtests/Makefile (timing-type): New binary.
33112         (bench-clean): Also remove bench-timing-type.
33113         (bench): New target for timing-type.
33114         (bench-func): Print output in JSON format.
33115         * benchtests/bench-skeleton.c (main): Print output in JSON
33116         format.
33117         * benchtests/bench-timing-type.c: New file.
33118         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
33119         (TIMING_PRINT_STATS): Remove.
33120         * benchtests/scripts/bench.py (_print_arg_data): Store variant
33121         name separately.
33123         * benchtests/bench-modf.c: Remove.
33124         * benchtests/modf-inputs: New inputs file.
33126 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
33128         [BZ #16362]
33129         * math/s_clog10.c (M_PI_LOG10E): New macro.
33130         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
33131         imaginary parts are 0.
33132         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
33133         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
33134         imaginary parts are 0.
33135         * math/s_clog10l.c (M_PI_LOG10El): New macro.
33136         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
33137         imaginary parts are 0.
33138         * math/libm-test.inc (clog10_test_data): Update expected results
33139         for when real and imaginary parts are 0.
33141 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
33143         * elf/dl-load.c: Finish conversion of __builtin_expect into
33144         __glibc_{un}likely.
33146 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
33148         [BZ #16348]
33149         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
33150         1+x for argument with exponent below -67.
33151         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
33152         Likewise.
33153         * math/auto-libm-test-in: Add more tests of exp.
33154         * math/auto-libm-test-out: Regenerated.
33156 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33158         [BZ #16759]
33159         * inet/getnetgrent_r.c (get_nonempty_val): New function.
33160         (nscd_getnetgrent): Use it.
33162         [BZ #16760]
33163         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
33164         of stpcpy.
33166 2014-03-27  Andi Kleen  <ak@linux.intel.com>
33168         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
33169         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33170         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33171         (lll_robust_unlock): Remove out of line section. Use cfi
33172         intrinsics.
33173         (LLL_STUB_UNWIND_INFO*): Remove.
33174         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
33175         (lll_robust_lock, lll_cond_lock, lll_timedlock)
33176         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
33177         (lll_robust_unlock): Remove out of line section. Use cfi
33178         intrinsics.
33179         (LLL_STUB_UNWIND_INFO*): Remove.
33181 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33183         [BZ #16758]
33184         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
33185         blank values.
33187 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
33189         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
33191 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
33193         [BZ #16198]
33194         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
33195         fnstenv.
33196         * math/test-fenv-preserve.c: New file.
33197         * math/Makefile (tests): Add test-fenv-preserve.
33199 2014-03-26  Will Newton <will.newton@linaro.org>
33201         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
33203 2014-03-25  Roland McGrath  <roland@hack.frob.com>
33205         * scripts/versionlist.awk: Partition the version sets and emit all
33206         GLIBC_* (sorted) before all others (sorted).
33208 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33210         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
33211         GLIBC_2.2.5 version.
33213 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33215         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
33216         calls.
33218         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
33219         previous change.
33221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33223 2014-03-25  Andreas Schwab  <schwab@suse.de>
33225         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
33226         label to be used after in6ailist is initialized.
33228 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33230         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
33231         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33233 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
33235         [BZ #16357]
33236         [BZ #16599]
33237         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
33238         min_plus_half.
33239         (fp_formats): Update initializers.
33240         (init_fp_formats): Initialize new field.
33241         (output_for_one_input_case): Allow underflow for results up to
33242         min_plus_half.
33243         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
33244         * math/auto-libm-test-in: Don't mark some underflows from asin and
33245         atanh as spurious.
33246         * math/auto-libm-test-out: Regenerated.
33247         * sysdeps/i386/fpu/libm-test-ulps: Update.
33248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33250 2014-03-25  Andreas Schwab  <schwab@suse.de>
33252         * libio/Makefile (tst-ftell-partial-wide-ENV)
33253         (tst-ftell-active-handler-ENV): Define.
33255 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
33257         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
33259 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33261         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
33263 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33265         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
33266         * sysdeps/x86_64/fpu/multiarch/e_exp.c
33267         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
33269 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
33271         [BZ #16634]
33272         * elf/dl-load.c (open_verify): Add mode parameter.
33273         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
33274         (open_path): Change from boolean 'secure' to complete flag 'mode'
33275         (_dl_map_object): Adjust.
33276         * elf/Makefile (tests): Add tst-dlopen-aout.
33277         * elf/tst-dlopen-aout.c: New test.
33279 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
33281         [BZ #16714]
33282         * sysdeps/unix/sysv/linux/s390/bits/stat.h
33283         (struct stat): Rename member pad0 to __glibc_reserved0.
33285         [BZ #16712]
33286         * sysdeps/s390/s390-32/bits/wordsize.h
33287         (__WORDSIZE32_SIZE_ULONG): New define.
33288         * sysdeps/s390/s390-64/bits/wordsize.h
33289         (__WORDSIZE32_SIZE_ULONG): Likewise.
33290         * sysdeps/generic/stdint.h (SIZE_MAX):
33291         Define as UL if __WORDSIZE32_SIZE_ULONG.
33293         [BZ #16713]
33294         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
33295         (__glibc_reserved0): New variable.
33296         (sa_flags): Change type to int.
33298         * posix/Makefile (before-compile): Use += before-compile instead
33299         of a :=.
33301         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
33302         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
33304 2014-03-20  Andreas Schwab  <schwab@suse.de>
33306         [BZ #16743]
33307         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
33308         non-matching result from nscd.
33310 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33312         * scripts/bench.py: Moved to ...
33313         * benchtests/scripts/bench.py: ... here.
33314         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
33316 2014-03-24  Andreas Schwab  <schwab@suse.de>
33318         [BZ #16002]
33319         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
33320         alloca_account and account alloca use for struct in6ailist.
33322 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
33324         [BZ #16284]
33325         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
33326         rounding mode to recompute results that overflow to infinity or
33327         underflow to zero.
33328         * math/auto-libm-test-in: Don't mark tests as expected to fail for
33329         bug 16284.
33330         * math/auto-libm-test-out: Regenerated.
33331         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
33332         (ccosh_test): Likewise.
33333         (csin_test_data): Use plus_oflow.
33334         (csin_test): Use ALL_RM_TEST.
33335         (csinh_test_data): Use plus_oflow.
33336         (csinh_test): Use ALL_RM_TEST.
33337         * sysdeps/i386/fpu/libm-test-ulps: Update.
33338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33340 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
33342         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
33343         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
33344         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
33346         [BZ #16731]
33347         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
33348         when x - 1 is zero.
33349         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
33350         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
33351         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33352         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
33353         argument is 1.
33354         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
33355         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
33356         zero.
33357         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
33358         * sysdeps/i386/fpu/libm-test-ulps: Update.
33359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33361 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33363         * scripts/bench.pl: Remove file.
33364         * scripts/bench.py: New benchmark script.
33365         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
33366         * benchtests/README: Mention python dependency.
33367         * scripts/pylintrc: New file.
33368         * scripts/pylint: New file.
33370         * bits/mathdef.h: Use #ifdef instead of #if.
33371         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
33372         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33373         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
33374         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33375         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
33376         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
33378 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33379             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33381         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
33382         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
33383         and strpbrk-ppc64 objects.
33384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33385         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
33386         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
33387         multiarch strpbrk for POWER7.
33388         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
33389         multiarch strpbrk for PPC64.
33390         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
33391         ifunc selector.
33392         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
33393         strpbrk for POWER7.
33395 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33397         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
33398         (atan_test): Likewise.
33399         (atanh_test_data): Use NO_TEST_INLINE for two tests.
33400         (atanh_test): Use ALL_RM_TEST.
33401         (atan2_test_data): Likewise.
33402         (cabs_test): Likewise.
33403         (cacosh_test): Likewise.
33404         (carg_test): Likewise.
33405         (casin_test): Likewise.
33406         (casinh_test): Likewise.
33407         (cbrt_test): Likewise.
33408         (csqrt_test): Likewise.
33409         (erf_test): Likewise.
33410         (erfc_test): Likewise.
33411         (pow10_test): Likewise.
33412         (exp2_test): Likewise.
33413         (hypot_test): Likewise.
33414         (j0_test): Likewise.
33415         (j1_test): Likewise.
33416         (lgamma_test): Likewise.
33417         (gamma_test): Likewise.
33418         (sincos_test): Likewise.
33419         (tanh_test): Likewise.
33420         (y0_test): Likewise.
33421         (y1_test): Likewise.
33422         * sysdeps/i386/fpu/libm-test-ulps: Update.
33423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33425 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33427         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
33428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
33429         and strcspn-ppc64 objects.
33430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33431         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
33432         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
33433         multiarch strcspn for POWER7.
33434         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
33435         multiarch strcspn for PPC64.
33436         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
33437         ifunc selector.
33438         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
33439         strcspn for POWER7.
33441 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
33443         * math/gen-libm-test.pl (generate_testfile): Expect only function
33444         name as argument to AUTO_TESTS_* and pass results for all rounding
33445         modes to parse_args.
33446         (parse_auto_input): Separate inputs of automatic tests from
33447         outputs before storing in %auto_tests.
33448         * math/libm-test.inc (acos_test_data): Update call to
33449         AUTO_TESTS_f_f.
33450         (acos_test): Use ALL_RM_TEST.
33451         (acos_tonearest_test_data): Remove.
33452         (acos_test_tonearest): Likewise.
33453         (acos_towardzero_test_data): Likewise.
33454         (acos_test_towardzero): Likewise.
33455         (acos_downward_test_data): Likewise.
33456         (acos_test_downward): Likewise.
33457         (acos_upward_test_data): Likewise.
33458         (acos_test_upward): Likewise.
33459         (acosh_test_data): Update call to AUTO_TESTS_f_f.
33460         (asin_test_data): Likewise.
33461         (asin_test): Use ALL_RM_TEST.
33462         (asin_tonearest_test_data): Remove.
33463         (asin_test_tonearest): Likewise.
33464         (asin_towardzero_test_data): Likewise.
33465         (asin_test_towardzero): Likewise.
33466         (asin_downward_test_data): Likewise.
33467         (asin_test_downward): Likewise.
33468         (asin_upward_test_data): Likewise.
33469         (asin_test_upward): Likewise.
33470         (asinh_test_data): Update call to AUTO_TESTS_f_f.
33471         (atan_test_data): Likewise.
33472         (atanh_test_data): Likewise.
33473         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
33474         (cabs_test_data): Update call to AUTO_TESTS_c_f.
33475         (carg_test_data): Likewise.
33476         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
33477         (ccos_test_data): Update call to AUTO_TESTS_c_c.
33478         (ccosh_test_data): Likewise.
33479         (cexp_test_data): Likewise.
33480         (clog_test_data): Likewise.
33481         (clog10_test_data): Likewise.
33482         (cos_test_data): Update call to AUTO_TESTS_f_f.
33483         (cos_test): Use ALL_RM_TEST.
33484         (cos_tonearest_test_data): Remove.
33485         (cos_test_tonearest): Likewise.
33486         (cos_towardzero_test_data): Likewise.
33487         (cos_test_towardzero): Likewise.
33488         (cos_downward_test_data): Likewise.
33489         (cos_test_downward): Likewise.
33490         (cos_upward_test_data): Likewise.
33491         (cos_test_upward): Likewise.
33492         (cosh_test_data): Update call to AUTO_TESTS_f_f.
33493         (cosh_test): Use ALL_RM_TEST.
33494         (cosh_tonearest_test_data): Remove.
33495         (cosh_test_tonearest): Likewise.
33496         (cosh_towardzero_test_data): Likewise.
33497         (cosh_test_towardzero): Likewise.
33498         (cosh_downward_test_data): Likewise.
33499         (cosh_test_downward): Likewise.
33500         (cosh_upward_test_data): Likewise.
33501         (cosh_test_upward): Likewise.
33502         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
33503         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
33504         (ctan_test_data): Likewise.
33505         (ctan_test): Use ALL_RM_TEST.
33506         (ctan_tonearest_test_data): Remove.
33507         (ctan_test_tonearest): Likewise.
33508         (ctan_towardzero_test_data): Likewise.
33509         (ctan_test_towardzero): Likewise.
33510         (ctan_downward_test_data): Likewise.
33511         (ctan_test_downward): Likewise.
33512         (ctan_upward_test_data): Likewise.
33513         (ctan_test_upward): Likewise.
33514         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
33515         (ctanh_test): Use ALL_RM_TEST.
33516         (ctanh_tonearest_test_data): Remove.
33517         (ctanh_test_tonearest): Likewise.
33518         (ctanh_towardzero_test_data): Likewise.
33519         (ctanh_test_towardzero): Likewise.
33520         (ctanh_downward_test_data): Likewise.
33521         (ctanh_test_downward): Likewise.
33522         (ctanh_upward_test_data): Likewise.
33523         (ctanh_test_upward): Likewise.
33524         (erf_test_data): Update call to AUTO_TESTS_f_f.
33525         (erfc_test_data): Likewise.
33526         (exp_test_data): Likewise.
33527         (exp_test): Use ALL_RM_TEST.
33528         (exp_tonearest_test_data): Remove.
33529         (exp_test_tonearest): Likewise.
33530         (exp_towardzero_test_data): Likewise.
33531         (exp_test_towardzero): Likewise.
33532         (exp_downward_test_data): Likewise.
33533         (exp_test_downward): Likewise.
33534         (exp_upward_test_data): Likewise.
33535         (exp_test_upward): Likewise.
33536         (exp10_test_data): Update call to AUTO_TESTS_f_f.
33537         (exp10_test): Use ALL_RM_TEST.
33538         (exp10_tonearest_test_data): Remove.
33539         (exp10_test_tonearest): Likewise.
33540         (exp10_towardzero_test_data): Likewise.
33541         (exp10_test_towardzero): Likewise.
33542         (exp10_downward_test_data): Likewise.
33543         (exp10_test_downward): Likewise.
33544         (exp10_upward_test_data): Likewise.
33545         (exp10_test_upward): Likewise.
33546         (exp2_test_data): Update call to AUTO_TESTS_f_f.
33547         (expm1_test_data): Likewise.
33548         (expm1_test): Use ALL_RM_TEST.
33549         (expm1_tonearest_test_data): Remove.
33550         (expm1_test_tonearest): Likewise.
33551         (expm1_towardzero_test_data): Likewise.
33552         (expm1_test_towardzero): Likewise.
33553         (expm1_downward_test_data): Likewise.
33554         (expm1_test_downward): Likewise.
33555         (expm1_upward_test_data): Likewise.
33556         (expm1_test_upward): Likewise.
33557         (fma_test_data): Update call to AUTO_TESTS_fff_f.
33558         (fma_test): Use ALL_RM_TEST.
33559         (fma_towardzero_test_data): Remove.
33560         (fma_test_towardzero): Likewise.
33561         (fma_downward_test_data): Likewise.
33562         (fma_test_downward): Likewise.
33563         (fma_upward_test_data): Likewise.
33564         (fma_test_upward): Likewise.
33565         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
33566         (j0_test_data): Update call to AUTO_TESTS_f_f.
33567         (j1_test_data): Likewise.
33568         (jn_test_data): Update call to AUTO_TESTS_if_f.
33569         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
33570         (log_test_data): Update call to AUTO_TESTS_f_f.
33571         (log10_test_data): Likewise.
33572         (log1p_test_data): Likewise.
33573         (log2_test_data): Likewise.
33574         (pow_test_data): Update call to AUTO_TESTS_ff_f.
33575         (pow_tonearest_test_data): Likewise.
33576         (sin_test_data): Update call to AUTO_TESTS_f_f.
33577         (sin_test): Use ALL_RM_TEST.
33578         (sin_tonearest_test_data): Remove.
33579         (sin_test_tonearest): Likewise.
33580         (sin_towardzero_test_data): Likewise.
33581         (sin_test_towardzero): Likewise.
33582         (sin_downward_test_data): Likewise.
33583         (sin_test_downward): Likewise.
33584         (sin_upward_test_data): Likewise.
33585         (sin_test_upward): Likewise.
33586         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
33587         (sinh_test_data): Update call to AUTO_TESTS_f_f.
33588         (sinh_test): Use ALL_RM_TEST.
33589         (sinh_tonearest_test_data): Remove.
33590         (sinh_test_tonearest): Likewise.
33591         (sinh_towardzero_test_data): Likewise.
33592         (sinh_test_towardzero): Likewise.
33593         (sinh_downward_test_data): Likewise.
33594         (sinh_test_downward): Likewise.
33595         (sinh_upward_test_data): Likewise.
33596         (sinh_test_upward): Likewise.
33597         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
33598         (sqrt_test): Use ALL_RM_TEST.
33599         (sqrt_tonearest_test_data): Remove.
33600         (sqrt_test_tonearest): Likewise.
33601         (sqrt_towardzero_test_data): Likewise.
33602         (sqrt_test_towardzero): Likewise.
33603         (sqrt_downward_test_data): Likewise.
33604         (sqrt_test_downward): Likewise.
33605         (sqrt_upward_test_data): Likewise.
33606         (sqrt_test_upward): Likewise.
33607         (tan_test_data): Update call to AUTO_TESTS_f_f.
33608         (tan_test): Use ALL_RM_TEST.
33609         (tan_tonearest_test_data): Remove.
33610         (tan_test_tonearest): Likewise.
33611         (tan_towardzero_test_data): Likewise.
33612         (tan_test_towardzero): Likewise.
33613         (tan_downward_test_data): Likewise.
33614         (tan_test_downward): Likewise.
33615         (tan_upward_test_data): Likewise.
33616         (tan_test_upward): Likewise.
33617         (tanh_test_data): Update call to AUTO_TESTS_f_f.
33618         (tgamma_test_data): Likewise.
33619         (y0_test_data): Likewise.
33620         (y1_test_data): Likewise.
33621         (yn_test_data): Update call to AUTO_TESTS_if_f.
33622         (main): Do not call removed functions.
33624 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33626         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
33627         (ldexp_test_data): Remove.
33628         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
33629         scalbn_test_data.
33630         (scalb_test): Use ALL_RM_TEST.
33632 2014-03-19  Andreas Schwab  <schwab@suse.de>
33634         * nscd/nscd.service: Also invalidate netgroup cache on reload.
33636 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
33638         [BZ #16649]
33639         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
33640         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
33641         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
33642         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33643         (__ASSUME_PREADV): Undefine.
33644         (__ASSUME_PWRITEV): Likewise.
33646 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33648         * bits/mman-linux.h: Add comment about non-Linux use.
33649         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
33650         bits/mman-linux.h resting place.
33652         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
33653         * bits/mman-linux.h: ... here.
33655 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33657         * conform/conformtest.pl: Add standard definition when calling C
33658         preprocessor on data files.
33659         (checknamespace): Remove unused variable.
33661 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33663         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
33664         minus_oflow, plus_uflow and minus_uflow in expected results.
33665         * math/libm-test.inc (scalbn_test_data): Add more tests of
33666         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
33667         minus_uflow.
33668         (scalbn_test): Use ALL_RM_TEST.
33669         (scalbln_test_data): Add more tests of negative arguments.  Use
33670         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
33671         (scalbln_test): Use ALL_RM_TEST.
33673 2014-03-18  Roland McGrath  <roland@hack.frob.com>
33675         * scripts/abilist.awk: Ignore symbols marked with .hidden.
33677 2014-03-18  Will Newton  <will.newton@linaro.org>
33679         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
33680         inaccurate comment.
33682 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
33684         * Makerules [!subdir] (check-abi): Exit with error status if a
33685         test failed.
33687 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33689         * math/libm-test.inc (nearbyint_test_data): Include all tests used
33690         for rint.  Include results for all rounding modes.
33691         (nearbyint_test): Use ALL_RM_TEST.
33692         (rint_test_data): Include all tests used for nearbyint.
33694 2014-03-17  Will Newton  <will.newton@linaro.org>
33696         * nptl/sysdeps/pthread/pthread.h: Revert previous
33697         change.
33699         * sysdeps/generic/ldsodefs.h: Revert previous
33700         change.
33702         * libio/genops.c: Revert previous change.
33703         * libio/libioP.h: Likewise.
33704         * stdio-common/vfprintf.c: Likewise.
33706         * sysdeps/generic/math_private.h: Revert previous
33707         change.
33709         * sysdeps/generic/math_private.h: Check whether
33710         HAVE_RM_CTX is defined with #ifdef rather
33711         than #if.
33713         * argp/argp-fmtstream.h: Check whether
33714         __STRICT_ANSI__ is defined with #ifdef rather
33715         than #if.
33716         * argp/argp.h: Likewise.
33718         * libio/genops.c: Check whether
33719         _IO_JUMPS_OFFSET is defined with #ifdef rather
33720         than #if.
33721         * libio/libioP.h: Likewise.
33722         * stdio-common/vfprintf.c: Likewise.
33724         * sysdeps/generic/ldsodefs.h: Check whether
33725         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
33726         than #if.
33728         * nptl/sysdeps/pthread/pthread.h: Check
33729         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
33730         its value.
33732 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33734         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
33735         setting O_APPEND.
33736         * libio/tst-ftell-active-handler.c (do_append_test): Add a
33737         test case.
33739         [BZ #16680]
33740         * libio/fileops.c (_IO_file_open): Seek to end of file but
33741         don't cache the offset.
33742         (get_file_offset): Remove function.
33743         (do_ftell): Use cached offset when available.
33744         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
33745         don't cache the offset.
33746         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
33747         case.
33748         (do_one_test): Call it.
33749         (do_ftell_test): Fix up expected old offset for a+ mode.
33750         * libio/wfileops.c (do_ftell_wide): Used cached offset when
33751         available.
33753         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
33754         up test status with function return status.
33755         (do_write_test): Likewise.
33756         (do_append_test): Likewise.
33758         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
33759         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
33760         Remove.
33762 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
33764         * math/gen-libm-test.pl (parse_args): Handle results specified for
33765         each rounding mode separately.
33766         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
33767         tests and results from lrint_tonearest_test_data,
33768         lrint_towardzero_test_data, lrint_downward_test_data and
33769         lrint_upward_test_data.
33770         (lrint_test): Use ALL_RM_TEST.
33771         (lrint_tonearest_test_data): Remove.
33772         (lrint_test_tonearest): Likewise.
33773         (lrint_towardzero_test_data): Likewise.
33774         (lrint_test_towardzero): Likewise.
33775         (lrint_downward_test_data): Likewise.
33776         (lrint_test_downward): Likewise.
33777         (lrint_upward_test_data): Likewise.
33778         (lrint_test_upward): Likewise.
33779         (llrint_test_data): Merge in per-rounding-mode tests and results
33780         from llrint_tonearest_test_data, llrint_towardzero_test_data,
33781         llrint_downward_test_data and llrint_upward_test_data.
33782         (llrint_test): Use ALL_RM_TEST.
33783         (llrint_tonearest_test_data): Remove.
33784         (llrint_test_tonearest): Likewise.
33785         (llrint_towardzero_test_data): Likewise.
33786         (llrint_test_towardzero): Likewise.
33787         (llrint_downward_test_data): Likewise.
33788         (llrint_test_downward): Likewise.
33789         (llrint_upward_test_data): Likewise.
33790         (llrint_test_upward): Likewise.
33791         (rint_test_data): Merge in per-rounding-mode tests and results
33792         from rint_tonearest_test_data, rint_towardzero_test_data,
33793         rint_downward_test_data and rint_upward_test_data.  Add
33794         per-rounding-mode results for tests not in those arrays.
33795         (rint_test): Use ALL_RM_TEST.
33796         (rint_tonearest_test_data): Remove.
33797         (rint_test_tonearest): Likewise.
33798         (rint_towardzero_test_data): Likewise.
33799         (rint_test_towardzero): Likewise.
33800         (rint_downward_test_data): Likewise.
33801         (rint_test_downward): Likewise.
33802         (rint_upward_test_data): Likewise.
33803         (rint_test_upward): Likewise.
33804         (main): Don't call removed functions.
33806 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33808         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
33809         "Compiled on ..." crapola.  It is anti-useful.
33811 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
33813         * scripts/evaluate-test.sh: Handle fourth argument to determine
33814         whether test run should stop on failure.
33815         * Makeconfig (stop-on-test-failure): New variable.
33816         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
33817         $(stop-on-test-failure).
33818         * Makefile (tests): Give a summary of results from testing and
33819         exit with failure status if they include an ERROR or FAIL.
33820         (xtests): Likewise.
33821         * manual/install.texi (Configuring and compiling): Mention
33822         stop-on-test-failure=y.
33823         * INSTALL: Regenerated.
33825 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33827         * scripts/versionlist.awk: New file.
33828         * Makerules [$(build-shared) = yes]
33829         (postclean-generated): Add Versions.def, not Versions.def.v and
33830         Versions.def.v.i.
33831         ($(common-objpfx)Versions.def.v.i): Target removed.
33832         ($(common-objpfx)Versions.def): New target.
33833         ($(common-objpfx)Versions.all): Depend on that rather that
33834         $(common-objpfx)Versions.def.v.
33835         * Versions.def: File removed.
33837         * Makeconfig (+gccwarn): Add -Wundef.
33838         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
33839         a dl-sysdep.h breaking its contract.
33840         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
33841         * include/stackinfo.h: New file.
33842         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
33843         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
33844         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
33845         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
33846         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
33847         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
33848         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33849         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33850         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33851         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33852         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33853         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
33854         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33855         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33856         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
33858 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33860         [BZ #16707]
33861         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
33862         implementation.
33863         * math/libm-test.inc (round_test_data): Add more tests.
33865         [BZ #16706]
33866         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
33867         implementation.
33868         * math/libm-test.inc (nearbyint_test_data): Add more tests.
33870         [BZ #16701]
33871         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
33872         implementation.
33873         * math/libm-test.inc (ceil_test_data): Add more tests.
33875         * math/libm-test.inc (trunc_test_data): Add more tests related to
33876         BZ#16414.
33878 2014-03-14  Roland McGrath  <roland@hack.frob.com>
33880         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
33881         with #if rather than #ifdef.
33882         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
33884 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
33886         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
33887         first.  Disable AVX-512 GCC support if assembler doesn't support
33888         it.
33889         * sysdeps/x86_64/configure: Regenerated.
33891 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
33893         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
33894         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
33895         (__old_pthread_attr_setstack): Likewise.
33896         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
33897         [!_STACK_GROWS_DOWN]: Likewise.
33899 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
33901         * config.make.in (have-bash2): Delete.
33902         * configure.ac (libc_cv_have_bash2): Delete.
33903         * configure: Regenerate.
33904         * elf/Makefile (common-ldd-rewrite): Rename to ...
33905         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
33906         (sh-ldd-rewrite): Delete.
33907         (bash-ldd-rewrite): Delete.
33908         (have-bash2): Delete checks.
33909         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
33910         ldd-rewrite.
33912         * config.make.in (have-ksh): Delete.
33913         (KSH): Delete.
33914         * configure.ac (libc_cv_have_ksh): Delete.
33915         * configure: Regenerate.
33917         * elf/Makefile: Delete $(have-ksh) check.
33918         ($(objpfx)sotruss): Change KSH to BASH.
33919         * elf/sotruss.ksh: Rename to ...
33920         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
33921         function style to match POSIX.  Drop ksh vim mode setting.
33923         * manual/time.texi (Specifying the Time Zone with TZ): Change
33924         Tuesday to Thursday.
33926         * debug/tst-longjmp_chk2.c: Update header comment.
33927         (stackoverflow_handler): Add comment.  Call assert on pass value.
33929 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
33931         [BZ #16194]
33932         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
33933         (HAVE_AVX512_ASM_SUPPORT): Likewise.
33934         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
33935         (La_x86_64_vector): Add zmm.
33936         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
33937         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
33938         ($(objpfx)tst-audit10): New target.
33939         ($(objpfx)tst-audit10.out): Likewise.
33940         (tst-audit10-ENV): New.
33941         (AVX512-CFLAGS): Likewise.
33942         (CFLAGS-tst-audit10.c): Likewise.
33943         (CFLAGS-tst-auditmod10a.c): Likewise.
33944         (CFLAGS-tst-auditmod10b.c): Likewise.
33945         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
33946         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
33947         * sysdeps/x86_64/configure: Regenerated.
33948         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
33949         AVX-512 zmm register support.
33950         (_dl_x86_64_save_sse): Likewise.
33951         (_dl_x86_64_restore_sse): Likewise.
33952         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
33953         size vector registers.
33954         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
33955         (ZMM_SIZE): Likewise.
33956         * sysdeps/x86_64/tst-audit10.c: New file.
33957         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
33958         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
33960 2014-03-13  Roland McGrath  <roland@hack.frob.com>
33962         * configure.ac (HAVE_EHDR_START): New check.
33963         * configure: Regenerated.
33964         * config.h.in (HAVE_EHDR_START): New #undef.
33965         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
33966         assuming the lowest-addressed segment maps the start of the file.
33968 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
33970         * INSTALL: Regenerated.
33972 2014-03-13  Will Newton  <will.newton@linaro.org>
33974         * manual/setjmp.texi (System V contexts): Improve
33975         clarity and grammar of documentation.
33977 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33979         [BZ #16381]
33980         * elf/Makefile (tests): Add tst-pie2.
33981         (tests-pie): Add tst-pie2.
33982         * elf/tst-pie2.c: New file.
33983         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
33984         for ET_EXEC.
33985         * elf/rtld.c (map_doit): Load executable as lt_executable.
33986         (dl_main): Likewise.
33988 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
33990         [BZ #16642]
33991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33992         (__ASSUME_PSELECT): Undefine.
33994 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33996         [BZ #16689]
33997         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
33998         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
33999         static build.
34000         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
34001         selector for static builds.
34003 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34005         [BZ #16695]
34006         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
34007         key in the buffer.
34009 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34011         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
34012         IFUNC selector for static builds.
34014 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
34016         * sysdeps/mips/math_private.h [__mips_hard_float]
34017         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
34018         libc_feresetround_mips_ctx.
34019         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
34020         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
34021         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
34023         [BZ #16677]
34024         * math/s_nextafter.c (__nextafter): Do not return value from
34025         overflowing computation.
34026         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34027         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
34028         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
34029         Likewise.
34030         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
34031         Likewise.
34032         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
34033         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
34035 2014-03-11  Roland McGrath  <roland@hack.frob.com>
34037         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
34038         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
34039         Move sfi_sp use from the load-multiple (that no longer sets sp) to
34040         the new mov targetting sp.
34042 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34044         [BZ #16683]
34045         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
34046         Define it for static builds as well.
34047         (NO_BZERO_IMPL): Likewise.
34049 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34051         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
34052         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
34053         multiarch strspn for PPC64.
34054         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
34055         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
34056         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34057         (__libc_ifunc_impl_list): Likewise.
34058         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
34059         multiarch optimizations
34060         * string/strspn.c (strspn): Using macro to redefine symbol name.
34062 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34063             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34065         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
34066         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
34067         multiarch strncat for PPC64.
34068         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
34069         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
34070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34071         (__libc_ifunc_impl_list): Likewise.
34072         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
34073         multiarch optimizations
34075 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34077         [BZ #16639]
34078         * nscd/nscd.service: Make service type forking.
34080 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34082         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
34083         sign in non default rounding modes.
34084         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
34086 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
34088         * math/libm-test.inc (ALL_RM_TEST): New macro.
34089         (ceil_test): Use ALL_RM_TEST.
34090         (cimag_test): Likewise.
34091         (conj_test): Likewise.
34092         (copysign_test): Likewise.
34093         (cproj_test): Likewise.
34094         (creal_test): Likewise.
34095         (fabs_test): Likewise.
34096         (floor_test): Likewise.
34097         (fmax_test): Likewise.
34098         (fmin_test): Likewise.
34099         (fmod_test): Likewise.
34100         (fpclassify_test): Likewise.
34101         (frexp_test): Likewise.
34102         (ilogb_test): Likewise.
34103         (isfinite_test): Likewise.
34104         (finite_test): Likewise.
34105         (isgreater_test): Likewise.
34106         (isgreaterequal_test): Likewise.
34107         (isinf_test): Likewise.
34108         (isless_test): Likewise.
34109         (islessequal_test): Likewise.
34110         (islessgreater_test): Likewise.
34111         (isnan_test): Likewise.
34112         (isnormal_test): Likewise.
34113         (issignaling_test): Likewise.
34114         (isunordered_test): Likewise.
34115         (logb_test): Likewise.
34116         (logb_downward_test_data): Remove.
34117         (logb_test_downward): Likewise.
34118         (lround_test): Use ALL_RM_TEST.
34119         (llround_test): Likewise.
34120         (modf_test): Likewise.
34121         (nexttoward_test): Likewise.
34122         (remainder_test): Likewise.
34123         (drem_test): Likewise.
34124         (remainder_tonearest_test_data): Likewise.
34125         (remainder_test_tonearest): Likewise.
34126         (drem_test_tonearest): Likewise.
34127         (remainder_towardzero_test_data): Likewise.
34128         (remainder_test_towardzero): Likewise.
34129         (drem_test_towardzero): Likewise.
34130         (remainder_downward_test_data): Likewise.
34131         (remainder_test_downward): Likewise.
34132         (drem_test_downward): Likewise.
34133         (remainder_upward_test_data): Likewise.
34134         (remainder_test_upward): Likewise.
34135         (drem_test_upward): Likewise.
34136         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
34137         (round_test): Use ALL_RM_TEST.
34138         (signbit_test): Likewise.
34139         (trunc_test): Likewise.
34140         (significand_test): Likewise.
34141         (main): Don't call removed functions.
34143 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34145         [BZ #16674]
34146         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
34147         || __USE_XOPEN2K8].
34148         (ILL_ILLOPN): Likewise.
34149         (ILL_ILLADR): Likewise.
34150         (ILL_ILLTRP): Likewise.
34151         (ILL_PRVOPC): Likewise.
34152         (ILL_PRVREG): Likewise.
34153         (ILL_COPROC): Likewise.
34154         (ILL_BADSTK): Likewise.
34155         (FPE_INTDIV): Likewise.
34156         (FPE_INTOVF): Likewise.
34157         (FPE_FLTDIV): Likewise.
34158         (FPE_FLTOVF): Likewise.
34159         (FPE_FLTUND): Likewise.
34160         (FPE_FLTRES): Likewise.
34161         (FPE_FLTINV): Likewise.
34162         (FPE_FLTSUB): Likewise.
34163         (SEGV_MAPERR): Likewise.
34164         (SEGV_ACCERR): Likewise.
34165         (BUS_ADRALN): Likewise.
34166         (BUS_ADRERR): Likewise.
34167         (BUS_OBJERR): Likewise.
34168         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34169         (TRAP_TRACE): Likewise.
34170         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34171         __USE_XOPEN2K8].
34172         (CLD_KILLED): Likewise.
34173         (CLD_DUMPED): Likewise.
34174         (CLD_TRAPPED): Likewise.
34175         (CLD_STOPPED): Likewise.
34176         (CLD_CONTINUED): Likewise.
34177         (POLL_IN): Likewise.
34178         (POLL_OUT): Likewise.
34179         (POLL_MSG): Likewise.
34180         (POLL_ERR): Likewise.
34181         (POLL_PRI): Likewise.
34182         (POLL_HUP): Likewise.
34183         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
34184         Likewise.
34185         (ILL_ILLOPN): Likewise.
34186         (ILL_ILLADR): Likewise.
34187         (ILL_ILLTRP): Likewise.
34188         (ILL_PRVOPC): Likewise.
34189         (ILL_PRVREG): Likewise.
34190         (ILL_COPROC): Likewise.
34191         (ILL_BADSTK): Likewise.
34192         (FPE_INTDIV): Likewise.
34193         (FPE_INTOVF): Likewise.
34194         (FPE_FLTDIV): Likewise.
34195         (FPE_FLTOVF): Likewise.
34196         (FPE_FLTUND): Likewise.
34197         (FPE_FLTRES): Likewise.
34198         (FPE_FLTINV): Likewise.
34199         (FPE_FLTSUB): Likewise.
34200         (SEGV_MAPERR): Likewise.
34201         (SEGV_ACCERR): Likewise.
34202         (BUS_ADRALN): Likewise.
34203         (BUS_ADRERR): Likewise.
34204         (BUS_OBJERR): Likewise.
34205         (BUS_MCEERR_AR): Likewise.
34206         (BUS_MCEERR_AO): Likewise.
34207         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34208         (TRAP_TRACE): Likewise.
34209         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34210         __USE_XOPEN2K8].
34211         (CLD_KILLED): Likewise.
34212         (CLD_DUMPED): Likewise.
34213         (CLD_TRAPPED): Likewise.
34214         (CLD_STOPPED): Likewise.
34215         (CLD_CONTINUED): Likewise.
34216         (POLL_IN): Likewise.
34217         (POLL_OUT): Likewise.
34218         (POLL_MSG): Likewise.
34219         (POLL_ERR): Likewise.
34220         (POLL_PRI): Likewise.
34221         (POLL_HUP): Likewise.
34222         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
34223         (ILL_ILLOPN): Likewise.
34224         (ILL_ILLADR): Likewise.
34225         (ILL_ILLTRP): Likewise.
34226         (ILL_PRVOPC): Likewise.
34227         (ILL_PRVREG): Likewise.
34228         (ILL_COPROC): Likewise.
34229         (ILL_BADSTK): Likewise.
34230         (FPE_INTDIV): Likewise.
34231         (FPE_INTOVF): Likewise.
34232         (FPE_FLTDIV): Likewise.
34233         (FPE_FLTOVF): Likewise.
34234         (FPE_FLTUND): Likewise.
34235         (FPE_FLTRES): Likewise.
34236         (FPE_FLTINV): Likewise.
34237         (FPE_FLTSUB): Likewise.
34238         (SEGV_MAPERR): Likewise.
34239         (SEGV_ACCERR): Likewise.
34240         (BUS_ADRALN): Likewise.
34241         (BUS_ADRERR): Likewise.
34242         (BUS_OBJERR): Likewise.
34243         (BUS_MCEERR_AR): Likewise.
34244         (BUS_MCEERR_AO): Likewise.
34245         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34246         (TRAP_TRACE): Likewise.
34247         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34248         __USE_XOPEN2K8].
34249         (CLD_KILLED): Likewise.
34250         (CLD_DUMPED): Likewise.
34251         (CLD_TRAPPED): Likewise.
34252         (CLD_STOPPED): Likewise.
34253         (CLD_CONTINUED): Likewise.
34254         (POLL_IN): Likewise.
34255         (POLL_OUT): Likewise.
34256         (POLL_MSG): Likewise.
34257         (POLL_ERR): Likewise.
34258         (POLL_PRI): Likewise.
34259         (POLL_HUP): Likewise.
34260         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
34261         Likewise.
34262         (ILL_ILLOPN): Likewise.
34263         (ILL_ILLADR): Likewise.
34264         (ILL_ILLTRP): Likewise.
34265         (ILL_PRVOPC): Likewise.
34266         (ILL_PRVREG): Likewise.
34267         (ILL_COPROC): Likewise.
34268         (ILL_BADSTK): Likewise.
34269         (ILL_BADIADDR): Likewise.
34270         (ILL_BREAK): Likewise.
34271         (FPE_INTDIV): Likewise.
34272         (FPE_INTOVF): Likewise.
34273         (FPE_FLTDIV): Likewise.
34274         (FPE_FLTOVF): Likewise.
34275         (FPE_FLTUND): Likewise.
34276         (FPE_FLTRES): Likewise.
34277         (FPE_FLTINV): Likewise.
34278         (FPE_FLTSUB): Likewise.
34279         (FPE_DECOVF): Likewise.
34280         (FPE_DECDIV): Likewise.
34281         (FPE_DECERR): Likewise.
34282         (FPE_INVASC): Likewise.
34283         (FPE_INVDEC): Likewise.
34284         (SEGV_MAPERR): Likewise.
34285         (SEGV_ACCERR): Likewise.
34286         (SEGV_PSTKOVF): Likewise.
34287         (BUS_ADRALN): Likewise.
34288         (BUS_ADRERR): Likewise.
34289         (BUS_OBJERR): Likewise.
34290         (BUS_MCEERR_AR): Likewise.
34291         (BUS_MCEERR_AO): Likewise.
34292         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34293         (TRAP_TRACE): Likewise.
34294         (TRAP_BRANCH): Likewise.
34295         (TRAP_HWBKPT): Likewise.
34296         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34297         __USE_XOPEN2K8].
34298         (CLD_KILLED): Likewise.
34299         (CLD_DUMPED): Likewise.
34300         (CLD_TRAPPED): Likewise.
34301         (CLD_STOPPED): Likewise.
34302         (CLD_CONTINUED): Likewise.
34303         (POLL_IN): Likewise.
34304         (POLL_OUT): Likewise.
34305         (POLL_MSG): Likewise.
34306         (POLL_ERR): Likewise.
34307         (POLL_PRI): Likewise.
34308         (POLL_HUP): Likewise.
34309         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
34310         (ILL_ILLOPN): Likewise.
34311         (ILL_ILLADR): Likewise.
34312         (ILL_ILLTRP): Likewise.
34313         (ILL_PRVOPC): Likewise.
34314         (ILL_PRVREG): Likewise.
34315         (ILL_COPROC): Likewise.
34316         (ILL_BADSTK): Likewise.
34317         (FPE_INTDIV): Likewise.
34318         (FPE_INTOVF): Likewise.
34319         (FPE_FLTDIV): Likewise.
34320         (FPE_FLTOVF): Likewise.
34321         (FPE_FLTUND): Likewise.
34322         (FPE_FLTRES): Likewise.
34323         (FPE_FLTINV): Likewise.
34324         (FPE_FLTSUB): Likewise.
34325         (SEGV_MAPERR): Likewise.
34326         (SEGV_ACCERR): Likewise.
34327         (BUS_ADRALN): Likewise.
34328         (BUS_ADRERR): Likewise.
34329         (BUS_OBJERR): Likewise.
34330         (BUS_MCEERR_AR): Likewise.
34331         (BUS_MCEERR_AO): Likewise.
34332         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34333         (TRAP_TRACE): Likewise.
34334         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34335         __USE_XOPEN2K8].
34336         (CLD_KILLED): Likewise.
34337         (CLD_DUMPED): Likewise.
34338         (CLD_TRAPPED): Likewise.
34339         (CLD_STOPPED): Likewise.
34340         (CLD_CONTINUED): Likewise.
34341         (POLL_IN): Likewise.
34342         (POLL_OUT): Likewise.
34343         (POLL_MSG): Likewise.
34344         (POLL_ERR): Likewise.
34345         (POLL_PRI): Likewise.
34346         (POLL_HUP): Likewise.
34347         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
34348         (ILL_ILLOPN): Likewise.
34349         (ILL_ILLADR): Likewise.
34350         (ILL_ILLTRP): Likewise.
34351         (ILL_PRVOPC): Likewise.
34352         (ILL_PRVREG): Likewise.
34353         (ILL_COPROC): Likewise.
34354         (ILL_BADSTK): Likewise.
34355         (FPE_INTDIV): Likewise.
34356         (FPE_INTOVF): Likewise.
34357         (FPE_FLTDIV): Likewise.
34358         (FPE_FLTOVF): Likewise.
34359         (FPE_FLTUND): Likewise.
34360         (FPE_FLTRES): Likewise.
34361         (FPE_FLTINV): Likewise.
34362         (FPE_FLTSUB): Likewise.
34363         (SEGV_MAPERR): Likewise.
34364         (SEGV_ACCERR): Likewise.
34365         (BUS_ADRALN): Likewise.
34366         (BUS_ADRERR): Likewise.
34367         (BUS_OBJERR): Likewise.
34368         (BUS_MCEERR_AR): Likewise.
34369         (BUS_MCEERR_AO): Likewise.
34370         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34371         (TRAP_TRACE): Likewise.
34372         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34373         __USE_XOPEN2K8].
34374         (CLD_KILLED): Likewise.
34375         (CLD_DUMPED): Likewise.
34376         (CLD_TRAPPED): Likewise.
34377         (CLD_STOPPED): Likewise.
34378         (CLD_CONTINUED): Likewise.
34379         (POLL_IN): Likewise.
34380         (POLL_OUT): Likewise.
34381         (POLL_MSG): Likewise.
34382         (POLL_ERR): Likewise.
34383         (POLL_PRI): Likewise.
34384         (POLL_HUP): Likewise.
34385         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
34386         (ILL_ILLOPN): Likewise.
34387         (ILL_ILLADR): Likewise.
34388         (ILL_ILLTRP): Likewise.
34389         (ILL_PRVOPC): Likewise.
34390         (ILL_PRVREG): Likewise.
34391         (ILL_COPROC): Likewise.
34392         (ILL_BADSTK): Likewise.
34393         (FPE_INTDIV): Likewise.
34394         (FPE_INTOVF): Likewise.
34395         (FPE_FLTDIV): Likewise.
34396         (FPE_FLTOVF): Likewise.
34397         (FPE_FLTUND): Likewise.
34398         (FPE_FLTRES): Likewise.
34399         (FPE_FLTINV): Likewise.
34400         (FPE_FLTSUB): Likewise.
34401         (SEGV_MAPERR): Likewise.
34402         (SEGV_ACCERR): Likewise.
34403         (BUS_ADRALN): Likewise.
34404         (BUS_ADRERR): Likewise.
34405         (BUS_OBJERR): Likewise.
34406         (BUS_MCEERR_AR): Likewise.
34407         (BUS_MCEERR_AO): Likewise.
34408         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34409         (TRAP_TRACE): Likewise.
34410         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34411         __USE_XOPEN2K8].
34412         (CLD_KILLED): Likewise.
34413         (CLD_DUMPED): Likewise.
34414         (CLD_TRAPPED): Likewise.
34415         (CLD_STOPPED): Likewise.
34416         (CLD_CONTINUED): Likewise.
34417         (POLL_IN): Likewise.
34418         (POLL_OUT): Likewise.
34419         (POLL_MSG): Likewise.
34420         (POLL_ERR): Likewise.
34421         (POLL_PRI): Likewise.
34422         (POLL_HUP): Likewise.
34423         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
34424         (ILL_ILLOPN): Likewise.
34425         (ILL_ILLADR): Likewise.
34426         (ILL_ILLTRP): Likewise.
34427         (ILL_PRVOPC): Likewise.
34428         (ILL_PRVREG): Likewise.
34429         (ILL_COPROC): Likewise.
34430         (ILL_BADSTK): Likewise.
34431         (ILL_DBLFLT): Likewise.
34432         (ILL_HARDWALL): Likewise.
34433         (FPE_INTDIV): Likewise.
34434         (FPE_INTOVF): Likewise.
34435         (FPE_FLTDIV): Likewise.
34436         (FPE_FLTOVF): Likewise.
34437         (FPE_FLTUND): Likewise.
34438         (FPE_FLTRES): Likewise.
34439         (FPE_FLTINV): Likewise.
34440         (FPE_FLTSUB): Likewise.
34441         (SEGV_MAPERR): Likewise.
34442         (SEGV_ACCERR): Likewise.
34443         (BUS_ADRALN): Likewise.
34444         (BUS_ADRERR): Likewise.
34445         (BUS_OBJERR): Likewise.
34446         (BUS_MCEERR_AR): Likewise.
34447         (BUS_MCEERR_AO): Likewise.
34448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34449         (TRAP_TRACE): Likewise.
34450         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34451         __USE_XOPEN2K8].
34452         (CLD_KILLED): Likewise.
34453         (CLD_DUMPED): Likewise.
34454         (CLD_TRAPPED): Likewise.
34455         (CLD_STOPPED): Likewise.
34456         (CLD_CONTINUED): Likewise.
34457         (POLL_IN): Likewise.
34458         (POLL_OUT): Likewise.
34459         (POLL_MSG): Likewise.
34460         (POLL_ERR): Likewise.
34461         (POLL_PRI): Likewise.
34462         (POLL_HUP): Likewise.
34463         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
34464         (ILL_ILLOPN): Likewise.
34465         (ILL_ILLADR): Likewise.
34466         (ILL_ILLTRP): Likewise.
34467         (ILL_PRVOPC): Likewise.
34468         (ILL_PRVREG): Likewise.
34469         (ILL_COPROC): Likewise.
34470         (ILL_BADSTK): Likewise.
34471         (FPE_INTDIV): Likewise.
34472         (FPE_INTOVF): Likewise.
34473         (FPE_FLTDIV): Likewise.
34474         (FPE_FLTOVF): Likewise.
34475         (FPE_FLTUND): Likewise.
34476         (FPE_FLTRES): Likewise.
34477         (FPE_FLTINV): Likewise.
34478         (FPE_FLTSUB): Likewise.
34479         (SEGV_MAPERR): Likewise.
34480         (SEGV_ACCERR): Likewise.
34481         (BUS_ADRALN): Likewise.
34482         (BUS_ADRERR): Likewise.
34483         (BUS_OBJERR): Likewise.
34484         (BUS_MCEERR_AR): Likewise.
34485         (BUS_MCEERR_AO): Likewise.
34486         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
34487         (TRAP_TRACE): Likewise.
34488         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
34489         __USE_XOPEN2K8].
34490         (CLD_KILLED): Likewise.
34491         (CLD_DUMPED): Likewise.
34492         (CLD_TRAPPED): Likewise.
34493         (CLD_STOPPED): Likewise.
34494         (CLD_CONTINUED): Likewise.
34495         (POLL_IN): Likewise.
34496         (POLL_OUT): Likewise.
34497         (POLL_MSG): Likewise.
34498         (POLL_ERR): Likewise.
34499         (POLL_PRI): Likewise.
34500         (POLL_HUP): Likewise.
34501         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
34502         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34504         [BZ #16670]
34505         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
34506         before #include of <time.h>.
34507         [!__USE_XOPEN2K] (__need_timespec): Likewise.
34508         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
34509         (test-xfail-UNIX98/sched.h/conform): Likewise.
34511 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34513         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
34514         error absence of trapping exception support.
34515         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
34517 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
34519         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
34520         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
34521         * timezone/Makefile (testdata): Move definition above include of
34522         Rules.
34523         (test-zones): New variable.
34524         (tests-special): Add zone files.
34525         (build-testdata): Use $(evaluate-test).
34527         * elf/Makefile (tests-special): Rename tests to end with .out.
34528         ($(objpfx)noload-mem): Likewise.
34529         ($(objpfx)tst-leaks1-mem): Likewise.
34530         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
34531         * iconv/Makefile (xtests-special): Change test-iconvconfig to
34532         $(objpfx)test-iconvconfig.out.
34533         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
34534         set -e inside subshell and redirect output to file.
34535         * iconvdata/Makefile (generated): Rename tests to end with .out.
34536         Correct type.
34537         (tests-special): Rename tests to end with .out.
34538         ($(objpfx)mtrace-tst-loading): Likewise.
34539         * intl/Makefile (generated): Likewise.
34540         (tests-special): Likewise.
34541         ($(objpfx)mtrace-tst-gettext): Likewise.
34542         * misc/Makefile (generated): Likewise.
34543         (tests-special): Likewise.
34544         ($(objpfx)tst-error1-mem): Likewise.
34545         * nptl/Makefile (tests-special): Likewise.
34546         ($(objpfx)tst-stack3-mem): Likewise.
34547         (generated): Likewise.
34548         * posix/Makefile (generated): Likewise.
34549         (tests-special): Likewise.
34550         (xtests-special): Likewise.
34551         ($(objpfx)tst-fnmatch-mem): Likewise.
34552         ($(objpfx)bug-regex2-mem): Likewise.
34553         ($(objpfx)bug-regex14-mem): Likewise.
34554         ($(objpfx)bug-regex21-mem): Likewise.
34555         ($(objpfx)bug-regex31-mem): Likewise.
34556         ($(objpfx)tst-vfork3-mem): Likewise.
34557         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
34558         ($(objpfx)tst-pcre-mem): Likewise.
34559         ($(objpfx)tst-boost-mem): Likewise.
34560         ($(objpfx)bug-ga2-mem): Likewise.
34561         ($(objpfx)bug-glob2-mem): Likewise.
34562         * resolv/Makefile (generate): Likewise.
34563         (tests-special): Likewise.
34564         (xtests-special): Likewise.
34565         (generated): Likewise.
34566         ($(objpfx)mtrace-tst-leaks): Likewise.
34567         ($(objpfx)mtrace-tst-leaks2): Likewise.
34569         * scripts/merge-test-results.sh: New file.
34570         * Makefile (tests-special-notdir): New variable.
34571         (tests): Run merge-test-results.sh.
34572         (xtests): Likewise.
34573         * Rules (tests-special-notdir): New variable.
34574         (xtests-special-notdir): Likewise.
34575         (tests): Run merge-test-results.sh
34576         (xtests): Likewise.
34578         * Makeconfig (test-xfail-name): New variable.
34579         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
34580         compute variable name for expected failures.
34581         * conform/Makefile (conformtest-headers-data): New variable.
34582         (conformtest-standards): Likewise.
34583         (conformtest-headers-ISO): Likewise.
34584         (conformtest-headers-ISO99): Likewise.
34585         (conformtest-headers-ISO11): Likewise.
34586         (conformtest-headers-POSIX): Likewise.
34587         (conformtest-headers-XPG3): Likewise.
34588         (conformtest-headers-XPG4): Likewise.
34589         (conformtest-headers-UNIX98): Likewise.
34590         (conformtest-headers-XOPEN2K): Likewise.
34591         (conformtest-headers-POSIX2008): Likewise.
34592         (conformtest-headers-XOPEN2K8): Likewise.
34593         (conformtest-header-list-base): Likewise.
34594         (conformtest-header-list-tests): Likewise.
34595         (conformtest-header-base): Likewise.
34596         (conformtest-header-tests): Likewise.
34597         (tests-special): Add $(conformtest-header-list-tests).  If
34598         [$(fast-check) && !$(cross-compiling)], add
34599         $(conformtest-header-tests) instead of
34600         $(objpfx)run-conformtest.out.
34601         (generated): Add $(conformtest-header-list-base).  If
34602         [$(fast-check) && !$(cross-compiling)], add
34603         $(conformtest-header-base).  Remove previous setting.
34604         ($(conformtest-header-list-tests)): New target.
34605         (test-xfail-run-conformtest): Remove variable.
34606         ($(objpfx)run-conformtest.out): Remove target.
34607         (test-xfail-ISO11/complex.h/conform): New variable.
34608         (test-xfail-ISO11/stdalign.h/conform): Likewise.
34609         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
34610         (test-xfail-XPG3/varargs.h/conform): Likewise.
34611         (test-xfail-XPG4/varargs.h/conform): Likewise.
34612         (test-xfail-UNIX98/varargs.h/conform): Likewise.
34613         (test-xfail-XPG4/ndbm.h/conform): Likewise.
34614         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
34615         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
34616         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
34617         (test-xfail-XPG3/fcntl.h/conform): Likewise.
34618         (test-xfail-XPG3/ftw.h/conform): Likewise.
34619         (test-xfail-XPG3/grp.h/conform): Likewise.
34620         (test-xfail-XPG3/langinfo.h/conform): Likewise.
34621         (test-xfail-XPG3/limits.h/conform): Likewise.
34622         (test-xfail-XPG3/pwd.h/conform): Likewise.
34623         (test-xfail-XPG3/search.h/conform): Likewise.
34624         (test-xfail-XPG3/signal.h/conform): Likewise.
34625         (test-xfail-XPG3/stdio.h/conform): Likewise.
34626         (test-xfail-XPG3/stdlib.h/conform): Likewise.
34627         (test-xfail-XPG3/string.h/conform): Likewise.
34628         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
34629         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
34630         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34631         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34632         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
34633         (test-xfail-XPG3/sys/types.h/conform): Likewise.
34634         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
34635         (test-xfail-XPG3/termios.h/conform): Likewise.
34636         (test-xfail-XPG3/time.h/conform): Likewise.
34637         (test-xfail-XPG3/unistd.h/conform): Likewise.
34638         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
34639         (test-xfail-XPG4/fcntl.h/conform): Likewise.
34640         (test-xfail-XPG4/langinfo.h/conform): Likewise.
34641         (test-xfail-XPG4/netdb.h/conform): Likewise.
34642         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
34643         (test-xfail-XPG4/signal.h/conform): Likewise.
34644         (test-xfail-XPG4/stdio.h/conform): Likewise.
34645         (test-xfail-XPG4/stdlib.h/conform): Likewise.
34646         (test-xfail-XPG4/stropts.h/conform): Likewise.
34647         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34648         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34649         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34650         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34651         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34652         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
34653         (test-xfail-XPG4/sys/time.h/conform): Likewise.
34654         (test-xfail-XPG4/sys/types.h/conform): Likewise.
34655         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
34656         (test-xfail-XPG4/termios.h/conform): Likewise.
34657         (test-xfail-XPG4/ucontext.h/conform): Likewise.
34658         (test-xfail-XPG4/unistd.h/conform): Likewise.
34659         (test-xfail-XPG4/utmpx.h/conform): Likewise.
34660         (test-xfail-POSIX/sched.h/conform): Likewise.
34661         (test-xfail-POSIX/signal.h/conform): Likewise.
34662         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
34663         (test-xfail-POSIX/tar.h/conform): Likewise.
34664         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
34665         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
34666         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
34667         (test-xfail-UNIX98/netdb.h/conform): Likewise.
34668         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
34669         (test-xfail-UNIX98/sched.h/conform): Likewise.
34670         (test-xfail-UNIX98/signal.h/conform): Likewise.
34671         (test-xfail-UNIX98/stdio.h/conform): Likewise.
34672         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
34673         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34674         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34675         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34676         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34677         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34678         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34679         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
34680         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
34681         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
34682         (test-xfail-UNIX98/unistd.h/conform): Likewise.
34683         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
34684         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
34685         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
34686         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
34687         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
34688         (test-xfail-XOPEN2K/math.h/conform): Likewise.
34689         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
34690         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34691         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34692         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
34693         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
34694         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
34695         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
34696         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34697         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34698         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34699         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34700         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34701         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34702         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
34703         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
34704         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
34705         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
34706         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34707         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
34708         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34709         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
34710         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
34711         (test-xfail-POSIX2008/signal.h/conform): Likewise.
34712         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34713         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
34714         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
34715         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34716         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34717         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
34718         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
34719         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34720         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34721         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
34722         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
34723         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34724         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34725         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34726         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
34727         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34728         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34729         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34730         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34731         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
34732         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
34733         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
34734         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
34735         (conformtest-cc-flags): Likewise.
34736         ($(conformtest-header-tests): New target.
34737         * conform/check-header-lists.sh: New file.
34738         * conform/run-conformtest.sh: Remove.
34740         * conform/conformtest.pl: Allow ' and \ in values given for
34741         constants.
34742         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
34743         inclusion.
34744         [POSIX] (sys/types.h): Likewise.
34745         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
34746         inclusion.
34747         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
34748         inclusion.
34749         * conform/data/signal.h-data (SIGIO): Remove expectation.
34750         [XPG3] (SIGBUS): Do not expect.
34751         [POSIX || XPG3] (SIGPOLL): Likewise.
34752         [POSIX || XPG3] (SIGPROF): Likewise.
34753         [POSIX || XPG3] (SIGSYS): Likewise.
34754         [XPG3] (SIGTRAP): Likewise.
34755         [POSIX || XPG3] (SIGURG): Likewise.
34756         [POSIX || XPG3] (SIGVTALRM): Likewise.
34757         [POSIX || XPG3] (SIGXCPU): Likewise.
34758         [POSIX || XPG3] (SIGXFSZ): Likewise.
34759         [POSIX] (SA_SIGINFO): Expect.
34760         [XPG3] (siginfo_t): Do not expect type or contents.
34761         [POSIX] (si_pid): Do not expect element.
34762         [POSIX] (si_uid): Likewise.
34763         [POSIX] (si_addr): Likewise.
34764         [POSIX] (si_status): Likewise.
34765         [POSIX] (si_band): Likewise.
34766         [XPG4] (si_value): Likewise.
34767         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
34768         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
34769         [POSIX || XPG3] (ILL_ILLADR): Likewise.
34770         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
34771         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
34772         [POSIX || XPG3] (ILL_PRVREG): Likewise.
34773         [POSIX || XPG3] (ILL_COPROC): Likewise.
34774         [POSIX || XPG3] (ILL_BADSTK): Likewise.
34775         [POSIX || XPG3] (FPE_INTDIV): Likewise.
34776         [POSIX || XPG3] (FPE_INTOVF): Likewise.
34777         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
34778         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
34779         [POSIX || XPG3] (FPE_FLTUND): Likewise.
34780         [POSIX || XPG3] (FPE_FLTRES): Likewise.
34781         [POSIX || XPG3] (FPE_FLTINV): Likewise.
34782         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
34783         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
34784         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
34785         [POSIX || XPG3] (BUS_ADRALN): Likewise.
34786         [POSIX || XPG3] (BUS_ADRERR): Likewise.
34787         [POSIX || XPG3] (BUS_OBJERR): Likewise.
34788         [POSIX || XPG3] (CLD_EXITED): Likewise.
34789         [POSIX || XPG3] (CLD_KILLED): Likewise.
34790         [POSIX || XPG3] (CLD_DUMPED): Likewise.
34791         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
34792         [POSIX || XPG3] (CLD_STOPPED): Likewise.
34793         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
34794         [POSIX || XPG3] (POLL_IN): Likewise.
34795         [POSIX || XPG3] (POLL_OUT): Likewise.
34796         [POSIX || XPG3] (POLL_MSG): Likewise.
34797         [POSIX || XPG3] (POLL_ERR): Likewise.
34798         [POSIX || XPG3] (POLL_PRI): Likewise.
34799         [POSIX || XPG3] (POLL_HUP): Likewise.
34800         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
34801         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
34802         (SIG*): Do not allow.
34803         [XPG3] (si_*): Likewise.
34804         [XPG3] (SI_*): Likewise.
34805         [XPG3 || XPG4] (sigev_*): Likewise.
34806         [XPG3 || XPG4] (SIGEV_*): Likewise.
34807         [XPG3 || XPG4] (sival_*): Likewise.
34808         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
34809         [POSIX || XPG3] (BUS_*): Likewise.
34810         [POSIX || XPG3] (CLD_*): Likewise.
34811         [POSIX || XPG3] (FPE_*): Likewise.
34812         [POSIX || XPG3] (ILL_*): Likewise.
34813         [POSIX || XPG3] (POLL_*): Likewise.
34814         [POSIX || XPG3] (SEGV_*): Likewise.
34815         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
34816         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
34817         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
34818         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
34819         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
34820         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
34821         Specify type and value.
34822         (TVERSLEN): Likewise.
34823         (REGTYPE): Likewise.
34824         (AREGTYPE): Likewise.
34825         (LNKTYPE): Likewise.
34826         (SYMTYPE): Likewise.
34827         (CHRTYPE): Likewise.
34828         (BLKTYPE): Likewise.
34829         (DIRTYPE): Likewise.
34830         (FIFOTYPE): Likewise.
34831         (CONTTYPE): Likewise.
34832         (TSUID): Likewise.
34833         (TSGID): Likewise.
34834         (TSVTX): Likewise.
34835         (TUREAD): Likewise.
34836         (TUWRITE): Likewise.
34837         (TUEXEC): Likewise.
34838         (TGREAD): Likewise.
34839         (TGWRITE): Likewise.
34840         (TGEXEC): Likewise.
34841         (TOREAD): Likewise.
34842         (TOWRITE): Likewise.
34843         (TOEXEC): Likewise.
34844         [POSIX] (TSVTX): Expect constant.
34846 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
34848         * Makefile (tests): Change dependencies to ....
34849         (tests-special): ... additions to this variable.
34850         (tests): Depend on $(tests-special).
34851         * Makerules (check-abi-list): New variable.
34852         (check-abi): Depend on $(check-abi-list).
34853         [$(subdir) = elf] (tests-special): Add
34854         $(objpfx)check-abi-libc.out.
34855         [$(build-shared) = yes && subdir] (tests-special): Add
34856         $(check-abi-list).
34857         [$(build-shared) = yes && subdir] (tests): Do not depend on
34858         check-abi.
34859         * Rules (tests): Depend on $(tests-special).
34860         (xtests): Depend on $(xtests-special).
34861         * catgets/Makefile (tests): Change dependencies to ....
34862         (tests-special): ... additions to this variable.
34863         * conform/Makefile (tests): Change dependencies to ....
34864         (tests-special): ... additions to this variable.
34865         * elf/Makefile (tests): Change dependencies to ....
34866         (tests-special): ... additions to this variable.
34867         * grp/Makefile (tests): Change dependencies to ....
34868         (tests-special): ... additions to this variable.
34869         * iconv/Makefile (xtests): Change dependencies to ....
34870         (xtests-special): ... additions to this variable.
34871         * iconvdata/Makefile (tests): Change dependencies to ....
34872         (tests-special): ... additions to this variable.
34873         * intl/Makefile (tests): Change dependencies to ....
34874         (tests-special): ... additions to this variable.  Also add
34875         $(objpfx)tst-gettext.out.
34876         * io/Makefile (tests): Change dependencies to ....
34877         (tests-special): ... additions to this variable.
34878         * libio/Makefile (tests): Change dependencies to ....
34879         (tests-special): ... additions to this variable.
34880         * malloc/Makefile (tests): Change dependencies to ....
34881         (tests-special): ... additions to this variable.
34882         * misc/Makefile (tests): Change dependencies to ....
34883         (tests-special): ... additions to this variable.
34884         * nptl/Makefile (tests): Change dependencies to ....
34885         (tests-special): ... additions to this variable.
34886         * nptl_db/Makefile (tests): Change dependencies to ....
34887         (tests-special): ... additions to this variable.
34888         * posix/Makefile (tests): Change dependencies to ....
34889         (tests-special): ... additions to this variable.
34890         (xtests): Change dependencies to ....
34891         (xtests-special): ... additions to this variable.
34892         * resolv/Makefile (tests): Change dependencies to ....
34893         (tests-special): ... additions to this variable.
34894         (xtests): Change dependencies to ....
34895         (xtests-special): ... additions to this variable.
34896         * stdio-common/Makefile (tests): Change dependencies to ....
34897         (tests-special): ... additions to this variable.
34898         (do-tst-unbputc): Remove target.
34899         (do-tst-printf): Likewise.
34900         * stdlib/Makefile (tests): Change dependencies to ....
34901         (tests-special): ... additions to this variable.
34902         * string/Makefile (tests): Change dependencies to ....
34903         (tests-special): ... additions to this variable.
34904         * sysdeps/x86/Makefile (tests): Change dependencies to ....
34905         (tests-special): ... additions to this variable.
34907         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
34908         whole file.
34909         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
34910         whole file.
34911         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
34912         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
34914         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
34915         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
34916         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
34917         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
34918         * conform/data/libgen.h-data [XPG3]: Likewise.
34919         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
34920         * conform/data/ndbm.h-data [XPG3]: Likewise.
34921         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34922         * conform/data/netdb.h-data [XPG3]: Likewise.
34923         * conform/data/netinet/in.h-data [XPG3]: Likewise.
34924         * conform/data/poll.h-data [XPG3]: Likewise.
34925         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
34926         * conform/data/strings.h-data [XPG3]: Likewise.
34927         * conform/data/stropts.h-data [XPG3]: Likewise.
34928         * conform/data/sys/mman.h-data [XPG3]: Likewise.
34929         * conform/data/sys/resource.h-data [XPG3]: Likewise.
34930         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
34931         Likewise.
34932         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
34933         * conform/data/sys/time.h-data [XPG3]: Likewise.
34934         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
34935         * conform/data/sys/uio.h-data [XPG3]: Likewise.
34936         * conform/data/sys/un.h-data [XPG3]: Likewise.
34937         * conform/data/syslog.h-data [XPG3]: Likewise.
34938         * conform/data/ucontext.h-data [XPG3]: Likewise.
34939         * conform/data/utmpx.h-data [XPG3]: Likewise.
34940         * conform/data/varargs.h-data [UNIX98]: Enable file.
34942         * manual/Makefile (INSTALL_INFO): Remove variable setting.
34944         * math/libm-test.inc (struct test_f_f_data): Move expected results
34945         into structure for each rounding mode.
34946         (struct test_ff_f_data): Likewise.
34947         (struct test_ff_f_data_nexttoward): Likewise.
34948         (struct test_fi_f_data): Likewise.
34949         (struct test_fl_f_data): Likewise.
34950         (struct test_if_f_data): Likewise.
34951         (struct test_fff_f_data): Likewise.
34952         (struct test_c_f_data): Likewise.
34953         (struct test_f_f1_data): Likewise.
34954         (struct test_fF_f1_data): Likewise.
34955         (struct test_ffI_f1_data): Likewise.
34956         (struct test_c_c_data): Likewise.
34957         (struct test_cc_c_data): Likewise.
34958         (struct test_f_i_data): Likewise.
34959         (struct test_ff_i_data): Likewise.
34960         (struct test_f_l_data): Likewise.
34961         (struct test_f_L_data): Likewise.
34962         (struct test_fFF_11_data): Likewise.
34963         (RM_): New macro.
34964         (RM_FE_DOWNWARD): Likewise.
34965         (RM_FE_TONEAREST): Likewise.
34966         (RM_FE_TOWARDZERO): Likewise.
34967         (RM_FE_UPWARD): Likewise.
34968         (RUN_TEST_LOOP_f_f): Update references to expected results.
34969         (RUN_TEST_LOOP_2_f): Likewise.
34970         (RUN_TEST_LOOP_fff_f): Likewise.
34971         (RUN_TEST_LOOP_c_f): Likewise.
34972         (RUN_TEST_LOOP_f_f1): Likewise.
34973         (RUN_TEST_LOOP_fF_f1): Likewise.
34974         (RUN_TEST_LOOP_fI_f1): Likewise.
34975         (RUN_TEST_LOOP_ffI_f1): Likewise.
34976         (RUN_TEST_LOOP_c_c): Likewise.
34977         (RUN_TEST_LOOP_cc_c): Likewise.
34978         (RUN_TEST_LOOP_f_i): Likewise.
34979         (RUN_TEST_LOOP_f_i_tg): Likewise.
34980         (RUN_TEST_LOOP_ff_i_tg): Likewise.
34981         (RUN_TEST_LOOP_f_b): Likewise.
34982         (RUN_TEST_LOOP_f_b_tg): Likewise.
34983         (RUN_TEST_LOOP_f_l): Likewise.
34984         (RUN_TEST_LOOP_f_L): Likewise.
34985         (RUN_TEST_LOOP_fFF_11): Likewise.
34986         * math/gen-libm-test.pl (parse_args): Output four copies of
34987         expected results for each test.
34989         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34990         (__ASSUME_UTIMES): Remove.
34991         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34992         (__ASSUME_UTIMES): Likewise.
34994         * math/gen-auto-libm-tests.c: Update comment on output format.
34995         (output_for_one_input_case): Generate before-rounding and
34996         after-rounding information as conditions on output flags not
34997         floating-point format.
34998         * math/auto-libm-test-out: Regenerated.
34999         * math/gen-libm-test.pl (cond_value): New function.
35000         (or_cond_value): Use cond_value.
35001         (generate_testfile): Handle conditional exceptions.
35003 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
35005         * math/libm-test.inc (max_valid_error): New variable.
35006         (init_max_error): Take new argument specifying whether function
35007         results are exactly determined.  Set max_valid_error and bound
35008         other variables for errors based on this argument.
35009         (set_max_error): Do not record results above max_valid_error.
35010         (check_float_internal): Only accept errors of up to 0.5ulps if
35011         also at most max_valid_error.
35012         (START): Take new argument EXACT and pass it to init_max_error.
35013         (acos_test): Update call to START.
35014         (acos_test_tonearest): Likewise.
35015         (acos_test_towardzero): Likewise.
35016         (acos_test_downward): Likewise.
35017         (acos_test_upward): Likewise.
35018         (acosh_test): Likewise.
35019         (asin_test): Likewise.
35020         (asin_test_tonearest): Likewise.
35021         (asin_test_towardzero): Likewise.
35022         (asin_test_downward): Likewise.
35023         (asin_test_upward): Likewise.
35024         (asinh_test): Likewise.
35025         (atan_test): Likewise.
35026         (atanh_test): Likewise.
35027         (atan2_test): Likewise.
35028         (cabs_test): Likewise.
35029         (cacos_test): Likewise.
35030         (cacosh_test): Likewise.
35031         (carg_test): Likewise.
35032         (casin_test): Likewise.
35033         (casinh_test): Likewise.
35034         (catan_test): Likewise.
35035         (catanh_test): Likewise.
35036         (cbrt_test): Likewise.
35037         (ccos_test): Likewise.
35038         (ccosh_test): Likewise.
35039         (ceil_test): Likewise.
35040         (cexp_test): Likewise.
35041         (cimag_test): Likewise.
35042         (clog_test): Likewise.
35043         (clog10_test): Likewise.
35044         (conj_test): Likewise.
35045         (copysign_test): Likewise.
35046         (cos_test): Likewise.
35047         (cos_test_tonearest): Likewise.
35048         (cos_test_towardzero): Likewise.
35049         (cos_test_downward): Likewise.
35050         (cos_test_upward): Likewise.
35051         (cosh_test): Likewise.
35052         (cosh_test_tonearest): Likewise.
35053         (cosh_test_towardzero): Likewise.
35054         (cosh_test_downward): Likewise.
35055         (cosh_test_upward): Likewise.
35056         (cpow_test): Likewise.
35057         (cproj_test): Likewise.
35058         (creal_test): Likewise.
35059         (csin_test): Likewise.
35060         (csinh_test): Likewise.
35061         (csqrt_test): Likewise.
35062         (ctan_test): Likewise.
35063         (ctan_test_tonearest): Likewise.
35064         (ctan_test_towardzero): Likewise.
35065         (ctan_test_downward): Likewise.
35066         (ctan_test_upward): Likewise.
35067         (ctanh_test): Likewise.
35068         (ctanh_test_tonearest): Likewise.
35069         (ctanh_test_towardzero): Likewise.
35070         (ctanh_test_downward): Likewise.
35071         (ctanh_test_upward): Likewise.
35072         (erf_test): Likewise.
35073         (erfc_test): Likewise.
35074         (exp_test): Likewise.
35075         (exp_test_tonearest): Likewise.
35076         (exp_test_towardzero): Likewise.
35077         (exp_test_downward): Likewise.
35078         (exp_test_upward): Likewise.
35079         (exp10_test): Likewise.
35080         (exp10_test_tonearest): Likewise.
35081         (exp10_test_towardzero): Likewise.
35082         (exp10_test_downward): Likewise.
35083         (exp10_test_upward): Likewise.
35084         (pow10_test): Likewise.
35085         (exp2_test): Likewise.
35086         (expm1_test): Likewise.
35087         (expm1_test_tonearest): Likewise.
35088         (expm1_test_towardzero): Likewise.
35089         (expm1_test_downward): Likewise.
35090         (expm1_test_upward): Likewise.
35091         (fabs_test): Likewise.
35092         (fdim_test): Likewise.
35093         (floor_test): Likewise.
35094         (fma_test): Likewise.
35095         (fma_test_towardzero): Likewise.
35096         (fma_test_downward): Likewise.
35097         (fma_test_upward): Likewise.
35098         (fmax_test): Likewise.
35099         (fmin_test): Likewise.
35100         (fmod_test): Likewise.
35101         (fpclassify_test): Likewise.
35102         (frexp_test): Likewise.
35103         (hypot_test): Likewise.
35104         (ilogb_test): Likewise.
35105         (isfinite_test): Likewise.
35106         (finite_test): Likewise.
35107         (isgreater_test): Likewise.
35108         (isgreaterequal_test): Likewise.
35109         (isinf_test): Likewise.
35110         (isless_test): Likewise.
35111         (islessequal_test): Likewise.
35112         (islessgreater_test): Likewise.
35113         (isnan_test): Likewise.
35114         (isnormal_test): Likewise.
35115         (issignaling_test): Likewise.
35116         (isunordered_test): Likewise.
35117         (j0_test): Likewise.
35118         (j1_test): Likewise.
35119         (jn_test): Likewise.
35120         (ldexp_test): Likewise.
35121         (lgamma_test): Likewise.
35122         (gamma_test): Likewise.
35123         (lrint_test): Likewise.
35124         (lrint_test_tonearest): Likewise.
35125         (lrint_test_towardzero): Likewise.
35126         (lrint_test_downward): Likewise.
35127         (lrint_test_upward): Likewise.
35128         (llrint_test): Likewise.
35129         (llrint_test_tonearest): Likewise.
35130         (llrint_test_towardzero): Likewise.
35131         (llrint_test_downward): Likewise.
35132         (llrint_test_upward): Likewise.
35133         (log_test): Likewise.
35134         (log10_test): Likewise.
35135         (log1p_test): Likewise.
35136         (log2_test): Likewise.
35137         (logb_test): Likewise.
35138         (logb_test_downward): Likewise.
35139         (lround_test): Likewise.
35140         (llround_test): Likewise.
35141         (modf_test): Likewise.
35142         (nearbyint_test): Likewise.
35143         (nextafter_test): Likewise.
35144         (nexttoward_test): Likewise.
35145         (pow_test): Likewise.
35146         (pow_test_tonearest): Likewise.
35147         (pow_test_towardzero): Likewise.
35148         (pow_test_downward): Likewise.
35149         (pow_test_upward): Likewise.
35150         (remainder_test): Likewise.
35151         (drem_test): Likewise.
35152         (remainder_test_tonearest): Likewise.
35153         (drem_test_tonearest): Likewise.
35154         (remainder_test_towardzero): Likewise.
35155         (drem_test_towardzero): Likewise.
35156         (remainder_test_downward): Likewise.
35157         (drem_test_downward): Likewise.
35158         (remainder_test_upward): Likewise.
35159         (drem_test_upward): Likewise.
35160         (remquo_test): Likewise.
35161         (rint_test): Likewise.
35162         (rint_test_tonearest): Likewise.
35163         (rint_test_towardzero): Likewise.
35164         (rint_test_downward): Likewise.
35165         (rint_test_upward): Likewise.
35166         (round_test): Likewise.
35167         (scalb_test): Likewise.
35168         (scalbn_test): Likewise.
35169         (scalbln_test): Likewise.
35170         (signbit_test): Likewise.
35171         (sin_test): Likewise.
35172         (sin_test_tonearest): Likewise.
35173         (sin_test_towardzero): Likewise.
35174         (sin_test_downward): Likewise.
35175         (sin_test_upward): Likewise.
35176         (sincos_test): Likewise.
35177         (sinh_test): Likewise.
35178         (sinh_test_tonearest): Likewise.
35179         (sinh_test_towardzero): Likewise.
35180         (sinh_test_downward): Likewise.
35181         (sinh_test_upward): Likewise.
35182         (sqrt_test): Likewise.
35183         (sqrt_test_tonearest): Likewise.
35184         (sqrt_test_towardzero): Likewise.
35185         (sqrt_test_downward): Likewise.
35186         (sqrt_test_upward): Likewise.
35187         (tan_test): Likewise.
35188         (tan_test_tonearest): Likewise.
35189         (tan_test_towardzero): Likewise.
35190         (tan_test_downward): Likewise.
35191         (tan_test_upward): Likewise.
35192         (tanh_test): Likewise.
35193         (tgamma_test): Likewise.
35194         (trunc_test): Likewise.
35195         (y0_test): Likewise.
35196         (y1_test): Likewise.
35197         (yn_test): Likewise.
35198         (significand_test): Likewise.
35200         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
35201         individual tests in comment.
35202         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
35203         (prev_max_error): New variable.
35204         (prev_real_max_error): Likewise.
35205         (prev_imag_max_error): Likewise.
35206         (compare_ulp_data): Don't refer to test names in comment.
35207         (find_test_ulps): Remove function.
35208         (find_function_ulps): Likewise.
35209         (find_complex_function_ulps): Likewise.
35210         (init_max_error): Take function name as argument.  Look up ulps
35211         for that function.
35212         (print_ulps): Remove function.
35213         (print_max_error): Use prev_max_error instead of calling
35214         find_function_ulps.
35215         (print_complex_max_error): Use prev_real_max_error and
35216         prev_imag_max_error instead of calling find_complex_function_ulps.
35217         (check_float_internal): Take max_ulp parameter instead of calling
35218         find_test_ulps.  Don't call print_ulps.
35219         (check_float): Update call to check_float_internal.
35220         (check_complex): Update calls to check_float_internal.
35221         (START): Pass argument to init_max_error.
35222         * math/gen-libm-test.pl (%results): Don't include "kind"
35223         information.
35224         (parse_ulps): Don't handle ulps of individual tests.
35225         (print_ulps_file): Likewise.
35226         (output_ulps): Likewise.
35227         * math/README.libm-test: Update.
35228         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
35229         individual tests.
35230         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
35231         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
35232         * sysdeps/arm/libm-test-ulps: Likewise.
35233         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
35234         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
35235         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
35236         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
35237         * sysdeps/microblaze/libm-test-ulps: Likewise.
35238         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
35239         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
35240         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35241         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
35242         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35243         * sysdeps/sh/libm-test-ulps: Likewise.
35244         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35245         * sysdeps/tile/libm-test-ulps: Likewise.
35246         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35248 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
35250         * math/libm-test.inc (print_complex_max_error): Check separately
35251         whether real and imaginary errors are within allowed range and
35252         pass 0 to print_complex_function_ulps instead of value within
35253         allowed range.
35255 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
35257         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
35258         formatting.
35259         (get_handles_fopen): Likewise.
35260         (do_write_test): Likewise.
35262         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
35264         * libio/fileops.c (do_ftell): Use cached offset when
35265         available.
35266         * libio/iofwide.c (do_ftell_wide): Likewise.
35267         * libio/iofdopen.c (_IO_new_fdopen): Don't use
35268         _IO_file_attach.
35269         * libio/wfileops.c (_IO_fwide): Don't cache offset.
35271         [BZ #16532]
35272         * libio/libioP.h (get_file_offset): New function.
35273         * libio/fileops.c (get_file_offset): Likewise.
35274         (do_ftell): Likewise.
35275         (_IO_new_file_seekoff): Split out ftell logic.
35276         * libio/wfileops.c (do_ftell_wide): Likewise.
35277         (_IO_wfile_seekoff): Split out ftell logic.
35278         * libio/tst-ftell-active-handler.c: New test case.
35279         * libio/Makefile (tests): Add it.
35281 2014-03-03  Roland McGrath  <roland@hack.frob.com>
35283         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
35284         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
35286 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
35288         [BZ #16639]
35289         * nscd/connections.c (nscd_init): Call do_exit.
35290         (start_threads): Call do_exit and notify_parent.
35291         (begin_drop_privileges): Call do_exit.
35292         (finish_drop_privileges): Likewise.
35293         * nscd/selinux.c (preserve_capabilities): Likewise.
35294         (install_real_capabilities): Likewise.
35295         (nscd_selinux_enabled): Likewise.
35296         (avc_create_thread): Likewise.
35297         (avc_alloc_lock): Likewise.
35298         (nscd_avc_init): Likewise.
35299         * nscd/nscd.c (parent_fd): New static variable.
35300         (main): Create a pipe between parent and child processes.
35301         Skip closing parent_fd.
35302         (monitor_child): New function.
35303         (do_exit): Likewise.
35304         (notify_parent): Likewise.
35305         * nscd/nscd.h (notify_parent): Likewise.
35306         (do_exit): Likewise.
35308 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
35310         * malloc/malloc.c (__libc_calloc): Revert last change.
35312 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35316 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35318         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
35319         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
35320         implementation.
35321         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35322         (__libc_ifunc_impl_list): Likewise.
35323         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
35324         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
35325         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
35326         * string/strrchr.c: Define STRRCHR.
35328 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
35330         * benchtest/bench-strtok.c (simple_strtok): Delete.
35331         (strtok_string): Use as benchmark.
35332         * string/strtok (STRTOK): New macro.
35334 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
35336         * manual/threads.texi: Add header and standard comments to all
35337         functions.
35339         * elf/dl-lookup.c (check_match): New function.
35340         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
35341         (do_lookup_x): Remove nested function check_match. Use non-nested
35342         function check_match.
35344 2014-02-28  Roland McGrath  <roland@hack.frob.com>
35346         * csu/Makefile (generated, before-compile): Use += rather than =.
35347         * catgets/Makefile (generated, generated-dirs): Likewise.
35348         * debug/Makefile (generated): Likewise.
35349         * dlfcn/Makefile (generated): Likewise.
35350         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
35351         * iconvdata/Makefile (before-compile, generated): Likewise.
35352         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
35353         * libio/Makefile (generated): Likewise.
35354         * malloc/Makefile (generated): Likewise.
35355         * manual/Makefile (generated, generated-dirs): Likewise.
35356         * misc/Makefile (generated): Likewise.
35357         * posix/Makefile (generated): Likewise.
35358         * resolv/Makefile (generated): Likewise.
35359         * sunrpc/Makefile (generated, generated-dirs): Likewise.
35360         * timezone/Makefile (generated, generated-dirs): Likewise.
35362         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
35364 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35366         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
35367         power8 implementation.
35368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
35369         file: POWER8 llround ifunc implementation.
35370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
35371         (__lllround): Add POWER8 implementation.
35372         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
35373         POWER8 llround implementation.
35375         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
35376         power8 implementation.
35377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
35378         file: POWER8 llrint ifunc implementation.
35379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
35380         Add POWER8 implementation.
35381         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
35382         POWER8 llrint implementation.
35384         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
35385         power8 implementation.
35386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
35387         file: POWER8 finite ifunc implementation.
35388         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
35389         Add POWER8 implementation.
35390         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
35391         Likewise.
35392         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
35393         POWER8 finite implementation.
35394         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
35396         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
35397         power8 implementation.
35398         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
35399         file: POWER8 isinf ifunc implementation.
35400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
35401         POWER8 implementation.
35402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
35403         Likewise.
35404         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
35405         isinf implementation.
35406         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
35408         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
35409         (INIT_ARCH): Add hwcap2 initialization.
35410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
35411         power8 implementation.
35412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
35413         file: POWER8 isnan ifunc implementation.
35414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
35415         POWER8 implementation.
35416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
35417         Likewise.
35418         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
35419         isnan implementation.
35420         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
35422 2014-02-27  Joey Ye  <joey.ye@arm.com>
35424         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35425         (_FP_NANFRAC_Q): Set to zero.
35427 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
35429         [BZ #16623]
35430         * math/auto-libm-test-in: New test inputs.
35431         * math/auto-libm-test-out: Regenerate.
35432         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
35433         and DA.
35434         (__cos): Likewise.
35435         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
35437 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
35439         * scripts/evaluate-test.sh: Take new argument indicating whether
35440         failure is expected.
35441         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
35442         indicating whether failure is expected.
35443         * conform/Makefile (test-xfail-run-conformtest): New variable.
35444         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
35445         level.
35446         * posix/Makefile (test-xfail-annexc): New variable.
35447         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
35449 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
35451         * argp/Makefile: Include Makeconfig immediately after defining
35452         subdir.
35453         * assert/Makefile: Likewise.
35454         * benchtests/Makefile: Likewise.
35455         * catgets/Makefile: Likewise.
35456         * conform/Makefile: Likewise.
35457         * crypt/Makefile: Likewise.
35458         * csu/Makefile: Likewise.
35459         (all): Remove target.
35460         * ctype/Makefile: Include Makeconfig immediately after defining
35461         subdir.
35462         * debug/Makefile: Likewise.
35463         * dirent/Makefile: Likewise.
35464         * dlfcn/Makefile: Likewise.
35465         * gmon/Makefile: Likewise.
35466         * gnulib/Makefile: Likewise.
35467         * grp/Makefile: Likewise.
35468         * gshadow/Makefile: Likewise.
35469         * hesiod/Makefile: Likewise.
35470         * hurd/Makefile: Likewise.
35471         (all): Remove target.
35472         * iconvdata/Makefile: Include Makeconfig immediately after
35473         defining subdir.
35474         * inet/Makefile: Likewise.
35475         * intl/Makefile: Likewise.
35476         * io/Makefile: Likewise.
35477         * libio/Makefile: Likewise.
35478         (all): Remove target.
35479         * locale/Makefile: Include Makeconfig immediately after defining
35480         subdir.
35481         * login/Makefile: Likewise.
35482         * mach/Makefile: Likewise.
35483         (all): Remove target.
35484         * malloc/Makefile: Include Makeconfig immediately after defining
35485         subdir.
35486         (all): Remove target.
35487         * manual/Makefile: Include Makeconfig immediately after defining
35488         subdir.
35489         * math/Makefile: Likewise.
35490         * misc/Makefile: Likewise.
35491         * nis/Makefile: Likewise.
35492         * nss/Makefile: Likewise.
35493         * po/Makefile: Likewise.
35494         (all): Remove target.
35495         * posix/Makefile: Include Makeconfig immediately after defining
35496         subdir.
35497         * pwd/Makefile: Likewise.
35498         * resolv/Makefile: Likewise.
35499         * resource/Makefile: Likewise.
35500         * rt/Makefile: Likewise.
35501         * setjmp/Makefile: Likewise.
35502         * shadow/Makefile: Likewise.
35503         * signal/Makefile: Likewise.
35504         * socket/Makefile: Likewise.
35505         * soft-fp/Makefile: Likewise.
35506         * stdio-common/Makefile: Likewise.
35507         * stdlib/Makefile: Likewise.
35508         * streams/Makefile: Likewise.
35509         * string/Makefile: Likewise.
35510         * sunrpc/Makefile: Likewise.
35511         (all): Remove target.
35512         * sysvipc/Makefile: Include Makeconfig immediately after defining
35513         subdir.
35514         * termios/Makefile: Likewise.
35515         * time/Makefile: Likewise.
35516         * timezone/Makefile: Likewise.
35517         (all): Remove target.
35518         * wcsmbs/Makefile: Include Makeconfig immediately after defining
35519         subdir.
35520         * wctype/Makefile: Likewise.
35522 2014-02-26  Steve Ellcey  <sellcey@mips.com>
35524         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
35525         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
35526         (libc_feholdexcept_setround_mips): Ditto.
35527         (libc_feholdsetround): New.
35528         (libc_feholdsetroundf): New.
35529         (libc_feholdsetroundl): New.
35530         (libc_feupdateenv_test_mips): New.
35531         (libc_feupdateenv_test): New.
35532         (libc_feupdateenv_testf): New.
35533         (libc_feupdateenv_testl): New.
35534         (libc_feresetround): New.
35535         (libc_feresetroundf): New.
35536         (libc_feresetroundl): New.
35537         (libc_fetestexcept_mips): New.
35538         (libc_fetestexcept): New.
35539         (libc_fetestexceptf): New.
35540         (libc_fetestexceptl): New.
35541         (HAVE_RM_CTX): New.
35542         (libc_feholdexcept_setround_mips_ctx): New.
35543         (libc_feholdexcept_setround_ctx): New.
35544         (libc_feholdexcept_setroundf_ctx): New.
35545         (libc_feholdexcept_setroundl_ctx): New.
35546         (libc_fesetenv_mips_ctx): New.
35547         (libc_fesetenv_ctx): New.
35548         (libc_fesetenv_ctxf): New.
35549         (libc_fesetenv_ctxl): New.
35550         (libc_feupdateenv_mips_ctx): New.
35551         (libc_feupdateenv_ctx): New.
35552         (libc_feupdateenvf_ctx): New.
35553         (libc_feupdateenvl_ctx): New.
35554         (libc_feholdsetround_mips_ctx): New.
35555         (libc_feholdsetround_ctx): New.
35556         (libc_feholdsetroundf_ctx): New.
35557         (libc_feholdsetroundl_ctx): New.
35558         (libc_feresetround_mips_ctx): New.
35559         (libc_feresetround_ctx): New.
35560         (libc_feresetroundf_ctx): New.
35561         (libc_feresetroundl_ctx): New.
35563 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
35565         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
35567         * manual/ipc.texi: New file.
35568         * manual/Makefile (chapters): Add ipc.
35569         * manual/job.texi: Add "Inter-Process Communication" to next.
35570         * manual/process.texi: Add "Inter-Process Communication" to prev.
35572 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35576 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
35578         * malloc/malloc.c (__libc_calloc): Simplify implementation.
35580         * manual/arith.texi: Fix spaces after sentences.
35581         * manual/charset.texi: Likewise.
35582         * manual/errno.texi: Likewise.
35583         * manual/install.texi: Likewise.
35584         * manual/llio.texi: Likewise.
35585         * manual/locale.texi: Likewise.
35586         * manual/maint.texi: Likewise.
35587         * manual/math.texi: Likewise.
35588         * manual/memory.texi: Likewise.
35589         * manual/message.texi: Likewise.
35590         * manual/probes.texi: Likewise.
35591         * manual/resource.texi: Likewise.
35592         * manual/signal.texi: Likewise.
35593         * manual/socket.texi: Likewise.
35594         * manual/stdio.texi: Likewise.
35595         * manual/string.texi: Likewise.
35596         * manual/time.texi: Likewise.
35597         * manual/users.texi: Likewise.
35599 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
35601         [BZ #16632]
35602         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
35603         _DEFAULT_SOURCE is defined.
35605 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
35606             Carlos O'Donell  <carlos@redhat.com>
35608         [BZ #16613]
35609         * elf/dl-tls.c (_dl_count_modids): New function.
35610         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
35611         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
35612         audit library and increment generation counter.
35613         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
35614         * elf/tst-audit9.c: New file.
35615         * elf/tst-auditmod9a.c: New file.
35616         * elf/tst-auditmod9b.c: New file.
35617         * elf/Makefile: Add rules to build and run tst-audit9.
35619 2014-02-25  Florian Weimer  <fweimer@redhat.com>
35621         [BZ #15347]
35622         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
35624 2014-02-25  Will Newton  <will.newton@linaro.org>
35626         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
35627         (__longjmp): Restore sp and lr before restoring callee
35628         saved registers.  Add longjmp and longjmp_target
35629         SystemTap probe point.
35630         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
35631         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
35632         Define to zero to match jmpbuf layout.
35633         * sysdeps/arm/setjmp.S: Include stap-probe.h.
35634         (__sigsetjmp): Save sp and lr before saving callee
35635         saved registers.  Add setjmp SystemTap probe point.
35637 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35639         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35641 2014-02-24  Andreas Schwab  <schwab@suse.de>
35643         [BZ #15804]
35644         * elf/pldd.c (wait_for_ptrace_stop): New function.
35645         (main): Call it after attaching.
35647 2014-02-22  Roland McGrath  <roland@hack.frob.com>
35649         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
35650         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
35651         Versions files is now verboten.
35652         * hurd/Versions (libc: GLIBC_2.0):
35653         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
35654         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
35655         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
35656         * mach/Versions: Likewise.
35658         * csu/Versions: Remove unused %include.
35659         * resolv/Versions: Likewise.
35661 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
35663         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
35664         ($(objpfx)check-local-headers.out): Likewise.
35665         ($(objpfx)begin-end-check.out): Likewise.
35666         * Makerules (check-abi-%.out): Likewise.
35667         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
35668         ($(objpfx)test2.cat): Likewise.
35669         ($(objpfx)de/libc.cat): Likewise.
35670         ($(objpfx)test-gencat.out): Likewise.
35671         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
35672         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
35673         ($(objpfx)noload-mem): Likewise.
35674         ($(objpfx)tst-pathopt.out): Likewise.
35675         ($(objpfx)tst-rtld-load-self.out): Likewise.
35676         ($(objpfx)tst-array1-cmp.out): Likewise.
35677         ($(objpfx)tst-array1-static-cmp.out): Likewise.
35678         ($(objpfx)tst-array2-cmp.out): Likewise.
35679         ($(objpfx)tst-array3-cmp.out): Likewise.
35680         ($(objpfx)tst-array4-cmp.out): Likewise.
35681         ($(objpfx)tst-array5-cmp.out): Likewise.
35682         ($(objpfx)tst-array5-static-cmp.out): Likewise.
35683         ($(objpfx)check-textrel.out): Likewise.
35684         ($(objpfx)check-execstack.out): Likewise.
35685         ($(objpfx)check-localplt.out): Likewise.
35686         ($(objpfx)order2-cmp.out): Likewise.
35687         ($(objpfx)tst-leaks1-mem): Likewise.
35688         ($(objpfx)tst-leaks1-static-mem): Likewise.
35689         ($(objpfx)tst-initorder-cmp.out): Likewise.
35690         ($(objpfx)tst-initorder2-cmp.out): Likewise.
35691         ($(objpfx)tst-unused-dep.out): Likewise.
35692         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
35693         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
35694         * iconv/Makefile (test-iconvconfig): Likewise.
35695         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
35696         ($(objpfx)iconv-test.out): Likewise.
35697         ($(objpfx)tst-tables.out): Likewise.
35698         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
35699         ($(objpfx)tst-gettext.out): Likewise.
35700         ($(objpfx)tst-translit.out): Likewise.
35701         ($(objpfx)tst-gettext2.out): Likewise.
35702         ($(objpfx)tst-gettext4.out): Likewise.
35703         ($(objpfx)tst-gettext6.out): Likewise.
35704         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
35705         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
35706         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
35707         ($(objpfx)tst-fopenloc-mem.out): Likewise.
35708         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
35709         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
35710         * posix/Makefile ($(objpfx)globtest.out): Likewise.
35711         ($(objpfx)wordexp-tst.out): Likewise.
35712         ($(objpfx)annexc.out): Likewise.
35713         ($(objpfx)tst-fnmatch-mem): Likewise.
35714         ($(objpfx)bug-regex2-mem): Likewise.
35715         ($(objpfx)bug-regex14-mem): Likewise.
35716         ($(objpfx)bug-regex21-mem): Likewise.
35717         ($(objpfx)bug-regex31-mem): Likewise.
35718         ($(objpfx)tst-vfork3-mem): Likewise.
35719         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
35720         ($(objpfx)tst-pcre-mem): Likewise.
35721         ($(objpfx)tst-boost-mem): Likewise.
35722         ($(objpfx)tst-getconf.out): Likewise.
35723         ($(objpfx)bug-ga2-mem): Likewise.
35724         ($(objpfx)bug-glob2-mem): Likewise.
35725         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
35726         ($(objpfx)mtrace-tst-leaks2): Likewise.
35727         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
35728         ($(objpfx)tst-printf.out): Likewise.
35729         ($(objpfx)tst-setvbuf1.out): Likewise.
35730         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
35731         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
35732         ($(objpfx)tst-fmtmsg.out): Likewise.
35733         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
35734         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
35736         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
35737         * bits/sigaction.h [__USE_MISC]: Likewise.
35738         * bits/waitstatus.h: Update #endif comments.
35739         * ctype/ctype.h: Likewise.
35740         * dirent/dirent.h: Likewise.
35741         [__USE_MISC]: Remove redundant conditionals.
35742         * grp/grp.h: Update #endif comments.
35743         [__USE_GNU]: Remove redundant conditionals.
35744         [__USE_MISC]: Likewise.
35745         * inet/netinet/in.h [__USE_GNU]: Likewise.
35746         * io/sys/stat.h [__USE_MISC]: Likewise.
35747         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
35748         * libio/bits/stdio.h: Update #endif comments.
35749         [__USE_MISC]: Remove redundant conditionals.
35750         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
35751         * libio/stdio.h: Update #endif comments.
35752         [__USE_MISC]: Remove redundant conditionals.
35753         * math/bits/math-finite.h [__USE_MISC]: Likewise.
35754         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
35755         * math/math.h: Update #else and #endif comments.
35756         [__USE_MISC]: Remove redundant conditionals.
35757         * misc/sys/uio.h: Update #endif comments.
35758         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
35759         * posix/glob.h [__USE_MISC]: Likewise.
35760         * posix/sys/types.h: Update #endif comments.
35761         [__USE_MISC]: Remove redundant conditionals.
35762         * posix/sys/wait.h: Update #endif comments.
35763         [__USE_MISC]: Remove redundant conditionals.
35764         * posix/unistd.h: Update #endif comments.
35765         [__USE_MISC]: Remove redundant conditionals.
35766         * pwd/pwd.h [__USE_GNU]: Likewise.
35767         [__USE_MISC]: Likewise.
35768         * resolv/netdb.h [__USE_GNU]: Likewise.
35769         * signal/signal.h: Update #endif comments.
35770         [__USE_MISC]: Remove redundant conditionals.
35771         * stdlib/stdlib.h: Update #else and #endif comments.
35772         [__USE_MISC]: Remove redundant conditionals.
35773         [__USE_GNU]: Likewise.
35774         * string/bits/string2.h [__USE_MISC]: Likewise.
35775         * string/string.h: Update #endif comments.
35776         [__USE_MISC]: Remove redundant conditionals.
35777         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
35778         Likewise.
35779         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
35780         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
35781         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
35782         Likewise.
35783         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
35784         Likewise.
35785         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
35786         comments.
35787         [__USE_MISC]: Remove redundant conditionals.
35788         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
35789         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
35790         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
35791         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
35792         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
35793         Likewise.
35794         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
35795         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
35796         Likewise.
35797         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
35798         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
35799         Likewise.
35800         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
35801         Likewise.
35802         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
35803         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
35804         Likewise.
35805         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
35806         Likewise.
35807         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
35808         * sysdeps/x86/bits/string.h: Update #endif comments.
35809         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
35810         conditionals.
35811         * time/sys/time.h: Update #endif comments.
35812         * time/time.h: Likewise.
35813         [__USE_MISC]: Remove redundant conditionals.
35815 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
35817         [BZ #16600]
35818         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
35820 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
35822         * Versions.def (librt): Add GLIBC_2.17.
35824 2014-02-21  Adam Conrad  <adconrad@0c3.net>
35826         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
35827         synonym for _SYS_AUXV_H to allow direct inclusion.
35828         * sysdeps/sparc/bits/hwcap.h: Likewise.
35829         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
35830         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
35831         * sysdeps/sparc/sysdep.h: Likewise.
35833 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35835         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
35837 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35839         * benchtests/bench-strrchr.c: Print length instead of position.
35841 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
35843         [BZ #16611]
35844         * sysdeps/unix/sysv/linux/kernel-features.h
35845         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
35846         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
35847         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
35848         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
35849         Likewise.
35850         [__i386__ || __powerpc__ || __sh__ || __sparc__]
35851         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35852         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
35853         (__ASSUME_SENDMMSG): Define instead of using previous
35854         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
35855         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35856         (__ASSUME_SENDMMSG_SYSCALL): Define.
35857         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35858         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
35859         Likewise.
35860         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35861         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35862         Likewise.
35863         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35864         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35865         Likewise.
35866         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
35867         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35868         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35869         [__ASSUME_SENDMMSG]: Change conditionals to
35870         [__ASSUME_SENDMMSG_SOCKETCALL].
35871         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35872         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
35873         Define.
35874         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35875         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
35876         Likewise.
35877         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
35878         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
35879         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
35880         [!__ASSUME_SENDMMSG]: Change conditional to
35881         [!__ASSUME_SENDMMSG_SOCKETCALL].
35882         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35883         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
35884         Define.
35886         [BZ #16610]
35887         * sysdeps/unix/sysv/linux/kernel-features.h
35888         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
35889         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
35890         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
35891         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
35892         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
35893         [__i386__ || __sparc__]
35894         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35895         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
35896         (__ASSUME_RECVMMSG): Define instead of using previous
35897         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
35898         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35899         (__ASSUME_RECVMMSG_SYSCALL): Define.
35900         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35901         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35902         Likewise.
35903         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35904         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35905         Likewise.
35906         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35907         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35908         Likewise.
35909         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
35910         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35911         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35912         [__ASSUME_RECVMMSG]: Change condition to
35913         [__ASSUME_RECVMMSG_SOCKETCALL].
35914         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35915         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35916         Define.
35917         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
35918         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35919         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
35920         Likewise.
35921         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
35922         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
35923         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
35924         [!__ASSUME_RECVMMSG]: Change condition to
35925         [!__ASSUME_RECVMMSG_SOCKETCALL].
35926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35927         (__ASSUME_RECVMMSG_SYSCALL): Define.
35929         [BZ #16609]
35930         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
35931         __powerpc__ || __s390__ || __sh__ || __sparc__]
35932         (__ASSUME_SOCKETCALL): Define.
35933         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
35934         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
35935         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
35936         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
35937         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35938         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
35939         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
35940         (__ASSUME_ACCEPT4): Define instead of using previous
35941         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
35942         __powerpc__ || __sparc__ || __s390__)] condition.
35943         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35944         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35945         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
35946         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35947         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35948         [!__ASSUME_ACCEPT4]: Change condition to
35949         [!__ASSUME_ACCEPT4_SOCKETCALL].
35950         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35951         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
35952         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
35953         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35954         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
35955         __ASSUME_ACCEPT4_SYSCALL.
35956         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
35957         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
35958         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35959         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
35960         __ASSUME_ACCEPT4_SYSCALL.
35961         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
35962         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
35963         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
35964         [__ASSUME_ACCEPT4]: Change condition to
35965         [__ASSUME_ACCEPT4_SOCKETCALL].
35966         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35967         (__ASSUME_SOCKETCALL): Define.
35968         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
35969         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35970         (__ASSUME_SOCKETCALL): Define.
35971         (__ASSUME_ACCEPT4): Remove.
35972         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
35973         Define.
35974         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35975         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
35976         Likewise.
35977         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35978         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
35980         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
35981         macro.
35982         (HWCAP_ARM_LPAE): Likewise.
35983         (HWCAP_ARM_EVTSTRM): Likewise.
35984         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
35985         Add vpfd32, lpae and evtstrm.
35986         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
35987         Increase to 22.
35989 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
35991         * math/auto-libm-test-in: Add tests of clog10.
35992         * math/auto-libm-test-out: Regenerated.
35993         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
35994         * sysdeps/i386/fpu/libm-test-ulps: Update.
35995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35997 2014-02-18  Andreas Schwab  <schwab@suse.de>
35999         [BZ #16574]
36000         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
36001         Store non-zero if the second buffer was newly allocated.
36002         (send_dg): Likewise.
36003         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
36004         to send_vc and send_dg.
36005         (res_nsend): Pass NULL for ansp2_malloced.
36006         * resolv/res_query.c (__libc_res_nquery): Add parameter
36007         answerp2_malloced and pass it down to __libc_res_nsend.
36008         (res_nquery): Pass additional NULL to __libc_res_nquery.
36009         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
36010         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
36011         second answer buffer if answerp2_malloced was set.
36012         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
36013         (__libc_res_nquerydomain): Add parameter
36014         answerp2_malloced and pass it down to __libc_res_nquery.
36015         (res_nquerydomain): Pass additional NULL to
36016         __libc_res_nquerydomain.
36017         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
36018         additional NULL to __libc_res_nsend and __libc_res_nquery.
36019         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
36020         additional NULL to __libc_res_nsearch.
36021         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
36022         parameter of __libc_res_nsearch to check for separately allocated
36023         second buffer.
36024         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
36025         __libc_res_nquery.
36026         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
36027         additional NULL to __libc_res_nquery.
36028         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
36029         __libc_res_nsearch.
36030         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
36031         * include/resolv.h: Update prototypes of __libc_res_nquery,
36032         __libc_res_nsearch, __libc_res_nsend.
36034 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
36036         * math/auto-libm-test-in: Add tests of fma.
36037         * math/auto-libm-test-out: Regenerated.
36038         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
36039         (fma_towardzero_test_data): Likewise.
36040         (fma_downward_test_data): Likewise.
36041         (fma_upward_test_data): Likewise.
36042         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
36043         mpc_mode.
36044         (rounding_modes): Add values for new field.
36045         (func_calc_method): Add value mpfr_fff_f.
36046         (func_calc_desc): Add mpfr_fff_f union field.
36047         (test_function): Add field exact_args.
36048         (FUNC): Add macro argument EXACT_ARGS.
36049         (FUNC_mpfr_f_f): Update call to FUNC.
36050         (FUNC_mpfr_f_f): Likewise.
36051         (FUNC_mpfr_ff_f): Likewise.
36052         (FUNC_mpfr_if_f): Likewise.
36053         (FUNC_mpc_c_f): Likewise.
36054         (FUNC_mpc_c_c): Likewise.
36055         (test_functions): Add fma.  Update calls to FUNC.
36056         (handle_input_arg): Add argument exact_args.
36057         (add_test): Update call to handle_input_arg.
36058         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
36059         (output_for_one_input_case): Update call to calc_generic_results.
36060         Recalculate exact zero results in each rounding mode.
36062         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
36063         non-negative before setting low bit.
36064         * math/auto-libm-test-in: Mark one asin test possibly having
36065         spurious underflow.
36066         * math/auto-libm-test-out: Regenerated.
36067         * sysdeps/i386/fpu/libm-test-ulps: Update.
36068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36070 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
36072         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
36073         * sysdeps/unix/sysv/linux/microblaze: Move directory from
36074         ports/sysdeps/unix/sysv/linux/microblaze.
36075         * README: Add missing listing for microblaze*-*-linux-gnu.
36077 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
36079         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
36080         duplicate code
36082 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
36084         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
36085         * sysdeps/unix/sysv/linux/ia64: Move directory from
36086         ports/sysdeps/unix/sysv/linux/ia64.
36087         * README: Update listing for ia64-*-linux-gnu.
36089 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
36090             Joseph Myers  <joseph@codesourcery.com>
36092         * Makeconfig (test-name): New variable.
36093         (evaluate-test): Likewise.
36094         * Makerules (do-test-clean): Remove .test-result files.
36095         (common-mostlyclean): Likewise.
36096         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
36097         * scripts/evaluate-test.sh: New file.
36099 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
36101         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
36102         separate $(objpfx)tst-fopenloc-cmp.out and
36103         $(objpfx)tst-fopenloc-mem.out targets.
36104         (tests): Update dependencies.
36105         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
36106         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
36107         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
36108         (tst-rxspencer-no-utf8-ARGS): New variable.
36109         (tst-rxspencer-no-utf8-ENV): Likewise.
36110         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
36111         instead of $(objpfx)tst-rxspencer-mem.
36112         ($(objpfx)tst-rxspencer-mem): Change target to
36113         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
36114         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
36115         * posix/tst-rxspencer-no-utf8.c: New file.
36117         * elf/Makefile ($(objpfx)order.out): Remove rule.
36118         [$(run-built-tests) = yes] (tests): Depend on
36119         $(objpfx)order-cmp.out.
36120         ($(objpfx)order-cmp.out): New rule.
36121         [$(run-built-tests) = yes] (tests): Depend on
36122         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
36123         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
36124         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
36125         $(objpfx)tst-array5-static-cmp.out.
36126         ($(objpfx)tst-array1.out): Remove rule.
36127         ($(objpfx)tst-array1-cmp.out): New rule.
36128         ($(objpfx)tst-array1-static.out): Remove rule.
36129         ($(objpfx)tst-array1-static-cmp.out): New rule.
36130         ($(objpfx)tst-array2.out): Remove rule.
36131         ($(objpfx)tst-array2-cmp.out): New rule.
36132         ($(objpfx)tst-array3.out): Remove rule.
36133         ($(objpfx)tst-array3-cmp.out): New rule.
36134         ($(objpfx)tst-array4.out): Remove rule.
36135         ($(objpfx)tst-array4-cmp.out): New rule.
36136         ($(objpfx)tst-array5.out): Remove rule.
36137         ($(objpfx)tst-array5-cmp.out): New rule.
36138         ($(objpfx)tst-array5-static.out): Remove rule.
36139         ($(objpfx)tst-array5-static-cmp.out): New rule.
36140         [$(run-built-tests) = yes] (tests): Depend on
36141         $(objpfx)order2-cmp.out.
36142         ($(objpfx)order2.out): Remove rule.
36143         ($(objpfx)order2-cmp.out): New rule.
36144         ($(objpfx)tst-initorder.out): Remove rule.
36145         [$(run-built-tests) = yes] (tests): Depend on
36146         $(objpfx)tst-initorder-cmp.out.
36147         ($(objpfx)tst-initorder-cmp.out): New rule.
36148         ($(objpfx)tst-initorder2.out): Remove rule.
36149         [$(run-built-tests) = yes] (tests): Depend on
36150         $(objpfx)tst-initorder2-cmp.out.
36151         ($(objpfx)tst-initorder2-cmp.out): New rule.
36152         [$(run-built-tests) = yes] (tests): Depend on
36153         $(objpfx)tst-unused-dep-cmp.out.
36154         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
36155         ($(objpfx)tst-unused-dep-cmp.out): New rule.
36156         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
36157         on $(objpfx)tst-setvbuf1-cmp.out.
36158         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
36159         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
36160         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
36161         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
36162         ($(objpfx)tst-svc.out): Remove rule.
36163         ($(objpfx)tst-svc-cmp.out): New rule.
36165 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
36167         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
36168         * ctype/ctype.h [__USE_MISC]: Likewise.
36169         * dirent/dirent.h [__USE_MISC]: Likewise.
36170         * grp/grp.h [__USE_MISC]: Likewise.
36171         * io/fcntl.h [__USE_MISC]: Likewise.
36172         * io/sys/stat.h [__USE_MISC]: Likewise.
36173         * libio/stdio.h [__USE_MISC]: Likewise.
36174         * posix/unistd.h [__USE_MISC]: Likewise.
36175         * pwd/pwd.h [__USE_MISC]: Likewise.
36176         * stdlib.h [__USE_MISC]: Likewise.
36177         * string/bits/string2.h [__USE_MISC]: Likewise.
36178         * string/string.h [__USE_MISC]: Likewise.
36179         * time/time.h [__USE_MISC]: Likewise.
36181 2014-02-13  Andreas Schwab  <schwab@suse.de>
36183         [BZ #16574]
36184         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
36185         second answer buffer if it was separately allocated.
36187 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
36189         * sysdeps/mips/math-tests.h: Include <features.h>.
36190         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36191         (ROUNDING_TESTS_long_double): Do not define.
36192         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
36193         (EXCEPTION_TESTS_long_double): Likewise.
36194         * sysdeps/mips/mips64/libm-test-ulps: Update.
36196         * include/features.h (__USE_BSD): Remove macro definitions.
36197         (__USE_SVID): Likewise.
36198         (_BSD_SOURCE): Likewise.
36199         (_SVID_SOURCE): Likewise.
36200         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
36201         from definition of _DEFAULT_SOURCE.
36202         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
36203         [_DEFAULT_SOURCE].
36204         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
36205         * bits/mman.h [__USE_BSD]: Likewise.
36206         * bits/termios.h [__USE_BSD]: Likewise.
36207         * bits/waitstatus.h [__USE_BSD]: Likewise.
36208         * ctype/ctype.h [__USE_SVID]: Likewise.
36209         * dirent/dirent.h [__USE_BSD]: Likewise.
36210         * grp/grp.h [__USE_SVID]: Likewise.
36211         [__USE_BSD]: Likewise.
36212         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
36213         * io/fcntl.h [__USE_BSD]: Likewise.
36214         * io/ftw.h [__USE_BSD]: Likewise.
36215         * io/sys/stat.h [__USE_BSD]: Likewise.
36216         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
36217         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
36218         * libio/stdio.h [__USE_SVID]: Likewise.
36219         [__USE_BSD]: Likewise.
36220         * math/math.h [__USE_SVID]: Likewise.
36221         [__USE_BSD]: Likewise.
36222         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
36223         * misc/bits/syslog.h [__USE_BSD]: Likewise.
36224         * misc/search.h [__USE_SVID]: Likewise.
36225         * misc/sys/mman.h [__USE_BSD]: Likewise.
36226         * misc/sys/syslog.h [__USE_BSD]: Likewise.
36227         * misc/sys/uio.h [__USE_BSD]: Likewise.
36228         * posix/bits/unistd.h [__USE_BSD]: Likewise.
36229         * posix/glob.h [__USE_BSD]: Likewise.
36230         * posix/regex.h [__USE_BSD]: Likewise.
36231         * posix/sys/types.h [__USE_BSD]: Likewise.
36232         [__USE_SVID]: Likewise.
36233         * posix/sys/utsname.h [__USE_SVID]: Likewise.
36234         * posix/sys/wait.h [__USE_BSD]: Likewise.
36235         [__USE_SVID]: Likewise.
36236         * posix/unistd.h [__USE_BSD]: Likewise.
36237         [__USE_SVID]: Likewise.
36238         * pwd/pwd.h [__USE_SVID]: Likewise.
36239         * resolv/netdb.h [__USE_BSD]: Likewise.
36240         * setjmp/setjmp.h [__USE_BSD]: Likewise.
36241         * signal/signal.h [__USE_BSD]: Likewise.
36242         [__USE_SVID]: Likewise.
36243         * socket/sys/socket.h [__USE_BSD]: Likewise.
36244         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
36245         * stdlib/stdlib.h [__USE_BSD]: Likewise.
36246         [__USE_SVID]: Likewise.
36247         * string/bits/string2.h [__USE_BSD]: Likewise.
36248         [__USE_SVID]: Likewise.
36249         * string/bits/string3.h [__USE_BSD]: Likewise.
36250         * string/endian.h [__USE_BSD]: Likewise.
36251         * string/string.h [__USE_SVID]: Likewise.
36252         [__USE_BSD]: Likewise.
36253         * string/strings.h [__USE_BSD]: Likewise.
36254         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
36255         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
36256         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
36257         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
36258         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
36259         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
36260         Likewise.
36261         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
36262         Likewise.
36263         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
36264         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
36265         Likewise.
36266         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
36267         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
36268         Likewise.
36269         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
36270         Likewise.
36271         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
36272         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
36273         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
36274         Likewise.
36275         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
36276         Likewise.
36277         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
36278         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
36279         * termios/termios.h [__USE_BSD]: Likewise.
36280         * time/sys/time.h [__USE_BSD]: Likewise.
36281         * time/time.h [__USE_BSD]: Likewise.
36282         [__USE_SVID]: Likewise.
36284         * Makefile (subdir_targets): Remove subdir_lint.out.
36286         * stdio-common/Makefile (do-tst-unbputc): Remove target.
36287         (do-tst-printf): Likewise.
36288         (tests): Depend directly on $(objpfx)tst-unbputc.out and
36289         $(objpfx)tst-printf.out.
36291         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
36293         * Makerules (check-abi-%): Change target to
36294         $(objpfx)check-abi-%.out.
36295         (check-abi target): Update dependencies.
36296         (check-abi-pattern variable): Redirect output of diff to $@.
36297         (check-abi variable): Likewise.
36298         * elf/Makefile (check-abi): Update dependencies.
36300         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
36301         unused.
36302         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
36303         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
36304         subnormal range.
36305         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
36306         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
36307         value has largest subnormal exponent.
36308         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
36309         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
36310         * sysdeps/aarch64/soft-fp/sfp-machine.h
36311         (_FP_TININESS_AFTER_ROUNDING): New macro.
36312         * sysdeps/alpha/soft-fp/sfp-machine.h
36313         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36314         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36315         Likewise.
36316         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
36317         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36318         * sysdeps/mips/soft-fp/sfp-machine.h
36319         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36320         * sysdeps/powerpc/soft-fp/sfp-machine.h
36321         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36322         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36323         Likewise.
36324         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
36325         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36326         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
36327         (_FP_TININESS_AFTER_ROUNDING): Likewise.
36328         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
36329         Likewise.
36331 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
36333         [BZ #16545]
36334         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
36335         model 1.
36337 2014-02-12  Richard Henderson  <rth@redhat.com>
36339         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
36340         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
36341         * sysdeps/unix/sysv/linux/alpha: Move directory from
36342         ports/sysdeps/unix/sysv/linux/alpha.
36343         * README: Update listing for alpha-*-linux-gnu.
36345 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
36347         * include/features.h: Update comment documenting feature test
36348         macros.
36349         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
36350         _DEFAULT_SOURCE.
36351         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
36352         (_SVID_SOURCE): Likewise.
36353         (_DEFAULT_SOURCE): Update description of default features.
36354         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
36355         with _GNU_SOURCE.
36356         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
36357         (S_ISVTX): Likewise.
36358         * manual/math.texi (Mathematical Constants): Likewise.
36359         * manual/signal.texi (Interrupted Primitives): Likewise.
36360         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
36361         * math/test-matherr.c (_SVID_SOURCE): Do not define.
36362         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
36363         Don't refer to _SVID_SOURCE in warning text.
36365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36367         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
36368         already defined.
36369         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
36370         * sysdeps/mips/dl-lookup.c: Remove.
36371         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
36373 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36375         [BZ #16447]
36376         * math/auto-libm-test-in: Add testcase for expl.
36377         * math/auto-libm-test-out: Regenerate.
36378         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
36379         calculation of unsafe.
36380         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
36382 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36384         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
36385         * sysdeps/unix/sysv/linux/aarch64: Move directory from
36386         ports/sysdeps/unix/sysv/linux/aarch64.
36387         * README: Update listing for aarch64*-*-linux-gnu.
36389 2014-02-11  Will Newton  <will.newton@linaro.org>
36391         * manual/probes.texi (Mathematical Function Probes): Use
36392         "triggered" instead of "hit".
36394         * manual/probes.texi (Internal Probes): Add documentation
36395         of setjmp, longjmp and longjmp_target probes.
36397         * include/stap-probe.h: Add comment about probe argument
36398         format.
36400         * malloc/mtrace.c (attribute_hidden): Remove unused macro
36401         definition.  (tr_where, tr_freehook, tr_mallochook,
36402         tr_reallochook, tr_memalignhook): Use ANSI protoype.
36404 2014-02-11  David S. Miller  <davem@davemloft.net>
36406         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
36407         processing int_tests.
36409 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
36411         * sysdeps/mips: Move directory from ports/sysdeps/mips.
36412         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
36413         * sysdeps/unix/sysv/linux/mips: Move directory from
36414         ports/sysdeps/unix/sysv/linux/mips.
36415         * README: Update listing for mips-*-linux-gnu and
36416         mips64-*-linux-gnu.
36418 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
36420         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
36421         * sysdeps/unix/sysv/linux/m68k: Move directory from
36422         ports/sysdeps/unix/sysv/linux/m68k.
36423         * README: Update listing for m68k-*-linux-gnu.
36425 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
36427         * sysdeps/tile: Move directory from ports/sysdeps/tile.
36428         * sysdeps/unix/sysv/linux/generic: Move directory from
36429         ports/sysdeps/unix/sysv/linux/generic.
36430         * sysdeps/unix/sysv/linux/tile: Move directory from
36431         ports/sysdeps/unix/sysv/linux/tile.
36432         * README: Update listing for tile*-*-linux-gnu.
36434 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
36436         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
36437         __builtin_expect.
36438         * benchtests/bench-memmem.c (simple_memmem): Likewise.
36439         * catgets/open_catalog.c (__open_catalog): Likewise.
36440         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
36441         * debug/confstr_chk.c: Likewise.
36442         * debug/fread_chk.c (__fread_chk): Likewise.
36443         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
36444         * debug/getgroups_chk.c: Likewise.
36445         * debug/mbsnrtowcs_chk.c: Likewise.
36446         * debug/mbsrtowcs_chk.c: Likewise.
36447         * debug/mbstowcs_chk.c: Likewise.
36448         * debug/memcpy_chk.c: Likewise.
36449         * debug/memmove_chk.c: Likewise.
36450         * debug/mempcpy_chk.c: Likewise.
36451         * debug/memset_chk.c: Likewise.
36452         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
36453         * debug/strcat_chk.c (__strcat_chk): Likewise.
36454         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
36455         * debug/strncat_chk.c (__strncat_chk): Likewise.
36456         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
36457         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
36458         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
36459         * debug/wcpncpy_chk.c: Likewise.
36460         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
36461         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
36462         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
36463         * debug/wcsncpy_chk.c: Likewise.
36464         * debug/wcsnrtombs_chk.c: Likewise.
36465         * debug/wcsrtombs_chk.c: Likewise.
36466         * debug/wcstombs_chk.c: Likewise.
36467         * debug/wmemcpy_chk.c: Likewise.
36468         * debug/wmemmove_chk.c: Likewise.
36469         * debug/wmempcpy_chk.c: Likewise.
36470         * debug/wmemset_chk.c: Likewise.
36471         * dirent/scandirat.c (SCANDIRAT): Likewise.
36472         * dlfcn/dladdr1.c (dladdr1): Likewise.
36473         * dlfcn/dladdr.c (dladdr): Likewise.
36474         * dlfcn/dlclose.c (dlclose_doit): Likewise.
36475         * dlfcn/dlerror.c (__dlerror): Likewise.
36476         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
36477         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
36478         * dlfcn/dlopen.c (dlopen_doit): Likewise.
36479         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
36480         * dlfcn/dlsym.c (dlsym_doit): Likewise.
36481         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
36482         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
36483         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
36484         Likewise.
36485         * elf/dl-conflict.c: Likewise.
36486         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
36487         * elf/dl-dst.h: Likewise.
36488         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
36489         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
36490         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
36491         * elf/dl-init.c (call_init, _dl_init): Likewise.
36492         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
36493         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
36494         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
36495         Likewise.
36496         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
36497         Likewise.
36498         * elf/dl-minimal.c (__libc_memalign): Likewise.
36499         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
36500         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36501         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
36502         * elf/dl-sym.c (do_sym): Likewise.
36503         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
36504         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
36505         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
36506         * elf/dl-writev.h (_dl_writev): Likewise.
36507         * elf/ldconfig.c (search_dir): Likewise.
36508         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
36509         (dl_main): Likewise.
36510         * elf/setup-vdso.h (setup_vdso): Likewise.
36511         * grp/compat-initgroups.c (compat_call): Likewise.
36512         * grp/fgetgrent.c (fgetgrent): Likewise.
36513         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
36514         * grp/putgrent.c (putgrent): Likewise.
36515         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
36516         Likewise.
36517         * hurd/hurdinit.c: Likewise.
36518         * iconvdata/8bit-gap.c (struct): Likewise.
36519         * iconvdata/ansi_x3.110.c : Likewise.
36520         * iconvdata/big5.c : Likewise.
36521         * iconvdata/big5hkscs.c : Likewise.
36522         * iconvdata/cp1255.c: Likewise.
36523         * iconvdata/cp1258.c : Likewise.
36524         * iconvdata/cp932.c : Likewise.
36525         * iconvdata/euc-cn.c: Likewise.
36526         * iconvdata/euc-jisx0213.c : Likewise.
36527         * iconvdata/euc-jp.c: Likewise.
36528         * iconvdata/euc-jp-ms.c : Likewise.
36529         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
36530         * iconvdata/gb18030.c : Likewise.
36531         * iconvdata/gbbig5.c (const): Likewise.
36532         * iconvdata/gbgbk.c: Likewise.
36533         * iconvdata/gbk.c : Likewise.
36534         * iconvdata/ibm1364.c : Likewise.
36535         * iconvdata/ibm930.c : Likewise.
36536         * iconvdata/ibm932.c: Likewise.
36537         * iconvdata/ibm933.c : Likewise.
36538         * iconvdata/ibm935.c : Likewise.
36539         * iconvdata/ibm937.c : Likewise.
36540         * iconvdata/ibm939.c : Likewise.
36541         * iconvdata/ibm943.c: Likewise.
36542         * iconvdata/iso_11548-1.c: Likewise.
36543         * iconvdata/iso-2022-cn.c : Likewise.
36544         * iconvdata/iso-2022-cn-ext.c : Likewise.
36545         * iconvdata/iso-2022-jp-3.c: Likewise.
36546         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
36547         * iconvdata/iso-2022-kr.c : Likewise.
36548         * iconvdata/iso646.c (gconv_end): Likewise.
36549         * iconvdata/iso_6937-2.c : Likewise.
36550         * iconvdata/iso_6937.c : Likewise.
36551         * iconvdata/iso8859-1.c: Likewise.
36552         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
36553         * iconvdata/shift_jisx0213.c : Likewise.
36554         * iconvdata/sjis.c : Likewise.
36555         * iconvdata/t.61.c : Likewise.
36556         * iconvdata/tcvn5712-1.c : Likewise.
36557         * iconvdata/tscii.c: Likewise.
36558         * iconvdata/uhc.c : Likewise.
36559         * iconvdata/unicode.c (gconv_end): Likewise.
36560         * iconvdata/utf-16.c (gconv_end): Likewise.
36561         * iconvdata/utf-32.c (gconv_end): Likewise.
36562         * iconvdata/utf-7.c (base64): Likewise.
36563         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
36564         * iconv/gconv_close.c (__gconv_close): Likewise.
36565         * iconv/gconv_open.c (__gconv_open): Likewise.
36566         * iconv/gconv_simple.c (internal_ucs4_loop_single)
36567         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
36568         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
36569         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
36570         (ucs4le_internal_loop_single): Likewise.
36571         * iconv/iconv.c (iconv): Likewise.
36572         * iconv/iconv_close.c: Likewise.
36573         * iconv/loop.c (SINGLE): Likewise.
36574         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
36575         * include/atomic.h: Likewise.
36576         * inet/inet6_option.c (option_alloc): Likewise.
36577         * intl/bindtextdom.c (set_binding_values): Likewise.
36578         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
36579         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
36580         * intl/localealias.c (read_alias_file): Likewise.
36581         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
36582         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
36583         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
36584         * libio/fmemopen.c (fmemopen): Likewise.
36585         * libio/iofgets.c (_IO_fgets): Likewise.
36586         * libio/iofgets_u.c (fgets_unlocked): Likewise.
36587         * libio/iofgetws.c (fgetws): Likewise.
36588         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
36589         * libio/iogetdelim.c (_IO_getdelim): Likewise.
36590         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
36591         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
36592         * locale/findlocale.c (_nl_find_locale): Likewise.
36593         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
36594         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
36595         Likewise.
36596         * locale/setlocale.c (setlocale): Likewise.
36597         * login/programs/pt_chown.c (main): Likewise.
36598         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
36599         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
36600         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
36601         (mmap, mmap64, mremap, munmap): Likewise.
36602         * math/e_exp2l.c: Likewise.
36603         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
36604         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
36605         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
36606         * math/s_catan.c (__catan): Likewise.
36607         * math/s_catanf.c (__catanf): Likewise.
36608         * math/s_catanh.c (__catanh): Likewise.
36609         * math/s_catanhf.c (__catanhf): Likewise.
36610         * math/s_catanhl.c (__catanhl): Likewise.
36611         * math/s_catanl.c (__catanl): Likewise.
36612         * math/s_ccosh.c (__ccosh): Likewise.
36613         * math/s_ccoshf.c (__ccoshf): Likewise.
36614         * math/s_ccoshl.c (__ccoshl): Likewise.
36615         * math/s_cexp.c (__cexp): Likewise.
36616         * math/s_cexpf.c (__cexpf): Likewise.
36617         * math/s_cexpl.c (__cexpl): Likewise.
36618         * math/s_clog10.c (__clog10): Likewise.
36619         * math/s_clog10f.c (__clog10f): Likewise.
36620         * math/s_clog10l.c (__clog10l): Likewise.
36621         * math/s_clog.c (__clog): Likewise.
36622         * math/s_clogf.c (__clogf): Likewise.
36623         * math/s_clogl.c (__clogl): Likewise.
36624         * math/s_csin.c (__csin): Likewise.
36625         * math/s_csinf.c (__csinf): Likewise.
36626         * math/s_csinh.c (__csinh): Likewise.
36627         * math/s_csinhf.c (__csinhf): Likewise.
36628         * math/s_csinhl.c (__csinhl): Likewise.
36629         * math/s_csinl.c (__csinl): Likewise.
36630         * math/s_csqrt.c (__csqrt): Likewise.
36631         * math/s_csqrtf.c (__csqrtf): Likewise.
36632         * math/s_csqrtl.c (__csqrtl): Likewise.
36633         * math/s_ctan.c (__ctan): Likewise.
36634         * math/s_ctanf.c (__ctanf): Likewise.
36635         * math/s_ctanh.c (__ctanh): Likewise.
36636         * math/s_ctanhf.c (__ctanhf): Likewise.
36637         * math/s_ctanhl.c (__ctanhl): Likewise.
36638         * math/s_ctanl.c (__ctanl): Likewise.
36639         * math/w_pow.c: Likewise.
36640         * math/w_powf.c: Likewise.
36641         * math/w_powl.c: Likewise.
36642         * math/w_scalb.c (sysv_scalb): Likewise.
36643         * math/w_scalbf.c (sysv_scalbf): Likewise.
36644         * math/w_scalbl.c (sysv_scalbl): Likewise.
36645         * misc/error.c (error_tail): Likewise.
36646         * misc/pselect.c (__pselect): Likewise.
36647         * nis/nis_callback.c (__nis_create_callback): Likewise.
36648         * nis/nis_call.c (__nisfind_server): Likewise.
36649         * nis/nis_creategroup.c (nis_creategroup): Likewise.
36650         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
36651         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
36652         * nis/nis_getservlist.c (nis_getservlist): Likewise.
36653         * nis/nis_lookup.c (nis_lookup): Likewise.
36654         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
36655         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
36656         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
36657         * nis/nis_xdr.c (xdr_endpoint): Likewise.
36658         * nis/nss_compat/compat-grp.c (getgrent_next_file)
36659         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
36660         * nis/nss_compat/compat-initgroups.c (add_group)
36661         (internal_getgrent_r): Likewise.
36662         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
36663         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
36664         * nis/nss_compat/compat-spwd.c (getspent_next_file)
36665         (internal_getspnam_r): Likewise.
36666         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
36667         (_nss_nis_getaliasbyname_r): Likewise.
36668         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
36669         (_nss_nis_getntohost_r): Likewise.
36670         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
36671         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
36672         (_nss_nis_getgrgid_r): Likewise.
36673         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
36674         (internal_nis_gethostent_r, internal_gethostbyname2_r)
36675         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
36676         (_nss_nis_gethostbyname4_r): Likewise.
36677         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
36678         (initgroups_netid): Likewise.
36679         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
36680         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
36681         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
36682         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
36683         (_nss_nis_getprotobynumber_r): Likewise.
36684         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
36685         (_nss_nis_getsecretkey): Likewise.
36686         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
36687         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
36688         (_nss_nis_getpwuid_r): Likewise.
36689         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
36690         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
36691         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
36692         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
36693         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
36694         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
36695         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
36696         Likewise.
36697         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
36698         (_nss_nisplus_getntohost_r): Likewise.
36699         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
36700         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
36701         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
36702         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
36703         Likewise.
36704         * nis/nss_nisplus/nisplus-initgroups.c
36705         (_nss_nisplus_initgroups_dyn): Likewise.
36706         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
36707         (_nss_nisplus_getnetbyaddr_r): Likewise.
36708         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
36709         (_nss_nisplus_getprotobynumber_r): Likewise.
36710         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
36711         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
36712         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
36713         Likewise.
36714         * nis/nss_nisplus/nisplus-service.c
36715         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
36716         (_nss_nisplus_getservbyport_r): Likewise.
36717         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
36718         (_nss_nisplus_getspnam_r): Likewise.
36719         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
36720         Likewise.
36721         * nscd/aicache.c (addhstaiX): Likewise.
36722         * nscd/cache.c (cache_search, prune_cache): Likewise.
36723         * nscd/connections.c (register_traced_file, send_ro_fd)
36724         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
36725         (main_loop_epoll): Likewise.
36726         * nscd/grpcache.c (addgrbyX): Likewise.
36727         * nscd/hstcache.c (addhstbyX): Likewise.
36728         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36729         * nscd/mem.c (gc, mempool_alloc): Likewise.
36730         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
36731         (addinnetgrX): Likewise.
36732         * nscd/nscd-client.h (__nscd_acquire_maplock)
36733         (__nscd_drop_map_ref): Likewise.
36734         * nscd/nscd_getai.c (__nscd_getai): Likewise.
36735         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
36736         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
36737         Likewise.
36738         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
36739         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
36740         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
36741         (__nscd_get_map_ref): Likewise.
36742         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
36743         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
36744         Likewise.
36745         * nscd/pwdcache.c (addpwbyX): Likewise.
36746         * nscd/selinux.c (preserve_capabilities): Likewise.
36747         * nscd/servicescache.c (addservbyX): Likewise.
36748         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
36749         * posix/fnmatch.c (fnmatch): Likewise.
36750         * posix/getopt.c (_getopt_internal_r): Likewise.
36751         * posix/glob.c (glob, glob_in_dir): Likewise.
36752         * posix/wordexp.c (exec_comm_child): Likewise.
36753         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
36754         (getanswer_r, gaih_getanswer_slice): Likewise.
36755         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
36756         * resolv/res_init.c: Likewise.
36757         * resolv/res_mkquery.c (res_nmkquery): Likewise.
36758         * resolv/res_query.c (__libc_res_nquery): Likewise.
36759         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
36760         Likewise.
36761         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
36762         * stdio-common/perror.c (perror): Likewise.
36763         * stdio-common/printf_fp.c (___printf_fp): Likewise.
36764         * stdio-common/tmpnam.c (tmpnam): Likewise.
36765         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36766         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
36767         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
36768         Likewise.
36769         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
36770         * stdlib/putenv.c (putenv): Likewise.
36771         * stdlib/setenv.c (__add_to_environ): Likewise.
36772         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36773         * stdlib/strtol_l.c (INTERNAL): Likewise.
36774         * string/memmem.c (memmem): Likewise.
36775         * string/strerror.c (strerror): Likewise.
36776         * string/strnlen.c (__strnlen): Likewise.
36777         * string/test-memmem.c (simple_memmem): Likewise.
36778         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
36779         * sunrpc/pm_getport.c (__get_socket): Likewise.
36780         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
36781         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
36782         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
36783         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
36784         Likewise.
36785         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
36786         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36787         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
36788         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
36789         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
36790         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
36791         Likewise.
36792         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
36793         Likewise.
36794         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
36795         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
36796         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
36797         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
36798         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
36799         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
36800         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36801         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
36802         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
36803         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
36804         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
36805         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
36806         Likewise.
36807         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
36808         Likewise.
36809         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
36810         Likewise.
36811         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
36812         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36813         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
36814         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
36815         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
36816         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
36817         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
36818         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
36819         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
36820         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
36821         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
36822         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36823         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
36824         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
36825         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36826         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
36827         Likewise.
36828         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
36829         Likewise.
36830         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
36831         Likewise.
36832         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
36833         Likewise.
36834         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36835         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36836         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
36837         Likewise.
36838         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
36839         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
36840         * sysdeps/posix/opendir.c (__opendirat): Likewise.
36841         * sysdeps/posix/sleep.c: Likewise.
36842         * sysdeps/posix/tempname.c: Likewise.
36843         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
36844         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
36845         Likewise.
36846         * sysdeps/powerpc/powerpc32/dl-machine.h
36847         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
36848         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
36849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
36850         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
36851         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
36852         Likewise.
36853         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
36854         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
36855         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36856         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
36857         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
36858         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
36859         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
36860         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
36861         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36862         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
36863         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
36864         (elf_machine_lazy_rel): Likewise.
36865         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
36866         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
36867         (elf_machine_lazy_rel): Likewise.
36868         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
36869         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
36870         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
36871         * sysdeps/unix/grantpt.c (grantpt): Likewise.
36872         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
36873         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
36874         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
36875         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
36876         Likewise.
36877         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
36878         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
36879         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
36880         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
36881         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36882         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
36883         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
36884         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
36885         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
36886         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
36887         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36888         Likewise.
36889         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
36890         (__posix_fallocate64_l64): Likewise.
36891         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
36892         (posix_fallocate): Likewise.
36893         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
36894         Likewise.
36895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36896         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
36897         (getifaddrs_internal): Likewise.
36898         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
36899         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
36900         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
36901         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
36902         * sysdeps/unix/sysv/linux/posix_fallocate64.c
36903         (__posix_fallocate64_l64): Likewise.
36904         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
36905         Likewise.
36906         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
36907         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
36908         (__get_clockfreq): Likewise.
36909         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
36910         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36911         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
36912         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36913         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36914         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
36915         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
36916         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
36917         Likewise.
36918         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
36919         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
36920         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
36921         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
36922         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
36923         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
36924         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
36925         Likewise.
36926         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
36927         (posix_fallocate): Likewise.
36928         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36929         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
36930         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
36931         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
36932         (elf_machine_rela, elf_machine_rela_relative)
36933         (elf_machine_lazy_rel): Likewise.
36934         * time/asctime.c (asctime_internal): Likewise.
36935         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
36936         * time/tzset.c (__tzset_parse_tz): Likewise.
36937         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36938         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36939         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
36940         * wcsmbs/wcsmbsload.h: Likewise.
36942         [BZ #15894]
36943         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
36945         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
36946         (arena_get2): Remove THREAD_STATS conditionals.
36947         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
36948         (__malloc_stats, int): Likewise.
36950 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
36952         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
36953         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
36955         * manual/setjmp.texi: Fix typos/grammar errors.
36957         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
36958         Only return early when n is <= 0.  Delete unused return statement.
36960         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
36961         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
36962         * debug/tst-longjmp_chk3.c: New file.
36964         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
36965         (test_main): Replace code with set_fortify_handler call.
36966         * debug/test-strcpy_chk.c: Likewise.
36967         * debug/tst-chk1.c: Likewise.
36968         * debug/tst-longjmp_chk.c: Likewise.
36969         * test-skeleton.c: Include fcntl.h & paths.h
36970         (set_fortify_handler): Define.
36972         * debug/tst-longjmp_chk.c: Add header comment and include
36973         ../test-skeleton.c.
36974         (do_test): Mark static.
36975         (TEST_FUNCTION): Define.
36977         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
36978         (IP_PMTUDISC_INTERFACE): Likewise.
36979         (IP_MULTICAST_IF): Likewise.
36980         (IP_MULTICAST_TTL): Likewise.
36981         (IP_MULTICAST_LOOP): Likewise.
36982         (IP_ADD_MEMBERSHIP): Likewise.
36983         (IP_DROP_MEMBERSHIP): Likewise.
36984         (IP_UNBLOCK_SOURCE): Likewise.
36985         (IP_BLOCK_SOURCE): Likewise.
36986         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
36987         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
36988         (IP_MSFILTER): Likewise.
36989         (MCAST_JOIN_GROUP): Likewise.
36990         (MCAST_BLOCK_SOURCE): Likewise.
36991         (MCAST_UNBLOCK_SOURCE): Likewise.
36992         (MCAST_LEAVE_GROUP): Likewise.
36993         (MCAST_JOIN_SOURCE_GROUP): Likewise.
36994         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
36995         (MCAST_MSFILTER): Likewise.
36996         (IP_MULTICAST_ALL): Likewise.
36997         (IP_UNICAST_IF): Likewise.
36999         * timezone/Makefile: Delete $(have-ksh) check.
37000         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
37001         * timezone/tzselect.ksh: Add +x mode bits.
37003         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
37004         (ANON_INODE_FS_MAGIC): Likewise.
37005         (BDEVFS_MAGIC): Likewise.
37006         (BINFMTFS_MAGIC): Likewise.
37007         (BTRFS_TEST_MAGIC): Likewise.
37008         (CRAMFS_MAGIC_WEND): Likewise.
37009         (DEBUGFS_MAGIC): Likewise.
37010         (ECRYPTFS_SUPER_MAGIC): Likewise.
37011         (EXT3_SUPER_MAGIC): Likewise.
37012         (EXT4_SUPER_MAGIC): Likewise.
37013         (FUTEXFS_SUPER_MAGIC): Likewise.
37014         (HOSTFS_SUPER_MAGIC): Likewise.
37015         (HUGETLBFS_MAGIC): Likewise.
37016         (MINIX3_SUPER_MAGIC): Likewise.
37017         (MTD_INODE_FS_MAGIC): Likewise.
37018         (NILFS_SUPER_MAGIC): Likewise.
37019         (OPENPROM_SUPER_MAGIC): Likewise.
37020         (PIPEFS_MAGIC): Likewise.
37021         (PSTOREFS_MAGIC): Likewise.
37022         (QNX6_SUPER_MAGIC): Likewise.
37023         (RAMFS_MAGIC): Likewise.
37024         (REISERFS_SUPER_MAGIC_STRING): Likewise.
37025         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
37026         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
37027         (SECURITYFS_MAGIC): Likewise.
37028         (SELINUX_MAGIC): Likewise.
37029         (SMACK_MAGIC): Likewise.
37030         (SOCKFS_MAGIC): Likewise.
37031         (SQUASHFS_MAGIC): Likewise.
37032         (STACK_END_MAGIC): Likewise.
37033         (TMPFS_MAGIC): Likewise.
37034         (USBDEVICE_SUPER_MAGIC): Likewise.
37035         (V9FS_MAGIC): Likewise.
37036         (XENFS_SUPER_MAGIC): Likewise.
37037         (CRAMFS_MAGIC): Fix typo in comment.
37038         (EXT2_SUPER_MAGIC): Update comment.
37039         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
37041 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
37043         * sysdeps/arm: Move directory from ports/sysdeps/arm.
37044         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
37045         * sysdeps/unix/sysv/linux/arm: Move directory from
37046         ports/sysdeps/unix/sysv/linux/arm.
37047         * README: Update listing for arm-*-linux-gnueabi.
37049         * README: Remove mention of am33.
37051 2014-02-07  Roland McGrath  <roland@hack.frob.com>
37053         * bits/sigset.h (__sigemptyset): Use a statement expression rather
37054         than the comma operator, to avoid "rhs of comma has no effect"
37055         compiler warnings.
37056         (__sigfillset, __sigandset, __sigorset): Likewise.
37057         * include/signal.h (__sigemptyset): Likewise.
37058         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
37060 2014-02-07  Allan McRae  <allan@archlinux.org>
37062         * version.h (RELEASE): Set to "development".
37063         (VERSION): Set to "2.19.90"
37064         * NEWS: Add 2.20 section.
37066 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
37068         [BZ #16529]
37069         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
37071 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37073         * manual/contrib.texi: Update entry for Carlos O'Donell,
37074         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
37076 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
37078         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
37080         * sysdeps/unix/sysv/linux/kernel-features.h
37081         [__LINUX_KERNEL_VERSION >= 0x020621]
37082         (__ASSUME_PROC_PID_TASK_COMM): Define.
37084 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37086         [BZ #16398]
37087         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
37088         conversion when destination buffer does not have enough space.
37089         * libio/tst-ftell-partial-wide.c: New test case.
37090         * libio/Makefile (tests): Add tst-ftell-partial-wide.
37092         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
37093         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
37094         Leonard and Allan McRae.
37096 2014-02-04  David S. Miller  <davem@davemloft.net>
37098         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
37099         32-bit.
37101 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
37104         New file
37105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
37106         New file
37107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
37108         New file.
37109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
37110         New file.
37111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
37112         New file.
37113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
37114         New file.
37115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
37116         New file.
37117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
37118         New file.
37119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
37120         New file.
37121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
37122         New file.
37123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
37124         New file.
37125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
37126         New file.
37127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
37128         New file.
37130 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37132         * nptl/shlib-versions: Change powerpc*le start to 2.17.
37133         * shlib-versions: Likewise.
37135 2014-02-04  Roland McGrath  <roland@hack.frob.com>
37136             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37138         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
37139         (abilist-pattern): New variable, set to %-le.abilist.
37141         * Makerules (abilist-pattern): New variable.
37142         (vpath): Use $(abilist-pattern) in place of %.abilist.
37143         (check-abi-% pattern rule): Likewise.
37144         (check-abi, update-abi): Likewise.
37146 2014-02-04  Eric Wong  <normalperson@yhbt.net>
37148         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37150 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
37152         * manual/startup.texi: Add next, previous, and top entries for
37153         the `Program Arguments' and `Environment Variables' nodes.
37155 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
37157         * manual/macros.texi: Add comments before MTASC-safety macros.
37159         * manual/users.texi: Document MTASC-safety properties.
37161         * manual/threads.texi (pthread_key_create, pthread_key_delete)
37162         (pthread_getspecific, pthread_setspecific): Format with
37163         @deftypefun, and add @safety note.
37164         * manual/signal.texi: Move comments that analyze the above
37165         functions to their home place.
37167 2014-02-03  Allan McRae  <allan@archlinux.org>
37169         * po/sl.po: Update Slovenian translation from translation project.
37171 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
37173         * manual/time.texi (timegm): Add missing blank after @c.
37174         Reported by Joseph Myers <joseph@codesourcery.com>.
37176 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
37178         * manual/check-safety.sh: New.
37179         * manual/Makefile ($(objpfx)stamp-summary): Run it.
37181         * manual/terminal.texi: Document MTASC-safety properties.
37183         * manual/filesys.texi: Document MTASC-safety properties.
37185         * manual/errno.texi: Document MTASC-safety properties.
37187         * manual/intro.texi: Document safety identifiers and
37188         conditionals.
37190         * manual/string.texi (wcstok): Fix prototype.
37191         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
37193         * manual/time.texi: Document MTASC-safety properties.
37195         * manual/string.texi: Document MTASC-safety properties.
37197         * manual/threads.texi: Document MTASC-safety properties.
37199         * manual/stdio.texi: Document MTASC-safety properties.
37201         * manual/syslog.texi: Document MTASC-safety properties.
37203         * manual/sysinfo.texi: Document MTASC-safety properties.
37205         * manual/startup.texi: Document MTASC-safety properties.
37207         * manual/socket.texi: Document MTASC-safety properties.
37209         * manual/signal.texi: Document MTASC-safety properties.
37211 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
37213         * manual/setjmp.texi: Document MTASC-safety properties.
37215         * manual/search.texi: Document MTASC-safety properties.
37217         * manual/resource.texi: Document MTASC-safety properties.
37219         * manual/process.texi: Document MTASC-safety properties.
37221         * manual/platform.texi: Document MTASC-safety properties.
37223         * manual/pipe.texi: Document MTASC-safety properties.
37225         * manual/pattern.texi: Document MTASC-safety properties.
37227         * manual/message.texi: Document MTASC-safety properties.
37229         [BZ #12751]
37230         * manual/memory.texi: Document MTASC-safety properties.
37232         * manual/math.texi: Document MTASC-safety properties.
37234         * manual/locale.texi: Document MTASC-safety properties.
37236         * manual/llio.texi: Document MTASC-safety properties.
37238         * manual/libdl.texi: New.
37240         * manual/lang.texi: Document MTASC-safety properties.
37242         * manual/job.texi: Document MTASC-safety properties.
37244         * manual/getopt.texi: Document MTASC-safety properties.
37246         * manual/ctype.texi: Document MTASC-safety properties.
37248 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
37250         [BZ #16046]
37251         * csu/libc-tls.c (static_map): Remove variable.
37252         (__libc_setup_tls): Use main executable's link map for TLS data.
37253         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
37254         casing for LM_ID_BASE and GL(dl_nns).
37255         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
37256         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
37257         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
37258         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
37259         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
37260         member.
37261         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
37262         l_phnum members.
37264 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
37266         * manual/debug.texi: Document MTASC-safety properties.
37268 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
37270         [BZ #16510]
37271         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
37272         of __x86_64__ when disabling x87 inline functions.
37274 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
37276         * manual/charset.texi: Document MTASC-safety properties.
37278         * manual/crypt.texi: Document MTASC-safety properties.
37280         * manual/conf.texi: Document MTASC-safety properties.
37282         * manual/arith.texi: Document MTASC-safety properties.
37284         * manual/argp.texi: Document MTASC-safety properties.
37286         * manual/macros.texi: Introduce macros to document multi
37287         thread, asynchronous signal and asynchronous cancellation
37288         safety properties.
37289         * manual/intro.texi: Introduce the properties themselves.
37291 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37293         * sysdeps/sh/sh4/Makefile: New file.
37295 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
37297         * math/gen-libm-test.pl ($srcdir): New variable.
37298         ($auto_input): Use it.
37300 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37302         [BZ #16506]
37303         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
37304         access beyond array bounds when parsing netgroups file.
37306         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
37307         the old buffer before realloc.
37309 2014-01-27  Allan McRae  <allan@archlinux.org>
37311         * po/fr.po: Update French translation from translation project.
37313 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37315         * sysdeps/sh/libm-test-ulps: Regenerate.
37317 2014-01-24  David S. Miller  <davem@davemloft.net>
37319         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
37321 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37323         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
37324         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
37326 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37328         [BZ #16474]
37329         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
37330         string pointers after reallocation.
37332 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37334         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
37335         __SH4A__ instead of __SH_FPU_ANY__.
37337 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37339         * sysdeps/sh/fpu_control.h: New file.
37340         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
37341         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
37342         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
37343         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
37344         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
37345         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
37346         * sysdeps/sh/sys/ucontext.h: Remove.
37347         * sysdeps/sh/sys: Remove directory.
37349 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37351         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
37352         s390/sys/ucontext.h.
37353         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
37354         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
37356 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
37358         [BZ #15605]
37359         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
37361 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37363         [BZ#16431]
37364         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
37365         Adjust the vDSO correctly for internal calls.
37366         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
37368 2014-01-20  Allan McRae  <allan@archlinux.org>
37370         * po/ca.po: Update Catalan translation from translation project.
37372 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
37374         * sysdeps/s390/sotruss-lib.c: New file.
37376 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37378         [BZ#16430]
37379         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
37380         (__GI___gettimeofday): Alias for a different internal symbol to avoid
37381         local calls issues by not having a PLT stub required for IFUNC calls.
37382         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
37384 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
37386         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
37387         * math/test-fpucw-static.c: Likewise.
37389 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37391         [BZ #16453]
37392         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
37394 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37396         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
37397         implementation for powerpc.
37399 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
37401         [BZ #14782]
37402         * sysdeps/posix/system.c (__libc_system): Do not enable
37403         asynchronous cancellation.
37405 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37407         [BZ #16427]
37408         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
37409         handling only for numbers special also in the IEEE case.
37411 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37413         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37415 2014-01-11  Allan McRae  <allan@archlinux.org>
37417         * po/bg.po: Update Bulgarian translation from translation project.
37419         * po/de.po: Update German translation from translation project.
37421 2014-01-10  Roland McGrath  <roland@hack.frob.com>
37423         * sysdeps/generic/gcc-compat.h: New file.
37425 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37427         * benchtests/asin-inputs: Correct slow inputs.
37428         * benchtests/acos-inputs: Likewise.
37430 2014-01-10  Allan McRae  <allan@archlinux.org>
37432         * po:sv.po: Update Swedish translation from translation project.
37434         * po/vi.po: Update Vietnamese translation from translation project.
37436         * po/eo.po: Update Esperanto translation from translation project.
37438         * po/cs.po: Update Czech translation from translation project.
37440         * po/nl.po: Update Dutch translation from translation project.
37442         * po/pl.po: Update Polish translation from translation project.
37444         * po/ru.po: Update Russian translation from translation project.
37446         * po/uk.po: Update Ukrainian translation from translation project.
37448 2014-01-08  Brooks Moses  <bmoses@google.com>
37450         * elf/dl-load.c: Fix comment typo.
37452 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
37454         * po/header.pot: Rename to...
37455         * po/pot.header: ... this.
37456         * po/Makefile: Use pot.header.
37458 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
37459             Maxim Kuvyrkov  <maxim@kugelworks.com>
37461         [BZ #16394]
37462         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
37463         SRC and DEST against LEN.
37465 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37467         [BZ #16414]
37468         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
37469         implementation.
37470         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
37472 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37476 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
37478         [BZ #16408]
37479         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
37480         for large positive arguments.
37482 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
37484         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37486         * math/auto-libm-test-in: Mark various tests with
37487         xfail-rounding:ldbl-128ibm.
37488         * math/auto-libm-test-out: Regenerated.
37490         [BZ #16407]
37491         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
37492         Increase overflow threshold.
37494 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
37496         [BZ #14286]
37497         * stdio-common/vfprintf.c: Check for integer overflow.
37499 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37501         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
37502         the first argument and return value of __tls_get_addr_internal.
37504 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37506         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
37507         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
37509 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37511         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
37512         * sysdeps/s390/rtld-global-offsets.sym: New file.
37513         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
37514         GLIBC_2.19 symbol.
37515         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
37516         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
37517         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
37518         ... this.
37519         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
37520         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
37521         ... this.
37522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37523         Regenerate.
37524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37525         Regenerate.
37526         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
37527         halfs of GPRs for high_gprs contexts.
37528         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
37529         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
37530         field.
37531         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
37532         uc_flags field.
37533         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
37534         64 bit versions:
37535         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
37536         for high GPRs (uc_high_gprs) and for future extensions
37537         (__reserved).
37538         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
37539         for future extensions (__reserved).
37540         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
37541         64 bit versions:
37542         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
37543         SC_HIGHGPRS offset definition.
37544         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
37545         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
37547         * Versions.def: Add GLIBC_2.19 for libpthread.
37548         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
37549         siglongjmp for libpthread with GLIBC_2.19 symver.
37550         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
37551         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
37552         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
37553         * sysdeps/s390/__longjmp.c: New file.
37554         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
37555         * sysdeps/s390/longjmp.c: New file.
37556         * sysdeps/s390/setjmp.S: New file.
37557         * sysdeps/s390/sigjmp.S: New file.
37558         * sysdeps/s390/v1-longjmp.c: New file.
37559         * sysdeps/s390/v1-setjmp.h: New file.
37560         * sysdeps/s390/v1-sigjmp.c: New file.
37561         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
37562         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
37563         GLIBC_2.19 version.
37564         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
37565         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
37566         versioned symbols for ____longjmp_chk.
37567         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
37568         Likewise.
37569         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
37570         Regenerate.
37571         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37572         Regenerate.
37573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
37574         Regenerate.
37575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37576         Regenerate.
37577         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
37578         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
37579         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
37580         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
37581         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
37582         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
37583         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
37584         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
37585         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
37586         * sysdeps/s390/rtld-__longjmp.c: New file.
37587         * sysdeps/s390/rtld-setjmp.S: New file.
37589 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
37591         [BZ #16400]
37592         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37593         Return -__logl (x) for small positive arguments without evaluating
37594         a polynomial.
37596 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
37598         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
37599         Rename to ...
37600         (__ptrace_peeksiginfo_args): ... this.
37601         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
37602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
37603         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
37605 2014-01-06  Allan McRae  <allan@archlinux.org>
37607         * inet/netinet/in.h: Fix typo in comment.
37609 2014-01-05  Andreas Jaeger  <aj@suse.de>
37611         * sysdeps/i386/fpu/libm-test-ulps: Update.
37613 2014-01-05  Allan McRae  <allan@archlinux.org>
37615         * po/libc.pot: Regenerated.
37617         * malloc/memusagestat.c: Fix gettext call formatting.
37619 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
37621         * nscd/nscd.c: Improve usage() output.
37623 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
37625         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
37626         * sysdeps/unix/sysv/linux/configure: Regenerated.
37627         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
37628         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
37630 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37632         [BZ #16390]
37633         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
37634         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
37636 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37638         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
37639         extra tokens at end of #undef directive.
37640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
37641         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
37642         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
37644 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
37646         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37648         * math/auto-libm-test-in: Mark various tests with
37649         xfail-rounding:ldbl-128ibm.
37650         * math/auto-libm-test-out: Regenerated.
37652 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
37654         [BZ #16386]
37655         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
37656         numbers with subnormal high part when calculating exponent.
37658         [BZ #16385]
37659         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
37660         fabs.
37662         [BZ #16384]
37663         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
37664         M_LN2l.
37665         (__ieee754_acoshl): Use __log1pl not __log1p.
37667 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
37669         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
37670         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
37671         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
37672         (grow_heap, heap_trim, _int_new_arena, get_free_list)
37673         (reused_arena, arena_get2): Convert to GNU style.
37674         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
37675         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
37676         (memalign_check, __malloc_set_state): Likewise.
37677         * malloc/mallocbug.c (main): Likewise.
37678         * malloc/malloc.c (__malloc_assert, malloc_init_state)
37679         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
37680         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
37681         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
37682         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
37683         (__posix_memalign, malloc_info): Likewise.
37684         * malloc/malloc.h: Likewise.
37685         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
37686         (mallochook, memalignhook, reallochook, mabort): Likewise.
37687         * malloc/mcheck.h: Likewise.
37688         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
37689         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
37690         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
37691         * malloc/morecore.c (__default_morecore): Likewise.
37692         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
37693         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
37694         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
37695         (print_and_abort): Likewise.
37696         * malloc/obstack.h: Likewise.
37697         * malloc/set-freeres.c (__libc_freeres): Likewise.
37698         * malloc/tst-mallocstate.c (main): Likewise.
37699         * malloc/tst-mtrace.c (main): Likewise.
37700         * malloc/tst-realloc.c (do_test): Likewise.
37702 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37704         [BZ #16366]
37705         * nscd/netgroupcache.c (do_notfound): New function.
37706         (addgetnetgrentX): Use it.
37708         [BZ # 16365]
37709         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
37710         NSS_STATUS_NOTFOUND.
37712 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
37714         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
37715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37717 2014-01-01  Allan McRae  <allan@archlinux.org>
37719         * scripts/update-copyrights: Update configure input file suffix.
37721         * NEWS: Update copyright year.
37722         * catgets/gencat.c: Likewise.
37723         * csu/version.c: Likewise.
37724         * debug/catchsegv.sh: Likewise.
37725         * debug/pcprofiledump.c: Likewise.
37726         * debug/xtrace.sh: Likewise.
37727         * elf/ldconfig.c: Likewise.
37728         * elf/ldd.bash.in: Likewise.
37729         * elf/pldd.c: Likewise.
37730         * elf/sotruss.ksh: Likewise.
37731         * elf/sprof.c: Likewise.
37732         * iconv/iconv_prog.c: Likewise.
37733         * iconv/iconvconfig.c: Likewise.
37734         * locale/programs/locale.c: Likewise.
37735         * locale/programs/localedef.c: Likewise.
37736         * login/programs/pt_chown.c: Likewise.
37737         * malloc/memusage.sh: Likewise.
37738         * malloc/memusagestat.c: Likewise.
37739         * malloc/mtrace.pl: Likewise.
37740         * manual/libc.texinfo: Likewise.
37741         * nscd/nscd.c: Likewise.
37742         * nss/getent.c: Likewise.
37743         * nss/makedb.c: Likewise.
37744         * posix/getconf.c: Likewise.
37745         * scripts/test-installation.pl: Likewise.
37747         * All files with FSF copyright notices: Update copyright dates
37748         using scripts/update-copyrights.
37749         * intl/plural.c: Regenerated.
37750         * locale/programs/charmap-kw.h: Likewise.
37751         * locale/programs/locfile-kw.h: Likewise.
37753 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
37755         * sysdeps/unix/sysv/linux/configure: Regenerated.
37756         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
37757         the linux/fanotify.h header.
37758         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
37759         HAVE_LINUX_FANOTIFY_H is defined.
37761 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * benchtests/cos-inputs: New inputs.
37764         * benchtests/sin-inputs: Likewise.
37766         * benchtests/atan-inputs: New inputs. Fix name of multiple
37767         precision fallback inputs.
37769         * benchtests/atanh-inputs: New inputs.
37770         * benchtests/tanh-inputs: Likewise.
37772         * benchtests/acosh-inputs: New inputs.
37773         * benchtests/asinh-inputs: Likewise.
37775         * benchtests/cosh-inputs: New inputs.
37776         * benchtests/sinh-inputs: Likewise.
37778         * benchtests/acos-inputs: Add more inputs.
37779         * benchtests/asin-inputs: Likewise.
37781 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
37783         [BZ #16375]
37784         * manual/arith.texi: Fix spelling.
37785         * manual/charset.texi: Likewise.
37786         * manual/errno.texi: Likewise.
37787         * manual/filesys.texi: Likewise.
37788         * manual/lang.texi: Likewise.
37789         * manual/llio.texi: Likewise.
37790         * manual/locale.texi: Likewise.
37791         * manual/message.texi: Likewise.
37792         * manual/resource.texi: Likewise.
37793         * manual/search.texi: Likewise.
37794         * manual/setjmp.texi: Likewise.
37795         * manual/stdio.texi: Likewise.
37796         * manual/string.texi: Likewise.
37797         * manual/sysinfo.texi: Likewise.
37798         * manual/time.texi: Likewise.
37800 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
37802         * po/sl.po: New file.
37804 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
37806         * .gitignore: Add core/.gdbinit/.gdb_history.
37808 2013-12-27  Allan McRae  <allan@archlinux.org>
37810         [BZ #16369]
37811         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
37812         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
37814 2013-12-24  Brooks Moses  <bmoses@google.com>
37816         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
37817         all compilers that claim C++98 compliance, not just GCC.
37818         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
37819         Likewise.
37821 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37823         * NEWS: Restore accidentally deleted bug-fix entries.
37825 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
37826             Ondřej Bílka  <neleai@seznam.cz>
37828         [BZ #15073]
37829         * malloc/malloc.c (_int_free): Perform sanity check only if we
37830         have_lock.
37832 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
37834         [BZ #12986]
37835         * manual/stdio.texi (String Input Conversions): Clarify that character
37836         classes are not supported.
37838 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37842 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
37844         [BZ #16337]
37845         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
37846         Calculate results for small negative arguments directly rather
37847         than using reflection formula with special underflow handling.
37849         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
37850         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
37851         sysdeps/unix/bsd/bsd4.4/syscalls.list.
37852         (fchflags): Likewise.
37853         (revoke): Likewise.
37854         (setlogin): Likewise.
37855         (sigaltstack): Likewise.
37856         (wait4): Likewise.
37857         (sigblock): Remove.
37858         (sigsetmask): Likewise.
37859         (wait3): Likewise.
37860         (waitpid): Likewise.
37861         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
37862         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
37863         file.
37864         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
37865         * sysdeps/unix/bsd/Makefile: ... here.
37866         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
37867         * sysdeps/unix/bsd/Versions: ... here.
37868         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
37869         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
37870         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
37871         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
37872         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
37873         * sysdeps/unix/bsd/sigblock.c: ... here.
37874         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
37875         * sysdeps/unix/bsd/sigsetmask.c: ... here.
37876         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
37877         * sysdeps/unix/bsd/sigvec.c: ... here.
37878         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
37879         * sysdeps/unix/bsd/tcdrain.c: ... here.
37880         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
37881         * sysdeps/unix/bsd/tcgetattr.c: ... here.
37882         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
37883         * sysdeps/unix/bsd/tcsetattr.c: ... here.
37884         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
37885         * sysdeps/unix/bsd/wait.c: ... here.
37886         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
37887         * sysdeps/unix/bsd/wait3.c: ... here.
37888         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
37889         * sysdeps/unix/bsd/waitpid.c: ... here.
37891 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
37893         [BZ #16356]
37894         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
37895         round-to-nearest for [!USE_AS_EXPM1L].
37896         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
37897         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
37898         more tests of exp and exp10.  Expect some exp10 tests to miss
37899         exceptions or fail in directed rounding modes.
37900         * math/auto-libm-test-out: Regenerated.
37901         * math/libm-test.inc (exp10_tonearest_test_data): New array.
37902         (exp10_test_tonearest): New function.
37903         (exp10_towardzero_test_data): New array.
37904         (exp10_test_towardzero): New function.
37905         (exp10_downward_test_data): New array.
37906         (exp10_test_downward): New function.
37907         (exp10_upward_test_data): New array.
37908         (exp10_test_upward): New function.
37909         (main): Call the new functions.
37910         * sysdeps/i386/fpu/libm-test-ulps: Update.
37911         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37913 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
37915         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
37916         asinh, atan, atan2, atanh, cbrt, cos and cosh.
37917         * math/auto-libm-test-out: Regenerated.
37918         * math/libm-test.inc (acosh_test_data): Add more tests.
37919         (atanh_test_data): Likewise.
37920         (ceil_test_data): Likewise.
37921         (copysign_test_data): Likewise.
37922         * sysdeps/i386/fpu/libm-test-ulps: Update.
37923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37925         * timezone/checktab.awk: Update from tzcode 2013i.
37926         * timezone/private.h: Likewise.
37927         * timezone/scheck.c: Likewise.
37928         * timezone/tzfile.h: Likewise.
37929         * timezone/tzselect.ksh: Likewise.
37930         * timezone/zdump.c: Likewise.
37931         * timezone/zic.c: Likewise.
37933         * math/auto-libm-test-in: Add tests of cpow.
37934         * math/auto-libm-test-out: Regenerated.
37935         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
37936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37937         mpc_cc_c.
37938         (func_calc_desc): Add mpc_cc_c union field.
37939         (test_functions): Add cpow.
37940         (special_fill_2pi): New function.
37941         (special_real_inputs): Add 2pi.
37942         (calc_generic_results): Handle mpc_cc_c.
37943         * sysdeps/i386/fpu/libm-test-ulps: Update.
37944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37946         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
37947         csqrt, ctan and ctanh.
37948         * math/auto-libm-test-out: Regenerated.
37949         * math/libm-test.inc (TEST_COND_x86_64): New macro.
37950         (TEST_COND_x86): Likewise.
37951         (ccos_test_data): Use AUTO_TESTS_c_c.
37952         (ccosh_test_data): Likewise.
37953         (cexp_test_data): Likewise.
37954         (clog_test_data): Likewise.
37955         (csqrt_test_data): Likewise.
37956         (ctan_test_data): Likewise.
37957         (ctan_tonearest_test_data): Likewise.
37958         (ctan_towardzero_test_data): Likewise.
37959         (ctan_downward_test_data): Likewise.
37960         (ctan_upward_test_data): Likewise.
37961         (ctanh_test_data): Likewise.
37962         (ctanh_tonearest_test_data): Likewise.
37963         (ctanh_towardzero_test_data): Likewise.
37964         (ctanh_downward_test_data): Likewise.
37965         (ctanh_upward_test_data): Likewise.
37966         * math/gen-auto-libm-tests.c (func_calc_method): Add value
37967         mpc_c_c.
37968         (func_calc_desc): Add mpc_c_c union field.
37969         (FUNC_mpc_c_c): New macro.
37970         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
37971         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
37972         ctanh.
37973         (special_fill_min_subnorm_p120): New function.
37974         (special_real_inputs): Add min_subnorm_p120.
37975         (calc_generic_results): Handle mpc_c_c.
37976         * sysdeps/i386/fpu/libm-test-ulps: Update.
37977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37979 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
37981         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
37982         (do_sin_slow): New functions.
37983         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
37984         (cslow2, csloww1, csloww2): Use the new functions.
37986         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
37987         Use M to change sign of result instead of X.  Assume X is
37988         positive.
37989         (csloww1): Likewise.
37990         (__sin): Adjust.
37991         (__cos): Adjust.
37993         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
37994         arguments A and DA.
37995         (__sin): Adjust.
37996         (__cos): Likewise.
37998         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
37999         (__cos): Likewise.
38000         (sloww1): Don't adjust sign of DX.
38001         (csloww1): Likewise.
38002         (sloww2): Use X directly and don't adjust sign of DX.
38003         (csloww2): Likewise.
38005 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38007         * math/auto-libm-test-in: Add tests of cabs and carg.
38008         * math/auto-libm-test-out: Regenerated.
38009         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
38010         (carg_test_data): Likewise.
38011         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38012         mpc_c_f.
38013         (func_calc_desc): Add mpc_c_f union field.
38014         (test_functions): Add cabs and carg.
38015         (calc_generic_results): Handle mpc_c_f.
38017         * sysdeps/powerpc/powerpc32/libgcc-compat.S
38018         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
38019         as a macro and a compat symbol.
38020         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
38021         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
38022         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
38023         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
38024         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
38025         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
38026         not use .hidden.
38027         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
38028         Likewise.
38029         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
38030         Likewise.
38031         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
38032         Likewise.
38033         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
38034         Likewise.
38035         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
38036         Likewise.
38037         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
38038         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
38039         from GLIBC_2.3.2.
38041 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38043         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38045 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38047         * manual/texinfo.tex: Update to version 2013-11-26.10 with
38048         trailing whitespace removed.
38049         * scripts/config.guess: Update to version 2013-11-29.
38050         * scripts/config.sub: Update to version 2013-10-01.
38052         * math/auto-libm-test-in: Add tests of sincos.
38053         * math/auto-libm-test-out: Regenerated.
38054         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
38055         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38056         mpfr_f_11.
38057         (func_calc_desc): Add mpfr_f_11 union field.
38058         (test_functions): Add sincos.
38059         (calc_generic_results): Handle mpfr_f_11.
38060         * sysdeps/i386/fpu/libm-test-ulps: Update.
38061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38063 2013-12-19  Andreas Schwab  <schwab@suse.de>
38065         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
38066         CALL_MCOUNT.
38067         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
38068         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
38069         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
38071 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
38073         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
38074         * sysdeps/i386/fpu/libm-test-ulps: Update.
38075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38077         [BZ #16293]
38078         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
38079         round-to-nearest mode when using frndint.
38080         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
38081         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38082         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38083         Likewise.
38084         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
38085         sinh test to fail.
38086         * math/auto-libm-test-out: Regenerated.
38087         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
38088         (TEST_COND_x86): Likewise.
38089         (expm1_tonearest_test_data): New array.
38090         (expm1_test_tonearest): New function.
38091         (expm1_towardzero_test_data): New array.
38092         (expm1_test_towardzero): New function.
38093         (expm1_downward_test_data): New array.
38094         (expm1_test_downward): New function.
38095         (expm1_upward_test_data): New array.
38096         (expm1_test_upward): New function.
38097         (main): Run the new test functions.
38098         * sysdeps/i386/fpu/libm-test-ulps: Update.
38099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38101         * include/features.h: Update comment documenting feature test
38102         macros.  Mention _DEFAULT_SOURCE in comment.
38103         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
38104         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
38105         _BSD_SOURCE and _SVID_SOURCE.
38106         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
38107         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
38108         !_SVID_SOURCE]: Likewise.
38109         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38110         (__USE_POSIX_IMPLICITLY): Define.
38111         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38112         (_POSIX_SOURCE): Undefine and redefine.
38113         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
38114         (_POSIX_C_SOURCE): Likewise.
38115         * manual/creature.texi (_DEFAULT_SOURCE): Document.
38116         (Feature Test Macros): Update documentation of default features.
38118 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38120         * benchtests/Makefile: Add bench-strtok.
38121         * benchtests/bench-strtok.c: New file: strtok benchtest.
38123 2013-12-19  Allan McRae  <allan@archlinux.org>
38125         * manual/install.texi: Suppress menu for plain text output.
38126         * INSTALL: Regenerated.
38128 2013-12-18  Brooks Moses  <bmoses@google.com>
38130         [BZ #15846]
38131         * misc/getauxval.c: Include errno.h.
38132         (__getauxval): Set errno to ENOENT if the requested type is not
38133         found.
38134         * misc/sys/auxv.h (getauxval): Document that it may set errno;
38135         don't declare with __attribute_const__.
38136         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
38137         * manual/startup.texi: Document that getauxval sets errno.
38139 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38141         * math/auto-libm-test-in: Add tests of jn and yn.
38142         * math/auto-libm-test-out: Regenerated.
38143         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
38144         (yn_test_data): Likewise.
38145         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38146         mpfr_if_f.
38147         (func_calc_desc): Add mpfr_if_f union field.
38148         (FUNC_mpfr_if_f): New macro.
38149         (test_functions): Add jn and yn.
38150         (calc_generic_results): Assert type of second input for
38151         mpfr_ff_f.  Handle mpfr_if_f.
38152         (output_for_one_input_case): Disable all checking for arguments
38153         fitting floating-point types in case of an integer argument.
38154         * sysdeps/i386/fpu/libm-test-ulps: Update.
38155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
38158         Don't expect fegetround reference in libm.so.
38160 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38162         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
38163         $(config-cflags-nofma).
38165 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
38167         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
38168         * math/auto-libm-test-out: Regenerated.
38170         [BZ #16338]
38171         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
38172         to determine exponent and adjust argument to have exponent of -1.
38173         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
38174         log2.
38175         * math/auto-libm-test-out: Regenerated.
38176         * sysdeps/i386/fpu/libm-test-ulps: Update.
38177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38179 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
38181         * manual/probes.texi: Remove cases when per-thread arenas are
38182         disabled.
38184 2013-12-18  Andreas Schwab  <schwab@suse.de>
38186         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
38187         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
38188         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
38189         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
38190         * sysdeps/i386/i686/multiarch/Makefile: Update.
38191         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
38193 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38195         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
38196         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
38198 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
38200         [BZ #15968]
38201         Support TZ transition times < 00:00:00.
38202         This is needed for version-3 tz-format files; it supports time
38203         stamps past 2037 for America/Godthab (the only entry in the tz
38204         database for which this change is relevant).
38205         * manual/time.texi (TZ Variable): Document transition times
38206         from -167:59:59 through -00:00:01.
38207         * time/tzset.c (tz_rule): Time of day is now signed.
38208         (__tzset_parse_tz): Parse negative time of day.
38210         Document TZ transition times >= 25:00:00.
38211         * manual/time.texi (TZ Variable): Document transition times from
38212         25:00:00 through 167:59:59.  These are already supported, and this
38213         support will help with version-3 tz-format files.
38215         * manual/time.texi (TZ Variable): Modernize North America example
38216         to reflect current (i.e., 2007-and-later) daylight saving rules.
38218         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
38220 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38222         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
38223         * sysdeps/unix/bsd/bits/stat.h: Likewise.
38224         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
38225         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38226         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
38227         * sysdeps/unix/bsd/bsdstat.h: Likewise.
38228         * sysdeps/unix/bsd/clock.c: Likewise.
38229         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
38230         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
38231         * sysdeps/unix/bsd/init-posix.c: Likewise.
38232         * sysdeps/unix/bsd/poll.c: Likewise.
38233         * sysdeps/unix/bsd/ptsname.c: Likewise.
38234         * sysdeps/unix/bsd/seekdir.c: Likewise.
38235         * sysdeps/unix/bsd/setegid.c: Likewise.
38236         * sysdeps/unix/bsd/seteuid.c: Likewise.
38237         * sysdeps/unix/bsd/setgid.c: Likewise.
38238         * sysdeps/unix/bsd/setrgid.c: Likewise.
38239         * sysdeps/unix/bsd/setruid.c: Likewise.
38240         * sysdeps/unix/bsd/setsid.c: Likewise.
38241         * sysdeps/unix/bsd/setuid.c: Likewise.
38242         * sysdeps/unix/bsd/sigaction.c: Likewise.
38243         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
38244         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
38245         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
38246         * sysdeps/unix/bsd/telldir.c: Likewise.
38247         * sysdeps/unix/bsd/times.c: Likewise.
38248         * sysdeps/unix/bsd/usleep.c: Likewise.
38250         * misc/Makefile (install-lib): Remove libbsd-compat.a.
38251         ($(objpfx)libbsd-compat.a): Remove rule.
38253         * include/features.h (__FAVOR_BSD): Do not define.
38254         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
38255         features conflicting with POSIX.
38256         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
38257         (_BSD_SOURCE): Remove description of not being a subset of other
38258         feature test macros.
38259         * manual/job.texi (getpgrp): Do not document BSD version.
38260         (getpgid): Do not document by reference to BSD getpgrp.
38261         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
38262         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
38263         * signal/signal.h [__FAVOR_BSD]: Likewise.
38264         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
38265         instead of making contents conditional on [__FAVOR_BSD].
38266         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
38268 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38270         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38272 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
38274         [BZ #16314]
38275         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
38276         values below 2**-450, not 2**-500.
38277         * math/auto-libm-test-in: Don't allow spurious underflow from
38278         hypot.
38279         * math/auto-libm-test-out: Regenerated.
38281         [BZ #16316]
38282         [BZ #16330]
38283         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
38284         values of ha and hb and sort them after adjusting subnormal
38285         arguments.
38286         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
38287         Likewise.
38288         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
38289         values of ea and eb and sort them after adjusting subnormal
38290         arguments.
38291         * math/auto-libm-test-in: Do not expect some hypot tests of
38292         subnormals to fail.  Add more hypot tests.
38293         * math/auto-libm-test-out: Regenerated.
38295 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38297         [BZ #13304]
38298         * sysdeps/sh/s_fma.c: New file.
38299         * sysdeps/sh/s_fmaf.c: New file.
38300         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
38301         version.
38302         * sysdeps/sh/Implies: Add sh/soft-fp.
38304 2013-12-16  Roland McGrath  <roland@hack.frob.com>
38306         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
38307         level of indirection to members `objname', `errstring', `malloced'.
38308         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
38309         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
38310         it as the __longjmp argument (just pass 1 instead).
38311         (_dl_catch_error): Initialize C with argument pointers and address of
38312         volatile local ERRCODE rather than copying values out of C at return.
38314 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
38316         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
38317         * math/auto-libm-test-out: Regenerated.
38318         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
38319         (hypot_test_data): Likewise.
38320         (pow_test_data): Likewise.
38321         (pow_tonearest_test_data): Likewise.
38322         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38323         mpfr_ff_f.
38324         (func_calc_desc): Add mpfr_ff_f union field.
38325         (FUNC_mpfr_ff_f): New macro.
38326         (test_functions): Add atan2, hypot and pow.
38327         (special_fill_min): New function.
38328         (special_fill_minus_min): Likewise.
38329         (special_fill_min_subnorm): Likewise.
38330         (special_fill_minus_min_subnorm): Likewise.
38331         (special_real_inputs): Add min, -min, min_subnorm and
38332         -min_subnorm.
38333         (calc_generic_results): Handle mpfr_ff_f.
38334         * sysdeps/i386/fpu/libm-test-ulps: Update.
38335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38337 2013-12-16  Will Newton  <will.newton@linaro.org>
38339         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
38340         (Aligned Memory Blocks): Add documentation for aligned_alloc
38341         and suggest it as an alternative to posix_memalign.
38342         (Hooks for Malloc): Document __memalign_hook is also called
38343         for aligned_alloc.  (Summary of Malloc): Add summary for
38344         aligned alloc.  Document __memalign_hook is also called
38345         for aligned_alloc.
38347 2013-12-16  Will Newton  <will.newton@linaro.org>
38349         * manual/memory.texi (Malloc Examples): Clarify default
38350         alignment documentation.  Suggest posix_memalign rather
38351         than memalign or valloc.
38352         (Aligned Memory Blocks): Remove suggestion to use memalign
38353         or valloc.  Remove obsolete comment about BSD.
38354         Document memalign errno values and mark the function obsolete.
38355         Document posix_memalign returned error codes.  Mark valloc
38356         as obsolete.  (Hooks for Malloc): __memalign_hook is also
38357         called for posix_memalign and valloc.
38358         (Summary of Malloc): Add posix_memalign to function summary.
38359         __memalign_hook is also called for posix_memalign and valloc.
38361 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38363         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
38364         TAYLOR_SIN.
38365         (__sin): Adjust.
38366         (__cos): Likewise.
38367         (sloww): Use mynumber union.  Expand ternary operator into
38368         if-else statements.
38369         (cslow): use mynumber union.
38371 2013-12-16  Allan McRae  <allan@archlinux.org>
38373         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
38374         * configure: Regenerated.
38376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
38378         [BZ #14120]
38379         * configure.ac: Added --enable-maintainer-mode. Check for
38380         autoconf when enabled.
38381         * configure: Regenerated.
38383         * nscd/nscd.service: New file.
38384         * nscd/nscd.tmpfiles: New file.
38386 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
38388         [BZ #12100]
38389         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
38390         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
38391         * sysdeps/x86_64/multiarch/strstr.c: ... here.
38392         (strstr): Add __strstr_sse2_unaligned ifunc.
38393         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
38394         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
38395         (strcasestr): Remove __strcasestr_sse42 ifunc.
38396         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
38397         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
38400 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38402         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
38403         * sysdeps/sh/bits/fenv.h: ... here.
38404         * sysdeps/sh/sh4/fpu/bits: Remove directory.
38406 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38408         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
38411         hypotf multiarch implementations.
38412         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
38413         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
38415         multiarch hypot for PPC64.
38416         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
38417         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
38418         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
38419         multiarch hypotf for PPC64.
38421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
38422         modff multiarch implementations.
38423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
38424         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
38425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
38426         multiarch modf for PPC64.
38427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
38428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
38429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
38430         multiarch modff for PPC64.
38432         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
38433         and logl multiarch implementations.
38434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
38435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
38436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
38437         multiarch logb for PPC64.
38438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
38439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
38440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
38441         multiarch logb for PPC64.
38442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
38443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
38444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
38445         multiarch logb for PPC64.
38447         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
38448         isinff multiarch implementation.
38449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
38450         file.
38451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
38452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
38453         multiarch isinf for PPC64.
38454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
38455         file.
38456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
38457         multiarch isinff for PPC64.
38459         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
38460         finitef multiarch implementation.
38461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
38462         file.
38463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
38464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
38465         multiarch finite for PPC64.
38466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
38467         file.
38468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
38469         multiarch finitef for PPC64.
38471         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
38472         lrint multiarch implementation.
38473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
38474         file.
38475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
38476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
38477         multiarch llrint for PPC64.
38478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
38479         multiarch lrint for PPC64.
38481         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
38482         copysignf multiarch implementation.
38483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
38484         file.
38485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
38486         file.
38487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
38488         multiarch copysign for PPC64.
38489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
38490         multiarch copysignf for PPC64.
38492         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
38493         multiarch implementation.
38494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
38495         file.
38496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
38497         file.
38498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
38499         file.
38500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
38501         file.
38502         multiarch llround for PPC64.
38503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
38504         multiarch trunc for PPC64.
38505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
38506         multiarch truncf for PPC64.
38508         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
38509         multiarch implementation.
38510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
38511         file.
38512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
38513         file.
38514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
38515         file.
38516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
38517         file.
38518         multiarch llround for PPC64.
38519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
38520         multiarch round for PPC64.
38521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
38522         multiarch roundf for PPC64.
38524         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
38525         multiarch implementation.
38526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
38527         file.
38528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
38529         file.
38530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
38531         file.
38532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
38533         file.
38534         multiarch llround for PPC64.
38535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
38536         multiarch floor for PPC64.
38537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
38538         multiarch floorf for PPC64.
38540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
38541         multiarch implementation.
38542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
38543         file.
38544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
38545         file.
38546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
38547         file.
38548         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
38549         file.
38550         multiarch llround for PPC64.
38551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
38552         multiarch ceil for PPC64.
38553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
38554         multiarch ceilf for PPC64.
38556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38557         multiarch implementation.
38558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
38559         file.
38560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
38561         file.
38562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
38563         file.
38564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
38565         multiarch llround for PPC64.
38566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
38567         multiarch lround for PPC64.
38569         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38570         multiarch implementation.
38571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
38572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
38573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
38574         file.
38575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
38576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
38577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
38578         multiarch isnan for PPC64.
38579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
38580         multiarch isnanf for PPC64.
38582         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
38583         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
38584         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
38585         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
38586         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
38587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
38589         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
38590         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
38595         multiarch implementations.
38596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38597         (__libc_ifunc_impl_list): Likewise.
38598         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
38599         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
38600         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
38601         multiarch stpcpy for PPC64.
38603         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
38604         multiarch implementations.
38605         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38606         (__libc_ifunc_impl_list): Likewise.
38607         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
38608         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
38609         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
38610         multiarch strcpy for PPC64.
38612         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
38613         redefine function name.
38614         (_wordcopy_fwd_dest_aligned): Likewise.
38615         (_wordcopy_bwd_aligned): Likewise.
38616         (_wordcopy_bwd_dest_aligned): Likewise.
38617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
38618         multiarch implementations.
38619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38620         (__libc_ifunc_impl_list): Likewise.
38621         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
38622         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
38623         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
38624         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
38625         multiarch wcscpy for PPC64.
38627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
38628         multiarch implementations.
38629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38630         (__libc_ifunc_impl_list): Likewise.
38631         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
38632         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
38633         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
38634         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
38635         multiarch wcscpy for PPC64.
38637         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
38638         multiarch implementations.
38639         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38640         (__libc_ifunc_impl_list): Likewise.
38641         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
38642         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
38643         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
38644         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
38645         multiarch wcsrchr for PPC64.
38647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
38648         multiarch implementations.
38649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38650         (__libc_ifunc_impl_list): Likewise.
38651         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
38652         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
38653         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
38654         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
38655         multiarch wcschr for PPC64.
38657         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
38658         multiarch implementations.
38659         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38660         (__libc_ifunc_impl_list): Likewise.
38661         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
38662         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
38663         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
38664         multiarch strchrnul for PPC64.
38666         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
38667         implementations.
38668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38669         (__libc_ifunc_impl_list): Likewise.
38670         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
38671         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
38672         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
38673         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
38674         strchr for PPC64.
38676         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
38677         implementations.
38678         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38679         (__libc_ifunc_impl_list): Likewise.
38680         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
38681         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
38682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
38683         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
38684         strncmp for PPC64.
38686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
38687         multiarch implementations.
38688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38689         (__libc_ifunc_impl_list): Likewise.
38690         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
38691         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
38692         strncasecmp for PPC64.
38693         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
38694         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
38695         multiarch strncasecmp_l for PPC64.
38697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
38698         multiarch implementations.
38699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38700         (__libc_ifunc_impl_list): Likewise.
38701         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
38702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
38703         multiarch strcasecmp for PPC64.
38704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
38705         file.
38706         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
38707         multiarch strcasecmp_l for PPC64.
38709         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
38710         implementations.
38711         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38712         (__libc_ifunc_impl_list): Likewise.
38713         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
38714         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
38715         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
38716         strnlen for PPC64.
38718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
38719         implementations.
38720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38721         (__libc_ifunc_impl_list): Likewise.
38722         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
38723         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
38724         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
38725         strlen for PPC64.
38727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
38728         implementations.
38729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38730         (__libc_ifunc_impl_list): Likewise.
38731         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
38732         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
38733         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
38734         rawmemrchr for PPC64.
38736         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
38737         implementation.
38738         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38739         (__libc_ifunc_impl_list): Likewise.
38740         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
38741         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
38742         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
38743         memrchr for PPC64.
38745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
38746         implementation.
38747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38748         (__libc_ifunc_impl_list): Likewise.
38749         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
38750         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
38751         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
38752         memchr for PPC64.
38754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
38755         implementation.
38756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38757         (__libc_ifunc_impl_list): Likewise.
38758         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
38759         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
38760         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
38761         mempcpy for PPC64.
38763         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
38764         avoid cretion of __bzero symbol.
38765         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
38766         Likewise.
38767         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
38768         Likewise.
38769         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
38770         Likewise.
38771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
38772         multiarch implementations.
38773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38774         (__libc_ifunc_impl_list): Likewise.
38775         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
38776         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
38777         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
38778         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
38779         bzero for PPC32.
38780         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
38781         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
38782         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
38783         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
38784         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
38785         memset for PPC64.
38786         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
38788         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
38789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
38790         implementations.
38791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
38792         (__libc_ifunc_impl_list): Likewise.
38793         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
38794         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
38795         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38796         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
38797         memcmp for PPC64.
38799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
38800         multiarch for POWER/PPC64.
38801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
38802         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
38803         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
38804         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
38805         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
38806         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
38807         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
38808         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
38809         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
38810         memcpy for PPC64.
38812         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
38813         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
38814         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
38815         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
38816         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
38817         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
38818         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
38819         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
38820         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
38821         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
38822         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
38823         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
38824         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
38825         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
38826         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
38827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
38828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
38829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
38830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
38831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
38832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
38833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
38835 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38837         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
38839 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
38841         * benchtests/Makefile (bench): Add exp2 and log2.
38842         (LDLIBS-bench-exp2): Add -lm.
38843         (LDLIBS-bench-log2): Likewise.
38844         * benchtests/exp2-inputs: New inputs file.
38845         * benchtests/log2-inputs: New inputs file.
38846         * benchtests/log-inputs: Add new inputs.
38847         * benchtests/tan-inputs: Likewise.
38849 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
38851         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
38852         definition...
38853         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
38854         (csloww2): ... from here.
38856         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
38857         instead of structures.
38858         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
38859         (POLYNOMIAL): Likewise.
38860         (TAYLOR_SLOW): Likewise.
38861         (__sin): Likewise.
38862         (__cos): Likewise.
38863         (slow1): Likewise.
38864         (slow2): Likewise.
38865         (sloww): Likewise.
38866         (sloww1); Likewise.
38867         (sloww2): Likewise.
38868         (bsloww1): Likewise.
38869         (bsloww2): Likewise.
38870         (cslow2): Likewise.
38871         (csloww): Likewise.
38872         (csloww1): Likewise.
38873         (csloww2): Likewise.
38875 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
38877         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
38878         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
38879         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
38880         * malloc/hooks.c (realloc_check): Likewise.
38882         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
38883         * malloc/arena.c: Remove PER_THREAD conditional.
38884         [!PER_THREAD]: Remove code.
38885         (ptmalloc_unlock_all2): Likewise.
38886         (ptmalloc_init): Likewise.
38887         (_int_new_arena): Likewise.
38888         (arena_get2): Likewise.
38889         * malloc/hooks.c (__malloc_get_state): Likewise.
38890         (__malloc_set_state): Likewise.
38891         * malloc/malloc.c: Likewise.
38892         (struct malloc_state): Likewise.
38893         (struct malloc_par): Likewise.
38894         (__libc_realloc): Likewise.
38895         (__libc_mallopt): Likewise.
38897 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38899         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
38901 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
38903         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
38904         macro to a function.  Check for zero perturb_byte.
38905         (_int_malloc, _int_free): Remove zero perturb_byte checks.
38907         * malloc/malloc.c: (force_reg): Remove.
38908         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
38909         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
38910         force_reg by atomic_forced_read.
38911         * malloc/arena.c (ptmalloc_init): Likewise.
38912         * malloc/hooks.c (top_check): Likewise.
38914 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38916         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38918 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
38920         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38922 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
38924         * math/auto-libm-test-in: Add tests of lgamma.
38925         * math/auto-libm-test-out: Regenerated.
38926         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
38927         (M_LOG_2_SQRT_PIl): Likewise.
38928         (lgamma_test_data): Use AUTO_TESTS_f_f1.
38929         * math/gen-auto-libm-tests.c (func_calc_method): Add value
38930         mpfr_f_f1.
38931         (func_calc_desc): Add mpfr_f_f1 union field.
38932         (ARGS1): New macro.
38933         (ARGS2): Likewise.
38934         (ARGS3): Likewise.
38935         (ARGS4): Likewise.
38936         (RET1): Likewise.
38937         (RET2): Likewise.
38938         (CALC): Likewise.
38939         (FUNC): Likewise.
38940         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
38941         (test_functions): Add lgamma.
38942         (calc_generic_results): Handle mpfr_f_f1.
38943         * sysdeps/i386/fpu/libm-test-ulps: Update.
38944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38946 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38948         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
38949         __mpn_add_n for PowerPC64/POWER7.
38950         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
38951         __mpn_sub_n for PowerPC64/POWER7.
38953         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
38954         __mpn_addmul_1 for PowerPC64.
38955         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
38956         __mpn_submul_1 for PowerPC64.
38957         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
38958         for PowerPC64.
38959         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
38960         for PowerPC64.
38962 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
38964         [BZ #15089]
38965         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
38967 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38969         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
38971         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
38972         add multiarch folders.
38973         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
38974         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
38975         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
38976         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
38977         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
38978         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
38979         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
38980         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
38981         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
38982         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
38983         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
38985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
38988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
38991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
38992         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
38993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
38994         New file.
38995         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
38996         New file.
38997         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
38998         multiarch __ieee754_hypot for PowerPC32.
38999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
39000         New file.
39001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
39002         New file.
39003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
39004         multiarch __ieee754_hypotf for PowerPC32.
39006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
39007         long_double_symbol only if __logbl is defined.
39008         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
39009         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
39010         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
39011         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
39012         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
39013         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
39014         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
39015         path for implementation.
39016         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
39017         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
39018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
39019         logb, and logbl multiarch implementations for PowerPC32.
39020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
39021         file.
39022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
39023         file.
39024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
39025         multiarch logb for PowerPC32.
39026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
39027         file.
39028         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
39029         file.
39030         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
39031         multiarch logbf for PowerPC32.
39032         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
39033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
39034         file.
39035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
39036         multiarch logbl implementation for PowerPC32.
39038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
39039         and modff multiarch implementations.
39040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
39041         New file.
39042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
39043         New file.
39044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
39045         multiarch modf for PowerPC32.
39046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
39047         New file.
39048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
39049         New file.
39050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
39051         multiarch modff for PowerPC32.
39053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
39054         and lrintf multiarch implementations.
39055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
39056         New file.
39057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
39058         New file.
39059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
39060         multiarch lrint for PowerPC32.
39061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
39062         file: multiarch lrintf for PowerPC32.
39064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
39065         and lroundf multiarch implementations.
39066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
39067         New file.
39068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
39069         New file.
39070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
39071         New file.
39072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
39073         multiarch lround for PowerPC32.
39074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
39075         file: multiarch lroundf for PowerPC32.
39077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
39078         copysign and copysignf multiarch implementations.
39079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
39080         New file.
39081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
39082         New file.
39083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
39084         file: multiarch copysign for PowerPC32.
39085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
39086         file: multiarch copysignf for PowerPC32.
39088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
39089         and truncf multiarch implementations.
39090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
39091         New file.
39092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
39093         file.
39094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
39095         multiarch trunc for PowerPC32.
39096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
39097         New file.
39098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
39099         New file.
39100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
39101         multiarch truncf for PowerPC32.
39103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
39104         and roundf multiarch implementations.
39105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
39106         New file.
39107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
39108         file.
39109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
39110         multiarch round for PowerPC32.
39111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
39112         New file.
39113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
39114         New file.
39115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
39116         multiarch roundf for PowerPC32.
39118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
39119         and floorf multiarch implementations.
39120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
39121         New file.
39122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
39123         file.
39124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
39125         multiarch floor for PowerPC32.
39126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
39127         New file.
39128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
39129         New file.
39130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
39131         multiarch floorf for PowerPC32.
39133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
39134         and ceilf multiarch implementations.
39135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
39136         New file.
39137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
39138         file.
39139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
39140         multiarch ceil for PowerPC32.
39141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
39142         New file.
39143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
39144         file.
39145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
39146         multiarch ceilf for PowerPC32.
39148         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
39149         is defined.
39150         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
39151         FINITEF is defined.
39152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
39153         and finitef multiarch implementations.
39154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
39155         New file.
39156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
39157         file.
39158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
39159         multiarch finite for PowerPC32.
39160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
39161         New file.
39162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
39163         file: multiarch finitef for PowerPC32.
39165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
39166         and isinff multiarch implementations.
39167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
39168         file.
39169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
39170         file.
39171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
39172         multiarch isinf for PowerPC32.
39173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
39174         New file.
39175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
39176         multiarch isinff for PowerPC32.
39178         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
39179         alias when __isnan is defined.
39180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
39181         and isnanf multiarch implementations.
39182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
39183         file.
39184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
39185         file.
39186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
39187         file.
39188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
39189         file.
39190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
39191         multiarch isnan for PowerPC32.
39192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
39193         New file.
39194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
39195         New file.
39196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
39197         multiarch isnanf for PowerPC32.
39199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
39200         and sqrtf multiarch implementations.
39201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
39202         file.
39203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
39204         file.
39205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
39206         multiarch sqrt for PowerPC32.
39207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
39208         file.
39209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
39210         file.
39211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
39212         multiarch sqrtf for PowerPC32.
39214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
39215         and llroundf multiarch implementations.
39216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
39217         New file.
39218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
39219         New file.
39220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
39221         New file.
39222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
39223         file: multiarch llround for PowerPC32.
39224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
39225         file: multiarch llroundf for PowerPC32.
39227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
39228         multiarch PowerPC32 fpu implementations.
39229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
39230         New file.
39231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
39232         New file.
39233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
39234         multiarch llrint for PowerPC32.
39235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
39236         New file.
39237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
39238         New file.
39239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
39240         file.
39242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
39244         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
39245         file.
39246         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
39247         file.
39248         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
39249         file.
39250         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
39251         multiarch wordcopy for PPC32.
39252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39253         wordcopy objects.
39254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39255         (__libc_ifunc_impl_list): Likewise.
39256         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
39257         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
39258         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
39259         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
39260         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
39261         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
39263         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
39264         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
39265         file.
39266         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
39267         file.
39268         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
39269         file.
39270         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
39271         multiarch wcscpy for PPC32.
39272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
39273         multiarch objects.
39274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39275         (__libc_ifunc_impl_list): Likewise.
39276         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39277         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39278         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
39279         sysdeps/powerpc/power6/wcscpy.c.
39281         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
39282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
39283         file.
39284         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
39285         file.
39286         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
39287         file.
39288         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
39289         multiarch wcsrchr for PPC32.
39290         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39291         multiarch objects.
39292         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39293         (__libc_ifunc_impl_list): Likewise.
39294         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
39295         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
39296         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
39297         sysdeps/powerpc/power6/wcsrchr.c.
39299         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
39300         file.
39301         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
39302         file.
39303         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
39304         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
39305         multiarch wcschr for PPc32.
39306         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
39307         multiarch objects.
39308         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39309         (__libc_ifunc_impl_list): Likewise.
39310         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
39311         * sysdeps/powerpc/power6/wcschr.c: ... to here.
39312         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
39313         sysdeps/powerpc/power6/wcschr.c.
39315         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
39316         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
39317         file.
39318         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
39319         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
39320         file: multiarch strchr for PPC32.
39321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
39322         multiarch objects.
39323         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39324         (__libc_ifunc_impl_list): Likewise.
39326         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
39327         name.
39328         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
39329         file.
39330         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
39331         file.
39332         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
39333         multiarch strchrnul for PPC32.
39334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
39335         multiarch objects.
39336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39337         (__libc_ifunc_impl_list): Likewise.
39339         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
39340         file.
39341         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
39342         multiarch strncasecmp for PPC32.
39343         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
39344         file.
39345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
39346         multiarch strncasecmp_l for PPC32.
39347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
39348         strncasecmp multiarch objects.
39349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39350         (__libc_ifunc_impl_list): Likewise.
39352         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
39353         file.
39354         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
39355         multiarch strncasecmp for PPC32.
39356         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
39357         New file.
39358         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
39359         multiarch strcasecmp_l for PPC32.
39360         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
39361         multiarch objects.
39362         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39363         (__libc_ifunc_impl_list): Likewise.
39365         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
39366         file.
39367         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
39368         file.
39369         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
39370         multiarch strncmp for PPC32.
39371         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
39372         multiarch objects.
39373         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39374         (__libc_ifunc_impl_list): Likewise.
39376         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
39377         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
39378         file.
39379         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
39380         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
39381         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
39382         multiarch objects.
39383         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39384         (__libc_ifunc_impl_list): Likewise.
39386         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
39387         file.
39388         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
39389         file.
39390         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
39391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
39392         multiarch objects.
39393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39394         (__libc_ifunc_impl_list): Likewise.
39396         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
39397         file.
39398         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
39399         file.
39400         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
39401         multiarch rawmemchr for PPC32.
39402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
39403         multiarch objects.
39404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39405         (__libc_ifunc_impl_list): Likewise.
39407         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
39408         file.
39409         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
39410         file.
39411         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
39412         file: memrchr multiarch for PPC32.
39413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
39414         multiarch objects.
39415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
39416         (__libc_ifunc_impl_list): Likewise.
39418         * string/memchr.c (__memchr): Using macro to redefine symbol name.
39419         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
39420         file.
39421         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
39422         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
39423         multiarch memchr for PPC32.
39424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
39425         multiarch objects.
39426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39427         (__libc_ifunc_impl_list): Likewise.
39429         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
39430         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
39431         file.
39432         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
39433         file.
39434         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
39435         file: multiarch mempcpy for PPC32.
39436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
39437         multiarch objects.
39438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39439         (__libc_ifunc_impl_list): Likewise.
39441         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
39442         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
39443         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
39444         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
39445         multiarch bzero for PPC32.
39446         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
39447         file.
39448         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
39449         file.
39450         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
39451         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
39452         file: multiarch memset for PPC32.
39453         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
39454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
39455         memset multiarch objects.
39456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39457         (__libc_ifunc_impl_list): Likewise.
39459         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
39460         file.
39461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
39462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
39463         memcmp for PPC32.
39464         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
39465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
39466         multiarch objects.
39467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39468         (__libc_ifunc_impl_list): Likewise.
39470         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
39471         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
39472         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
39473         file.
39474         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
39475         file.
39476         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
39477         file.
39478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
39479         multiarch memcpy for PPC32.
39480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
39481         multiarch objects.
39482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
39483         (__libc_ifunc_impl_list): Likewise.
39485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
39486         support multiarch for POWER/PPC32.
39487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
39488         Likewise.
39489         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
39490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
39491         Implies file to make multiarch folder appers before the fpu and
39492         default folder for power4 configuration.
39494 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
39496         * scripts/bench.pl: Append volatile keyword to type.
39498 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39500         * sysdeps/sh/sotruss-lib.c: New file.
39501         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
39503 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39507 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
39509         [BZ #6810]
39510         * math/w_tgamma.c: Include <errno.h>.
39511         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
39512         * math/w_tgammaf.c: Include <errno.h>.
39513         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
39514         * math/w_tgammal.c: Include <errno.h>.
39515         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
39516         * math/auto-libm-test-in: Do not allow missing errno on tgamma
39517         underflow.  Add more tgamma tests.
39518         * math/auto-libm-test-out: Regenerated.
39519         * sysdeps/i386/fpu/libm-test-ulps: Update.
39520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39522         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
39523         sin, sinh, tan, tanh, tgamma, y0 and y1.
39524         * math/auto-libm-test-out: Regenerated.
39525         * math/libm-test.inc (TEST_COND_x86_64): New macro.
39526         (TEST_COND_x86): Likewise.
39527         (M_E2l): Remove macro.
39528         (M_E3l): Likewise.
39529         (M_2_SQRT_PIl): Likewise.
39530         (M_SQRT_PIl): Likewise.
39531         (M_1_DIV_El): Likewise.
39532         (log_test_data): Use AUTO_TESTS_f_f.
39533         (log10_test_data): Likewise.
39534         (log1p_test_data): Likewise.
39535         (log2_test_data): Likewise.
39536         (sin_test_data): Likewise.
39537         (sin_tonearest_test_data): Likewise.
39538         (sin_towardzero_test_data): Likewise.
39539         (sin_downward_test_data): Likewise.
39540         (sin_upward_test_data): Likewise.
39541         (sinh_test_data): Likewise.
39542         (sinh_tonearest_test_data): Likewise.
39543         (sinh_towardzero_test_data): Likewise.
39544         (sinh_downward_test_data): Likewise.
39545         (sinh_upward_test_data): Likewise.
39546         (tan_test_data): Likewise.
39547         (tan_tonearest_test_data): Likewise.
39548         (tan_towardzero_test_data): Likewise.
39549         (tan_downward_test_data): Likewise.
39550         (tan_upward_test_data): Likewise.
39551         (tanh_test_data): Likewise.
39552         (tgamma_test_data): Likewise.
39553         (y0_test_data): Likewise.
39554         (y1_test_data): Likewise.
39555         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
39556         (special_real_inputs): Add pi/4.
39557         * sysdeps/i386/fpu/libm-test-ulps: Update.
39558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39560 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39562         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
39563         "longjmp_target" static probes.
39564         (__longjmp): Rename to __longjmp_symbol.
39565         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
39566         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
39567         on which longjmp to generate.
39568         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
39569         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
39570         probe.
39571         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39572         (__sigjmp_save): Rename to __sigjmp_save_symbol.
39573         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
39574         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
39575         and __sigjmp_save_symbol based on which sigsetjmp to generated.
39576         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
39577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
39578         __longjmp_symbol based on which __longjmp to generate.
39579         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
39580         probe.
39581         (setjmp): Rename to setjmp_symbol.
39582         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39583         (_setjmp): Rename to _setjmp_symbol.
39584         (__sigsetjmp): Rename to __sigsetjmp_symbol.
39585         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
39586         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
39587         which setjmp to generate.
39588         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
39589         "longjmp_target" static probes.
39591 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
39593         * benchtests/README: Add note about output arguments.
39594         * benchtests/bench-sincos.c: Remove file.
39595         * benchtests/sincos-inputs: New file.
39596         * scripts/bench.pl: Identify output arguments and define
39597         static variables for them.
39599         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
39601         [BZ #15941]
39602         * Makefile (INSTALL): Add install-plain.texi as the primary
39603         dependency.
39604         * manual/install-plain.texi: New file.
39605         * manual/install.texi: Include node directive only for
39606         non-plaintext output.
39608 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
39610         * stdlib/longlong.h: Update from GCC.
39612         [BZ #6807]
39613         [BZ #15901]
39614         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
39615         * math/w_j0f.c (y0f): Likewise.
39616         * math/w_j0l.c (__y0l): Likewise.
39617         * math/w_j1.c (y1): Likewise.
39618         * math/w_j1f.c (y1f): Likewise.
39619         * math/w_j1l.c (__y1l): Likewise.
39620         * math/w_jn.c (yn): Likewise.
39621         * math/w_jnf.c (ynf): Likewise.
39622         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
39623         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
39624         value for Bessel function domain errors outside _SVID_ mode.
39625         Adjust sign of return value for yn (negative integer, 0).
39626         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
39627         by zero in return for negative x and set sign appropriately for
39628         negative n.
39629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
39630         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39631         * math/libm-test.inc (y0_test_data): Add more tests and adjust
39632         expectations in error cases.
39633         (y1_test_data): Likewise.
39634         (yn_test_data): Likewise.
39635         * sysdeps/i386/fpu/libm-test-ulps: Update.
39636         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39638 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39640         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
39641         "64" to "64-v1".  Add "64-v2".
39642         (abi-64-options): Rename to ...
39643         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
39644         (abi-64-condition): Rename to ...
39645         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
39646         (abi-64-ld-soname): Rename to ...
39647         (abi-64-v1-ld-soname): ... this.
39648         (abi-64-v2-options): Define.
39649         (abi-64-v2-condition): Likewise.
39650         (abi-64-v2-ld-soname): Likewise.
39651         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
39652         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
39653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
39654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
39655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
39657 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39658             Alan Modra  <amodra@gmail.com>
39660         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
39661         New versions for use with the ELFv2 ABI.
39662         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
39663         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
39664         declaration.
39665         (struct La_ppc64v2_retval): Likewise.
39666         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
39667         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
39668         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
39669         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
39670         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
39671         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
39672         Do not save or restore CR.
39673         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
39674         (_dl_profile_resolve): Do no save or restore CR.  Support extended
39675         return values for ELFv2 ABI.  Fix location of FPR return registers.
39676         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
39677         updated values for _CALL_ELF == 2.
39678         (La_regs, La_retval, int_retval): Likewise.
39680 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39682         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
39683         (FRAME_MIN_SIZE_PARM): Likewise.
39684         (FRAME_BACKCHAIN): Likewise.
39685         (FRAME_CR_SAVE): Likewise.
39686         (FRAME_LR_SAVE): Likewise.
39687         (FRAME_TOC_SAVE): Likewise.
39688         (FRAME_PARM_SAVE): Likewise.
39689         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
39690         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
39691         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39692         (call_mcount_parm_offset): New macro.
39693         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
39694         (PROF): Use symbolic stack frame offsets.
39695         (TAIL_CALL_SYSCALL_ERROR): Likewise.
39696         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
39697         Redefine in terms of FRAME_MIN_SIZE.
39698         (_dl_runtime_resolve): Use symbolic stack frame offsets.
39699         (_dl_profile_resolve): Likewise.  Update comment.
39700         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
39701         symbols stack frame offsets.
39702         (__sigsetjmp): Likewise.
39703         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
39704         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
39705         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
39706         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
39708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
39709         (FRAME_BACKCHAIN): Remove.
39710         (FRAME_CR_SAVE): Likewise.
39711         (FRAME_LR_SAVE): Likewise.
39712         (FRAME_COMPILER_DW): Likewise.
39713         (FRAME_LINKER_DW): Likewise.
39714         (FRAME_TOC_SAVE): Likewise.
39715         (FRAME_PARM_SAVE): Likewise.
39716         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
39717         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
39718         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
39719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
39720         (CHECK_SP): Use symbolic stack frame offsets.
39721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
39722         zone" instead of caller's parameter save area for temp storage.
39723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
39724         Likewise.  Also, use symbolic stack frame offsets.
39725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
39726         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
39727         our own stack frame instead of the caller's.
39728         (__socket): Use symbolic stack frame offsets.
39730 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39731             Alan Modra  <amodra@gmail.com>
39733         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
39734         Define.
39735         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
39736         (PPC64_LOCAL_ENTRY_OFFSET): Define.
39737         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
39738         New function.
39739         (elf_machine_fixup_plt): Call it.
39740         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
39741         reloc arguments.
39742         (elf_machine_rela): Update call to elf_machine_plt_conflict.
39743         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39744         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
39745         r2 before calling target.
39747 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39748             Alan Modra  <amodra@gmail.com>
39750         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
39751         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
39752         versions of macros to support ELFv2 ABI.
39753         (LOCALENTRY): New macro.
39754         (ENTRY, EALIGN): Use it.
39755         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
39756         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
39757         fall through into ENTRY entry point.
39758         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
39759         Only define if _CALL_ELF != 2.
39761         (elf_machine_matches_host): Verify ABI version matches.
39762         (RTLD_START): Use LOCALENTRY.
39763         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
39764         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
39765         (PLT_ENTRY_WORDS): New macro.
39766         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
39767         (elf_machine_runtime_setup): Support ELFv2 ABI.
39768         (elf_machine_fixup_plt): Likewise.
39769         (elf_machine_plt_conflict): Likewise.
39770         (resolve_ifunc): Likewise.
39771         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
39773         Likewise.
39774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
39775         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
39776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39777         (makecontext): Support ELFv2 ABI.
39778         * elf/elf.h (EF_PPC64_ABI): Define.
39780 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39782         * sysdeps/powerpc/powerpc64/sysdep.h
39783         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
39784         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
39785         (ENTRY) [ASSEMBLER]: ... but instead here ...
39786         (EALIGN) [ASSEMBLER]: ... and here.
39787         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
39788         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
39789         (ENTRY_2) [!ASSEMBLER]: Use it.
39790         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
39791         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
39792         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
39793         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
39794         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
39795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
39796         Use PPC64_LOAD_FUNCPTR.
39798         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
39800 2013-12-04  Alan Modra  <amodra@gmail.com>
39802         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
39803         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
39804         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
39805         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
39807         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
39808         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
39809         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
39810         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
39811         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
39812         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
39814 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
39816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39817         (__makecontext): Fix incorrect CFI when backtracing out of
39818         context created via makecontext.
39819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
39820         (__setcontext): Fix incorrect CFI during switch to new context.
39821         (__novec_setcontext): Likewise.
39823 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39825         [BZ #4772]
39826         * time/strptime_l.c (__strptime_internal): Allow modifiers
39827         in strptime.
39828         * time/tst-strptime.c (day_tests): Add testcase.
39830 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39832         * scripts/bench.pl: Skip over blank lines.
39834 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
39836         [BZ #926]
39837         * manual/time.texi (Calendar Time): Clarify what timezone functions
39838         use.
39840 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39844 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
39846         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
39847         implementation.
39848         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
39849         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
39850         * debug/memset_chk.c (__memset_chk): Likewise.
39851         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
39852         * debug/strncpy_chk.c: Likewise.
39854 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39856         [BZ #15268]
39857         [BZ #15425]
39858         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
39859         (__ieee754_exp): For possibly underflowing results, check size of
39860         result and force underflow exception if required.
39861         * math/auto-libm-test-in: Add more tests of exp.
39862         * math/auto-libm-test-out: Regenerated.
39863         * sysdeps/i386/fpu/libm-test-ulps: Update.
39864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39866         [BZ #16283]
39867         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
39868         * math/w_exp2f.c (__exp2f): Likewise.
39869         * math/w_exp2l.c (__exp2l): Likewise.
39870         * math/auto-libm-test-in: Do not allow missing errno on exp2
39871         underflow.
39872         * math/auto-libm-test-out: Regenerated.
39874 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
39876         [BZ #16274]
39877         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
39878         handle filename validation.
39879         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
39880         (do_open): Delete.
39882 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
39884         [BZ #6786]
39885         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
39886         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
39887         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
39888         <float.h>.
39889         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
39890         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
39891         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39892         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
39893         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39894         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
39895         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
39896         * math/auto-libm-test-in: Don't allow missing errno from erfc.
39897         Add more erfc tests.
39898         * math/auto-libm-test-out: Regenerated.
39899         * sysdeps/i386/fpu/libm-test-ulps: Update.
39900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39902         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
39903         exp2, expm1, j0 and j1.
39904         * math/auto-libm-test-out: Regenerated.
39905         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
39906         (erfc_test_data): Likewise.
39907         (exp_test_data): Likewise.
39908         (exp_tonearest_test_data): Likewise.
39909         (exp_towardzero_test_data): Likewise.
39910         (exp_downward_test_data): Likewise.
39911         (exp_upward_test_data): Likewise.
39912         (exp10_test_data): Likewise.
39913         (exp2_test_data): Likewise.
39914         (expm1_test_data): Likewise.
39915         (j0_test_data): Likewise.
39916         (j1_test_data): Likewise.
39917         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
39918         (input_flag_type): Add flag_xfail_rounding.
39919         (input_flags): Add xfail-rounding.
39920         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
39921         (output_for_one_input_case): Handle flag_xfail_rounding.
39922         * sysdeps/i386/fpu/libm-test-ulps: Update.
39923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39925 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
39927         [BZ #16289]
39928         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
39929         division by 0.
39931 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39933         [BZ #16195]
39934         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
39935         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
39936         (STAP_PROBE0): New macro.
39937         (STAP_PROBE1): Likewise.
39938         (STAP_PROBE2): Likewise.
39939         (STAP_PROBE3): Likewise.
39940         (STAP_PROBE4): Likewise.
39942 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
39944         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
39946 2013-12-02  Steve Ellcey  <sellcey@mips.com>
39948         * benchtests/Makefile (bench): Add sqrt.
39949         (LDLIBS-bench-sqrt): New.
39950         * benchtests/sqrt-input: New.
39952 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
39954         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
39955         (GAIH_EAI): Likewise.
39956         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
39957         (gaih_inet): Likewise.
39958         (getaddrinfo): Don't use GAIH_EAI.
39960         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
39961         (struct gaih): Remove definition.
39963 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
39965         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
39966         Use HERRNOP directly.
39968 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39972 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
39974         * math/gen-auto-libm-tests.c (test_functions): Add more
39975         single-argument functions.
39976         (special_fill_pi_2): New function.
39977         (special_fill_minus_pi_2): Likewise.
39978         (special_fill_pi_6): Likewise.
39979         (special_fill_minus_pi_6): Likewise.
39980         (special_fill_pi_3): Likewise.
39981         (special_fill_2pi_3): Likewise.
39982         (special_fill_e): Likewise.
39983         (special_fill_1_e): Likewise.
39984         (special_fill_e_minus_1): Likewise.
39985         (special_real_inputs): Add more special inputs.
39986         (output_for_one_input_case): Do not require ERANGE on underflow to
39987         zero if round-to-nearest result does not underflow to zero, unless
39988         exact results required.
39989         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
39990         atan, atanh, cbrt, cos and cosh.
39991         * math/auto-libm-test-out: Regenerated.
39992         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
39993         (acos_tonearest_test_data): Likewise.
39994         (acos_towardzero_test_data): Likewise.
39995         (acos_downward_test_data): Likewise.
39996         (acos_upward_test_data): Likewise.
39997         (acosh_test_data): Likewise.
39998         (asin_test_data): Likewise.
39999         (asin_tonearest_test_data): Likewise.
40000         (asin_towardzero_test_data): Likewise.
40001         (asin_upward_test_data): Likewise.
40002         (asinh_test_data): Likewise.
40003         (atan_test_data): Likewise.
40004         (atanh_test_data): Likewise.
40005         (cbrt_test_data): Likewise.
40006         (cos_test_data): Likewise.
40007         (cos_tonearest_test_data): Likewise.
40008         (cos_towardzero_test_data): Likewise.
40009         (cos_downward_test_data): Likewise.
40010         (cos_upward_test_data): Likewise.
40011         (cosh_test_data): Likewise.
40012         (cosh_tonearest_test_data): Likewise.
40013         (cosh_towardzero_test_data): Likewise.
40014         (cosh_downward_test_data): Likewise.
40015         (cosh_upward_test_data): Likewise.
40016         * sysdeps/i386/fpu/libm-test-ulps: Update.
40017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40019 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
40021         [BZ #6787]
40022         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
40023         * math/w_exp10f.c (__exp10f): Likewise.
40024         * math/w_exp10l.c (__exp10l): Likewise.
40025         * math/libm-test.inc (exp10_test_data): Add more tests and expect
40026         errno settings in existing tests.
40028         [BZ #14032]
40029         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
40030         precision control set to double precision.
40031         * sysdeps/i386/fpu/w_sqrt.c: New file.
40032         * math/auto-libm-test-in: Add more tests.
40033         * math/auto-libm-test-out: Update.
40035         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
40036         (sqrt_test_tonearest): New function.
40037         (sqrt_towardzero_test_data): New variable.
40038         (sqrt_test_towardzero): New function.
40039         (sqrt_downward_test_data): New variable.
40040         (sqrt_test_downward): New function.
40041         (sqrt_upward_test_data): New variable.
40042         (sqrt_test_upward): New function.
40043         (main): Call the new functions.
40045         * math/gen-auto-libm-tests.c: New file.
40046         * math/auto-libm-test-in: Likewise.
40047         * math/auto-libm-test-out: New generated file.
40048         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
40049         variables.
40050         (%beautify): Add generated representations of zero.
40051         (top level): Set $auto_input and call parse_auto_input.
40052         (beautify): Remove trailing "f" from hex float constants.
40053         (parse_args): Handle XFAIL_TEST.
40054         (convert_condition): New function.
40055         (or_value): Likewise.
40056         (or_cond_value): Likewise.
40057         (generate_testfile): Handle AUTO_TESTS_* lines.
40058         (parse_auto_input): New function.
40059         * math/libm-test.inc (XFAIL_TEST): New macro.
40060         (ERRNO_UNCHANGED): Update value.
40061         (ERRNO_EDOM): Likewise.
40062         (ERRNO_ERANGE): Likewise.
40063         (IGNORE_RESULT): Likewise.
40064         (TEST_COND_flt_32): New macro.
40065         (TEST_COND_dbl_64): Likewise.
40066         (TEST_COND_ldbl_96_intel): Likewise.
40067         (TEST_COND_ldbl_96_m68k): Likewise.
40068         (TEST_COND_ldbl_128): Likewise.
40069         (TEST_COND_ldbl_128ibm): Likewise.
40070         (TEST_COND_long32): Likewise.
40071         (TEST_COND_long64): Likewise.
40072         (TEST_COND_before_rounding): Likewise.
40073         (TEST_COND_after_rounding): Likewise.
40074         (enable_test): Handle XFAIL_TEST flag.
40075         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
40076         with finite results.
40077         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
40078         auto-libm-test-out.
40080 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40081             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40083         [BZ #16214]
40084         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
40085         __tls_get_addr_internal instead of __tls_get_offset in order to
40086         avoid GOT pointer dependency.  Make rtld export
40087         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
40088         __tls_get_addr since we are a __tls_get_offset platform.
40089         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
40090         GOT pointer being set up before.
40091         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
40093 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
40095         * manual/math.texi (Errors in Math Functions): Document accuracy
40096         goals.
40098         [BZ #15004]
40099         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
40100         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
40101         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40102         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40103         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40104         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40105         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40106         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40107         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40108         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40109         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40110         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40111         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40112         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40113         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40114         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40116         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
40117         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
40118         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
40119         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
40120         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
40121         Likewise.
40122         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
40123         Likewise.
40124         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
40125         Likewise.
40126         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
40127         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
40128         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
40129         atomic-feupdateenv and flt-rounds.
40130         * sysdeps/powerpc/nofpu/Versions (libc): Add
40131         __atomic_feholdexcept, __atomic_feclearexcept,
40132         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
40133         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
40134         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
40135         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
40136         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
40137         here.
40138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
40139         Update.
40141         * manual/arith.texi (FP Exceptions): Document that exceptions may
40142         not be raised when matherr is used.
40143         (Math Error Reporting): Document overflow in directed rounding
40144         modes.  Document that errno may not be set when finite values are
40145         returned on overflow.  Document intent to set errno on underflow
40146         only for underflow to zero.
40148         [BZ #16271]
40149         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
40150         round-to-nearest then adjust result for other rounding modes.
40151         * include/fenv.h (fegetround): Use libm_hidden_proto.
40152         * math/fegetround.c (fegetround): Use libm_hidden_def.
40153         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40154         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40155         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40156         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40157         Likewise.
40158         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
40159         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40160         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40161         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
40163 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40165         [BZ #16077]
40166         * nss/Versions (libnss_files): Add
40167         _nss_files_gethostbyname3_r.
40168         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
40169         New function.
40170         (HOST_DB_LOOKUP): Remove macro.
40171         (_nss_files_gethostbyname_r): Implement function without the
40172         HOST_DB_LOOKUP macro.
40173         (_nss_files_gethostbyname2_r): Likewise.
40175 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
40177         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
40179 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
40181         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
40182         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
40183         warning.
40185 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40187         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
40188         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
40189         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
40190         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40191         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
40192         __fe_nomask_env_priv and attribute_hidden.
40193         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
40194         (libc_feupdateenv_test_ppc): Likewise.
40195         (libc_feresetround_ppc): Likewise.
40196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40197         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
40198         compat_symbol macro.
40199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40200         (__fe_nomask_env): Likewise.
40201         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
40203 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40205         * string/Makefile: Remove ifunc tests.
40206         * string/test-string.h: Define TEST_IFUNC.
40207         * string/test-bcopy-ifunc.c: Remove.
40208         * string/test-bzero-ifunc.c: Likewise.
40209         * string/test-memccpy-ifunc.c: Likewise.
40210         * string/test-memchr-ifunc.c: Likewise.
40211         * string/test-memcmp-ifunc.c: Likewise.
40212         * string/test-memcpy-ifunc.c: Likewise.
40213         * string/test-memmem-ifunc.c: Likewise.
40214         * string/test-memmove-ifunc.c: Likewise.
40215         * string/test-mempcpy-ifunc.c: Likewise.
40216         * string/test-memrchr-ifunc.c: Likewise.
40217         * string/test-memset-ifunc.c: Likewise.
40218         * string/test-rawmemchr-ifunc.c: Likewise.
40219         * string/test-stpcpy-ifunc.c: Likewise.
40220         * string/test-stpncpy-ifunc.c: Likewise.
40221         * string/test-strcasecmp-ifunc.c: Likewise.
40222         * string/test-strcasestr-ifunc.c: Likewise.
40223         * string/test-strcat-ifunc.c: Likewise.
40224         * string/test-strchr-ifunc.c: Likewise.
40225         * string/test-strchrnul-ifunc.c: Likewise.
40226         * string/test-strcmp-ifunc.c: Likewise.
40227         * string/test-strcpy-ifunc.c: Likewise.
40228         * string/test-strcspn-ifunc.c: Likewise.
40229         * string/test-strlen-ifunc.c: Likewise.
40230         * string/test-strncasecmp-ifunc.c: Likewise.
40231         * string/test-strncat-ifunc.c: Likewise.
40232         * string/test-strncmp-ifunc.c: Likewise.
40233         * string/test-strncpy-ifunc.c: Likewise.
40234         * string/test-strnlen-ifunc.c: Likewise.
40235         * string/test-strpbrk-ifunc.c: Likewise.
40236         * string/test-strrchr-ifunc.c: Likewise.
40237         * string/test-strspn-ifunc.c: Likewise.
40238         * string/test-strstr-ifunc.c: Likewise.
40240 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40242         * benchtests/Makefile: Remove ifunc tests.
40243         * benchtests/bench-string.h: Define TEST_IFUNC.
40244         * benchtests/bench-bcopy-ifunc.c: Remove.
40245         * benchtests/bench-bzero-ifunc.c: Likewise.
40246         * benchtests/bench-memccpy-ifunc.c: Likewise.
40247         * benchtests/bench-memchr-ifunc.c: Likewise.
40248         * benchtests/bench-memcmp-ifunc.c: Likewise.
40249         * benchtests/bench-memcpy-ifunc.c: Likewise.
40250         * benchtests/bench-memmem-ifunc.c: Likewise.
40251         * benchtests/bench-memmove-ifunc.c: Likewise.
40252         * benchtests/bench-mempcpy-ifunc.c: Likewise.
40253         * benchtests/bench-memrchr-ifunc.c: Likewise.
40254         * benchtests/bench-memset-ifunc.c: Likewise.
40255         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
40256         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
40257         * benchtests/bench-stpcpy-ifunc.c: Likewise.
40258         * benchtests/bench-stpncpy-ifunc.c: Likewise.
40259         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
40260         * benchtests/bench-strcasestr-ifunc.c: Likewise.
40261         * benchtests/bench-strcat-ifunc.c: Likewise.
40262         * benchtests/bench-strchr-ifunc.c: Likewise.
40263         * benchtests/bench-strchrnul-ifunc.c: Likewise.
40264         * benchtests/bench-strcmp-ifunc.c: Likewise.
40265         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
40266         * benchtests/bench-strcpy-ifunc.c: Likewise.
40267         * benchtests/bench-strcspn-ifunc.c: Likewise.
40268         * benchtests/bench-strlen-ifunc.c: Likewise.
40269         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
40270         * benchtests/bench-strncat-ifunc.c: Likewise.
40271         * benchtests/bench-strncmp-ifunc.c: Likewise.
40272         * benchtests/bench-strncpy-ifunc.c: Likewise.
40273         * benchtests/bench-strnlen-ifunc.c: Likewise.
40274         * benchtests/bench-strpbrk-ifunc.c: Likewise.
40275         * benchtests/bench-strrchr-ifunc.c: Likewise.
40276         * benchtests/bench-strsep-ifunc.c: Likewise.
40277         * benchtests/bench-strspn-ifunc.c: Likewise.
40278         * benchtests/bench-strstr-ifunc.c: Likewise.
40280 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40282         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
40284 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
40286         * resolv/netdb.h: Use __glibc_reserved instead __unused.
40287         * rt/aio.h: Likewise.
40288         * sysdeps/gnu/bits/utmp.h: Likewise.
40289         * sysdeps/gnu/bits/utmpx.h: Likewise.
40290         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
40291         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
40292         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
40293         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
40294         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
40295         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
40296         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
40297         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
40298         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
40299         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
40300         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
40301         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
40302         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
40303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
40304         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
40305         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
40306         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
40307         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
40308         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
40309         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
40310         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
40311         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
40312         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
40313         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
40314         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
40315         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40316         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
40317         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
40318         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
40319         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
40320         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
40321         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
40322         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
40323         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
40324         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
40325         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
40326         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
40327         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
40328         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
40329         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
40330         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
40331         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
40333 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
40335         [BZ #16245]
40336         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
40337         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
40339 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
40341         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
40342         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
40343         Likewise.
40345 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40347         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
40348         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
40349         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
40350         (__fesetround): Remove define.
40351         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
40352         rounding and exceptions handling.
40353         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
40354         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
40355         (__fe_nomask_env): Likewise.
40356         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
40357         __fegetround instead of fegetround.
40358         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40359         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
40361 2013-11-21  Roland McGrath  <roland@hack.frob.com>
40363         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
40364         it's there.
40366         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
40368 2013-11-21  Meador Inge  <meadori@codesourcery.com>
40370         [BZ #11157]
40371         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
40372         (encrypt_r): Likewise.
40373         * malloc/obstack.h (obstack_free): Likewise.
40374         * posix/unistd.h (encrypt): Likewise.
40376 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
40378         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
40379         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
40380         DL_CALL_DT_FINI() that call the functions directly.
40381         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
40382         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
40383         * elf/dl-fini.c: Likewise.
40385 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
40387         * malloc/hooks.c (memalign_check): Add alignment rounding.
40388         * malloc/malloc.c (_mid_memalign): New function.
40389         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
40390         Implement by calling _mid_memalign.
40391         * manual/probes.texi (Memory Allocation Probes): Remove
40392         memory_valloc_retry and memory_pvalloc_retry.
40394 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40396         * locale/programs/locarchive.c (open_archive): Add const
40397         qualifier to ARCHIVEFNAME and copy default fname to
40398         DEFAULT_FNAME.
40400         [BZ #15601]
40401         * libio/tst-widetext.input: Rename Oriya to Odia.
40402         * locale/iso-639.def: Likewise.
40404         * manual/probes.texi (Mathematical Function Probes): Add
40405         documentation for sin, cos, asin and acos probes.
40406         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
40407         (__sin32): Add slowasin probe.
40408         (__cos32): Add slowacos probe.
40409         (__mpsin): Add slowsin probe.
40410         (__mpcos): Add slowcos probe.
40412 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
40414         [BZ #15483]
40415         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
40416         thread-local __sim_exceptions_thread and global
40417         __sim_exceptions_global.
40418         (__sim_disabled_exceptions): Change to thread-local
40419         __sim_disabled_exceptions_thread and global
40420         __sim_disabled_exceptions_global.
40421         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40422         and global __sim_round_mode_global.
40423         (__simulate_exceptions): Use thread-local floating-point state and
40424         set global state from it as needed.
40425         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
40426         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
40427         __sim_round_mode_thread.
40428         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
40429         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
40430         and global __sim_exceptions_global.
40431         (__sim_disabled_exceptions): Change to thread-local
40432         __sim_disabled_exceptions_thread and global
40433         __sim_disabled_exceptions_global.
40434         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
40435         and global __sim_round_mode_global.
40436         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
40437         (SIM_SET_GLOBAL): Likewise.
40438         * sysdeps/powerpc/soft-fp/sfp-machine.h
40439         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
40440         __sim_round_mode_thread.
40441         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
40442         __sim_disabled_exceptions_thread.
40443         (__sim_exceptions): Change to __sim_exceptions_thread.
40444         (__sim_disabled_exceptions): Change to
40445         __sim_disabled_exceptions_thread.
40446         (__sim_round_mode): Change to __sim_round_mode_thread.
40447         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
40448         thread-local floating-point state and set global state from it as
40449         needed.
40450         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
40451         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
40452         (__sim_disabled_exceptions): Remove extern declaration.
40453         (feenableexcept): Use thread-local floating-point state and set
40454         global state from it as needed.
40455         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
40456         extern declaration.
40457         (__sim_disabled_exceptions): Likewise.
40458         (__sim_round_mode): Likewise.
40459         (__fegetenv): Use thread-local floating-point state.
40460         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
40461         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
40462         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
40463         floating-point state and set global state from it as needed.
40464         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
40465         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40466         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
40467         Likewise.
40468         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
40469         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
40470         Likewise.
40471         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
40472         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
40473         Use __sim_round_mode_thread.
40474         * math/test-fenv-tls.c: New file.
40475         * math/Makefile (tests): Add test-fenv-tls.
40476         ($(objpfx)test-fenv-tls): Depend on
40477         $(common-objpfx)nptl/libpthread.so.
40479 2013-11-19  Andreas Schwab  <schwab@suse.de>
40481         * locale/programs/locale.c (show_info): Decode wordarray elements.
40482         * locale/categories.def (LC_MONETARY): Add element for
40483         _NL_MONETARY_CRNCYSTR.
40484         * locale/C-monetary.c (conversion_rate): New variable.
40485         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
40486         element.
40488 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
40490         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
40491         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
40493 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40495         * elf/Makefile (tst-auxv): New test.
40496         * elf/tst-auxv.c: New
40497         * elf/rtld.c (dl_main): Adjust AT_EXECFN
40499 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
40501         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
40502         (hidden_proto): Caller changed.
40503         (hidden_tls_proto): New macro.
40504         (libc_hidden_tls_proto): Likewise.
40505         (rtld_hidden_tls_proto): Likewise.
40506         (libm_hidden_tls_proto): Likewise.
40507         (libresolv_hidden_tls_proto): Likewise.
40508         (librt_hidden_tls_proto): Likewise.
40509         (libdl_hidden_tls_proto): Likewise.
40510         (libnss_files_hidden_tls_proto): Likewise.
40511         (libnsl_hidden_tls_proto): Likewise.
40512         (libnss_nisplus_hidden_tls_proto): Likewise.
40513         (libutil_hidden_tls_proto): Likewise.
40515 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
40517         [BZ #10253]
40518         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
40519         (decompose_rpath): Defer expansion to fillin_rpath.
40520         (_dl_init_paths): Pass linkmap to fillin_rpath.
40522 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40524         * benchtests/Makefile: Add strsep.
40525         * benchtests/bench-strsep.c: New file: strsep benchtest.
40526         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
40528 2013-11-18  Andreas Schwab  <schwab@suse.de>
40530         * locale/programs/locale.c (show_info) [case byte]: Check for
40531         '\377' instead of '\177'.
40532         * locale/C-monetary.c (not_available): Always use "\377".
40533         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
40534         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
40535         detect unavailable sign_posn locale elements.
40536         * locale/localeconv.c (__localeconv): For grouping and
40537         mon_grouping handle "\177" and "\377" like no grouping.
40538         (INT_ELEM): New macro.  Use it to set all numeric members.
40539         * locale/programs/ld-monetary.c (monetary_read)
40540         <tok_mon_grouping>: Normalize single -1 to the empty string.
40541         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
40542         Likewise.
40544 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40546         [BZ #16055]
40547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
40548         when we match (nil).
40549         * stdio-common/tst-sscanf.c (struct test): Add testcase.
40551 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
40553         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
40554         (NO_TEST_INLINE): Update value.
40555         (ERRNO_UNCHANGED): Likewise.
40556         (ERRNO_EDOM): Likewise.
40557         (ERRNO_ERANGE): Likewise.
40558         (IGNORE_RESULT): Likewise.
40559         (check_float_internal): Check signs of NaN results if
40560         TEST_NAN_SIGN used.
40561         (check_complex): Pass TEST_NAN_SIGN flag through to second
40562         check_float_internal call.
40563         (copysign_test_data): Add tests with quiet NaNs as second
40564         argument.  Use TEST_NAN_SIGN.
40565         (fabs_test_data): Add test of negative quiet NaN argument.  Use
40566         TEST_NAN_SIGN.
40567         (signbit_test_data): Add tests of quiet NaN argument.
40568         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
40570         * math/gen-libm-test.pl (show_exceptions): Take extra argument
40571         $ignore_result.
40572         (parse_args): Handle function results specified as IGNORE.
40573         * math/libm-test.inc (IGNORE_RESULT): New macro.
40574         (check_float_internal): Do not check numerical result if flag
40575         IGNORE_RESULT set.
40576         (check_complex): Pass through IGNORE_RESULT to second
40577         check_float_internal call.
40578         (check_int): Do not check numerical result if flag IGNORE_RESULT
40579         set.
40580         (check_long): Likewise.
40581         (check_bool): Likewise.
40582         (check_longlong): Likewise.
40583         (lrint_test_data): Add tests of infinite and NaN arguments.
40584         (lrint_tonearest_test_data): Likewise.
40585         (lrint_towardzero_test_data): Likewise.
40586         (lrint_downward_test_data): Likewise.
40587         (lrint_upward_test_data): Likewise.
40588         (llrint_test_data): Likewise.
40589         (llrint_tonearest_test_data): Likewise.
40590         (llrint_towardzero_test_data): Likewise.
40591         (llrint_downward_test_data): Likewise.
40592         (llrint_upward_test_data): Likewise.
40593         (lround_test_data): Likewise.
40594         (llround_test_data): Likewise.
40596         * math/libm-test.inc (NO_TEST_INLINE): New macro.
40597         (ERRNO_UNCHANGED): Update value.
40598         (ERRNO_EDOM): Likewise.
40599         (ERRNO_ERANGE): Likewise.
40600         (NO_TEST_INLINE_FLOAT): New macro.
40601         (NO_TEST_INLINE_DOUBLE): Likewise.
40602         (enable_test): New function.
40603         (RUN_TEST_f_f): Check enable_test before running test.
40604         (RUN_TEST_2_f): Likewise.
40605         (RUN_TEST_fff_f): Likewise.
40606         (RUN_TEST_c_f): Likewise.
40607         (RUN_TEST_f_f1): Likewise.
40608         (RUN_TEST_fF_f1): Likewise.
40609         (RUN_TEST_fI_f1): Likewise.
40610         (RUN_TEST_ffI_f1): Likewise.
40611         (RUN_TEST_c_c): Likewise.
40612         (RUN_TEST_cc_c): Likewise.
40613         (RUN_TEST_f_i): Likewise.
40614         (RUN_TEST_f_i_tg): Likewise.
40615         (RUN_TEST_ff_i_tg): Likewise.
40616         (RUN_TEST_f_b): Likewise.
40617         (RUN_TEST_f_b_tg): Likewise.
40618         (RUN_TEST_f_l): Likewise.
40619         (RUN_TEST_f_L): Likewise.
40620         (RUN_TEST_fFF_11): Likewise.
40621         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
40622         conditionals.
40623         (cosh_test_data): Likewise.
40624         (exp_test_data): Likewise.
40625         (expm1_test_data): Likewise.
40626         (hypot_test_data): Likewise.
40627         (pow_test_data): Likewise.
40628         (sinh_test_data): Likewise.
40629         (tanh_test_data): Likewise.
40630         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
40631         flags argument.
40633         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
40634         tests with quiet NaN input and output.
40635         (acosh_test_data): Likewise.
40636         (asin_test_data): Likewise.
40637         (asinh_test_data): Likewise.
40638         (atan_test_data): Likewise.
40639         (atanh_test_data): Likewise.
40640         (atan2_test_data): Likewise.
40641         (cbrt_test_data): Likewise.
40642         (cos_test_data): Likewise.
40643         (cosh_test_data): Likewise.
40644         (erf_test_data): Likewise.
40645         (erfc_test_data): Likewise.
40646         (exp_test_data): Likewise.
40647         (exp10_test_data): Likewise.
40648         (exp2_test_data): Likewise.
40649         (expm1_test_data): Likewise.
40650         (hypot_test_data): Likewise.
40651         (j0_test_data): Likewise.
40652         (j1_test_data): Likewise.
40653         (jn_test_data): Likewise.
40654         (lgamma_test_data): Likewise.
40655         (log_test_data): Likewise.
40656         (log10_test_data): Likewise.
40657         (log1p_test_data): Likewise.
40658         (log2_test_data): Likewise.
40659         (pow_test_data): Likewise.
40660         (scalb_test_data): Likewise.
40661         (sin_test_data): Likewise.
40662         (sincos_test_data): Likewise.
40663         (sinh_test_data): Likewise.
40664         (tan_test_data): Likewise.
40665         (tanh_test_data): Likewise.
40666         (tgamma_test_data): Likewise.
40667         (y0_test_data): Likewise.
40668         (y1_test_data): Likewise.
40669         (yn_test_data): Likewise.
40671         [BZ #16167]
40672         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
40673         argument being NaN and avoid computations with second argument in
40674         that case.
40675         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
40676         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
40677         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
40679 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
40681         * locale/iso-639.def: Add Chitwani Tharu (the).
40683 2013-11-14  Andreas Schwab  <schwab@suse.de>
40685         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
40686         word instead of empty string.
40688 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40691         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
40692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40693         (__fe_nomask_env): Likewise.
40695 2013-11-13  Steve Ellcey  <sellcey@mips.com>
40697         * benchtests/bench-timing.h: Include time.h.
40699 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
40701         [BZ #15997]
40702         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
40703         to 3.4.0 for x32.
40704         * sysdeps/unix/sysv/linux/configure: Regenerated.
40706 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
40708         [BZ #16151]
40709         * stdlib/strtod_l.c (round_and_return): Do not consider
40710         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
40711         exponent one less than half the least subnormal exponent.
40712         * stdlib/test-strtod-round-data: Add more tests.
40713         * stdlib/tst-strtod-round.c (tests): Regenerated.
40715 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40717         [BZ #14143]
40718         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
40719         (__fe_mask_env): Likewise.
40720         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
40721         libm_hidden_proto and add function prototype.
40722         (__fe_mask_env): Add function prototype.
40723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
40724         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
40725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
40726         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
40728         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
40730 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40732         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
40733         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
40735 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
40737         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
40738         of htab_find_slot().
40740 2013-11-11  David S. Miller  <davem@davemloft.net>
40742         [BZ #16150]
40743         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
40744         symbol in the non-vis3 case in static builds.
40745         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
40746         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
40747         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
40748         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
40750 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
40752         [BZ #387]
40753         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
40754         it is empty.
40756 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40758         * benchtests/Makefile: Add bench-strtod.
40759         * benchtests/bench-strtod.c: New file: strtod benchtest
40761 2013-11-11  Andreas Schwab  <schwab@suse.de>
40763         [BZ #16153]
40764         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
40765         terminating NUL in key length.
40767 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40769         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
40770         Add artificial ODP entry for vDSO symbol for PPC64.
40771         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
40772         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
40774 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
40776         [BZ #15374]
40777         * nss/getent.c (services_keys): Recognize services starting with digit.
40779 2013-11-06  David S. Miller  <davem@davemloft.net>
40781         [BZ #15985]
40782         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
40783         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
40785 2013-11-06  Will Newton  <will.newton@linaro.org>
40787         * manual/memory.texi (Malloc Examples): Remove register
40788         keyword from examples.
40790 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
40792         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
40794 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
40796         [BZ #6981]
40797         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
40798         depending on [__GCC_IEC_559 > 0].
40799         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
40800         depending on [__GCC_IEC_559_COMPLEX > 0].
40802 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
40804         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
40805         to iso-639.def.
40807 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
40809         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
40811 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
40813         [BZ #16112]
40814         * malloc/malloc (malloc_info): Do not handle first bin as
40815         special case.
40817 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
40819         * locale/iso-639.def: Add Central Nahuatl (nhn).
40821 2013-11-01  Bruno Haible  <bruno@clisp.org>
40823         [BZ #7003]
40824         * manual/math.texi (BSD Random): Specify range upper bound as
40825         in POSIX.
40827 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
40829         * locale/iso-639.def: Add Meadow Mari (mhr).
40831 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
40833         [BZ #14752], [BZ #15763]
40834         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
40835         Validate name.
40836         * rt/tst_shm.c: Add test for escaping directory.
40838 2013-10-31  Andreas Schwab  <schwab@suse.de>
40840         [BZ #15917]
40841         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
40842         followed by 'x' as part of digit sequence.
40843         * stdio-common/tst-sscanf.c (double_tests2): New tests.
40845 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
40847         [BZ #16037]
40848         * configure.ac: allow GNU Make 4.0 and greater.
40849         * configure: Regenerated.
40851 2013-10-30  Will Newton  <will.newton@linaro.org>
40853         [BZ #16038]
40854         * malloc/hooks.c (memalign_check): Limit alignment to the
40855         maximum representable power of two.
40856         * malloc/malloc.c (__libc_memalign): Likewise.
40857         * malloc/tst-memalign.c (do_test): Add test for very
40858         large alignment values.
40859         * malloc/tst-posix_memalign.c (do_test): Likewise.
40861 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40863         [BZ #11087]
40864         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
40865         (munmap_chunk): Likewise.
40866         (mremap_chunk): Likewise.
40868 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
40870         [BZ #15799]
40871         * stdlib/div.c (div): Remove obsolete code.
40872         * stdlib/ldiv.c (ldiv): Likewise.
40873         * stdlib/lldiv.c (lldiv): Likewise.
40875 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40877         [BZ #16071]
40878         * nss/nss_files/files-XXX.c (get_contents_ret): New
40879         enumerator.
40880         (get_contents): New function.
40881         (internal_getent): Use it.  Expand size of LINEBUFLEN.
40883 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
40885         * configure.in: Moved to ...
40886         * configure.ac: ... here. Change reference to configure.in
40887         to configure.ac.
40888         * sysdeps/arm/preconfigure.ac: ... here.
40889         configure.in to configure.ac.
40890         * sysdeps/gnu/configure.in: Moved to ...
40891         * sysdeps/gnu/configure.ac: ... here.
40892         * sysdeps/i386/configure.in: Moved to ...
40893         * sysdeps/i386/configure.ac: ... here.
40894         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
40895         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
40896         * sysdeps/mach/configure.in: Moved to ...
40897         * sysdeps/mach/configure.ac: ... here.
40898         * sysdeps/mach/hurd/configure.in: Moved to ...
40899         * sysdeps/mach/hurd/configure.ac: ... here.
40900         * sysdeps/powerpc/configure.in: Moved to ...
40901         * sysdeps/powerpc/configure.ac: ... here.
40902         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
40903         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
40904         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
40905         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
40906         * sysdeps/s390/s390-32/configure.in: Moved to ...
40907         * sysdeps/s390/s390-32/configure.ac: ... here.
40908         * sysdeps/s390/s390-64/configure.in: Moved to ...
40909         * sysdeps/s390/s390-64/configure.ac: ... here.
40910         * sysdeps/sh/configure.in: Moved to ...
40911         * sysdeps/sh/configure.ac: ... here.
40912         * sysdeps/sparc/configure.in: Moved to ...
40913         * sysdeps/sparc/configure.ac: ... here.
40914         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
40915         * sysdeps/unix/sysv/linux/configure.ac: ... here.
40916         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
40917         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
40918         * sysdeps/x86_64/configure.in: Moved to ...
40919         * sysdeps/x86_64/configure.ac: ... here.
40920         * sysdeps/x86_64/preconfigure.in: Moved to ...
40921         * sysdeps/x86_64/preconfigure.ac: ... here.
40922         * aclocal.m4: Change reference to configure.in to configure.ac.
40923         * config.h.in: Likewise.
40924         * manual/install.texi: Likewise.
40925         * manual/maint.texi: Likewise.
40926         * Makefile: Likewise.
40927         * malloc/Makefile: Likewise.
40928         * nscd/Makefile: Likewise.
40929         * Makeconfig: Change reference to configure.in and
40930         preconfigure.in to configure.ac and preconfigure.ac
40931         respectively.
40932         * INSTALL: Regenerated.
40933         * configure: Likewise.
40934         * sysdeps/gnu/configure: Likewise.
40935         * sysdeps/i386/configure: Likewise.
40936         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
40937         * sysdeps/mach/configure: Likewise.
40938         * sysdeps/mach/hurd/configure: Likewise.
40939         * sysdeps/powerpc/configure: Likewise.
40940         * sysdeps/powerpc/powerpc32/configure: Likewise.
40941         * sysdeps/powerpc/powerpc64/configure: Likewise.
40942         * sysdeps/s390/s390-32/configure: Likewise.
40943         * sysdeps/s390/s390-64/configure: Likewise.
40944         * sysdeps/sh/configure: Likewise.
40945         * sysdeps/sparc/configure: Likewise.
40946         * sysdeps/unix/sysv/linux/configure: Likewise.
40947         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
40948         * sysdeps/x86_64/configure: Likewise.
40949         * sysdeps/x86_64/preconfigure: Likewise.
40951 2013-10-29  Andreas Schwab  <schwab@suse.de>
40953         * stdio-common/Makefile (tst-swscanf-ENV): Define.
40955 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
40957         * benchtests/pow-inputs: Add new inputs.
40959         * benchtests/exp-inputs: Add new inputs.
40961         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
40962         conditional check for return value.
40963         (__cos32): Likewise.
40965 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40967         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
40968         to provide a boost for large inputs with word alignment.
40969         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
40970         implementation based on optimized PPC64 strcpy.
40971         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
40972         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
40973         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
40974         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
40976 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40978         [BZ #2801]
40979         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
40981 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40983         [BZ #14876]
40984         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
40985         * time/tst-strptime.c (day_tests): Add testcase.
40987 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
40989         [BZ #14029]
40990         * manual/pattern.texi: Acknowledge that fnmatch can fail.
40992 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
40994         [BZ #16074]
40995         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
40996         MAP_FAILED on error.
40998 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41000         [BZ #16072]
41001         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
41002         heap for large requests.
41004 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
41006         [BZ #9954]
41007         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
41008         result if the result has no associated interface.
41009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
41010         interface for all 127.X.Y.Z addresses.
41012 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
41014         * locale/iso-639.def: Add Ligurian (lij)
41016 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
41018         [BZ #15825]
41019         * sunrpc/rpc_main.c: Document rpcgen -5.
41021 2013-10-19  Michael Stahl  <mstahl@redhat.com>
41023         * elf/rtld.c (do_preload): Print the reason why preloading failed.
41025 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41027         [BZ #10278]
41028         * posix/glob.c: Match only directories when trailing slash is present.
41029         * posix/tst-gnuglob.c (my_opendir): Do not open files.
41030         (main): Add testcase.
41032 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
41034         [BZ #15670]
41035         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
41037 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
41039         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
41040         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
41041         AUTH_DES and cindex for FIPS 140-2.
41042         (DES Encryption): Add cindex FIPS 46-3.
41044         * locale/locarchive.h (struct locarhandle): Add fname.
41045         * locale/programs/localedef.c (main): Pass ARGV[remaining]
41046         if an optional argument was specified to --list-archive,
41047         otherwise NULL.
41048         * locale/programs/locarchive.c (show_archive_content): Take new
41049         argument fname and pass it via ah.fname to open_archive.
41050         * locale/programs/localedef.h: Update decl.
41051         (open_archive): If AH->fname is non-null, open that file
41052         rather than the default file name, and don't ignore ENOENT.
41053         (create_archive): Set AH.fname to NULL.
41054         (delete_locales_from_archive): Likewise.
41055         (add_locales_to_archive): Likewise.
41056         * locale/programs/locfile.c (write_all_categories): Likewise.
41058 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
41059             Aldy Hernandez  <aldyh@redhat.com>
41061         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
41062         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
41063         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
41064         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
41065         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
41066         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
41067         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
41068         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
41069         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
41070         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
41071         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
41072         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
41073         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
41074         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
41075         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
41076         Likewise.
41077         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
41078         Likewise.
41079         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
41080         Likewise.
41081         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
41082         Likewise.
41083         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
41084         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
41085         Likewise.
41086         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
41087         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
41088         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
41089         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
41090         Likewise.
41091         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
41092         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
41093         * sysdeps/powerpc/preconfigure: Likewise.
41094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
41095         Likewise.
41096         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
41097         Replace contents of file by #include of <fenv_libc.h>.
41098         * sysdeps/powerpc/soft-fp/sfp-machine.h
41099         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
41100         and <sys/prctl.h>.
41101         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
41102         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
41103         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
41104         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
41105         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
41106         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
41107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
41108         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
41109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
41110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
41111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
41112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
41113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41114         Allow copysignl PLT reference to be missing.
41116 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
41117             Joseph Myers  <joseph@codesourcery.com
41119         [BZ #15948]
41120         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
41121         single character.
41122         (add_to_tablewc): Assert sequence of wide characters is nonempty.
41124 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
41126         * elf/tst-tls-dlinfo.c: Don't include tls.h.
41127         * elf/tst-tls1.c: Likewise.
41128         * elf/tst-tls10.h: Likewise.
41129         * elf/tst-tls14.c: Likewise.
41130         * elf/tst-tls2.c: Likewise.
41131         * elf/tst-tls3.c: Likewise.
41132         * elf/tst-tls4.c: Likewise.
41133         * elf/tst-tls5.c: Likewise.
41134         * elf/tst-tls6.c: Likewise.
41135         * elf/tst-tls7.c: Likewise.
41136         * elf/tst-tls8.c: Likewise.
41137         * elf/tst-tls9.c: Likewise.
41138         * elf/tst-tlsmod1.c: Likewise.
41139         * elf/tst-tlsmod13.c: Likewise.
41140         * elf/tst-tlsmod13a.c: Likewise.
41141         * elf/tst-tlsmod14a.c: Likewise.
41142         * elf/tst-tlsmod16a.c: Likewise.
41143         * elf/tst-tlsmod16b.c: Likewise.
41144         * elf/tst-tlsmod2.c: Likewise.
41145         * elf/tst-tlsmod3.c: Likewise.
41146         * elf/tst-tlsmod4.c: Likewise.
41147         * elf/tst-tlsmod5.c: Likewise.
41148         * elf/tst-tlsmod6.c: Likewise.
41150 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
41152         [BZ #12486]
41153         * malloc/malloc.c: remove checks for statistics.
41155 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41157         [BZ #15277]
41158         * inet/inet_net.c (inet_network): Detect additional invalid strings.
41159         * inet/tst-network.c: Add testcase.
41161 2013-10-17  Andreas Schwab  <schwab@suse.de>
41163         [BZ #15218]
41164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
41165         to determine canonical name.
41167 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
41169         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
41170         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
41171         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41172         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41173         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41174         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41175         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41176         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41177         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41178         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41179         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41180         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41181         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41182         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41183         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41184         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41185         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41186         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41187         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
41188         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41189         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41190         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
41192         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
41193         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
41194         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41195         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41196         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
41197         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41198         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
41199         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41200         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41201         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
41202         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
41203         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
41204         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
41205         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
41206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
41207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
41208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
41210         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
41211         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
41212         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
41213         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
41214         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
41215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
41216         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
41217         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
41218         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
41219         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
41220         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41221         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
41222         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
41223         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41224         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
41225         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41226         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
41228 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
41230         [BZ #16041]
41231         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
41232         make result into a quiet NaN.
41234 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
41236         * soft-fp/adddf3.c: Fix horizontal whitespace.
41237         * soft-fp/addsf3.c: Likewise.
41238         * soft-fp/addtf3.c: Likewise.
41239         * soft-fp/divdf3.c: Likewise.
41240         * soft-fp/divsf3.c: Likewise.
41241         * soft-fp/divtf3.c: Likewise.
41242         * soft-fp/double.h: Likewise.
41243         * soft-fp/eqdf2.c: Likewise.
41244         * soft-fp/eqsf2.c: Likewise.
41245         * soft-fp/eqtf2.c: Likewise.
41246         * soft-fp/extenddftf2.c: Likewise.
41247         * soft-fp/extended.h: Likewise.
41248         * soft-fp/extendsfdf2.c: Likewise.
41249         * soft-fp/extendsftf2.c: Likewise.
41250         * soft-fp/extendxftf2.c: Likewise.
41251         * soft-fp/fixdfdi.c: Likewise.
41252         * soft-fp/fixdfsi.c: Likewise.
41253         * soft-fp/fixdfti.c: Likewise.
41254         * soft-fp/fixsfdi.c: Likewise.
41255         * soft-fp/fixsfsi.c: Likewise.
41256         * soft-fp/fixsfti.c: Likewise.
41257         * soft-fp/fixtfdi.c: Likewise.
41258         * soft-fp/fixtfsi.c: Likewise.
41259         * soft-fp/fixtfti.c: Likewise.
41260         * soft-fp/fixunsdfdi.c: Likewise.
41261         * soft-fp/fixunsdfsi.c: Likewise.
41262         * soft-fp/fixunsdfti.c: Likewise.
41263         * soft-fp/fixunssfdi.c: Likewise.
41264         * soft-fp/fixunssfsi.c: Likewise.
41265         * soft-fp/fixunssfti.c: Likewise.
41266         * soft-fp/fixunstfdi.c: Likewise.
41267         * soft-fp/fixunstfsi.c: Likewise.
41268         * soft-fp/fixunstfti.c: Likewise.
41269         * soft-fp/floatdidf.c: Likewise.
41270         * soft-fp/floatdisf.c: Likewise.
41271         * soft-fp/floatditf.c: Likewise.
41272         * soft-fp/floatsidf.c: Likewise.
41273         * soft-fp/floatsisf.c: Likewise.
41274         * soft-fp/floatsitf.c: Likewise.
41275         * soft-fp/floattidf.c: Likewise.
41276         * soft-fp/floattisf.c: Likewise.
41277         * soft-fp/floattitf.c: Likewise.
41278         * soft-fp/floatundidf.c: Likewise.
41279         * soft-fp/floatundisf.c: Likewise.
41280         * soft-fp/floatunditf.c: Likewise.
41281         * soft-fp/floatunsidf.c: Likewise.
41282         * soft-fp/floatunsisf.c: Likewise.
41283         * soft-fp/floatunsitf.c: Likewise.
41284         * soft-fp/floatuntidf.c: Likewise.
41285         * soft-fp/floatuntisf.c: Likewise.
41286         * soft-fp/floatuntitf.c: Likewise.
41287         * soft-fp/fmadf4.c: Likewise.
41288         * soft-fp/fmasf4.c: Likewise.
41289         * soft-fp/fmatf4.c: Likewise.
41290         * soft-fp/gedf2.c: Likewise.
41291         * soft-fp/gesf2.c: Likewise.
41292         * soft-fp/getf2.c: Likewise.
41293         * soft-fp/ledf2.c: Likewise.
41294         * soft-fp/lesf2.c: Likewise.
41295         * soft-fp/letf2.c: Likewise.
41296         * soft-fp/muldf3.c: Likewise.
41297         * soft-fp/mulsf3.c: Likewise.
41298         * soft-fp/multf3.c: Likewise.
41299         * soft-fp/negdf2.c: Likewise.
41300         * soft-fp/negsf2.c: Likewise.
41301         * soft-fp/negtf2.c: Likewise.
41302         * soft-fp/op-1.h: Likewise.
41303         * soft-fp/op-2.h: Likewise.
41304         * soft-fp/op-4.h: Likewise.
41305         * soft-fp/op-8.h: Likewise.
41306         * soft-fp/op-common.h: Likewise.
41307         * soft-fp/quad.h: Likewise.
41308         * soft-fp/single.h: Likewise.
41309         * soft-fp/soft-fp.h: Likewise.
41310         * soft-fp/sqrtdf2.c: Likewise.
41311         * soft-fp/sqrtsf2.c: Likewise.
41312         * soft-fp/sqrttf2.c: Likewise.
41313         * soft-fp/subdf3.c: Likewise.
41314         * soft-fp/subsf3.c: Likewise.
41315         * soft-fp/subtf3.c: Likewise.
41316         * soft-fp/truncdfsf2.c: Likewise.
41317         * soft-fp/trunctfdf2.c: Likewise.
41318         * soft-fp/trunctfsf2.c: Likewise.
41319         * soft-fp/trunctfxf2.c: Likewise.
41320         * soft-fp/unorddf2.c: Likewise.
41321         * soft-fp/unordsf2.c: Likewise.
41322         * soft-fp/unordtf2.c: Likewise.
41324 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
41326         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
41327         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
41329 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
41331         * elf/dl-libc.c: Clear initfini list after freeing.
41333 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
41335         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
41336         * soft-fp/addsf3.c: Likewise.
41337         * soft-fp/addtf3.c: Likewise.
41338         * soft-fp/divdf3.c: Likewise.
41339         * soft-fp/divsf3.c: Likewise.
41340         * soft-fp/divtf3.c: Likewise.
41341         * soft-fp/double.h: Likewise.
41342         * soft-fp/eqdf2.c: Likewise.
41343         * soft-fp/eqsf2.c: Likewise.
41344         * soft-fp/eqtf2.c: Likewise.
41345         * soft-fp/extenddftf2.c: Likewise.
41346         * soft-fp/extended.h: Likewise.
41347         * soft-fp/extendsfdf2.c: Likewise.
41348         * soft-fp/extendsftf2.c: Likewise.
41349         * soft-fp/extendxftf2.c: Likewise.
41350         * soft-fp/fixdfdi.c: Likewise.
41351         * soft-fp/fixdfsi.c: Likewise.
41352         * soft-fp/fixdfti.c: Likewise.
41353         * soft-fp/fixsfdi.c: Likewise.
41354         * soft-fp/fixsfsi.c: Likewise.
41355         * soft-fp/fixsfti.c: Likewise.
41356         * soft-fp/fixtfdi.c: Likewise.
41357         * soft-fp/fixtfsi.c: Likewise.
41358         * soft-fp/fixtfti.c: Likewise.
41359         * soft-fp/fixunsdfdi.c: Likewise.
41360         * soft-fp/fixunsdfsi.c: Likewise.
41361         * soft-fp/fixunsdfti.c: Likewise.
41362         * soft-fp/fixunssfdi.c: Likewise.
41363         * soft-fp/fixunssfsi.c: Likewise.
41364         * soft-fp/fixunssfti.c: Likewise.
41365         * soft-fp/fixunstfdi.c: Likewise.
41366         * soft-fp/fixunstfsi.c: Likewise.
41367         * soft-fp/fixunstfti.c: Likewise.
41368         * soft-fp/floatdidf.c: Likewise.
41369         * soft-fp/floatdisf.c: Likewise.
41370         * soft-fp/floatditf.c: Likewise.
41371         * soft-fp/floatsidf.c: Likewise.
41372         * soft-fp/floatsisf.c: Likewise.
41373         * soft-fp/floatsitf.c: Likewise.
41374         * soft-fp/floattidf.c: Likewise.
41375         * soft-fp/floattisf.c: Likewise.
41376         * soft-fp/floattitf.c: Likewise.
41377         * soft-fp/floatundidf.c: Likewise.
41378         * soft-fp/floatundisf.c: Likewise.
41379         * soft-fp/floatunsidf.c: Likewise.
41380         * soft-fp/floatunsisf.c: Likewise.
41381         * soft-fp/floatuntidf.c: Likewise.
41382         * soft-fp/floatuntisf.c: Likewise.
41383         * soft-fp/floatuntitf.c: Likewise.
41384         * soft-fp/fmadf4.c: Likewise.
41385         * soft-fp/fmasf4.c: Likewise.
41386         * soft-fp/fmatf4.c: Likewise.
41387         * soft-fp/gedf2.c: Likewise.
41388         * soft-fp/gesf2.c: Likewise.
41389         * soft-fp/getf2.c: Likewise.
41390         * soft-fp/ledf2.c: Likewise.
41391         * soft-fp/lesf2.c: Likewise.
41392         * soft-fp/letf2.c: Likewise.
41393         * soft-fp/muldf3.c: Likewise.
41394         * soft-fp/mulsf3.c: Likewise.
41395         * soft-fp/multf3.c: Likewise.
41396         * soft-fp/negdf2.c: Likewise.
41397         * soft-fp/negsf2.c: Likewise.
41398         * soft-fp/negtf2.c: Likewise.
41399         * soft-fp/op-1.h: Likewise.
41400         * soft-fp/op-2.h: Likewise.
41401         * soft-fp/op-4.h: Likewise.
41402         * soft-fp/op-8.h: Likewise.
41403         * soft-fp/op-common.h: Likewise.
41404         * soft-fp/quad.h: Likewise.
41405         * soft-fp/single.h: Likewise.
41406         * soft-fp/soft-fp.h: Likewise.
41407         * soft-fp/sqrtdf2.c: Likewise.
41408         * soft-fp/sqrtsf2.c: Likewise.
41409         * soft-fp/sqrttf2.c: Likewise.
41410         * soft-fp/subdf3.c: Likewise.
41411         * soft-fp/subsf3.c: Likewise.
41412         * soft-fp/subtf3.c: Likewise.
41413         * soft-fp/truncdfsf2.c: Likewise.
41414         * soft-fp/trunctfdf2.c: Likewise.
41415         * soft-fp/trunctfsf2.c: Likewise.
41416         * soft-fp/trunctfxf2.c: Likewise.
41417         * soft-fp/unorddf2.c: Likewise.
41418         * soft-fp/unordsf2.c: Likewise.
41419         * soft-fp/unordtf2.c: Likewise.
41421 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
41423         [BZ #15672]
41424         * misc/error.c (error_tail): Fix possible buffer overflow.
41426 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
41428         [BZ #13028]
41429         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
41430         address.
41432 2013-10-14  P. J. McDermott  <pj@pehjota.net>
41434         [BZ #832]
41435         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
41436         testing pipefail option.
41438 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41440         * soft-fp/double.h: Indent preprocessor directives inside #if.
41441         * soft-fp/extended.h: Likewise.
41442         * soft-fp/op-2.h: Likewise.
41443         * soft-fp/op-4.h: Likewise.
41444         * soft-fp/op-common.h: Likewise.
41445         * soft-fp/quad.h: Likewise.
41446         * soft-fp/single.h: Likewise.
41447         * soft-fp/soft-fp.h: Likewise.
41449 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
41451         * iconv/iconv_prog.c: Fix typos.
41452         * stdio-common/psiginfo-data.h: Likewise.
41454 2013-10-12   Reuben Thomas <rrt@sc3d.org>
41456         [BZ #15764]
41457         * locale/setlocale.c: Fix typo.
41459 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
41461         [BZ #16036]
41462         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
41463         signaling NaN arguments.
41464         * soft-fp/unordsf2.c (__unordsf2): Likewise.
41465         * soft-fp/unordtf2.c (__unordtf2): Likewise.
41467         [BZ #14910]
41468         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
41469         unordered operands.
41470         * soft-fp/gesf2.c (__gesf2): Likewise.
41471         * soft-fp/getf2.c (__getf2): Likewise.
41472         * soft-fp/ledf2.c (__ledf2): Likewise.
41473         * soft-fp/lesf2.c (__lesf2): Likewise.
41474         * soft-fp/letf2.c (__letf2): Likewise.
41476         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
41477         * soft-fp/eqsf2.c (__eqsf2): Likewise.
41478         * soft-fp/eqtf2.c (__eqtf2): Likewise.
41479         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
41480         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
41481         * soft-fp/fixdfti.c (__fixdfti): Likewise.
41482         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
41483         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
41484         * soft-fp/fixsfti.c (__fixsfti): Likewise.
41485         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
41486         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
41487         * soft-fp/fixtfti.c (__fixtfti): Likewise.
41488         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
41489         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
41490         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
41491         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
41492         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
41493         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
41494         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
41495         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
41496         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
41497         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
41498         * soft-fp/floatdisf.c (__floatdisf): Likewise.
41499         * soft-fp/floatsisf.c (__floatsisf): Likewise.
41500         * soft-fp/floattidf.c (__floattidf): Likewise.
41501         * soft-fp/floattisf.c (__floattisf): Likewise.
41502         * soft-fp/floattitf.c (__floattitf): Likewise.
41503         * soft-fp/floatundidf.c (__floatundidf): Likewise.
41504         * soft-fp/floatundisf.c (__floatundisf): Likewise.
41505         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
41506         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
41507         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
41508         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
41509         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
41510         * soft-fp/gesf2.c (__gesf2): Likewise.
41511         * soft-fp/getf2.c (__getf2): Likewise.
41512         * soft-fp/ledf2.c (__ledf2): Likewise.
41513         * soft-fp/lesf2.c (__lesf2): Likewise.
41514         * soft-fp/letf2.c (__letf2): Likewise.
41516         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
41517         Undefine and redefine.
41518         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
41519         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
41520         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
41521         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
41522         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41523         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
41524         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41525         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
41526         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41527         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
41528         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41529         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
41530         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41531         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
41532         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
41534         [BZ #16032]
41535         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
41536         without decrementing exponent if mantissa >= that for the
41537         denominator, not >.
41538         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
41539         denominator, not >.  Decrement exponent in < case instead of
41540         incrementing in >= case.
41541         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
41542         without decrementing exponent if mantissa >= that for the
41543         denominator, not >.
41545         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
41546         computing saturated result for unsigned overflow.
41548 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41549             Jeff Law  <law@redhat.com>
41551         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
41552         (atan2Mp): Add systemtap probe marker.
41553         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
41554         (__ieee754_log): Add systemtap probe marker.
41555         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
41556         (atanMp): Add systemtap probe marker.
41557         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
41558         (tanMp): Add systemtap probe marker.
41559         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
41560         (__slowexp): Add systemtap probe marker.
41561         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
41562         (__slowpow): Add systemtap probe marker.
41563         * manual/probes.texi: Document probes.
41565 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
41567         [BZ #15362]
41568         * libio/fileops.c (_IO_new_file_write): Return count of bytes
41569         written.
41570         (_IO_new_file_xsputn): Don't return EOF if nothing has been
41571         written.
41572         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
41573         written to buffer but not flushed.
41574         * libio/iofwrite_u.c:  Likewise.
41575         * libio/iopadn.c:  Return bytes returned even if EOF was
41576         encountered.
41577         * libio/iowpadn.c:  Likewise.
41578         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
41579         if _IO_padn does not write the whole buffer.
41580         [!COMPILE_WPRINTF] (PAD): Likewise.
41582 2013-10-10  David S. Miller  <davem@davemloft.net>
41584         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
41585         directory block.
41587 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41589         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
41590         instead of FSF address.
41591         * soft-fp/fixdfti.c: Likewise.
41592         * soft-fp/fixsfti.c: Likewise.
41593         * soft-fp/fixtfti.c: Likewise.
41594         * soft-fp/fixunsdfti.c: Likewise.
41595         * soft-fp/fixunssfti.c: Likewise.
41596         * soft-fp/fixunstfti.c: Likewise.
41597         * soft-fp/floattidf.c: Likewise.
41598         * soft-fp/floattisf.c: Likewise.
41599         * soft-fp/floattitf.c: Likewise.
41600         * soft-fp/floatuntidf.c: Likewise.
41601         * soft-fp/floatuntisf.c: Likewise.
41602         * soft-fp/floatuntitf.c: Likewise.
41603         * soft-fp/trunctfxf2.c: Likewise.
41605         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
41606         * soft-fp/fixdfti.c: Likewise.
41607         * soft-fp/fixsfti.c: Likewise.
41608         * soft-fp/fixtfti.c: Likewise.
41609         * soft-fp/fixunsdfti.c: Likewise.
41610         * soft-fp/fixunssfti.c: Likewise.
41611         * soft-fp/fixunstfti.c: Likewise.
41612         * soft-fp/floattidf.c: Likewise.
41613         * soft-fp/floattisf.c: Likewise.
41614         * soft-fp/floattitf.c: Likewise.
41615         * soft-fp/floatuntidf.c: Likewise.
41616         * soft-fp/floatuntisf.c: Likewise.
41617         * soft-fp/floatuntitf.c: Likewise.
41618         * soft-fp/trunctfxf2.c: Likewise.
41620 2013-10-10  David S. Miller  <davem@davemloft.net>
41622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41624 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
41626         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41627         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
41628         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
41629         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
41630         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
41631         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
41632         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
41634         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
41635         for NaNs before doing comparisons on argument.
41636         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
41637         Likewise.
41639 2013-10-10  Will Newton  <will.newton@linaro.org>
41641         * malloc/hooks.c (memalign_check): Ensure the value of bytes
41642         passed to _int_memalign does not overflow.
41644 2013-10-10  Torvald Riegel  <triegel@redhat.com>
41646         * scripts/bench.pl: Add include-sources directive.
41647         * benchtests/README: Update documentation.
41649 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
41651         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
41652         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
41653         instead of FP_INIT_ROUNDMODE.
41654         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
41655         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
41657         [BZ #16034]
41658         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
41659         copy class of input value.
41660         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
41661         not handle exceptions.
41662         * soft-fp/negsf2.c (__negsf2): Likewise.
41663         * soft-fp/negtf2.c (__negtf2): Likewise.
41664         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
41666 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
41668         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
41669         semicolon.  From Linux kernel.
41671 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
41673         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
41675 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
41677         [BZ #156]
41678         * manual/socket.texi: Added statement about buffer
41679         for gethostbyname2_r.
41681 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
41683         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
41684         Use .p2align directive instead, throughout.
41685         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41686         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
41687         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
41688         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41689         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41690         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
41691         * sysdeps/x86_64/strchr.S: Likewise.
41692         * sysdeps/x86_64/strrchr.S: Likewise.
41694 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
41696         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
41698         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
41700         * sysdeps/generic/math_private.h (__mpsin1): Remove
41701         declaration.
41702         (__mpcos1): Likewise.
41703         (__mpsin): New argument __range_reduce.
41704         (__mpcos): Likewise.
41705         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41706         (slow): Use __mpsin and __mpcos.
41707         (slow1): Likewise.
41708         (slow2): Likewise.
41709         (sloww): Likewise.
41710         (sloww1): Likewise.
41711         (sloww2): Likewise.
41712         (bsloww): Likewise.
41713         (bsloww1): Likewise.
41714         (bsloww2): Likewise.
41715         (cslow2): Likewise.
41716         (csloww): Likewise.
41717         (csloww1): Likewise.
41718         (csloww2): Likewise.
41719         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
41720         range_reduce.  Merge in __mpsin1.
41721         (__mpcos): Likewise.
41722         (__mpsin1): Remove.
41723         (__mpcos1): Likewise.
41725 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
41727         * locale/loadlocale.c (_nl_intern_locale_data): Use
41728         LOCFILE_ALIGNED_P.
41729         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
41730         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
41731         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
41732         obstack data is appropriately aligned.
41733         (obstack_int32_grow_fast): Likewise.
41734         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
41735         * locale/programs/locfile.c (add_locale_uint32): Likewise.
41736         (add_locale_uint32_array): Likewise.
41738 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41740         * benchtests/Makefile: Remove ARGLIST and RET variables.
41741         ($(objpfx)bench-%.c): Pass only function name to the script.
41742         * benchtests/README: Update documentation.
41743         * benchtests/acos-inputs: Add new directives.
41744         * benchtests/acosh-inputs: Likewise.
41745         * benchtests/asin-inputs: Likewise.
41746         * benchtests/asinh-inputs: Likewise.
41747         * benchtests/atan-inputs: Likewise.
41748         * benchtests/atanh-inputs: Likewise.
41749         * benchtests/cos-inputs: Likewise.
41750         * benchtests/cosh-inputs: Likewise.
41751         * benchtests/exp-inputs: Likewise.
41752         * benchtests/log-inputs: Likewise.
41753         * benchtests/pow-inputs: Likewise.
41754         * benchtests/rint-inputs: Likewise.
41755         * benchtests/sin-inputs: Likewise.
41756         * benchtests/sinh-inputs: Likewise.
41757         * benchtests/tan-inputs: Likewise.
41758         * benchtests/tanh-inputs: Likewise.
41759         * scripts/bench.pl: Add support for new directives.
41761 2013-10-07  Alan Modra  <amodra@gmail.com>
41763         * README: Fix careless merge.
41765 2013-10-05  Alan Modra  <amodra@gmail.com>
41767         * NEWS: Mention powerpc64le support and bugs fixed.
41768         * README: Both big-endian and little-endian powerpc64 supported.
41770 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41772         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
41773         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
41774         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
41775         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
41777 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
41779         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
41780         match prototype.
41782 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
41784         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
41785         Move -mhard-float appending from
41786         ports/sysdeps/powerpc/powerpc32/Makefile.
41787         [$(with-fp) = yes] (ASFLAGS): Likewise.
41788         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
41789         * sysdeps/powerpc/nofpu: Move directory from
41790         ports/sysdeps/powerpc/nofpu.
41791         * sysdeps/powerpc/soft-fp: Move directory from
41792         ports/sysdeps/powerpc/soft-fp.
41793         * sysdeps/powerpc/powerpc32/405: Move directory from
41794         ports/sysdeps/powerpc/powerpc32/405.
41795         * sysdeps/powerpc/powerpc32/440: Move directory from
41796         ports/sysdeps/powerpc/powerpc32/440.
41797         * sysdeps/powerpc/powerpc32/464: Move directory from
41798         ports/sysdeps/powerpc/powerpc32/464.
41799         * sysdeps/powerpc/powerpc32/476: Move directory from
41800         ports/sysdeps/powerpc/powerpc32/476.
41801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
41802         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
41803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
41804         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
41805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
41806         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
41807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
41808         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
41809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
41810         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
41811         * README: Update for powerpc-*-linux-gnu software floating point
41812         support in libc.
41814         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
41815         case to powerpc/powerpc32*.
41816         * sysdeps/unix/sysv/linux/configure: Regenerated.
41818         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
41819         (_FPU_MASK_OM): Define as 0x04.
41820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
41821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
41822         0x00c10080.
41823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
41824         0x0000003c.
41825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
41827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
41828         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41829         getcontext_e500.
41830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
41831         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
41832         setcontext_e500.
41833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
41834         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
41835         and setcontext_e500.
41837 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
41839         * locale/iso-3166.def: Update iso-1366.def and related occurrences
41841 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41843         * manual/threads.texi (Default Thread Attributes): Fix typo.
41845 2013-10-04  Will Newton  <will.newton@linaro.org>
41847         * malloc/Makefile: Add tst-memalign.
41848         * malloc/tst-memalign.c: New file.
41850         * malloc/tst-posix_memalign.c: Add comments.
41851         (do_test): Add comments and call free on all potentially
41852         allocated pointers. Add space after cast.
41854         * malloc/tst-pvalloc.c: Add comments.
41855         (do_test): Add comments and call free on all potentially
41856         allocated pointers. Remove duplicate check for NULL pointer.
41857         Add space after cast.
41859         * malloc/tst-valloc.c: Add comments.
41860         (do_test): Add comments and call free on all potentially
41861         allocated pointers. Remove duplicate check for NULL pointer.
41862         Add space after cast.
41864 2013-10-04  Alan Modra  <amodra@gmail.com>
41866         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41867         Use stdint types in rather than __attribute__((mode())).
41868         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41870 2013-10-04  Alan Modra  <amodra@gmail.com>
41872         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
41873         Correct handling of unaligned relocs for little-endian.
41874         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
41876 2013-10-04  Alan Modra  <amodra@gmail.com>
41878         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
41879         * configure: Regenerate.
41880         * nptl/shlib-versions: Powerpc*le starts at 2.18.
41881         * shlib-versions: Likewise.
41883 2013-10-04  Alan Modra  <amodra@gmail.com>
41885         * string/tester.c (test_memrchr): Increment reported test cycle.
41887 2013-10-04  Alan Modra  <amodra@gmail.com>
41889         * string/test-memcpy.c (do_one_test): When reporting errors, print
41890         string address and don't overrun end of string.
41892 2013-10-04  Alan Modra  <amodra@gmail.com>
41894         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
41895         insrdi.  Make better use of reg selection to speed exit slightly.
41896         Schedule entry path a little better.  Remove useless "are we done"
41897         checks on entry to main loop.  Handle wrapping around zero address.
41898         Correct main loop count.  Handle single left-over word from main
41899         loop inline rather than by using loop_small.  Remove extra word
41900         case in loop_small caused by wrong loop count.  Add little-endian
41901         support.
41902         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41903         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
41904         cache hint.
41905         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41906         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
41907         support.  Avoid rlwimi.
41908         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
41910 2013-10-04  Alan Modra  <amodra@gmail.com>
41912         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
41913         insrdi.  Formatting.
41914         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
41915         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
41916         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
41917         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
41918         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
41919         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
41921 2013-10-04  Alan Modra  <amodra@gmail.com>
41923         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
41924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41925         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
41926         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
41927         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41928         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41929         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41930         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
41931         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
41932         use of regs.  Use power7 mtocrf.  Tidy function tails.
41934 2013-10-04  Alan Modra  <amodra@gmail.com>
41936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
41937         Formatting.  Consistently use rXXX register defines or rN defines.
41938         Use early exit labels that avoid restoring unused non-volatile regs.
41939         Make cr field use more consistent with rWORDn compares.  Rename
41940         regs used as shift registers for unaligned loop, using rN defines
41941         for short lifetime/multiple use regs.
41942         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41943         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
41944         addi 1,1,64 to pop stack frame.  Simplify return value code.
41945         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41947 2013-10-04  Alan Modra  <amodra@gmail.com>
41949         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
41950         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
41951         rather than rlwimi.
41952         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
41953         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
41954         little-endian support.  Correct typos.
41955         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
41956         rather than rlwimi.
41957         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
41958         in loop and entry code to keep "and." results.
41959         (strchr): Add little-endian support.  Comment.  Move cntlzd
41960         earlier in tail.
41961         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
41963 2013-10-04  Alan Modra  <amodra@gmail.com>
41965         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
41966         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
41967         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
41968         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
41970 2013-10-04  Alan Modra  <amodra@gmail.com>
41972         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
41973         (rTMP): Define as r11.
41974         (strcmp): Add little-endian support.  Optimise tail.
41975         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
41976         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41977         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41978         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41979         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41980         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41981         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41983 2013-10-04  Alan Modra  <amodra@gmail.com>
41985         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
41986         little-endian support.  Remove unnecessary "are we done" tests.
41987         Handle "s" wrapping around zero and extremely large "size".
41988         Correct main loop count.  Handle single left-over word from main
41989         loop inline rather than by using small_loop.  Correct comments.
41990         Delete "zero" tail, use "end_max" instead.
41991         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
41993 2013-10-04  Alan Modra  <amodra@gmail.com>
41995         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
41996         support.  Don't branch over align.
41997         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
41998         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
41999         support.  Rearrange tmp reg use to suit.  Comment.
42000         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
42002 2013-10-04  Alan Modra  <amodra@gmail.com>
42004         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
42006 2013-10-04  Alan Modra  <amodra@gmail.com>
42008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
42009         conditional form of branch and link when obtaining pc.
42010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
42012 2013-10-04  Alan Modra  <amodra@gmail.com>
42014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
42015         HIWORD/LOWORD.
42016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
42017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
42019 2013-10-04  Alan Modra  <amodra@gmail.com>
42021         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
42022         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
42023         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42024         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
42025         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42026         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42027         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
42028         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42029         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42030         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
42032 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42033             Alistair Popple <alistair@ozlabs.au.ibm.com>
42034             Alan Modra <amodra@gmail.com>
42036         [BZ #15723]
42037         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
42038         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
42039         _dl_hwcap access for little-endian.
42040         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
42041         destroy vmx regs when saving unaligned.
42042         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
42043         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
42044         destroy vmx regs when saving unaligned.
42046 2013-10-04  Alan Modra  <amodra@gmail.com>
42048         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
42049         Don't use a union to pack hi/low value.
42051 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42053         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
42054         for little-endian.
42055         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
42056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
42057         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
42058         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
42059         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
42061 2013-10-04  Alan Modra  <amodra@gmail.com>
42063         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
42064         constants to usual value for .cst8 section, and remove redundant
42065         high address load.
42066         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
42067         constant for 0x1p52.  Load little-endian words of double from
42068         correct stack offsets.
42070 2013-10-04  Alan Modra  <amodra@gmail.com>
42072         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
42073         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
42074         words of double from correct stack offsets.
42075         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
42076         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
42077         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
42078         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
42079         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
42080         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
42081         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
42082         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
42083         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
42084         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
42085         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
42086         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
42087         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
42088         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
42089         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
42090         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
42091         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
42093 2013-10-04  Alan Modra  <amodra@gmail.com>
42095         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
42096         64-bit int/double union.
42097         (_FPU_SETCW): Likewise.
42098         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
42099         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
42101 2013-10-04  Alan Modra  <amodra@gmail.com>
42103         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
42104         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
42106 2013-10-04  Alan Modra  <amodra@gmail.com>
42108         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
42109         use vector int constants.
42110         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
42112 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42114         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
42115         array with long long.
42116         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
42117         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
42118         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
42119         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
42120         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
42121         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
42122         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
42123         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
42124         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
42125         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
42126         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
42127         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
42128         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
42130 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
42132         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
42133         (__signbit): Likewise.  Correct for little-endian.
42134         (__signbitl): Call __signbit.
42135         (lrint): Correct for little-endian.
42136         (lrintf): Call lrint.
42138 2013-10-04  Alan Modra  <amodra@gmail.com>
42140         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
42141         union 32-bit int array member with 64-bit int array.
42142         (t515, tm256): Double rather than long double.
42143         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
42145 2013-10-04  Alan Modra  <amodra@gmail.com>
42147         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
42148         Delete.
42149         (IEEE854_LONG_DOUBLE_BIAS): Delete.
42150         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
42151         version of math_ldbl.h.
42153 2013-10-04  Alan Modra  <amodra@gmail.com>
42155         [BZ #15734], [BZ #15735]
42156         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
42157         all uses of ieee875 long double macros and unions.  Simplify test
42158         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
42159         ldbl_extract_mantissa value for ix,iy exponents.  Properly
42160         normalize after ldbl_extract_mantissa, and don't add hidden bit
42161         already handled.  Don't treat low word of ieee854 mantissa like
42162         low word of IBM long double and mask off bit when testing for
42163         zero.
42164         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
42165         all uses of ieee875 long double macros and unions.  Simplify tests
42166         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
42167         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
42168         two1022, instead use their values.  Recognise that tests for large
42169         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
42170         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
42171         Rewrite all uses of ieee875 long double macros and unions.  Simplify
42172         test for 0.0L and nan.  Correct negation.
42173         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
42174         ieee875 long double macros and unions.  Correct output for large
42175         magnitude x.  Correct absolute value calculation.
42176         (__erfcl): Likewise.
42177         * math/libm-test.inc: Add tests for errors discovered in IBM long
42178         double versions of fmodl, remainderl, erfl and erfcl.
42180 2013-10-04  Alan Modra  <amodra@gmail.com>
42182         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
42183         all uses of ieee854 long double macros and unions.  Simplify tests
42184         for long doubles that are fully specified by the high double.
42185         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
42186         Likewise.
42187         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
42188         Remove dead code too.
42189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
42190         (__ieee754_ynl): Likewise.
42191         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
42192         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
42193         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
42194         Remove dead code too.
42195         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
42196         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
42197         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
42198         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
42199         Simplify.
42200         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
42201         Simplify.
42202         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
42203         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
42204         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
42205         Comment on variable precision.
42206         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
42207         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42208         Likewise.
42209         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
42210         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
42211         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
42212         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
42213         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
42215 2013-10-04  Alan Modra  <amodra@gmail.com>
42217         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
42218         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
42219         all uses of ieee854 long double macros and unions.
42220         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
42221         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42222         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
42223         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
42224         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
42225         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42226         Likewise.
42227         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
42228         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42229         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
42230         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42231         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
42232         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
42233         Simplify sign and nan test too.
42234         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
42235         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
42236         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
42237         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
42238         Likewise.
42239         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42240         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
42241         Likewise.
42242         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42243         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
42244         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
42245         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
42246         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
42247         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
42249 2013-10-04  Alan Modra  <amodra@gmail.com>
42251         * stdio-common/printf_size.c (__printf_size): Don't use
42252         union ieee854_long_double in fpnum union.
42253         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
42254         signbit macro to retrieve sign from long double.
42255         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
42256         retrieve sign from long double.
42257         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
42258         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
42259         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
42260         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
42261         * math/test-misc.c (main): Don't use union ieee854_long_double.
42263 2013-10-04  Alan Modra  <amodra@gmail.com>
42265         [BZ #15680]
42266         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
42267         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
42268         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
42269         calculation.  Remove unnecessary test for denormal exponent.
42270         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
42271         Correct handling of denormals.  Avoid undefined shift behaviour.
42272         Correct normalisation of low mantissa when low double is denormal.
42273         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
42274         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
42275         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
42276         Correct normalisation of low mantissa.  Test for overflow of high
42277         mantissa and normalise.
42278         (ldbl_nearbyint): Use more readable constant for two52.
42279         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
42280         (__mpn_construct_long_double): Fix test for overflow of high
42281         mantissa and correct normalisation.  Avoid undefined shift.
42283 2013-10-04  Alan Modra  <amodra@gmail.com>
42285         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
42286         (union ibm_extended_long_double): Define as an array of ieee754_double.
42287         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
42288         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
42289         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
42290         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42291         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42292         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
42293         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
42294         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
42295         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42296         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
42297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
42299 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
42301         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
42302         page size instead of calling getpagesize.
42304         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
42305         (LOCFILE_ALIGN_MASK): Likewise.
42306         (LOCFILE_ALIGN_UP): Likewise.
42307         (LOCFILE_ALIGNED_P): Likewise.
42308         * locale/programs/ld-collate.c (collate_output): Use the new
42309         macros instead of __alignof__ (int32_t).
42310         * locale/weight.h (findidx): Likewise.
42312 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
42314         [BZ #431]
42315         * manual/string.texi: Fix strncat and wcsncat.
42317 2013-10-03  Brooks Moses  <bmoses@google.com>
42319         [BZ #15915]
42320         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
42321         * Makerules: ...here, and adjust associated comments.
42323 2013-10-02  Will Newton  <will.newton@linaro.org>
42325         * malloc/Makefile: Add tst-pvalloc.
42326         * malloc/tst-pvalloc.c: New file.
42328 2013-10-02  Will Newton  <will.newton@linaro.org>
42330         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
42331         improve test coverage.
42333 2013-10-02  Will Newton  <will.newton@linaro.org>
42335         * malloc/Makefile: Add tst-posix_memalign.
42336         * malloc/tst-posix_memalign.c: New file.
42338 2013-10-01  Eric Blake  <eblake@redhat.com>
42340         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
42341         Use __THROWNL rather than __THROW on static functions.
42343 2013-09-30  Petr Machata  <pmachata@redhat.com>
42345         * elf/elf.h (R_AARCH64_ABS16): New macro.
42346         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
42347         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
42348         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
42349         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
42350         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
42351         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
42352         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
42353         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
42354         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
42355         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
42356         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
42357         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
42358         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
42359         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
42360         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
42361         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
42362         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
42363         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
42364         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
42365         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
42366         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
42367         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
42368         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
42369         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
42370         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
42371         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
42372         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
42373         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
42374         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
42375         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
42376         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
42377         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
42378         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
42379         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
42380         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
42381         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
42382         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
42383         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
42384         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
42385         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
42386         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
42387         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
42388         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
42389         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
42390         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
42391         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
42392         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
42393         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
42394         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
42395         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
42396         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
42397         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
42398         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
42399         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
42400         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
42401         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
42402         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
42403         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
42404         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
42405         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
42406         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
42407         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
42408         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
42409         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
42410         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
42411         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
42412         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
42413         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
42414         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
42415         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
42416         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
42417         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
42418         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
42419         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
42420         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
42421         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
42422         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
42423         (R_AARCH64_TLSDESC_LDR): Likewise.
42424         (R_AARCH64_TLSDESC_ADD): Likewise.
42425         (R_AARCH64_TLSDESC_CALL): Likewise.
42427 2013-09-30  Andreas Schwab  <schwab@suse.de>
42429         [BZ #15048]
42430         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
42431         the nss database lookup.
42432         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42433         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42435 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
42437         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
42439 2013-09-28  P. J. McDermott  <pj@pehjota.net>
42441         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
42442         ${Bash-specific parameter/pattern/string} parameter expansion.
42443         * sysdeps/unix/make-syscalls.sh: Likewise.
42445 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42447         * sysdeps/sh/stackguard-macros.h: New file.
42449 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
42451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42452         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
42453         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
42454         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
42455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42456         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
42458 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42460         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
42461         Fix thread ID register.
42463 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
42465         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
42466         [POSIX || UNIX98]: Require rather than permitting all symbols from
42467         <time.h>.
42468         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
42469         element of struct sched_param.
42470         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
42471         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
42472         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
42473         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
42474         constant.
42476 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
42478         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
42479         argument calculation.
42481 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42483         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
42484         Expect macro.
42485         [POSIX] (pthread_attr_t): Do not require type.
42486         [POSIX] (pthread_cond_t): Likewise.
42487         [POSIX] (pthread_condattr_t): Likewise.
42488         [POSIX] (pthread_key_t): Likewise.
42489         [POSIX] (pthread_mutex_t): Likewise.
42490         [POSIX] (pthread_mutexattr_t): Likewise.
42491         [POSIX] (pthread_once_t): Likewise.
42492         [POSIX] (pthread_t): Likewise.
42493         [POSIX-based standards] (pthread_atfork): Expect function.
42495 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
42496             Richard Sandiford  <richard@codesourcery.com>
42498         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
42499         (swap_endianness_p): New extern variable.
42500         (set_big_endian): New inline function.
42501         (maybe_swap_uint32): Likewise.
42502         (maybe_swap_uint32_array): Likewise.
42503         (maybe_swap_uint32_obstack): Likewise.
42504         * locale/programs/locfile.c: Include <stdbool.h>.
42505         (swap_endianness_p): New variable.
42506         (add_locale_uint32): Call maybe_swap_uint32.
42507         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
42508         (write_locale_data): Call maybe_swap_uint32_array.
42509         * locale/programs/ld-collate.c (obstack_int32_grow): Call
42510         maybe_swap_uint32.
42511         (obstack_int32_grow_fast): Likewise.
42512         (output_weightwc): Call maybe_swap_uint32_obstack.
42513         (collate_output): Likewise.
42514         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
42515         (OPT_LITTLE_ENDIAN): Likewise.
42516         (options): Add --little-endian and --big-endian options.
42517         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
42518         * locale/programs/locarchive.c: Include "locfile.h".
42519         (GET): New macro.
42520         (SET): Likewise.
42521         (INC): Likewise.
42522         (create_archive): Use the new macros to access fields of
42523         structures directly mapped from or written to locale archives.
42524         (oldlocrecentcmp): Likewise.
42525         (enlarge_archive): Likewise.
42526         (insert_name): Likewise.
42527         (add_alias): Likewise.
42528         (add_locale): Likewise.
42529         (delete_locales_from_archive): Likewise.
42530         (show_archive_content): Likewise.
42531         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
42532         locale data.
42534 2013-09-24  Roland McGrath  <roland@hack.frob.com>
42536         * manual/freemanuals.texi: Updated from (newly) canonical copy at
42537         http://www.gnu.org/doc/freemanuals.texi.
42538         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
42540 2013-09-24  Will Newton  <will.newton@linaro.org>
42542         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
42543         macro.
42545 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
42547         * locale/hashval.h (compute_hashval): Interpret bytes of key as
42548         unsigned char.
42550 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
42552         * manual/threads.texi (POSIX Threads): Fix a typo.
42554 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42556         [BZ #14547]
42557         * string/tst-strcoll-overflow.c: New test case.
42558         * string/Makefile (xtests): Add tst-strcoll-overflow.
42559         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
42560         cache if string sizes may cause integer overflow.
42562         [BZ #14547]
42563         * string/strcoll_l.c (coll_seq): New members rule, idx,
42564         save_idx and back_us.
42565         (get_next_seq_nocache): New function.
42566         (do_compare_nocache): New function.
42567         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
42568         when malloc fails.
42570 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
42572         [BZ #15754]
42573         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
42574         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
42575         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
42577         [BZ #15754]
42578         * elf/Makefile (tests): Add tst-ptrguard1.
42579         (tests-static): Add tst-ptrguard1-static.
42580         (tst-ptrguard1-ARGS): Define.
42581         (tst-ptrguard1-static-ARGS): Define.
42582         * elf/tst-ptrguard1.c: New file.
42583         * elf/tst-ptrguard1-static.c: New file.
42584         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
42585         * sysdeps/i386/stackguard-macros.h: Likewise.
42586         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42587         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42588         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42589         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42590         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42591         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42593 2013-09-23  Hector Marco  <hecmargi@upv.es>
42594             Ismael Ripoll  <iripoll@disca.upv.es>
42595             Carlos O'Donell  <carlos@redhat.com>
42597         [BZ #15754]
42598         * sysdeps/generic/stackguard-macros.h: Define
42599         __pointer_chk_guard_local and POINTER_CHK_GUARD.
42600         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
42601         Define __pointer_chk_guard_local.
42602         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
42603         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
42605 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
42607         [BZ #15859]
42608         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
42610 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
42612         * include/string.h (__ffs): Declare as hidden.
42613         * string/ffs.c (__ffs): Define as hidden.
42614         * sysdeps/i386/ffs.c (__ffs): Likewise.
42615         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
42616         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
42617         * sysdeps/s390/ffs.c (__ffs): Likewise.
42618         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
42620 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
42622         * NEWS: Mention malloc probes.
42624         * malloc/arena.c (new_heap): New memory_heap_new probe.
42625         (grow_heap): New memory_heap_more probe.
42626         (shrink_heap): New memory_heap_less probe.
42627         (heap_trim): New memory_heap_free probe.
42628         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
42629         (systrim): New memory_sbrk_less probe.
42630         * manual/probes.texi: Document them.
42632         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
42633         * manual/probes.texi: Document it.
42635         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
42636         (__libc_realloc): Add memory_realloc_retry probe.
42637         (__libc_memalign): Add memory_memalign_retry probe.
42638         (__libc_valloc): Add memory_valloc_retry probe.
42639         (__libc_pvalloc): Add memory_pvalloc_retry probe.
42640         (__libc_calloc): Add memory_calloc_retry probe.
42641         * manual/probes.texi: Document them.
42643         * malloc/arena.c (get_free_list): Add probe
42644         memory_arena_reuse_free_list.
42645         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
42646         and memory_arena_reuse.
42647         (arena_get2) [!PER_THREAD]: Likewise.
42648         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
42649         memory_arena_reuse_realloc.
42650         * manual/probes.texi: Document them.
42652         * malloc/malloc.c (__libc_free): Add
42653         memory_mallopt_free_dyn_thresholds probe.
42654         (__libc_mallopt): Add multiple memory_mallopt probes.
42655         * manual/probes.texi: Document them.
42657         * malloc/malloc.c: Include stap-probe.h.
42658         (__libc_mallopt): Add memory_mallopt probe.
42659         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
42660         * manual/probes.texi: New.
42661         * manual/Makefile (chapters): Add probes.
42662         * manual/threads.texi: Set next node.
42664 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
42666         [BZ #15963, #13985]
42667         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
42668         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
42669         Add `Chinese' to `nan' entry name.
42671 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42673         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
42674         (POLYNOMIAL): Likewise.
42675         (TAYLOR_SINCOS): Likewise.
42676         (TAYLOR_SLOW): Likewise.
42677         (__sin): Use TAYLOR_SINCOS.
42678         (__cos): Likewise.
42679         (slow): Use TAYLOR_SLOW.
42680         (sloww): Likewise.
42681         (bsloww): Likewise.
42682         (csloww): Likewise.
42684 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42686         * stdlib/strtod_l.c: Fix buffer overrun.
42688 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42690         * benchtests/Makefile (bench): Add sincos.
42691         * benchtests/bench-sincos.c: New file.
42693         * math/libm-test.inc (cos_test_data): New test inputs.
42694         (sin_test_data): Likewise.
42696         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
42697         macro.
42698         (__sin): Use it.
42699         (__cos): Likewise.
42700         (slow1): Likewise.
42701         (slow2): Likewise.
42702         (sloww1): Likewise.
42703         (sloww2): Likewise.
42704         (bsloww1): Likewise.
42705         (bsloww2): Likewise.
42706         (cslow2): Likewise.
42707         (csloww1): Likewise.
42708         (csloww2): Likewise.
42710         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
42711         function.
42712         (__sin): Use it.
42713         (__cos): Likewise.
42715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
42716         gotos.
42717         (__cos): Likewise.
42719 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
42721         * config.h.in (HAVE_MIPS_NAN2008): New macro.
42722         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
42723         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
42724         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
42725         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
42726         * elf/cache.c (print_entry): Handle the new cache flags.
42728 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42729             Aldy Hernandez  <aldyh@redhat.com>
42731         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
42732         Change condition to [_SOFT_FLOAT].
42733         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
42734         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
42735         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
42736         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
42737         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
42738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
42739         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
42740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
42741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
42742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
42743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
42744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
42745         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
42746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
42747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
42748         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
42749         declaration.
42751 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
42753         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
42754         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42755         (__longjmp): Use LOAD_GP to load saved GPRs.
42756         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
42757         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
42758         (__sigsetjmp): Use SAVE_GP to save GPRs.
42760         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
42761         Do not append -msoft-float.
42762         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
42764 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
42766         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
42768 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
42770         [BZ #15966]
42771         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
42772         (_FPU_GETCW): Use initial "__" on variable and field names but not
42773         on macro parameter name.
42774         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
42775         parentheses around reference to macro parameter.
42777 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
42779         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
42780         prototype.
42781         (ctype_startup): Use uint32_t in cast and sizeof for
42782         ctype->charnames.
42784 2013-09-11  Jia Liu  <proljc@gmail.com>
42786         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
42787         __daddr_t_defined.
42788         [__FreeBSD__]: Likewise.
42790 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
42792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
42793         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
42794         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
42795         (strchr): Remove __strchr_sse42 ifunc selection.
42796         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
42797         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
42799 2013-09-11  Will Newton  <will.newton@linaro.org>
42801         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
42802         parameter to RES. Remove hardcoded 1000 value.
42803         * benchtests/bench-skeleton.c (main): Pass RES parameter
42804         to TIMING_INIT and multiply result by 1000.
42806 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42810 2013-09-11  Andreas Schwab  <schwab@suse.de>
42812         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
42813         if not defined.
42814         (O_TMPFILE) [__USE_GNU]: Define.
42815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
42816         Define.
42818 2013-09-11  Will Newton  <will.newton@linaro.org>
42820         [BZ #15857]
42821         * malloc/malloc.c (__libc_memalign): Check the value of bytes
42822         does not overflow.
42824 2013-09-11  Will Newton  <will.newton@linaro.org>
42826         [BZ #15856]
42827         * malloc/malloc.c (__libc_valloc): Check the value of bytes
42828         does not overflow.
42830 2013-09-11  Will Newton  <will.newton@linaro.org>
42832         [BZ #15855]
42833         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
42834         does not overflow.
42836 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
42838         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
42839         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42840         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42841         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42842         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42844 2013-09-10  Allan McRae  <allan@archlinux.org>
42846         [BZ #15748]
42847         * manual/arith.texi (Parsing of Floats): Clarify
42848         cross-reference.
42850         [BZ #15849]
42851         * manual/install.texi (Running make install): Mention
42852         --enable-pt-chown.
42853         * INSTALL: Regenerated.
42855 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
42857         * csu/init-first.c (_init): Remove the !SHARED condition around
42858         FPU control word initialization.
42859         * elf/dl-support.c (_dl_fpu_control): New variable.
42860         (_dl_aux_init) <AT_FPUCW>: Initialize it.
42861         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
42862         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
42863         * math/test-fpucw-static.c: New file.
42864         * math/test-fpucw-ieee.c: New file.
42865         * math/test-fpucw-ieee-static.c: New file.
42866         * math/Makefile (tests): Add `test-fpucw-ieee' and
42867         `$(tests-static)'.
42868         (tests-static): New variable.
42869         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
42870         dependency to...
42871         [($(build-shared),yes)]
42872         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
42873         ... this.
42874         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
42875         New dependency.
42877 2013-09-09  Allan McRae  <allan@archlinux.org>
42879         [BZ #15939]
42880         * manual/string.texi (Collation Functions): Fix typo in
42881         strcoll example.
42882         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
42884         [BZ #15893]
42885         * stdlib/isomac.c (get_null_defines): Fix memory leak.
42887         [BZ #15892]
42888         * libio/memstream.c (open_memstream): Fix memory leak.
42889         * libio/wmemstream.c (open_wmemstream): Likewise.
42891         [BZ #15895]
42892         * nscd/netgroupcache.c: Fix nesting of ifdefs.
42894 2013-09-09  Will Newton  <will.newton@linaro.org>
42896         * malloc/Makefile: Add tst-realloc to tests.
42897         * malloc/tst-realloc.c: New file.
42899 2013-09-09  Allan McRae  <allan@archlinux.org>
42901         [BZ #15844]
42902         * COPYING: Update from GNU website to fix FSF address.
42903         * COPYING.LIB: Likewise.
42905 2013-09-06  David S. Miller  <davem@davemloft.net>
42907         * po/zh_TW.po: Update Chinese (traditional) translation from
42908         translation project.
42910 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
42911             Joseph Myers  <joseph@codesourcery.com>
42913         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
42914         "localeinfo.h".
42915         (obstack_chunk_alloc): New macro.
42916         (obstack_chunk_free): Likewise.
42917         (record_offset): New function.
42918         (init_locale_data): Likewise.
42919         (align_locale_data): Likewise.
42920         (add_locale_empty): Likewise.
42921         (add_locale_raw_data): Likewise.
42922         (add_locale_raw_obstack): Likewise.
42923         (add_locale_string): Likewise.
42924         (add_locale_wstring): Likewise.
42925         (add_locale_uint32): Likewise.
42926         (add_locale_uint32_array): Likewise.
42927         (add_locale_char): Likewise.
42928         (start_locale_structure): Likewise.
42929         (end_locale_structure): Likewise.
42930         (start_locale_prelude): Likewise.
42931         (end_locale_prelude): Likewise.
42932         (write_locale_data): Take locale_file structure rather than an
42933         iovec.
42934         * locale/programs/locfile.h: Include "obstack.h".
42935         (struct locale_file): Change to store locale file contents instead
42936         of header.
42937         (init_locale_data): New prototype.
42938         (align_locale_data): Likewise.
42939         (add_locale_empty): Likewise.
42940         (add_locale_raw_data): Likewise.
42941         (add_locale_raw_obstack): Likewise.
42942         (add_locale_string): Likewise.
42943         (add_locale_wstring): Likewise.
42944         (add_locale_uint32): Likewise.
42945         (add_locale_uint32_array): Likewise.
42946         (add_locale_char): Likewise.
42947         (start_locale_structure): Likewise.
42948         (end_locale_structure): Likewise.
42949         (start_locale_prelude): Likewise.
42950         (end_locale_prelude): Likewise.
42951         (write_locale_data): Update prototype.
42952         * locale/programs/3level.h (struct TABLE): Remove result field.
42953         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
42954         Use new locale_file interface.
42955         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
42956         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
42957         * locale/programs/ld-address.c (address_output): Use new
42958         locale_file interface.
42959         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
42960         NO_ADD_LOCALE.
42961         (collate_finish): Don't call collseq_table_finalize.
42962         (collate_output): Use new locale_file interface.
42963         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
42964         in file.
42965         (NO_FINALIZE): Change to NO_ADD_LOCALE.
42966         (TABLE): Move defines earlier in file.
42967         (ELEMENT): Likewise.
42968         (DEFAULT): Likewise.
42969         (wctrans_table_add): Move macro and inline function earlier in
42970         file.
42971         (struct wctype_table): Move type earlier in file.
42972         (add_locale_wctype_table): New static prototype.
42973         (struct locale_ctype_t): Use logical types instead of struct iovec
42974         pointers for members.
42975         (ctype_output): Use new locale_file interface.
42976         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
42977         new locale_file interface.
42978         (allocate_arrays): Update for use of new locale_file interface.
42979         * locale/programs/ld-identification.c (identification_output): Use
42980         new locale_file interface.
42981         * locale/programs/ld-measurement.c (measurement_output): Likewise.
42982         * locale/programs/ld-messages.c (messages_output): Likewise.
42983         * locale/programs/ld-monetary.c (monetary_output): Likewise.
42984         * locale/programs/ld-name.c (name_output): Likewise.
42985         * locale/programs/ld-numeric.c (numeric_output): Likewise.
42986         * locale/programs/ld-paper.c (paper_output): Likewise.
42987         * locale/programs/ld-telephone.c (telephone_output): Likewise.
42988         * locale/programs/ld-time.c (time_output): Likewise.
42990 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42992         * benchtests/Makefile: Add memrchr benchmark.
42993         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
42994         benchmark as memrchr.
42995         * benchtests/bench-memrchr-ifunc.c: New file.
42996         * benchtests/bench-memrchr.c: New file.
42998 2013-09-06   Will Newton  <will.newton@linaro.org>
43000         * benchtests/Makefile (string-bench): Add memcpy.
43002 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
43003             Cong Wang  <amwang@redhat.com>
43005         [BZ #15850]
43006         * sysdeps/unix/sysv/linux/bits/in.h
43007         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
43008         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
43009         before __USE_KERNEL_IPV6_DEFS uses.
43010         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
43011         IPPROTO_BEETPH.
43012         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
43013         sockaddr_in6, or ipv6_mreq.
43015 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43017         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
43018         memory access for final bytes in some large inputs.
43019         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
43021 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43023         * string/test-memrchr.c: New file.
43024         * string/test-memrchr-ifunc.c: New file.
43025         * string/Makefile: Add new memrchr testcase.
43027 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
43029         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
43030         fanotify_init returns EPERM.
43032 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43034         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
43035         errors.
43036         (top level): Treat second token from macro or constant entries for
43037         allowed headers as allowed.
43038         * include/complex.h: Condition internal declarations on
43039         [!_ISOMAC].
43040         * include/fenv.h: Condition include of <stdbool.h> and internal
43041         declarations on [!_ISOMAC].
43043 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
43045         [BZ #15923]
43046         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
43048 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
43050         * configure.in (--enable-versioning): Remove configure option.
43051         (libc_cv_asm_symver_directive): Remove configure test.
43052         (libc_cv_ld_version_script_option): Likewise.
43053         (VERSIONING): Remove variable and AC_SUBST.
43054         (DO_VERSIONING): Remove AC_DEFINE.
43055         * configure: Regenerated.
43056         * config.h.in (DO_VERSIONING): Remove macro.
43057         * Makerules [$(versioning) = yes]: Change conditionals to
43058         [$(build-shared) = yes].
43059         * config.make.in (versioning): Remove variable.
43060         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
43061         [$(build-shared) = yes].
43062         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
43063         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
43064         * elf/Makefile [$(versioning) = yes]: Change conditionals to
43065         [$(build-shared) = yes].
43066         * extra-lib.mk [$(versioning) = yes]: Likewise.
43067         * hurd/Makefile [$(versioning) = yes]: Likewise.
43068         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
43069         [SHARED].
43070         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
43071         [SHARED].
43072         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43073         [SHARED && !NO_HIDDEN].
43074         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
43075         [SHARED].
43076         [SHARED && DO_VERSIONING]: Likewise..
43077         * libio/Makefile [$(versioning) = yes]: Change conditionals to
43078         [$(build-shared) = yes].
43079         * manual/install.texi (--disable-versioning): Remove
43080         documentation.
43081         * INSTALL: Regenerated.
43082         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
43083         to [SHARED].
43084         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
43085         [$(build-shared) = yes].
43086         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
43087         * sysdeps/i386/i686/multiarch/strstr-c.c
43088         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
43089         [SHARED && !NO_HIDDEN].
43090         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
43091         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
43092         * sysdeps/powerpc/powerpc32/dl-machine.c
43093         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
43094         * sysdeps/powerpc/powerpc32/sysdep.h
43095         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
43096         to [SHARED && PIC && !NO_HIDDEN].
43097         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
43098         conditional to [SHARED].
43100 2013-09-04   Will Newton  <will.newton@linaro.org>
43102         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
43103         * benchtests/bench-string.h: Include bench-timing.h instead
43104         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
43105         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
43106         call to HP_TIMING_DIFF_INIT.
43107         * benchtests/bench-memccpy.c: Use bench-timing.h macros
43108         instead of hp-timing.h macros.
43109         * benchtests/bench-memchr.c: Likewise.
43110         * benchtests/bench-memcmp.c: Likewise.
43111         * benchtests/bench-memcpy.c: Likewise.
43112         * benchtests/bench-memmem.c: Likewise.
43113         * benchtests/bench-memmove.c: Likewise.
43114         * benchtests/bench-memset.c: Likewise.
43115         * benchtests/bench-rawmemchr.c: Likewise.
43116         * benchtests/bench-strcasecmp.c: Likewise.
43117         * benchtests/bench-strcasestr.c: Likewise.
43118         * benchtests/bench-strcat.c: Likewise.
43119         * benchtests/bench-strchr.c: Likewise.
43120         * benchtests/bench-strcmp.c: Likewise.
43121         * benchtests/bench-strcpy.c: Likewise.
43122         * benchtests/bench-strcpy_chk.c: Likewise.
43123         * benchtests/bench-strlen.c: Likewise.
43124         * benchtests/bench-strncasecmp.c: Likewise.
43125         * benchtests/bench-strncat.c: Likewise.
43126         * benchtests/bench-strncmp.c: Likewise.
43127         * benchtests/bench-strncpy.c: Likewise.
43128         * benchtests/bench-strnlen.c: Likewise.
43129         * benchtests/bench-strpbrk.c: Likewise.
43130         * benchtests/bench-strrchr.c: Likewise.
43131         * benchtests/bench-strspn.c: Likewise.
43132         * benchtests/bench-strstr.c: Likewise.
43134 2013-09-04  Will Newton  <will.newton@linaro.org>
43136         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
43138 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
43140         [BZ #15427]
43141         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
43142         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
43143         * math/libm-test.inc (lgamma_test_data): Add more tests.
43144         * sysdeps/i386/fpu/libm-test-ulps: Update.
43145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43147 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
43149         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
43150         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
43151         Add ifunc.
43152         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
43153         Add strcmp-sse2-unaligned
43154         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
43156 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43158         * Versions.def (libc): Add GLIBC_2.19.
43160 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
43162         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
43163         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
43165 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
43167         [BZ #14155]
43168         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
43169         intermediate calculations in recurrence.
43170         (__ieee754_ynf): Likewise.
43171         * math/libm-test.inc (jn_test_data): Do not allow spurious
43172         underflow exception.  Add more tests.
43173         (yn_test_data): Add more tests.
43174         * sysdeps/i386/fpu/libm-test-ulps: Update.
43175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43177 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
43179         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
43181 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43183         * csu/init-first.c: Fix then/than typos.
43184         * locale/programs/ld-collate.c: Likewise.
43185         * locale/programs/linereader.h: Likewise.
43186         * manual/charset.texi: Likewise.
43187         * manual/filesys.texi: Likewise.
43188         * manual/stdio.texi: Likewise.
43189         * manual/string.texi: Likewise.
43190         * stdlib/fmtmsg.c: Likewise.
43191         * sysdeps/i386/stpncpy.S: Likewise.
43192         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43193         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43194         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43195         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43197 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
43199         * elf/dl-open.c: Fix typos.
43200         * iconvdata/gbbig5.c: Likewise.
43201         * iconvdata/iso-2022-jp.c: Likewise.
43202         * iconv/gconv_int.h: Likewise.
43203         * iconv/loop.c: Likewise.
43204         * nis/rpcsvc/nis.h: Likewise.
43205         * resolv/ns_name.c: Likewise.
43206         * stdio-common/vfscanf.c: Likewise.
43207         * streams/stropts.h: Likewise.
43208         * sunrpc/rpc_thread.c: Likewise.
43209         * sysdeps/i386/strpbrk.S: Likewise.
43210         * sysdeps/ieee754/k_standard.c: Likewise.
43211         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
43212         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
43213         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
43214         * sysdeps/mach/hurd/profil.c: Likewise.
43215         * sysdeps/s390/dl-procinfo.h: Likewise.
43216         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
43217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
43218         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
43219         * sysdeps/x86_64/dl-trampoline.S: Likewise.
43220         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43222 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
43224         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
43225         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
43227 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
43229         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
43230         aix specific files.
43231         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
43232         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
43233         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
43234         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
43235         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
43236         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
43237         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
43240 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43241             Roland McGrath  <roland@hack.frob.com>
43243         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
43244         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
43246 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43248         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
43249         __executable_start symbol instead of _start.
43251 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
43253         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
43254         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
43255         Move macros to...
43256         * sysdeps/gnu/ldsodefs.h: ... this new file.
43258         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
43259         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
43260         instead of ELFOSABI_LINUX.
43262         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
43263         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
43264         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
43265         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
43266         Likewise.
43267         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
43268         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
43269         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
43270         Likewise.
43271         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
43272         (ibm_extended_long_double): Add ieee_nan member.
43273         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
43274         (do_test): New function.
43276         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
43277         TEST_TRUNC.
43278         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
43279         functions, renamed from truncdfsf_test, trunctfsf_test,
43280         trunctfdf_test.
43281         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
43282         functions.
43283         (do_test): Run all these.
43285 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
43287         * argp/argp-help.c: Fix typos.
43288         * argp/argp-parse.c: Likewise.
43289         * debug/backtracesyms.c: Likewise.
43290         * elf/elf.h: Likewise.
43291         * malloc/malloc.c: Likewise.
43292         * nis/nis_print.c: Likewise.
43293         * resolv/res_comp.c: Likewise.
43294         * stdlib/stdlib.h: Likewise.
43295         * sunrpc/clnt_tcp.c: Likewise.
43296         * sunrpc/clnt_udp.c: Likewise.
43297         * sunrpc/clnt_unix.c: Likewise.
43298         * sysdeps/unix/bsd/ptsname.c: Likewise.
43299         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
43300         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
43301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
43302         Likewise.
43303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
43304         Likewise.
43305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
43306         Likewise.
43307         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
43309 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43311         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
43312         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
43314 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
43316         [BZ #15897]
43317         * dlfcn/Makefile (tests): Add bug-dl-leaf.
43318         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
43319         ($(objpfx)bug-dl-leaf): New rule.
43320         ($(objpfx)bug-dl-leaf.so): Likewise.
43321         ($(objpfx)bug-dl-leaf.out): Likewise.
43322         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
43323         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
43324         * dlfcn/bug-dl-leaf.c: New test.
43325         * dlfcn/bug-dl-leaf-lib.c: Likewise.
43326         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
43327         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
43328         (dlclose): Likewise.
43329         (dlmopen): Likewise.
43331 2013-08-27  Roland McGrath  <roland@hack.frob.com>
43333         * include/netdb.h [!_ISOMAC]:
43334         Don't include <tls.h>.
43335         (h_errno, __libc_h_errno): Move declaration and macros out of
43336         [_LIBC_REENTRANT].
43338         * include/resolv.h [_RESOLV_H_]:
43339         Don't include <tls.h>.
43340         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
43341         * resolv/res_libc.c: Don't include <tls.h>.
43342         (_res): Use __attribute__ ((nocommon)) in place of
43343         __attribute__ ((section (".bss"))).
43345         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
43346         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
43348         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
43350         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
43351         only under [SIOCGIFCONF && SIOCGIFNETMASK].
43353         * resolv/res_mkquery.c: Include <sys/time.h>.
43355         * inet/ifreq.c: Moved to ...
43356         * sysdeps/unix/ifreq.c: ... here.
43357         * inet/ifreq.c: New file, true stub version.
43359         * socket/sa_len.c: New file.
43360         * socket/Makefile (aux): Add it.
43361         * sysdeps/unix/sysv/linux/Makefile
43362         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
43363         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
43364         and #include <socket/sa_len.c>.
43365         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
43366         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
43368         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
43369         * bits/socket.h: ... here.
43371         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
43372         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
43373         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
43375 2013-08-27  Andreas Schwab  <schwab@suse.de>
43377         [BZ #15736]
43378         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
43379         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
43380         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
43381         * string/test-strcasecmp.c (test_main): Run tests in several
43382         locales.
43383         * string/test-strncasecmp.c (test_main): Likewise.
43385         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
43386         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
43387         to __strcasecmp_nonascii and __strncasecmp_nonascii.
43388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
43389         (__strncasecmp_ssse3) [PIC]: Likewise.
43391 2013-08-26  Roland McGrath  <roland@hack.frob.com>
43393         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
43395         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
43396         instead of explicitly declaring xdecrypt.
43397         * nis/nss_nis/nis-publickey.c: Likewise.
43399 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43401         [BZ #15890]
43402         * nscd/aicache.c: Include res_hconf.h.
43403         (addhstaiX): Initialize res_hconf.
43405 2013-08-26  Andreas Schwab  <schwab@suse.de>
43407         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
43408         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
43410 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
43412         * nscd/aicache.c (addhstaiX): Fix indentation.
43414 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
43416         * configure.ac: Quote $build_pt_chown test.
43417         * configure: Regenerated.
43419 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
43421         [BZ #15532]
43422         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
43423         * math/s_cexpf.c (__cexpf): Likewise.
43424         * math/s_cexpl.c (__cexpl): Likewise.
43425         * math/libm-test.inc (cexp_test_data): Correct expected return
43426         value for NaN + i0.  Add another test.
43428 2013-08-22  David S. Miller  <davem@davemloft.net>
43430         * po/ca.po: Update Catalan translation from translation project.
43431         * po/uk.po: Add Ukrainian translations from translation project.
43433 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
43435         [BZ #15797]
43436         * math/s_fdim.c (__fdim): Check for infinite arguments if result
43437         is infinite, not alongside NaN test.
43438         * math/s_fdimf.c (__fdimf): Likewise.
43439         * math/s_fdiml.c (__fdiml): Likewise.
43440         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
43441         errno is unchanged.
43443 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
43445         * argp/argp-help.c: Fix typos.
43446         * crypt/speeds.c: Likewise.
43447         * csu/check_fds.c: Likewise.
43448         * elf/dl-load.c: Likewise.
43449         * elf/dl-open.c: Likewise.
43450         * elf/reldep3.c: Likewise.
43451         * elf/reldep.c: Likewise.
43452         * elf/sprof.c: Likewise.
43453         * iconv/iconv_charmap.c: Likewise.
43454         * iconv/skeleton.c: Likewise.
43455         * iconv/strtab.c: Likewise.
43456         * io/lockf64.c: Likewise.
43457         * libio/libioP.h: Likewise.
43458         * resolv/gai_notify.c: Likewise.
43459         * resolv/ns_name.c: Likewise.
43460         * resolv/ns_samedomain.c: Likewise.
43461         * resolv/res_send.c: Likewise.
43462         * stdlib/random.c: Likewise.
43463         * sunrpc/rpc/xdr.h: Likewise.
43464         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
43465         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43466         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43467         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43468         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43469         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43471         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43472         * sysdeps/mach/hurd/check_fds.c: Likewise.
43473         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43474         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43475         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43476         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43477         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43478         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43479         * sysdeps/pthread/aio_notify.c: Likewise.
43480         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
43481         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
43482         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
43483         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43484         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43486 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43488         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
43489         version if bit_Slow_SSE4_2 is set.
43490         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43491         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
43493 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43495         [BZ #15867]
43496         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
43497         trampoline stack frame information.
43498         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
43499         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
43500         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
43501         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
43502         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
43503         * sysdeps/unix/sysv/linux/powerpc/init-first.c
43504         (_libc_vdso_platform_setup): Initialize the signal trampolines.
43505         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
43506         sa_flags value.
43507         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
43508         interrupting a syscall and set with option SA_SIGINFO.
43510 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43512         [BZ #15531]
43513         * math/s_cproj.c (__cproj): Only return an infinity if one part of
43514         argument is infinite.
43515         * math/s_cprojf.c (__cprojf): Likewise.
43516         * math/s_cprojl.c (__cprojl): Likewise.
43517         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
43518         * math/libm-test.inc (cproj_test_data): Add more tests.
43520         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
43522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
43523         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
43524         size.  Use __ffs to determine corresponding shift.
43526 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
43527             Roland McGrath  <roland@hack.frob.com>
43529         * Makefile (INSTALL): Remove trailing blank lines from output of
43530         makeinfo.
43532 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43534         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
43535         Align 32 bit compat elf_greg to 8 bytes.
43537 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
43539         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
43541 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43543         * string/strcoll_l.c (coll_seq): New structure.
43544         (get_next_seq_cached): New function.
43545         (get_next_seq): New function.
43546         (do_compare): New function.
43547         (STRCOLL): Use GNU style definition.  Simplify implementation
43548         by using get_next_seq, get_next_seq_cached and do_compare.
43550 2013-08-16  Florian Weimer  <fweimer@redhat.com>
43552         [BZ #14699]
43553         CVE-2013-4237
43554         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
43555         member.
43556         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
43557         member.
43558         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
43559         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
43560         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
43561         conditional.
43562         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
43563         GETDENTS_64BIT_ALIGNED.
43564         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
43565         * manual/filesys.texi (Reading/Closing Directory): Document
43566         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
43567         strongly.
43568         * manual/conf.texi (Limits for Files): Add portability note to
43569         NAME_MAX, PATH_MAX.
43570         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
43572 2013-08-13  Andreas Schwab  <schwab@suse.de>
43574         [BZ #15749]
43575         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
43576         of fabs.
43577         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
43578         LDBL_MAX_EXP >= 16384]: Add tests for it.
43580 2013-08-12  David S. Miller  <davem@davemloft.net>
43582         * version.h (RELEASE): Set to "development".
43583         (VERSION): Set to "2.18.90".
43584         * NEWS: Add 2.19 section.
43586 2013-08-03  David S. Miller  <davem@davemloft.net>
43588         * po/ko.po: Update Korean translation from translation project.
43590 2013-08-01  David S. Miller  <davem@davemloft.net>
43592         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
43593         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
43594         Bilka.
43596 2013-07-30  David S. Miller  <davem@davemloft.net>
43598         * po/fr.po: Update French translation from translation project.
43600 2013-07-28  David S. Miller  <davem@davemloft.net>
43602         * po/cs.po: Update Czech translation from translation project.
43604         * po/sv.po: Update Swedish translation from translation project.
43606 2013-07-27  David S. Miller  <davem@davemloft.net>
43608         * po/eo.po: Update Esperanto translation from translation project.
43610         * po/vi.po: Update Vietnamese translation from translation project.
43612         * po/de.po: Update German translation from translation project.
43614 2013-07-26  David S. Miller  <davem@davemloft.net>
43616         * po/bg.po: Update Bulgarian translation from translation project.
43618         * po/nl.po: Update Dutch translation from translation project.
43619         * po/pl.po: Update Polish translation from translation project.
43620         * po/ru.po: Update Russian translation from translation project.
43622 2013-07-24  David S. Miller  <davem@davemloft.net>
43624         * po/libc.pot: Update.
43626 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43628         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
43629         variable page size.
43630         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
43631         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
43632         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
43634 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43636         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
43638 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43639             Andreas Schwab  <schwab@suse.de>
43640             Roland McGrath  <roland@hack.frob.com>
43641             Joseph Myers  <joseph@codesourcery.com>
43642             Carlos O'Donell  <carlos@redhat.com>
43644         [BZ #15755]
43645         * config.h.in: Define HAVE_PT_CHOWN.
43646         * config.make.in (build-pt-chown): New variable.
43647         * configure.in (--enable-pt_chown): New configure option.
43648         * configure: Regenerate.
43649         * login/Makefile: Include Makeconfig.  Build pt_chown only if
43650         build-pt-chown is enabled.
43651         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
43652         pt_chown to fix pty ownership.
43653         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
43654         CLOSE_ALL_FDS.
43655         * manual/install.texi (Configuring and compiling): Mention
43656         --enable-pt_chown. Add @findex for grantpt.
43657         * INSTALL: Regenerate.
43659 2013-07-20  David S. Miller  <davem@davemloft.net>
43661         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
43662         difference between 32-bit and 64-bit.
43664 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
43666         [BZ #15711]
43667         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
43668         Avoid system header dependency with -ffreestanding.
43669         ($(objpfx)bits/syscall%d): Likewise.
43671 2013-07-13  David S. Miller  <davem@davemloft.net>
43673         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
43674         underflows from atanl/atan2l due to bug 15319.
43675         (casinh_test_data): Likewise.
43677 2013-07-07  David S. Miller  <davem@davemloft.net>
43679         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
43681 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
43683         * sysdeps/i386/fpu/libm-test-ulps: Update.
43684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43686 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43688         * configure.in (--enable-lock-elision): Fix message text.
43689         * INSTALL: Regenerate.
43690         * configure: Regenerate.
43692 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43696 2013-07-03  Andreas Jaeger  <aj@suse.de>
43698         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
43699         define.
43700         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
43701         (ptrace_peeksiginfo_args): Add.
43702         (__ptrace_peeksiginfo_flags): Add.
43703         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43704         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43705         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43707 2013-07-03  Allan McRae  <allan@archlinux.org>
43709         * sysdeps/i386/fpu/libm-test-ulps: Update.
43711 2013-07-02  David S. Miller  <davem@davemloft.net>
43713         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43715 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
43717         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43719 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43721         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43724 2013-07-02  Andi Kleen <ak@linux.intel.com>
43726         * config.h.in (ENABLE_LOCK_ELISION): Add.
43727         * configure.in (--enable-lock-elision): Add option.
43728         * manual/install.texi: Document --enable lock elision.
43729         * configure: Regenerate
43730         * INSTALL: Regenerate.
43732 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
43734         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
43735         SSE4.2 strcasecmp for libc.a.
43736         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
43738 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
43740         [BZ #13304]
43741         * soft-fp/op-common.h (_FP_FMA): New macro.
43742         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
43743         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
43744         (_FP_MUL_MEAT_1_imm): ... here.
43745         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
43746         (_FP_MUL_MEAT_1_wide): ... here.
43747         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
43748         (_FP_MUL_MEAT_1_hard): ... here.
43749         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
43750         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
43751         (_FP_MUL_MEAT_2_wide): ... here.
43752         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
43753         (_FP_MUL_MEAT_2_wide_3mul): ... here.
43754         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
43755         (_FP_MUL_MEAT_2_gmp): ... here.
43756         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
43757         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
43758         (_FP_MUL_MEAT_4_wide): ... here.
43759         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
43760         (_FP_MUL_MEAT_4_gmp): ... here.
43761         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
43762         (_FP_WFRACBITS_DW_S): Likewise.
43763         (_FP_WFRACXBITS_DW_S): Likewise.
43764         (_FP_HIGHBIT_DW_S): Likewise.
43765         (FP_FMA_S): Likewise.
43766         (_FP_FRAC_HIGH_DW_S): Likewise.
43767         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
43768         (_FP_WFRACBITS_DW_D): Likewise.
43769         (_FP_WFRACXBITS_DW_D): Likewise.
43770         (_FP_HIGHBIT_DW_D): Likewise.
43771         (FP_FMA_D): Likewise.
43772         (_FP_FRAC_HIGH_DW_D): Likewise.
43773         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
43774         (_FP_WFRACBITS_DW_E): Likewise.
43775         (_FP_WFRACXBITS_DW_E): Likewise.
43776         (_FP_HIGHBIT_DW_E): Likewise.
43777         (FP_FMA_E): Likewise.
43778         (_FP_FRAC_HIGH_DW_E): Likewise.
43779         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
43780         (_FP_WFRACBITS_DW_Q): Likewise.
43781         (_FP_WFRACXBITS_DW_Q): Likewise.
43782         (_FP_HIGHBIT_DW_Q): Likewise.
43783         (FP_FMA_Q): Likewise.
43784         (_FP_FRAC_HIGH_DW_Q): Likewise.
43785         * soft-fp/fmasf4.c: New file.
43786         * soft-fp/fmadf4.c: Likewise.
43787         * soft-fp/fmatf4.c: Likewise.
43789 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
43792         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
43793         Silvermont.
43794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
43795         macro.
43796         (index_Slow_SSE4_2): Likewise.
43797         (index_Prefer_PMINUB_for_stringop): Likewise.
43798         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
43799         bit_Slow_SSE4_2 is set.
43800         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43801         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
43803 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43805         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
43806         rtld_global._dl_hwcap2.
43807         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
43808         POWER8.
43809         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
43810         POWER8 feature descriptions defined in _dl_hwcap2.
43811         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
43812         string handling for POWER8 feature bits.
43813         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
43814         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
43815         _dl_powerpc_cap_flags.
43816         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
43817         * sysdeps/powerpc/rtld-global-offsets.sym
43818         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
43819         _dl_hwcap2 in the rtld_global_ro structure.
43821 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43823         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
43824         hardware capabilities in support of AT_HWCAP2.
43825         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
43826         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
43827         GLRO(dl_hwcap2).
43828         (_dl_show_auxv): Add support for calling _dl_procinfo to display
43829         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
43830         explicitly the unknown a_type display mechanism is used.
43831         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
43832         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
43833         struct member.
43834         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
43835         to macro prototype for AT_HWCAP2 support.
43836         * sysdeps/i386/dl-procinfo.h: Likewise.
43837         * sysdeps/s390/dl-procinfo.h: Likewise.
43838         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
43839         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
43840         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
43841         return -1 for unknown a_type display fallback.
43842         * sysdeps/sparc/dl-procinfo.h: Likewise.
43843         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
43844         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
43846 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
43848         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
43849         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
43851 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
43853         [BZ #12492]
43854         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
43855         mprotect making __stack_prot writable.
43857 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
43858             Joseph Myers  <joseph@codesourcery.com>
43860         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
43861         as being properly aligned.
43863 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
43865         * dlfcn/modstatic5.c: New file.
43866         * dlfcn/tststatic5.c: New file.
43867         * dlfcn/Makefile (tests): Add tststatic5.
43868         (tests-static): Likewise.
43869         (modules-names): Add modstatic5.
43870         (tststatic5-ENV): New variable.
43871         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
43873         [BZ #15022]
43874         * elf/dl-support.c (_dl_main_map): New variable.
43875         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
43876         (_dl_nns, _dl_load_adds): Set to 1.
43877         (_dl_initial_searchlist): Refer to _dl_main_map.
43878         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
43879         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
43880         call to _dl_get_origin.
43881         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
43882         around call_map.
43883         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
43884         * dlfcn/modstatic3.c: New file.
43885         * dlfcn/tststatic3.c: New file.
43886         * dlfcn/tststatic4.c: New file.
43887         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
43888         (tests-static): Likewise.
43889         (modules-names): Add modstatic3.
43890         (tststatic3-ENV, tststatic4-ENV): New variables.
43891         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
43892         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
43894 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
43896         * configure.in (CC): Require GCC version 4.4 or later.
43897         * configure: Regenerated.
43898         * manual/install.texi (Tools for Compilation): Update GCC version
43899         requirement.
43900         * INSTALL: Regenerated.
43902 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43904         [BZ #15674]
43905         * string/test-memcmp.c (check2): New.
43906         (main): Call check2.
43908         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
43910 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
43912         [BZ #15022]
43913         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
43914         over to...
43915         (dl_open_worker) [!SHARED]: ... here.
43917 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43919         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
43921 2013-06-25  Richard Henderson  <rth@redhat.com>
43923         * locale/programs/locarchive.c: Include <libc-internal.h>
43925 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
43927         * manual/texinfo.tex: Update to version 2013-06-21.17, with
43928         trailing whitespace removed.
43930 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43932         [BZ #10283]
43933         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
43934         * locale/programs/locarchive.c: Include libc-mmap.h.
43935         (prepare_address_space): Take two new outputs (the mmap base and len).
43936         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
43937         values.
43938         (create_archive): Declare new mmap base and len values for
43939         prepare_address_space, and store the result in ah.
43940         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
43941         (enlarge_archive): If ah->mmap_base is not NULL, use that and
43942         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43943         Declare new mmap base and len values for
43944         prepare_address_space, and store the result in new_ah.
43945         (open_archive): Declare new mmap base and len values for
43946         prepare_address_space, and store the result in ah.
43947         (close_archive): If ah->mmap_base is not NULL, use that and
43948         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
43949         * sysdeps/generic/libc-mmap.h: New file.
43951 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
43953         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
43954         (ALIGN_UP): Likewise.
43955         (PTR_ALIGN_DOWN): Likewise.
43956         (PTR_ALIGN_UP): Likewise.
43958 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
43960         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
43961         entry mapped to PPC_PLATFORM_POWER8.
43962         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
43963         POWER8.
43964         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
43965         (_dl_string_platform): Add case for exporting platform position for
43966         POWER8.
43967         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
43968         search path to sysdeps/powerpc/powerpc32/power8 directory.
43969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
43970         search path to sysdeps/powerpc/powerpc64/power8 directory.
43971         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
43972         power7 directories.
43973         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
43974         power7 directories.
43976 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43978         * INSTALL: Regenerate.
43980         * nscd/connections.c (nscd_init): Fix comment.
43982 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
43984         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
43986         [BZ #15667]
43987         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
43988         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
43990 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
43992         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
43993         DL_DST_REQ_STATIC.
43994         (DL_DST_REQ_STATIC): Remove macro.
43996 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
43998         [BZ #7006]
43999         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
44000         with a shift of 0 bits.
44002 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
44004         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
44005         $(tststatic-ENV).
44007 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44009         [BZ #15655]
44010         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
44012 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44014         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
44015         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
44016         accepts -fno-tree-loop-distribute-patterns.
44017         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
44018         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
44019         recursive call.
44020         * string/memset.c (memset): Likewise.
44021         * string/test-memmove.c (simple_memmove): Disable loop transformation
44022         to library calls.
44023         * string/test-memset.c (simple_memset): Likewise.
44024         * benchtests/bench-memmove.c (simple_memmove): Likewise.
44025         * benchtests/bench-memset.c (simple_memset): Likewise.
44026         * configure: Regenerated.
44028 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
44030         * math/test-misc.c (main): Ignore fesetround failure when failures
44031         of subsequent rounding tests would be ignored.
44033         [BZ #15654]
44034         * math/fedisblxcpt.c (fedisableexcept): Return 0.
44035         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
44036         * math/fegetenv.c (__fegetenv): Return 0.
44037         * math/fegetexcept.c (fegetexcept): Return 0.
44038         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
44039         FE_TONEAREST.
44040         * math/feholdexcpt.c (feholdexcept): Return 0.
44041         * math/fesetenv.c (__fesetenv): Return 0.
44042         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
44043         argument FE_TONEAREST.
44044         * math/feupdateenv.c (__feupdateenv): Return 0.
44045         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
44047 2013-06-18  Roland McGrath  <roland@hack.frob.com>
44049         * elf/rtld-Rules (rtld-compile-command.S): New variable.
44050         (rtld-compile-command.s, rtld-compile-command.c): New variables.
44051         ($(objpfx)rtld-%.os rules): Use them.
44053 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44055         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
44056         fields.
44058 2013-06-17  Roland McGrath  <roland@hack.frob.com>
44060         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
44061         length of target pattern, then descending length of dependency pattern.
44062         * configure.in (AWK): Require gawk 3.1.2 or newer.
44063         * manual/install.texi (Tools for Compilation): Say that we do.
44064         * configure: Regenerated.
44066         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
44067         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
44068         * scripts/sysd-rules.awk: ... this new script.
44069         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
44070         than a glob-style pattern.
44072 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
44074         * math/test-misc.c (main): Do not treat incorrectly rounded
44075         conversions as failure unless ROUNDING_TESTS passes.
44077 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
44079         [BZ #15631]
44080         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
44081         restore exception state around main square root computation, then
44082         check for inexactness explicitly.
44084         * math/libm-test.inc (fma_test_data): Add another test.
44086 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
44088         * manual/threads.texi (Non-POSIX Extensions): New document
44089         node.  Document pthread_getattr_default_np and
44090         pthread_setattr_default_np.
44092         * Versions.def (libpthread): Add GLIBC_2.18.
44093         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
44094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44095         Likewise.
44096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44097         Likewise.
44098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44099         Likewise.
44100         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44101         Likewise.
44102         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
44103         Likewise.
44104         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44105         Likewise.
44106         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44107         Likewise.
44108         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44109         Likewise.
44110         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44111         Likewise.
44113 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44115         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44116         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
44118 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
44119             H.J. Lu  <hjl.tools@gmail.com>
44121         [BZ #15627]
44122         * sysdeps/x86_64/rtld-memset.c: Remove file.
44123         * sysdeps/x86_64/rtld-memset.S: New file.
44125 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
44127         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
44128         (test_in_one_mode): Take arguments for whether the rounding mode
44129         is supported for each floating-point type.
44130         (do_test): Pass new arguments to test_in_one_mode using
44131         ROUNDING_TESTS.
44133 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44135         * posix/tst-waitid.c (do_test): Distinguish different instances of
44136         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
44137         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
44138         before entering the kernel for waitpid.
44140 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44142         * NEWS: Fix note on clock function precision.  Text by Roland
44143         McGrath.
44145 2013-06-13  Roland McGrath  <roland@hack.frob.com>
44147         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
44148         it into place only when and if the sanity check passes.
44150 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
44152         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
44153         output for whether conversion result is exact.  Take argument
44154         indicating whether type is IBM long double.
44155         (round_for_all): Change need_exact field to ibm_ld.
44156         * stdlib/tst-strtod-round.c (struct exactness): New type.
44157         (struct test): Change bool ld_ok field to struct exactness exact.
44158         (TEST): Update all definitions for change to field.
44159         (tests): Regenerate array contents.
44160         (test_in_one_mode): Take pointer to new field instead of old ld_ok
44161         field value.  Check for IBM long double here.
44162         (do_test): Update calls to test_in_one_mode.
44164 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
44166         [BZ #12515]
44167         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
44168         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
44170 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44172         [BZ #15605]
44173         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
44174         generated by the compiler on loop optimizations.
44175         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
44176         general definitions.
44178 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
44180         * math/bug-nextafter.c: Include <math-tests.h>.
44181         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44182         the relevant type.
44183         * math/bug-nexttoward.c: Include <math-tests.h>.
44184         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44185         the relevant type.
44186         * math/test-misc.c: Include <math-tests.h>.
44187         (main): Only test for exceptions if EXCEPTION_TESTS is true for
44188         the relevant type.
44190 2013-06-12  Andreas Jaeger  <aj@suse.de>
44192         * po/ia.po: Update Interlingua translation from translation
44193         project.
44195 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44197         * include/fenv.h: Include stdbool.h.
44198         (struct rm_ctx): New structure.
44199         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
44200         Define macro.
44201         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
44202         (SET_RESTORE_ROUNDF): Likewise.
44203         (SET_RESTORE_ROUNDL): Likewise.
44204         (SET_RESTORE_ROUND_NOEX): Likewise.
44205         (SET_RESTORE_ROUND_NOEXF): Likewise.
44206         (SET_RESTORE_ROUND_NOEXL): Likewise.
44207         (SET_RESTORE_ROUND_53BIT): Likewise.
44208         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
44209         (libc_feresetround_noexf_ctx): Likewise.
44210         (libc_feresetround_noexl_ctx): Likewise.
44211         (libc_feholdsetround_53bit_ctx): Likewise.
44212         (libc_feresetround_53bit_ctx): Likewise.
44213         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
44214         (libc_feholdexcept_setround_sse_ctx): New function.
44215         (libc_fesetenv_sse_ctx): Likewise.
44216         (libc_feupdateenv_sse_ctx): Likewise.
44217         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
44218         (libc_feholdexcept_setround_387_ctx): Likewise.
44219         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
44220         (libc_feholdsetround_387_prec_ctx): Likewise.
44221         (libc_feholdsetround_387_ctx): Likewise.
44222         (libc_feholdsetround_387_53bit_ctx): Likewise.
44223         (libc_feholdsetround_sse_ctx): Likewise.
44224         (libc_feresetround_sse_ctx): Likewise.
44225         (libc_feresetround_387_ctx): Likewise.
44226         (libc_feupdateenv_387_ctx): Likewise.
44227         (libc_feholdexcept_setroundf_ctx): Define macro.
44228         (libc_fesetenvf_ctx): Likewise.
44229         (libc_feupdateenvf_ctx): Likewise.
44230         (libc_feholdsetroundf_ctx): Likewise.
44231         (libc_feresetroundf_ctx): Likewise.
44232         (libc_feholdexcept_setround_ctx): Likewise.
44233         (libc_fesetenv_ctx): Likewise.
44234         (libc_feupdateenv_ctx): Likewise.
44235         (libc_feholdsetround_ctx): Likewise.
44236         (libc_feresetround_ctx): Likewise.
44237         (libc_feholdexcept_setroundl_ctx): Likewise.
44238         (libc_feupdateenvl_ctx): Likewise.
44239         (libc_feholdsetroundl_ctx): Likewise.
44240         (libc_feresetroundl_ctx): Likewise.
44241         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
44242         (libc_feresetround_53bit_ctx): Likewise.
44244 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44246         * locale/iso-639.def: Convert to UTF-8.
44248 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
44250         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
44251         (EXCEPTION_TESTS_double): Likewise.
44252         (EXCEPTION_TESTS_long_double): Likewise.
44253         (EXCEPTION_TESTS): Likewise.
44254         * math/libm-test.inc (test_exceptions): Only test exceptions if
44255         EXCEPTION_TESTS (FLOAT).
44257 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44259         * benchtests/Makefile (string-bench): Add strcpy_chk and
44260         stpcpy_chk.
44261         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
44262         * benchtests/bench-stpcpy_chk.c: New file.
44263         * benchtests/bench-strcpy_chk-ifunc.c: New file.
44264         * benchtests/bench-strcpy_chk.c: New file.
44265         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
44266         code.
44267         (do_test): Likewise.
44269 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44271         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
44272         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
44273         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
44274         with tabs where appropriate.
44275         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
44276         dl-procinfo.h.
44277         [PPC_PLATFORM_PPC440]: Likewise.
44278         [PPC_PLATFORM_PPC464]: Likewise.
44279         [PPC_PLATFORM_PPC476]: Likewise.
44280         (_dl_string_platform): Add support for detecting ppc405, ppc440,
44281         ppc464, and ppc476 platform strings merging from ports/
44282         dl-procinfo.h.
44284 2013-06-11  Andreas Schwab  <schwab@suse.de>
44286         [BZ #14991]
44287         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
44288         (from_ucs4_idx): Regenerate.
44289         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
44290         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
44291         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
44292         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
44293         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
44294         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
44295         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
44296         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
44297         from FROM_LOOP and TO_LOOP specific macros.
44298         (BODY): Handle combining characters.
44299         * iconvdata/BIG5HKSCS.irreversible: Update.
44300         * iconvdata/BIG5HKSCS.precomposed: New file.
44301         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
44302         characters.
44303         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
44305 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44307         * include/sys/time.h: Fix indentation and add copyright header.
44309         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
44310         (do_test): Likewise.
44311         * string/test-memchr.c (do_one_test): Likewise.
44312         (do_test): Likewise.
44313         * string/test-memcmp.c (do_one_test): Likewise.
44314         (do_test): Likewise.
44315         * string/test-memcpy.c (do_one_test): Likewise.
44316         (do_test): Likewise.
44317         * string/test-memmem.c (do_one_test): Likewise.
44318         (do_test): Likewise.
44319         (do_random_tests): Likewise.
44320         * string/test-memmove.c (do_one_test): Likewise.
44321         (do_test): Likewise.
44322         * string/test-memset.c (do_one_test): Likewise.
44323         (do_test): Likewise.
44324         * string/test-rawmemchr.c (do_one_test): Likewise.
44325         (do_test): Likewise.
44326         * string/test-strcasecmp.c (do_one_test): Likewise.
44327         (do_test): Likewise.
44328         * string/test-strcasestr.c (do_one_test): Likewise.
44329         (do_test): Likewise.
44330         * string/test-strcat.c (do_one_test): Likewise.
44331         (do_test): Likewise.
44332         * string/test-strchr.c (do_one_test): Likewise.
44333         (do_test): Likewise.
44334         * string/test-strcmp.c (do_one_test): Likewise.
44335         (do_test): Likewise.
44336         * string/test-strcpy.c (do_one_test): Likewise.
44337         (do_test): Likewise.
44338         * string/test-string.h: Likewise.
44339         (test_init): Likewise.
44340         * string/test-strlen.c (do_one_test): Likewise.
44341         (do_test): Likewise.
44342         * string/test-strncasecmp.c (do_one_test): Likewise.
44343         (do_test): Likewise.
44344         * string/test-strncat.c (do_one_test): Likewise.
44345         (do_test): Likewise.
44346         * string/test-strncmp.c (do_one_test): Likewise.
44347         (do_test_limit): Likewise.
44348         (do_test): Likewise.
44349         * string/test-strncpy.c (do_one_test): Likewise.
44350         (do_test): Likewise.
44351         * string/test-strnlen.c (do_one_test): Likewise.
44352         (do_test): Likewise.
44353         * string/test-strpbrk.c (do_one_test): Likewise.
44354         (do_test): Likewise.
44355         * string/test-strrchr.c (do_one_test): Likewise.
44356         (do_test): Likewise.
44357         * string/test-strspn.c (do_one_test): Likewise.
44358         (do_test): Likewise.
44359         * string/test-strstr.c (do_one_test): Likewise.
44360         (do_test): Likewise.
44362         * benchtests/Makefile (string-bench): Add string benchmarks.
44363         * benchtests/bench-bcopy-ifunc.c: New file.
44364         * benchtests/bench-bcopy.c: New file.
44365         * benchtests/bench-bzero-ifunc.c: New file.
44366         * benchtests/bench-bzero.c: New file.
44367         * benchtests/bench-memccpy-ifunc.c: New file.
44368         * benchtests/bench-memccpy.c: New file.
44369         * benchtests/bench-memchr-ifunc.c: New file.
44370         * benchtests/bench-memchr.c: New file.
44371         * benchtests/bench-memcmp-ifunc.c: New file.
44372         * benchtests/bench-memcmp.c: New file.
44373         * benchtests/bench-memmem-ifunc.c: New file.
44374         * benchtests/bench-memmem.c: New file.
44375         * benchtests/bench-memmove-ifunc.c: New file.
44376         * benchtests/bench-memmove.c: New file.
44377         * benchtests/bench-mempcpy-ifunc.c: New file.
44378         * benchtests/bench-mempcpy.c: New file.
44379         * benchtests/bench-memset-ifunc.c: New file.
44380         * benchtests/bench-memset.c: New file.
44381         * benchtests/bench-rawmemchr-ifunc.c: New file.
44382         * benchtests/bench-rawmemchr.c: New file.
44383         * benchtests/bench-stpcpy-ifunc.c: New file.
44384         * benchtests/bench-stpcpy.c: New file.
44385         * benchtests/bench-stpncpy-ifunc.c: New file.
44386         * benchtests/bench-stpncpy.c: New file.
44387         * benchtests/bench-strcasecmp-ifunc.c: New file.
44388         * benchtests/bench-strcasecmp.c: New file.
44389         * benchtests/bench-strcasestr-ifunc.c: New file.
44390         * benchtests/bench-strcasestr.c: New file.
44391         * benchtests/bench-strcat-ifunc.c: New file.
44392         * benchtests/bench-strcat.c: New file.
44393         * benchtests/bench-strchr-ifunc.c: New file.
44394         * benchtests/bench-strchr.c: New file.
44395         * benchtests/bench-strchrnul-ifunc.c: New file.
44396         * benchtests/bench-strchrnul.c: New file.
44397         * benchtests/bench-strcmp-ifunc.c: New file.
44398         * benchtests/bench-strcmp.c: New file.
44399         * benchtests/bench-strcpy-ifunc.c: New file.
44400         * benchtests/bench-strcpy.c: New file.
44401         * benchtests/bench-strcspn-ifunc.c: New file.
44402         * benchtests/bench-strcspn.c: New file.
44403         * benchtests/bench-strlen-ifunc.c: New file.
44404         * benchtests/bench-strlen.c: New file.
44405         * benchtests/bench-strncasecmp-ifunc.c: New file.
44406         * benchtests/bench-strncasecmp.c: New file.
44407         * benchtests/bench-strncat-ifunc.c: New file.
44408         * benchtests/bench-strncat.c: New file.
44409         * benchtests/bench-strncmp-ifunc.c: New file.
44410         * benchtests/bench-strncmp.c: New file.
44411         * benchtests/bench-strncpy-ifunc.c: New file.
44412         * benchtests/bench-strncpy.c: New file.
44413         * benchtests/bench-strnlen-ifunc.c: New file.
44414         * benchtests/bench-strnlen.c: New file.
44415         * benchtests/bench-strpbrk-ifunc.c: New file.
44416         * benchtests/bench-strpbrk.c: New file.
44417         * benchtests/bench-strrchr-ifunc.c: New file.
44418         * benchtests/bench-strrchr.c: New file.
44419         * benchtests/bench-strspn-ifunc.c: New file.
44420         * benchtests/bench-strspn.c: New file.
44421         * benchtests/bench-strstr-ifunc.c: New file.
44422         * benchtests/bench-strstr.c: New file.
44424         * benchtests/Makefile: Disable parallel execution of targets.
44425         (string-bench): Add memcpy.
44426         (benchset): New variable to store a list of benchmark sets.
44427         (bench-func): Renamed from bench.
44428         (bench-set): New target.
44429         (bench): Depend on bench-func and bench-set.
44430         * benchtests/README: Add section on benchmark sets.
44431         * benchtests/bench-memcpy-ifunc.c: New file.
44432         * benchtests/bench-memcpy.c: New file.
44433         * benchtests/bench-string.h: New file.
44435 2013-06-11  Andreas Schwab  <schwab@suse.de>
44437         [BZ #15577]
44438         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
44439         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
44440         values in the triple.
44441         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
44442         terminator in the group key.
44444 2013-06-11  Andreas Jaeger  <aj@suse.de>
44446         * po/zh_TW.po: Update Chinese (traditional) translation from
44447         translation project.
44449 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44451         * include/time.h (__clock_gettime): Add libc_hidden_proto.
44452         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
44453         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
44454         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
44455         (clock_getcpuclockid): Likewise.
44456         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
44457         Add weak_alias and libc_hidden_def.
44458         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
44459         * rt/clock_gettime.c (clock_gettime): Rename to
44460         __clock_gettime.  Add weak_alias and libc_hidden_def.
44461         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
44462         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
44463         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
44464         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
44465         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
44466         Likewise.
44467         * rt/clock_settime.c (clock_settime): Rename to
44468         __clock_settime.  Add weak_alias and libc_hidden_def.
44469         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
44471 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
44473         * mach/err_boot.sub: Remove trailing whitespace.
44474         * mach/err_ipc.sub: Likewise.
44475         * mach/err_mach.sub: Likewise.
44477         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
44478         (ROUNDING_TESTS_double): Likewise.
44479         (ROUNDING_TESTS_long_double): Likewise.
44480         (ROUNDING_TESTS): Likewise.
44481         * math/libm-test.inc: Include <math-tests.h>.
44482         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
44483         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
44484         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
44485         (IF_ROUND_INIT_FE_UPWARD): Likewise.
44487 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44489         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
44490         of assigning.
44492 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
44494         * sysdeps/gnu/errlist.awk: Do not generate space at end of
44495         otherwise empty TRANS lines.
44496         * sysdeps/gnu/errlist.c: Regenerated.
44498         * catgets/gencat.c (error_print): Use (void) in function
44499         definition.
44500         * crypt/crypt_util.c (__init_des): Likewise.
44501         * crypt/speeds.c (Stop): Likewise.
44502         (main): Likewise.
44503         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
44504         * inet/ruserpass.c (token): Likewise.
44505         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
44506         * intl/localealias.c (extend_alias_table): Likewise.
44507         * intl/plural-exp.c (init_germanic_plural): Likewise.
44508         * libio/fcloseall.c (__fcloseall): Likewise.
44509         * libio/genops.c (_IO_flush_all): Likewise.
44510         (_IO_flush_all_linebuffered): Likewise.
44511         (_IO_cleanup): Likewise.
44512         (_IO_iter_begin): Likewise.
44513         (_IO_iter_end): Likewise.
44514         (_IO_list_lock): Likewise.
44515         (_IO_list_unlock): Likewise.
44516         (_IO_list_resetlock): Likewise.
44517         * libio/getchar.c (getchar): Likewise.
44518         * libio/getchar_u.c (getchar_unlocked): Likewise.
44519         * libio/getwchar.c (getwchar): Likewise.
44520         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
44521         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
44522         * login/getpt.c (__getpt): Likewise.
44523         * login/tst-utmp.c (main): Likewise.
44524         * malloc/hooks.c (__malloc_check_init): Likewise.
44525         * malloc/malloc.c (__malloc_stats): Likewise.
44526         * malloc/mtrace.c (tr_break): Likewise.
44527         (mtrace): Likewise.
44528         (muntrace): Likewise.
44529         * misc/fstab.c (endfsent): Likewise.
44530         * misc/getclktck.c (__getclktck): Likewise.
44531         * misc/getdtsz.c (__getdtablesize): Likewise.
44532         * misc/gethostid.c (gethostid): Likewise.
44533         * misc/getpagesize.c (__getpagesize): Likewise.
44534         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
44535         (__get_nprocs): Likewise.
44536         (__get_phys_pages): Likewise.
44537         (__get_avphys_pages): Likewise.
44538         * misc/getttyent.c (getttyent): Likewise.
44539         (setttyent): Likewise.
44540         (endttyent): Likewise.
44541         * misc/getusershell.c (getusershell): Likewise.
44542         (endusershell): Likewise.
44543         (setusershell): Likewise.
44544         (initshells): Likewise.
44545         * misc/hsearch.c (__hdestroy): Likewise.
44546         * misc/sync.c (sync): Likewise.
44547         * misc/syslog.c (closelog_internal): Likewise.
44548         (closelog): Likewise.
44549         * misc/ttyslot.c (ttyslot): Likewise.
44550         * misc/vhangup.c (vhangup): Likewise.
44551         * posix/fork.c (__fork): Likewise.
44552         * posix/getegid.c (__getegid): Likewise.
44553         * posix/geteuid.c (__geteuid): Likewise.
44554         * posix/getgid.c (__getgid): Likewise.
44555         * posix/getpid.c (__getpid): Likewise.
44556         * posix/getppid.c (__getppid): Likewise.
44557         * posix/getuid.c (__getuid): Likewise.
44558         * posix/pause.c (pause): Likewise.
44559         * posix/setpgrp.c (setpgrp): Likewise.
44560         * posix/setsid.c (__setsid): Likewise.
44561         * posix/test-vfork.c (noop): Likewise.
44562         * resolv/gethnamaddr.c (_endhtent): Likewise.
44563         (_gethtent): Likewise.
44564         (ht_endhostent): Likewise.
44565         (gethostent): Likewise.
44566         (dns_service): Likewise.
44567         * stdlib/drand48.c (drand48): Likewise.
44568         * stdlib/lrand48.c (lrand48): Likewise.
44569         * stdlib/mrand48.c (mrand48): Likewise.
44570         * stdlib/rand.c (rand): Likewise.
44571         * stdlib/random.c (__random): Likewise.
44572         * stdlib/setenv.c (clearenv): Likewise.
44573         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
44574         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
44575         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
44576         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
44577         (__get_nprocs): Likewise.
44578         (__get_phys_pages): Likewise.
44579         (__get_avphys_pages): Likewise.
44580         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
44581         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
44582         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
44583         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
44584         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
44585         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
44586         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
44587         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
44588         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
44589         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
44590         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
44591         * sysdeps/mach/hurd/sync.c (sync): Likewise.
44592         * sysdeps/posix/clock.c (clock): Likewise.
44593         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
44594         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
44595         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
44596         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
44597         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
44598         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
44599         (__get_nprocs_conf): Likewise.
44600         (__get_phys_pages): Likewise.
44601         (__get_avphys_pages): Likewise.
44602         * time/clock.c (clock): Likewise.
44603         * time/tzset.c (__tzname_max): Likewise.
44605 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
44607         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
44608         (__bswap_32): Do not use "register".
44609         * crypt/crypt.c (_ufc_doit_r): Likewise.
44610         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
44611         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
44612         * gmon/gmon.c (__monstartup): Likewise.
44613         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
44614         * hurd/hurdmalloc.c (more_memory): Likewise.
44615         (malloc): Likewise.
44616         (free): Likewise.
44617         (realloc): Likewise.
44618         (malloc_fork_prepare): Likewise.
44619         (malloc_fork_parent): Likewise.
44620         (malloc_fork_child): Likewise.
44621         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
44622         (_svcauth_des): Likewise.
44623         * inet/inet_lnaof.c (inet_lnaof): Likewise.
44624         * inet/inet_net.c (inet_network): Likewise.
44625         * inet/inet_netof.c (inet_netof): Likewise.
44626         * inet/rcmd.c (__validuser2_sa): Likewise.
44627         * io/fts.c (fts_open): Likewise.
44628         (fts_load): Likewise.
44629         (fts_close): Likewise.
44630         (fts_read): Likewise.
44631         (fts_children): Likewise.
44632         (fts_build): Likewise.
44633         (fts_stat): Likewise.
44634         (fts_sort): Likewise.
44635         (fts_alloc): Likewise.
44636         (fts_lfree): Likewise.
44637         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
44638         (_IO_file_xsgetn): Likewise.
44639         (_IO_file_xsgetn_mmap): Likewise.
44640         * libio/iofopncook.c (_IO_cookie_read): Likewise.
44641         (_IO_cookie_write): Likewise.
44642         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
44643         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
44644         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
44645         * malloc/obstack.c (_obstack_begin): Likewise.
44646         (_obstack_begin_1): Likewise.
44647         (_obstack_newchunk): Likewise.
44648         (_obstack_allocated_p): Likewise.
44649         (obstack_free): Likewise.
44650         (_obstack_memory_used): Likewise.
44651         * misc/getttyent.c (getttynam): Likewise.
44652         (getttyent): Likewise.
44653         (skip): Likewise.
44654         (value): Likewise.
44655         * misc/getusershell.c (initshells): Likewise.
44656         * misc/syslog.c (__vsyslog_chk): Likewise.
44657         * misc/ttyslot.c (ttyslot): Likewise.
44658         * nis/nis_hash.c (__nis_hash): Likewise.
44659         * posix/fnmatch_loop.c (FCT): Likewise.
44660         * posix/getconf.c (print_all): Likewise.
44661         (main): Likewise.
44662         * posix/getopt.c (exchange): Likewise.
44663         * posix/glob.c (globfree): Likewise.
44664         (prefix_array): Likewise.
44665         (__glob_pattern_type): Likewise.
44666         * resolv/arpa/nameser.h (NS_GET16): Likewise.
44667         (NS_GET32): Likewise.
44668         (NS_PUT16): Likewise.
44669         (NS_PUT32): Likewise.
44670         * resolv/gethnamaddr.c (getanswer): Likewise.
44671         (gethostbyname2): Likewise.
44672         (gethostbyaddr): Likewise.
44673         (_gethtent): Likewise.
44674         (_gethtbyname2): Likewise.
44675         (_gethtbyaddr): Likewise.
44676         * resolv/ns_print.c (dst_s_get_int16): Likewise.
44677         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
44678         * resolv/res_init.c (__res_vinit): Likewise.
44679         (net_mask): Likewise.
44680         * resolv/res_mkquery.c (outchar): Likewise.
44681         (PRINT): Likewise.
44682         * stdio-common/printf_fp.c (outchar): Likewise.
44683         (PRINT): Likewise.
44684         * stdio-common/printf_fphex.c (outchar): Likewise.
44685         (PRINT): Likewise.
44686         * stdio-common/printf_size.c (outchar): Likewise.
44687         (PRINT): Likewise.
44688         * stdio-common/test_rdwr.c (main): Likewise.
44689         * stdio-common/tfformat.c (matches): Likewise.
44690         * stdio-common/vfprintf.c (outchar): Likewise.
44691         (printf_unknown): Likewise.
44692         (buffered_vfprintf): Likewise.
44693         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44694         * stdio-common/xbug.c (AppendToBuffer): Likewise.
44695         (ReadFile): Likewise.
44696         * stdlib/qsort.c (SWAP): Likewise.
44697         (_quicksort): Likewise.
44698         * stdlib/setenv.c (__add_to_environ): Likewise.
44699         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44700         * stdlib/strtol_l.c (__strtol_l): Likewise.
44701         * stdlib/tst-strtod.c (main): Likewise.
44702         * stdlib/tst-strtol.c (main): Likewise.
44703         * stdlib/tst-strtoll.c (main): Likewise.
44704         * string/bits/string2.h (__strcmp_cc): Likewise.
44705         (__strcmp_cg): Likewise.
44706         (__strcspn_c1): Likewise.
44707         (__strcspn_c2): Likewise.
44708         (__strcspn_c3): Likewise.
44709         (__strspn_c1): Likewise.
44710         (__strspn_c2): Likewise.
44711         (__strspn_c3): Likewise.
44712         (__strsep_1c): Likewise.
44713         (__strsep_2c): Likewise.
44714         (__strsep_3c): Likewise.
44715         * string/memccpy.c (__memccpy): Likewise.
44716         * string/stpcpy.c (__stpcpy): Likewise.
44717         * string/strcmp.c (strcmp): Likewise.
44718         * string/strrchr.c (strrchr): Likewise.
44719         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
44720         Likewise.
44721         * sysdeps/mach/hurd/getcwd.c
44722         (_hurd_canonicalize_directory_name_internal): Likewise.
44723         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
44724         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
44725         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
44726         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
44727         Likewise, in both definitions.
44728         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
44729         definitions.
44730         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
44731         64] (__bswap_64): Likewise.
44732         * time/test_time.c (main): Likewise.
44733         * time/tzfile.c (__tzfile_read): Likewise.
44734         (__tzfile_compute): Likewise.
44735         * time/tzset.c (__tzset_parse_tz): Likewise.
44736         (tzset_internal): Likewise.
44737         (compute_change): Likewise.
44738         * wcsmbs/wcscat.c (__wcscat): Likewise.
44739         * wcsmbs/wcschr.c (wcschr): Likewise.
44740         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
44741         * wcsmbs/wcscspn.c (wcscspn): Likewise.
44742         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
44743         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
44744         * wcsmbs/wcsspn.c (wcsspn): Likewise.
44745         * wcsmbs/wcsstr.c (wcsstr): Likewise.
44746         * wcsmbs/wmemchr.c (wmemchr): Likewise.
44747         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44748         * wcsmbs/wmemset.c (wmemset): Likewise.
44750 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
44752         * scripts/config.guess: Update to version 2013-05-16.
44753         * scripts/config.sub: Update to version 2013-04-24.
44754         * scripts/install-sh: Update to version 2011-11-20.07.
44755         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
44756         * scripts/move-if-change: Update to version 2012-01-06 07:23.
44758 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
44760         * debug/fgetws_u_chk.c: Fix leading whitespaces.
44761         * elf/sln.c: Likewise.
44762         * hurd/hurd/ioctl.h: Likewise.
44763         * hurd/hurdmalloc.c: Likewise.
44764         * hurd/xattr.c: Likewise.
44765         * include/shlib-compat.h: Likewise.
44766         * inet/ruserpass.c: Likewise.
44767         * libio/iofgets_u.c: Likewise.
44768         * libio/iofgetws_u.c: Likewise.
44769         * locale/programs/ld-identification.c: Likewise.
44770         * locale/programs/ld-time.c: Likewise.
44771         * mach/msg-destroy.c: Likewise.
44772         * nss/nss_files/files-netgrp.c: Likewise.
44773         * resolv/res_data.c: Likewise.
44774         * soft-fp/op-1.h: Likewise.
44775         * soft-fp/op-2.h: Likewise.
44776         * soft-fp/op-4.h: Likewise.
44777         * soft-fp/op-common.h: Likewise.
44778         * stdio-common/printf_fphex.c: Likewise.
44779         * stdlib/strtod_l.c: Likewise.
44780         * sunrpc/rpc/clnt.h: Likewise.
44781         * sysdeps/generic/framestate.c: Likewise.
44782         * sysdeps/i386/bsd-_setjmp.S: Likewise.
44783         * sysdeps/i386/bsd-setjmp.S: Likewise.
44784         * sysdeps/i386/__longjmp.S: Likewise.
44785         * sysdeps/i386/setjmp.S: Likewise.
44786         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44787         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
44788         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44789         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44790         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44791         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
44792         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
44793         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
44794         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
44795         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
44796         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
44797         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
44798         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
44799         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
44800         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
44801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
44802         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
44803         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
44804         * sysdeps/ieee754/support.c: Likewise.
44805         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44806         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
44807         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
44808         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
44809         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
44810         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
44811         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
44812         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
44813         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
44814         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
44815         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
44816         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
44817         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
44818         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
44819         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
44820         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
44821         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
44824 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
44826         * posix/transbug.c: Remove executable mode.
44828 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
44830         * crypt/speeds.c: Remove trailing whitespace.
44831         * dlfcn/default.c: Likewise.
44832         * elf/ifuncdep2.c: Likewise.
44833         * elf/ifuncmain1.c: Likewise.
44834         * elf/ifuncmain1vis.c: Likewise.
44835         * elf/testobj.h: Likewise.
44836         * elf/tst-stackguard1.c: Likewise.
44837         * gmon/sys/gmon.h: Likewise.
44838         * hurd/hurdmsg.c: Likewise.
44839         * hurd/new-fd.c: Likewise.
44840         * hurd/ports-get.c: Likewise.
44841         * iconvdata/ibm1008_420.c: Likewise.
44842         * inet/tst-getni1.c: Likewise.
44843         * inet/tst-getni2.c: Likewise.
44844         * libio/ioungetc.c: Likewise.
44845         * libio/wfiledoalloc.c: Likewise.
44846         * manual/libm-err-tab.pl: Likewise.
44847         * math/w_dremf.c: Likewise.
44848         * misc/ftruncate.c: Likewise.
44849         * posix/bug-glob2.c: Likewise.
44850         * posix/tst-pcre.c: Likewise.
44851         * posix/wait4.c: Likewise.
44852         * resolv/README: Likewise.
44853         * resolv/res_debug.h: Likewise.
44854         * resolv/tst-inet_ntop.c: Likewise.
44855         * setjmp/bug269-setjmp.c: Likewise.
44856         * soft-fp/extended.h: Likewise.
44857         * soft-fp/op-1.h: Likewise.
44858         * soft-fp/op-2.h: Likewise.
44859         * soft-fp/op-4.h: Likewise.
44860         * soft-fp/op-8.h: Likewise.
44861         * soft-fp/testit.c: Likewise.
44862         * stdio-common/bug16.c: Likewise.
44863         * stdlib/random.c: Likewise.
44864         * sunrpc/rpcsvc/rquota.x: Likewise.
44865         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
44866         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
44867         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
44868         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
44869         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
44870         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
44871         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
44872         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
44873         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
44874         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
44875         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
44876         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
44877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
44878         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
44879         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
44880         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
44881         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
44882         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
44883         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
44884         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
44885         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
44886         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
44887         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
44888         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
44889         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
44890         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
44891         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
44892         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
44893         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
44894         * sysdeps/ieee754/s_lib_version.c: Likewise.
44895         * sysdeps/mach/hurd/check_fds.c: Likewise.
44896         * sysdeps/mach/hurd/getsockname.c: Likewise.
44897         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
44898         * sysdeps/mach/hurd/recvfrom.c: Likewise.
44899         * sysdeps/powerpc/bits/link.h: Likewise.
44900         * sysdeps/powerpc/dl-procinfo.c: Likewise.
44901         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
44902         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
44903         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
44904         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
44905         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
44906         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
44907         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
44908         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
44909         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
44910         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
44911         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
44912         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
44913         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
44914         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
44915         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
44916         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
44917         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
44918         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
44919         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
44920         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
44921         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
44922         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44923         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44924         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
44925         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
44926         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
44927         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
44928         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
44929         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
44930         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
44931         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
44932         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44933         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44934         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
44935         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
44936         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
44937         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
44938         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44939         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
44940         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
44941         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
44942         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
44943         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
44944         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
44945         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
44946         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
44947         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
44948         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
44949         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
44950         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44952         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44953         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44954         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
44955         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
44956         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
44957         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44958         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
44959         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
44960         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
44961         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
44962         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
44963         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
44964         * sysdeps/powerpc/sysdep.h: Likewise.
44965         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44966         * sysdeps/s390/s390-64/sub_n.S: Likewise.
44967         * sysdeps/sh/dl-trampoline.S: Likewise.
44968         * sysdeps/sh/memset.S: Likewise.
44969         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
44970         * sysdeps/sh/strlen.S: Likewise.
44971         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
44972         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
44973         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
44974         * sysdeps/sparc/sparc32/rem.S: Likewise.
44975         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
44976         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
44977         * sysdeps/sparc/sparc32/strchr.S: Likewise.
44978         * sysdeps/sparc/sparc32/udiv.S: Likewise.
44979         * sysdeps/sparc/sparc32/urem.S: Likewise.
44980         * sysdeps/sparc/sparc64/add_n.S: Likewise.
44981         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44982         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
44983         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
44984         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
44985         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
44986         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
44987         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
44988         * sysdeps/unix/bsd/times.c: Likewise.
44989         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
44990         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
44991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
44992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
44993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
44994         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
44995         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44996         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
44997         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
44998         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
44999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
45000         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
45001         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
45002         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45003         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
45004         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
45005         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
45006         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
45007         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
45008         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
45009         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
45010         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
45011         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45012         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
45013         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
45014         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
45015         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
45016         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45017         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
45018         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
45019         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
45020         * sysdeps/x86_64/strcspn.S: Likewise.
45022 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45024         * locale/C-translit.h: Revert #include <stdint.h> because this is a
45025         generated file.  Regenerate properly from gen-translit.pl.
45026         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
45027         locale/C-translit.h.
45029 2013-06-05  Andreas Schwab  <schwab@suse.de>
45031         [BZ #15100]
45032         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
45033         week as 6 instead of -1.
45034         * time/tst-strptime.c (day_tests): Add test case.
45036 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45038         * sysdeps/generic/math_private.h
45039         (libc_feholdexcept_setround_53bit): Replace with
45040         libc_feholdsetround_53bit.
45041         (libc_feupdateenv_53bit): Replace with
45042         libc_feresetround_53bit.
45043         (SET_RESTORE_ROUND_53BIT): Adjust.
45045 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45047         * string/test-strchrnul.c: Add copyright header.
45049         * posix/tst-getaddrinfo4.c: Increase test timeout.
45051 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
45053         [BZ #15536]
45054         * math/libm-test.inc (MAX_EXP): Remove
45055         (MIN_EXP): Define.
45056         (ulp): Use MIN_EXP - MANT_DIG.
45057         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
45059 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
45061         * po/be.po: Revert last change.
45062         * po/zh_CN.po: Likewise.
45063         * po/header.pot: Likewise.
45065 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
45067         * Makefile ($(common-objpfx)linkobj/libc.so): Define
45068         link-libc-deps to empty as target-specific variable.
45069         * Makerules (link-libc-args): New variable.
45070         (libc-for-link): Likewise.
45071         (link-libc-deps): Likewise.
45072         (lib%.so): Depend on $(link-libc-deps).  Link with
45073         $(link-libc-args).
45074         (build-module): Link with $(link-libc-args).
45075         (build-module-asneeded): Likewise.
45076         (build-module-helper-objlist): Filter out $(link-libc-deps) from
45077         list of objects.
45078         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
45079         target-specific variable.
45080         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
45081         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
45082         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
45083         libc.
45084         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
45085         libc and ld.so.
45086         ($(objpfx)libpcprofile.so): Likewise.
45087         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
45088         libc_nonshared.a.
45089         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
45090         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
45091         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
45092         $(link-libc-deps).
45093         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
45094         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
45095         * login/Makefile ($(objpfx)libutil.so): Likewise.
45096         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
45097         * math/Makefile ($(objpfx)libm.so): Likewise.
45098         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
45099         $(objpfx)libnsl.so): Define libc-for-link as target-specific
45100         variable instead of depending directly on libc.
45101         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
45102         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
45103         $(link-libc-deps).
45104         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
45105         libc.
45106         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
45107         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
45108         ($(objpfx)libanl.so): Likewise.
45109         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
45110         ld.so.
45111         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
45112         $(link-libc-deps).
45113         * sysdeps/i386/fpu/Makefile: Remove file.
45114         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
45115         ($(objpfx)libm.so): Remove dependency on ld.so.
45117 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
45119         [BZ # 15553]
45120         * nis/yp_xdr.c (XDRMAXNAME): Define.
45121         (XDRMAXRECORD): Define.
45122         (xdr_domainname): Use XDRMAXNAME.
45123         (xdr_mapname): Likewise.
45124         (xdr_peername): Likewise.
45125         (xdr_keydat): Use XDRMAXRECORD.
45126         (xdr_valdat): Likewise.
45128 2013-05-30  Jeff Law  <law@redhat.com>
45130         [BZ #14256]
45131         * manual/errno.texi (ESTALE): Update to account for more than
45132         just NFS file systems.
45133         * sysdeps/gnu/errlist.c: Regenerated.
45135 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
45137         [BZ #15465]
45138         * elf/Makefile (tests): Add tst-null-argv.
45139         (modules-names):  Add tst-null-argv-lib.
45140         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
45141         (tst-null-argv-ENV): Set environment for tst-null-argv.
45142         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
45143         (RTLD_PROGNAME): New macro.
45144         * elf/tst-null-argv.c: New test case.
45145         * elf/tst-null-argv-lib.c: Library for test case.
45146         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
45147         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
45148         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
45149         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
45150         * elf/dl-init.c (call_init): Likewise.
45151         (_dl_init): Likewise.
45152         * elf/dl-load.c (print_search_path): Likewise.
45153         (_dl_map_object): Likewise.
45154         * elf/dl-lookup.c (do_lookup_x): Likewise.
45155         (add_dependency): Likewise.
45156         (_dl_lookup_symbol_x): Likewise.
45157         (_dl_debug_bindings): Likewise.
45158         * elf/dl-open.c (_dl_show_scope): Likewise.
45159         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
45160         * elf/dl-version.c (match_symbol): Likewise.
45161         (_dl_check_map_versions): Likewise.
45162         * elf/rtld.c (dl_main): Likewise.
45163         (print_unresolved): Use RTLD_PROGNAME.
45164         (print_missing_version): Likewise.
45165         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
45166         (elf_machine_rela): Likewise.
45167         * sysdeps/powerpc/powerpc32/dl-machine.c
45168         (__process_machine_rela): Likewise.
45169         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45170         Likewise.
45171         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
45172         Likewise.
45173         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
45174         Likewise.
45175         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45176         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
45177         Likewise.
45178         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
45179         Likewise.
45180         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45182 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
45184         * po/be.po: Add descriptive title.
45185         * po/zh_CN.po: Likewise.
45186         * po/header.pot: Likewise.
45188 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
45190         * locale/programs/locarchive.c (create_archive): Inlucde fname in
45191         error message.
45192         (enlarge_archive): Likewise.
45194 2013-05-28  Ben North  <ben@redfrontdoor.org>
45196         * manual/arith.texi (frexp): It is the magnitude of the return
45197         value which lies in [0.5, 1), not the return value itself.
45199 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45203 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
45205         * stdio-common/bug26.c (main): Correct fscanf template.
45207         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
45208         declare _dl_skip_args.
45210         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
45211         Don't declare.
45213         * manual/platform.texi: Add missing @end deftypefun.
45215 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45217         [BZ #15529]
45218         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
45219         bit of mantissa of 2^16382.
45220         * math/libm-test.inc (hypot_test_data): Add more tests.
45222         * math/libm-test.inc: Add drem and pow10 to list of tested
45223         functions.
45224         (pow10_test): New function.
45225         (drem_test): Likewise.
45226         (drem_test_tonearest): Likewise.
45227         (drem_test_towardzero): Likewise.
45228         (drem_test_downward): Likewise.
45229         (drem_test_upward): Likewise.
45230         (main): Call the new functions.
45232         * math/libm-test.inc (finite_test_data): Remove.
45233         (finite_test): Run tests from isfinite_test_data.
45234         (gamma_test_data): Remove.
45235         (gamma_test): Run tests from lgamma_test_data.
45236         * sysdeps/i386/fpu/libm-test-ulps: Update.
45237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45239 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45241         * manual/platform.texi: Add PowerPC PPR function set documentation.
45242         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
45243         implementation.
45245 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
45247         * math/libm-test.inc (MAX_EXP): Define.
45248         (ULPDIFF): Define.
45249         (ulp): New function.
45250         (check_float_internal): Use ULPDIFF.
45251         (cpow_test): Disable failing test.
45252         (check_ulp): Test ulp() implemetnation.
45253         (main): Call check_ulp before starting tests.
45255 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
45257         * math/gen-libm-test.pl (generate_testfile): Do not handle
45258         START_DATA and END_DATA.
45259         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
45260         END_DATA.
45261         (acos_tonearest_test_data): Likewise.
45262         (acos_towardzero_test_data): Likewise.
45263         (acos_downward_test_data): Likewise.
45264         (acos_upward_test_data): Likewise.
45265         (acosh_test_data): Likewise.
45266         (asin_test_data): Likewise.
45267         (asin_tonearest_test_data): Likewise.
45268         (asin_towardzero_test_data): Likewise.
45269         (asin_downward_test_data): Likewise.
45270         (asin_upward_test_data): Likewise.
45271         (asinh_test_data): Likewise.
45272         (atan_test_data): Likewise.
45273         (atanh_test_data): Likewise.
45274         (atan2_test_data): Likewise.
45275         (cabs_test_data): Likewise.
45276         (cacos_test_data): Likewise.
45277         (cacosh_test_data): Likewise.
45278         (carg_test_data): Likewise.
45279         (casin_test_data): Likewise.
45280         (casinh_test_data): Likewise.
45281         (catan_test_data): Likewise.
45282         (catanh_test_data): Likewise.
45283         (cbrt_test_data): Likewise.
45284         (ccos_test_data): Likewise.
45285         (ccosh_test_data): Likewise.
45286         (ceil_test_data): Likewise.
45287         (cexp_test_data): Likewise.
45288         (cimag_test_data): Likewise.
45289         (clog_test_data): Likewise.
45290         (clog10_test_data): Likewise.
45291         (conj_test_data): Likewise.
45292         (copysign_test_data): Likewise.
45293         (cos_test_data): Likewise.
45294         (cos_tonearest_test_data): Likewise.
45295         (cos_towardzero_test_data): Likewise.
45296         (cos_downward_test_data): Likewise.
45297         (cos_upward_test_data): Likewise.
45298         (cosh_test_data): Likewise.
45299         (cosh_tonearest_test_data): Likewise.
45300         (cosh_towardzero_test_data): Likewise.
45301         (cosh_downward_test_data): Likewise.
45302         (cosh_upward_test_data): Likewise.
45303         (cpow_test_data): Likewise.
45304         (cproj_test_data): Likewise.
45305         (creal_test_data): Likewise.
45306         (csin_test_data): Likewise.
45307         (csinh_test_data): Likewise.
45308         (csqrt_test_data): Likewise.
45309         (ctan_test_data): Likewise.
45310         (ctan_tonearest_test_data): Likewise.
45311         (ctan_towardzero_test_data): Likewise.
45312         (ctan_downward_test_data): Likewise.
45313         (ctan_upward_test_data): Likewise.
45314         (ctanh_test_data): Likewise.
45315         (ctanh_tonearest_test_data): Likewise.
45316         (ctanh_towardzero_test_data): Likewise.
45317         (ctanh_downward_test_data): Likewise.
45318         (ctanh_upward_test_data): Likewise.
45319         (erf_test_data): Likewise.
45320         (erfc_test_data): Likewise.
45321         (exp_test_data): Likewise.
45322         (exp_tonearest_test_data): Likewise.
45323         (exp_towardzero_test_data): Likewise.
45324         (exp_downward_test_data): Likewise.
45325         (exp_upward_test_data): Likewise.
45326         (exp10_test_data): Likewise.
45327         (exp2_test_data): Likewise.
45328         (expm1_test_data): Likewise.
45329         (fabs_test_data): Likewise.
45330         (fdim_test_data): Likewise.
45331         (finite_test_data): Likewise.
45332         (floor_test_data): Likewise.
45333         (fma_test_data): Likewise.
45334         (fma_towardzero_test_data): Likewise.
45335         (fma_downward_test_data): Likewise.
45336         (fma_upward_test_data): Likewise.
45337         (fmax_test_data): Likewise.
45338         (fmin_test_data): Likewise.
45339         (fmod_test_data): Likewise.
45340         (fpclassify_test_data): Likewise.
45341         (frexp_test_data): Likewise.
45342         (gamma_test_data): Likewise.
45343         (hypot_test_data): Likewise.
45344         (ilogb_test_data): Likewise.
45345         (isfinite_test_data): Likewise.
45346         (isgreater_test_data): Likewise.
45347         (isgreaterequal_test_data): Likewise.
45348         (isinf_test_data): Likewise.
45349         (isless_test_data): Likewise.
45350         (islessequal_test_data): Likewise.
45351         (islessgreater_test_data): Likewise.
45352         (isnan_test_data): Likewise.
45353         (isnormal_test_data): Likewise.
45354         (issignaling_test_data): Likewise.
45355         (isunordered_test_data): Likewise.
45356         (j0_test_data): Likewise.
45357         (j1_test_data): Likewise.
45358         (jn_test_data): Likewise.
45359         (ldexp_test_data): Likewise.
45360         (lgamma_test_data): Likewise.
45361         (lrint_test_data): Likewise.
45362         (lrint_tonearest_test_data): Likewise.
45363         (lrint_towardzero_test_data): Likewise.
45364         (lrint_downward_test_data): Likewise.
45365         (lrint_upward_test_data): Likewise.
45366         (llrint_test_data): Likewise.
45367         (llrint_tonearest_test_data): Likewise.
45368         (llrint_towardzero_test_data): Likewise.
45369         (llrint_downward_test_data): Likewise.
45370         (llrint_upward_test_data): Likewise.
45371         (log_test_data): Likewise.
45372         (log10_test_data): Likewise.
45373         (log1p_test_data): Likewise.
45374         (log2_test_data): Likewise.
45375         (logb_test_data): Likewise.
45376         (logb_downward_test_data): Likewise.
45377         (lround_test_data): Likewise.
45378         (llround_test_data): Likewise.
45379         (modf_test_data): Likewise.
45380         (nearbyint_test_data): Likewise.
45381         (nextafter_test_data): Likewise.
45382         (nexttoward_test_data): Likewise.
45383         (pow_test_data): Likewise.
45384         (pow_tonearest_test_data): Likewise.
45385         (pow_towardzero_test_data): Likewise.
45386         (pow_downward_test_data): Likewise.
45387         (pow_upward_test_data): Likewise.
45388         (remainder_test_data): Likewise.
45389         (remainder_tonearest_test_data): Likewise.
45390         (remainder_towardzero_test_data): Likewise.
45391         (remainder_downward_test_data): Likewise.
45392         (remainder_upward_test_data): Likewise.
45393         (remquo_test_data): Likewise.
45394         (rint_test_data): Likewise.
45395         (rint_tonearest_test_data): Likewise.
45396         (rint_towardzero_test_data): Likewise.
45397         (rint_downward_test_data): Likewise.
45398         (rint_upward_test_data): Likewise.
45399         (round_test_data): Likewise.
45400         (scalb_test_data): Likewise.
45401         (scalbn_test_data): Likewise.
45402         (scalbln_test_data): Likewise.
45403         (signbit_test_data): Likewise.
45404         (sin_test_data): Likewise.
45405         (sin_tonearest_test_data): Likewise.
45406         (sin_towardzero_test_data): Likewise.
45407         (sin_downward_test_data): Likewise.
45408         (sin_upward_test_data): Likewise.
45409         (sincos_test_data): Likewise.
45410         (sinh_test_data): Likewise.
45411         (sinh_tonearest_test_data): Likewise.
45412         (sinh_towardzero_test_data): Likewise.
45413         (sinh_downward_test_data): Likewise.
45414         (sinh_upward_test_data): Likewise.
45415         (sqrt_test_data): Likewise.
45416         (tan_test_data): Likewise.
45417         (tan_tonearest_test_data): Likewise.
45418         (tan_towardzero_test_data): Likewise.
45419         (tan_downward_test_data): Likewise.
45420         (tan_upward_test_data): Likewise.
45421         (tanh_test_data): Likewise.
45422         (tgamma_test_data): Likewise.
45423         (trunc_test_data): Likewise.
45424         (y0_test_data): Likewise.
45425         (y1_test_data): Likewise.
45426         (yn_test_data): Likewise.
45427         (significand_test_data): Likewise.
45429         * math/gen-libm-test.pl (@functions): Remove variable.
45430         (generate_testfile): Don't handle START and END lines.
45431         * math/libm-test.inc (START): New macro.
45432         (END): Likewise.
45433         (END_COMPLEX): Likewise.
45434         (acos_test): Use END macro without arguments.
45435         (acos_test_tonearest): Likewise.
45436         (acos_test_towardzero): Likewise.
45437         (acos_test_downward): Likewise.
45438         (acos_test_upward): Likewise.
45439         (acosh_test): Likewise.
45440         (asin_test): Likewise.
45441         (asin_test_tonearest): Likewise.
45442         (asin_test_towardzero): Likewise.
45443         (asin_test_downward): Likewise.
45444         (asin_test_upward): Likewise.
45445         (asinh_test): Likewise.
45446         (atan_test): Likewise.
45447         (atanh_test): Likewise.
45448         (atan2_test): Likewise.
45449         (cabs_test): Likewise.
45450         (cacos_test): Use END_COMPLEX macro without arguments.
45451         (cacosh_test): Likewise.
45452         (carg_test): Use END macro without arguments.
45453         (casin_test): Use END_COMPLEX macro without arguments.
45454         (casinh_test): Likewise.
45455         (catan_test): Likewise.
45456         (catanh_test): Likewise.
45457         (cbrt_test): Use END macro without arguments.
45458         (ccos_test): Use END_COMPLEX macro without arguments.
45459         (ccosh_test): Likewise.
45460         (ceil_test): Use END macro without arguments.
45461         (cexp_test): Use END_COMPLEX macro without arguments.
45462         (cimag_test): Use END macro without arguments.
45463         (clog_test): Use END_COMPLEX macro without arguments.
45464         (clog10_test): Likewise.
45465         (conj_test): Likewise.
45466         (copysign_test): Use END macro without arguments.
45467         (cos_test): Likewise.
45468         (cos_test_tonearest): Likewise.
45469         (cos_test_towardzero): Likewise.
45470         (cos_test_downward): Likewise.
45471         (cos_test_upward): Likewise.
45472         (cosh_test): Likewise.
45473         (cosh_test_tonearest): Likewise.
45474         (cosh_test_towardzero): Likewise.
45475         (cosh_test_downward): Likewise.
45476         (cosh_test_upward): Likewise.
45477         (cpow_test): Use END_COMPLEX macro without arguments.
45478         (cproj_test): Likewise.
45479         (creal_test): Use END macro without arguments.
45480         (csin_test): Use END_COMPLEX macro without arguments.
45481         (csinh_test): Likewise.
45482         (csqrt_test): Likewise.
45483         (ctan_test): Likewise.
45484         (ctan_test_tonearest): Likewise.
45485         (ctan_test_towardzero): Likewise.
45486         (ctan_test_downward): Likewise.
45487         (ctan_test_upward): Likewise.
45488         (ctanh_test): Likewise.
45489         (ctanh_test_tonearest): Likewise.
45490         (ctanh_test_towardzero): Likewise.
45491         (ctanh_test_downward): Likewise.
45492         (ctanh_test_upward): Likewise.
45493         (erf_test): Use END macro without arguments.
45494         (erfc_test): Likewise.
45495         (exp_test): Likewise.
45496         (exp_test_tonearest): Likewise.
45497         (exp_test_towardzero): Likewise.
45498         (exp_test_downward): Likewise.
45499         (exp_test_upward): Likewise.
45500         (exp10_test): Likewise.
45501         (exp2_test): Likewise.
45502         (expm1_test): Likewise.
45503         (fabs_test): Likewise.
45504         (fdim_test): Likewise.
45505         (finite_test): Likewise.
45506         (floor_test): Likewise.
45507         (fma_test): Likewise.
45508         (fma_test_towardzero): Likewise.
45509         (fma_test_downward): Likewise.
45510         (fma_test_upward): Likewise.
45511         (fmax_test): Likewise.
45512         (fmin_test): Likewise.
45513         (fmod_test): Likewise.
45514         (fpclassify_test): Likewise.
45515         (frexp_test): Likewise.
45516         (gamma_test): Likewise.
45517         (hypot_test): Likewise.
45518         (ilogb_test): Likewise.
45519         (isfinite_test): Likewise.
45520         (isgreater_test): Likewise.
45521         (isgreaterequal_test): Likewise.
45522         (isinf_test): Likewise.
45523         (isless_test): Likewise.
45524         (islessequal_test): Likewise.
45525         (islessgreater_test): Likewise.
45526         (isnan_test): Likewise.
45527         (isnormal_test): Likewise.
45528         (issignaling_test): Likewise.
45529         (isunordered_test): Likewise.
45530         (j0_test): Likewise.
45531         (j1_test): Likewise.
45532         (jn_test): Likewise.
45533         (ldexp_test): Likewise.
45534         (lgamma_test): Likewise.
45535         (lrint_test): Likewise.
45536         (lrint_test_tonearest): Likewise.
45537         (lrint_test_towardzero): Likewise.
45538         (lrint_test_downward): Likewise.
45539         (lrint_test_upward): Likewise.
45540         (llrint_test): Likewise.
45541         (llrint_test_tonearest): Likewise.
45542         (llrint_test_towardzero): Likewise.
45543         (llrint_test_downward): Likewise.
45544         (llrint_test_upward): Likewise.
45545         (log_test): Likewise.
45546         (log10_test): Likewise.
45547         (log1p_test): Likewise.
45548         (log2_test): Likewise.
45549         (logb_test): Likewise.
45550         (logb_test_downward): Likewise.
45551         (lround_test): Likewise.
45552         (llround_test): Likewise.
45553         (modf_test): Likewise.
45554         (nearbyint_test): Likewise.
45555         (nextafter_test): Likewise.
45556         (nexttoward_test): Likewise.
45557         (pow_test): Likewise.
45558         (pow_test_tonearest): Likewise.
45559         (pow_test_towardzero): Likewise.
45560         (pow_test_downward): Likewise.
45561         (pow_test_upward): Likewise.
45562         (remainder_test): Likewise.
45563         (remainder_test_tonearest): Likewise.
45564         (remainder_test_towardzero): Likewise.
45565         (remainder_test_downward): Likewise.
45566         (remainder_test_upward): Likewise.
45567         (remquo_test): Likewise.
45568         (rint_test): Likewise.
45569         (rint_test_tonearest): Likewise.
45570         (rint_test_towardzero): Likewise.
45571         (rint_test_downward): Likewise.
45572         (rint_test_upward): Likewise.
45573         (round_test): Likewise.
45574         (scalb_test): Likewise.
45575         (scalbn_test): Likewise.
45576         (scalbln_test): Likewise.
45577         (signbit_test): Likewise.
45578         (sin_test): Likewise.
45579         (sin_test_tonearest): Likewise.
45580         (sin_test_towardzero): Likewise.
45581         (sin_test_downward): Likewise.
45582         (sin_test_upward): Likewise.
45583         (sincos_test): Likewise.
45584         (sinh_test): Likewise.
45585         (sinh_test_tonearest): Likewise.
45586         (sinh_test_towardzero): Likewise.
45587         (sinh_test_downward): Likewise.
45588         (sinh_test_upward): Likewise.
45589         (sqrt_test): Likewise.
45590         (tan_test): Likewise.
45591         (tan_test_tonearest): Likewise.
45592         (tan_test_towardzero): Likewise.
45593         (tan_test_downward): Likewise.
45594         (tan_test_upward): Likewise.
45595         (tanh_test): Likewise.
45596         (tgamma_test): Likewise.
45597         (trunc_test): Likewise.
45598         (y0_test): Likewise.
45599         (y1_test): Likewise.
45600         (yn_test): Likewise.
45601         (significand_test): Likewise.
45603 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
45605         [BZ #15381]
45606         * libio/genops.c (_IO_no_init): Initialize wide struct info.
45608 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
45610         [BZ #14894]
45611         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
45612         __ppc_mdoio and __ppc_mdoom.
45613         * manual/platform.texi: Document new functions __ppc_yield,
45614         __ppc_mdoio and __ppc_mdoom.
45616 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
45618         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
45619         (main): Mention "tls" pseudo-hwcap is legacy.
45620         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
45622 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45624         * math/gen-libm-test.pl (parse_args): Output only string of
45625         arguments as text for test name, not full call or descriptions of
45626         tests for extra outputs.
45627         (generate_testfile): Do not pass function name to parse_args.
45628         Generate this_func variable from START.
45629         * math/libm-test.inc (struct test_f_f_data): Rename test_name
45630         field to arg_str.
45631         (struct test_ff_f_data): Likewise.
45632         (test_ff_f_data_nexttoward): Likewise.
45633         (struct test_fi_f_data): Likewise.
45634         (struct test_fl_f_data): Likewise.
45635         (struct test_if_f_data): Likewise.
45636         (struct test_fff_f_data): Likewise.
45637         (struct test_c_f_data): Likewise.
45638         (struct test_f_f1_data): Likewise.  Remove field extra_name.
45639         (struct test_fF_f1_data): Likewise.
45640         (struct test_ffI_f1_data): Likewise.
45641         (struct test_c_c_data): Rename test_name field to arg_str.
45642         (struct test_cc_c_data): Likewise.
45643         (struct test_f_i_data): Likewise.
45644         (struct test_ff_i_data): Likewise.
45645         (struct test_f_l_data): Likewise.
45646         (struct test_f_L_data): Likewise.
45647         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
45648         and extra2_name.
45649         (COMMON_TEST_SETUP): New macro.
45650         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
45651         (COMMON_TEST_CLEANUP): Likewise.
45652         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
45653         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
45654         macros.
45655         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
45656         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
45657         macros.
45658         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
45659         (RUN_TEST_fff_f): Take argument string.  Call new setup and
45660         cleanup macros.
45661         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
45662         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
45663         macros.
45664         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
45665         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
45666         macros.
45667         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45668         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
45669         cleanup macros.
45670         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45671         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
45672         cleanup macros.
45673         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45674         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
45675         cleanup macros.
45676         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45677         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
45678         macros.
45679         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
45680         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
45681         macros.
45682         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
45683         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
45684         macros.
45685         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
45686         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
45687         cleanup macros.
45688         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
45689         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
45690         cleanup macros.
45691         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
45692         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
45693         macros.
45694         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
45695         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
45696         cleanup macros.
45697         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
45698         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
45699         macros.
45700         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
45701         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
45702         macros.
45703         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
45704         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
45705         cleanup macros.
45706         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
45708 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
45710         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
45711         to _sifields.sigfault.
45712         (si_addr_lsb): Define new macro.
45713         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
45714         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45715         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
45717 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
45719         [BZ #15441]
45720         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
45721         returns -1.
45722         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
45723         null return -1.
45724         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
45725         loading the domain.
45727 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
45729         * math/gen-libm-test.pl (parse_args): Do not include expected
45730         result in test name.
45731         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
45732         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45733         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45734         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45735         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45738 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45740         * benchtests/Makefile: Sort function entries.
45742         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
45743         tanh, asinh, acosh, atanh.
45744         * benchtests/acos-inputs: New file.
45745         * benchtests/acosh-inputs: New file.
45746         * benchtests/asin-inputs: New file.
45747         * benchtests/asinh-inputs: New file.
45748         * benchtests/atanh-inputs: New file.
45749         * benchtests/cosh-inputs: New file.
45750         * benchtests/log-inputs: New file.
45751         * benchtests/sinh-inputs: New file.
45752         * benchtests/tanh-inputs: New file.
45754 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
45756         [BZ #15339]
45757         * posix/tst-getaddrinfo4.c: New test.
45758         * posix/Makefile (tests): Add it.
45760 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45762         [BZ #15339]
45763         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
45764         when no services were used.
45765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
45766         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
45768 2013-05-21  Andreas Schwab  <schwab@suse.de>
45770         [BZ #15014]
45771         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
45772         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
45773         successful.
45774         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
45775         redundant variable declarations and reallocation of buffer when
45776         parsing as IPv6 address.  Always set NSS status when called from
45777         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
45778         buffer too small.  Correct computation of needed size.
45779         * nss/Makefile (tests): Add test-digits-dots.
45780         * nss/test-digits-dots.c: New test.
45782 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
45784         * benchtests/Makefile: Remove instructions for adding
45785         benchmark tests.
45786         * benchtests/README: New file to explain how to execute and
45787         enhance the benchmark tests.
45789 2013-05-21  Andreas Schwab  <schwab@suse.de>
45791         [BZ #15493]
45792         * setjmp/Makefile (tests): Add tst-sigsetjmp.
45793         * setjmp/tst-sigsetjmp.c: New test.
45795 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45797         * sysdeps/x86_64/memset.S (memset): New implementation.
45798         (__bzero): Likewise.
45799         (__memset_tail): New function.
45801 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
45803         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
45804         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
45805         __memcpy_sse2_unaligned ifunc selection.
45806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
45807         Add memcpy-sse2-unaligned.S.
45808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
45809         Add: __memcpy_sse2_unaligned.
45811 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
45813         [BZ #15490]
45814         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
45815         math_force_eval before restoring floating-point envrionment.
45816         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
45817         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
45818         Likewise.
45819         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
45820         <math_private.h>.
45821         (__nearbyintl): Use math_force_eval before restoring
45822         floating-point environment.
45823         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
45825         * math/gen-libm-test.pl (special_functions): Remove.
45826         (parse_args): Don't handle TEST_extra.  Handle functions with no
45827         return value.
45828         * math/libm-test.inc (struct test_sincos_data): Replace with
45829         struct test_fFF_11_data.
45830         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
45831         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
45832         (sincos_test_data): Change element type to struct
45833         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
45834         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
45835         RUN_TEST_LOOP_sincos.
45836         * math/README.libm-test: Don't mention special handling of
45837         individual functions.
45838         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
45839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45840         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45842         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45845         * math/gen-libm-test.pl (get_variable): Remove function.
45846         (parse_args): Don't show pointer parameters to call in test
45847         names.  Use "extra output N" in test names for extra outputs
45848         rather than naming variables.
45850 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
45852         [BZ #15488]
45853         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
45854         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
45855         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
45856         double tests.
45857         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
45858         disable.
45859         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
45860         check_long_double.
45862         * math/gen-libm-test.pl (@tests): Remove variable.
45863         ($count): Likewise.
45864         (new_test): Remove function.
45865         (show_exceptions): New function.
45866         (special_functions): Use show_exceptions instead of new_test.
45867         (parse_args): Likewise.
45868         (generate_testfile): Pass only function name in generated call to
45869         print_max_error or print_complex_max_error.
45870         (get_ulps): Do not handle complex tests specially.
45871         (output_test): Rename to ...
45872         (get_all_ulps_for_test): ... this.  Return a string rather than
45873         printing to a file.  Require ulps to be present.
45874         (output_ulps): Generate arrays rather than #defines.
45875         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
45876         (struct ulp_data): New type.
45877         (BUILD_COMPLEX_ULP): Remove macro.
45878         (compare_ulp_data): New function.
45879         (find_ulps): Likewise.
45880         (find_test_ulps): Likewise.
45881         (find_function_ulps): Likewise.
45882         (find_complex_function_ulps): Likewise.
45883         (print_max_error): Determine allowed ulps using
45884         find_function_ulps.
45885         (print_complex_max_error): Determine allowed ulps using
45886         find_complex_function_ulps.
45887         (check_float_internal): Determine max ulps using find_test_ulps.
45888         (check_float): Do not take max_ulp parameter.  Update call to
45889         check_float_internal.
45890         (check_complex): Likewise.
45891         (check_int): Do not take max_ulp parameter.
45892         (check_long): Likewise.
45893         (check_bool): Likewise.
45894         (check_longlong): Likewise.
45895         (struct test_f_f_data): Remove max_ulp field.
45896         (struct test_ff_f_data): Likewise.
45897         (struct test_ff_f_data_nexttoward): Likewise.
45898         (struct test_fi_f_data): Likewise.
45899         (struct test_fl_f_data): Likewise.
45900         (struct test_if_f_data): Likewise.
45901         (struct test_fff_f_data): Likewise.
45902         (struct test_c_f_data): Likewise.
45903         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
45904         (struct test_fF_f1_data): Likewise.
45905         (struct test_ffI_f1_data): Likewise.
45906         (struct test_c_c_data): Remove max_ulp field.
45907         (struct test_cc_c_data): Likewise.
45908         (struct test_f_i_data): Likewise.
45909         (struct test_ff_i_data): Likewise.
45910         (struct test_f_l_data): Likewise.
45911         (struct test_f_L_data): Likewise.
45912         (struct test_sincos_data): Likewise.
45913         (RUN_TEST_f_f): Do not handle ulps.
45914         (RUN_TEST_LOOP_f_f): Likewise.
45915         (RUN_TEST_2_f): Likewise.
45916         (RUN_TEST_LOOP_2_f): Likewise.
45917         (RUN_TEST_fff_f): Likewise.
45918         (RUN_TEST_LOOP_fff_f): Likewise.
45919         (RUN_TEST_c_f): Likewise.
45920         (RUN_TEST_LOOP_c_f): Likewise.
45921         (RUN_TEST_f_f1): Likewise.
45922         (RUN_TEST_LOOP_f_f1): Likewise.
45923         (RUN_TEST_fF_f1): Likewise.
45924         (RUN_TEST_LOOP_fF_f1): Likewise.
45925         (RUN_TEST_fI_f1): Likewise.
45926         (RUN_TEST_LOOP_fI_f1): Likewise.
45927         (RUN_TEST_ffI_f1): Likewise.
45928         (RUN_TEST_LOOP_ffI_f1): Likewise.
45929         (RUN_TEST_c_c): Likewise.
45930         (RUN_TEST_LOOP_c_c): Likewise.
45931         (RUN_TEST_cc_c): Likewise.
45932         (RUN_TEST_LOOP_cc_c): Likewise.
45933         (RUN_TEST_f_i): Likewise.
45934         (RUN_TEST_LOOP_f_i): Likewise.
45935         (RUN_TEST_f_i_tg): Likewise.
45936         (RUN_TEST_LOOP_f_i_tg): Likewise.
45937         (RUN_TEST_ff_i_tg): Likewise.
45938         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45939         (RUN_TEST_f_b): Likewise.
45940         (RUN_TEST_LOOP_f_b): Likewise.
45941         (RUN_TEST_f_b_tg): Likewise.
45942         (RUN_TEST_LOOP_f_b_tg): Likewise.
45943         (RUN_TEST_f_l): Likewise.
45944         (RUN_TEST_LOOP_f_l): Likewise.
45945         (RUN_TEST_f_L): Likewise.
45946         (RUN_TEST_LOOP_f_L): Likewise.
45947         (RUN_TEST_sincos): Likewise.
45948         (RUN_TEST_LOOP_sincos): Likewise.
45950 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
45952         [BZ #15480]
45953         [BZ #15485]
45954         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
45955         main case of finite arguments, set rounding mode to FE_TONEAREST
45956         and discard exceptions.
45957         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
45958         exceptions.
45959         (remainder_tonearest_test_data): New variable.
45960         (remainder_test_tonearest): New function.
45961         (remainder_towardzero_test_data): New variable.
45962         (remainder_test_towardzero): New function.
45963         (remainder_downward_test_data): New variable.
45964         (remainder_test_downward): New function.
45965         (remainder_upward_test_data): New variable.
45966         (remainder_test_upward): New function.
45967         (main): Call the new test functions.
45969         * math/libm-test.inc (struct test_f_f1_data): Remove field
45970         extra_init.
45971         (struct test_fF_f1_data): Likewise.
45972         (struct test_ffI_f1_data): Likewise.
45973         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
45974         based on value of EXTRA_EXPECTED.
45975         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
45976         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
45977         EXTRA_VAR based on value of EXTRA_EXPECTED.
45978         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
45979         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
45980         EXTRA_VAR based on value of EXTRA_EXPECTED.
45981         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
45982         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
45983         EXTRA_VAR based on value of EXTRA_EXPECTED.
45984         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
45985         * math/gen-libm-test.pl (parse_args): Don't output initializers
45986         for extra output values.
45988         * math/libm-test.inc (check_int): Expect result to be exactly
45989         equal to expected value and do not handle ulps.
45990         (check_long): Likewise.
45991         (check_longlong): Likewise.
45993         * math/libm-test.inc (ceil_test_data): Test for "inexact"
45994         exceptions.
45995         (cimag_test_data): Likewise.
45996         (conj_test_data): Likewise.
45997         (copysign_test_data): Likewise.
45998         (cproj_test_data): Likewise.
45999         (creal_test_data): Likewise.
46000         (fabs_test_data): Likewise.
46001         (fdim_test_data): Likewise.
46002         (finite_test_data): Likewise.
46003         (floor_test_data): Likewise.
46004         (fmax_test_data): Likewise.
46005         (fmin_test_data): Likewise.
46006         (fmod_test_data): Likewise.
46007         (fpclassify_test_data): Likewise.
46008         (frexp_test_data): Likewise.
46009         (ilogb_test_data): Likewise.
46010         (isfinite_test_data): Likewise.
46011         (isgreater_test_data): Likewise.
46012         (isgreaterequal_test_data): Likewise.
46013         (isinf_test_data): Likewise.
46014         (isless_test_data): Likewise.
46015         (islessequal_test_data): Likewise.
46016         (islessgreater_test_data): Likewise.
46017         (isnan_test_data): Likewise.
46018         (isnormal_test_data): Likewise.
46019         (issignaling_test_data): Likewise.
46020         (isunordered_test_data): Likewise.
46021         (ldexp_test_data): Likewise.
46022         (lrint_test_data): Likewise.
46023         (lrint_test_data) [TEST_FLOAT]: Disable one test.
46024         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
46025         (lrint_tonearest_test_data): Test for "inexact" exceptions.
46026         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46027         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
46028         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46029         test input.
46030         (lrint_towardzero_test_data): Test for "inexact" exceptions.
46031         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46032         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
46033         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
46034         that test input.
46035         (lrint_downward_test_data): Test for "inexact" exceptions.
46036         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46037         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
46038         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
46039         test input.
46040         (lrint_upward_test_data): Test for "inexact" exceptions.
46041         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
46042         test input.
46043         (llrint_test_data): Test for "inexact" exceptions.
46044         (llrint_test_data) [TEST_FLOAT]: Disable one test.
46045         (llrint_tonearest_test_data): Test for "inexact" exceptions.
46046         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
46047         (llrint_towardzero_test_data): Test for "inexact" exceptions.
46048         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
46049         (llrint_downward_test_data): Test for "inexact" exceptions.
46050         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
46051         (llrint_upward_test_data): Test for "inexact" exceptions.
46052         (logb_test_data): Likewise.
46053         (logb_downward_test_data): Likewise.
46054         (nextafter_test_data): Likewise.
46055         (nexttoward_test_data): Likewise.
46056         (remainder_test_data): Likewise.
46057         (remquo_test_data): Likewise.
46058         (scalbn_test_data): Likewise.
46059         (scalbln_test_data): Likewise.
46060         (signbit_test_data): Likewise.
46061         (sqrt_test_data): Likewise.
46062         (significand_test_data): Likewise.
46064 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
46066         [BZ #15424]
46067         * benchtests/bench-modf.c (struct args): Mark arg0 as
46068         volatile.
46069         * scripts/bench.pl: Mark members of struct args as volatile.
46071 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46073         [BZ # 15497]
46074         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
46075         negative infinity on POWER6 or lower.
46076         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
46078 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
46080         [BZ #15442]
46081         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
46082         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
46083         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
46084         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
46085         (_FP_SETQNAN): New macro.
46086         (_FP_SETQNAN_SEMIRAW): Likewise.
46087         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
46088         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
46089         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
46090         (FP_EXTEND): Use _FP_FRAC_SNANP.
46091         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
46092         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
46093         into account.
46094         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46095         New macro.
46096         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
46097         Likewise.
46099 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46101         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
46102         with DIVIDE_BY_ZERO_EXCEPTION.
46103         (gamma_test_data): Likewise.
46104         (lgamma_test_data): Likewise.
46105         (log_test_data): Likewise.
46106         (log10_test_data): Likewise.
46107         (log2_test_data): Likewise.
46108         (tgamma_test_data): Likewise.
46110         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
46111         (acos_test_tonearest): Likewise.
46112         (acos_test_towardzero): Likewise.
46113         (acos_test_downward): Likewise.
46114         (acos_test_upward): Likewise.
46115         (acosh_test): Likewise.
46116         (asin_test): Likewise.
46117         (asin_test_tonearest): Likewise.
46118         (asin_test_towardzero): Likewise.
46119         (asin_test_downward): Likewise.
46120         (asin_test_upward): Likewise.
46121         (asinh_test): Likewise.
46122         (atan_test): Likewise.
46123         (atanh_test): Likewise.
46124         (atan2_test): Likewise.
46125         (cabs_test): Likewise.
46126         (cacos_test): Likewise.
46127         (cacosh_test): Likewise.
46128         (casin_test): Likewise.
46129         (casinh_test): Likewise.
46130         (catan_test): Likewise.
46131         (catanh_test): Likewise.
46132         (cbrt_test): Likewise.
46133         (ccos_test): Likewise.
46134         (ccosh_test): Likewise.
46135         (cexp_test): Likewise.
46136         (clog_test): Likewise.
46137         (clog10_test): Likewise.
46138         (cos_test): Likewise.
46139         (cos_test_tonearest): Likewise.
46140         (cos_test_towardzero): Likewise.
46141         (cos_test_downward): Likewise.
46142         (cos_test_upward): Likewise.
46143         (cosh_test): Likewise.
46144         (cosh_test_tonearest): Likewise.
46145         (cosh_test_towardzero): Likewise.
46146         (cosh_test_downward): Likewise.
46147         (cosh_test_upward): Likewise.
46148         (cpow_test): Likewise.
46149         (csin_test): Likewise.
46150         (csinh_test): Likewise.
46151         (csqrt_test): Likewise.
46152         (ctan_test): Likewise.
46153         (ctan_test_tonearest): Likewise.
46154         (ctan_test_towardzero): Likewise.
46155         (ctan_test_downward): Likewise.
46156         (ctan_test_upward): Likewise.
46157         (ctanh_test): Likewise.
46158         (ctanh_test_tonearest): Likewise.
46159         (ctanh_test_towardzero): Likewise.
46160         (ctanh_test_downward): Likewise.
46161         (ctanh_test_upward): Likewise.
46162         (erf_test): Likewise.
46163         (erfc_test): Likewise.
46164         (exp_test): Likewise.
46165         (exp_test_tonearest): Likewise.
46166         (exp_test_towardzero): Likewise.
46167         (exp_test_downward): Likewise.
46168         (exp_test_upward): Likewise.
46169         (exp10_test): Likewise.
46170         (exp2_test): Likewise.
46171         (expm1_test): Likewise.
46172         (fmod_test): Likewise.
46173         (gamma_test): Likewise.
46174         (hypot_test): Likewise.
46175         (j0_test): Likewise.
46176         (j1_test): Likewise.
46177         (jn_test): Likewise.
46178         (lgamma_test): Likewise.
46179         (log_test): Likewise.
46180         (log10_test): Likewise.
46181         (log1p_test): Likewise.
46182         (log2_test): Likewise.
46183         (logb_test_downward): Likewise.
46184         (pow_test): Likewise.
46185         (pow_test_tonearest): Likewise.
46186         (pow_test_towardzero): Likewise.
46187         (pow_test_downward): Likewise.
46188         (pow_test_upward): Likewise.
46189         (remainder_test): Likewise.
46190         (remquo_test): Likewise.
46191         (sin_test): Likewise.
46192         (sin_test_tonearest): Likewise.
46193         (sin_test_towardzero): Likewise.
46194         (sin_test_downward): Likewise.
46195         (sin_test_upward): Likewise.
46196         (sincos_test): Likewise.
46197         (sinh_test): Likewise.
46198         (sinh_test_tonearest): Likewise.
46199         (sinh_test_towardzero): Likewise.
46200         (sinh_test_downward): Likewise.
46201         (sinh_test_upward): Likewise.
46202         (sqrt_test): Likewise.
46203         (tan_test): Likewise.
46204         (tan_test_tonearest): Likewise.
46205         (tan_test_towardzero): Likewise.
46206         (tan_test_downward): Likewise.
46207         (tan_test_upward): Likewise.
46208         (tanh_test): Likewise.
46209         (tgamma_test): Likewise.
46210         (y0_test): Likewise.
46211         (y1_test): Likewise.
46212         (yn_test): Likewise.
46214         * math/gen-libm-test.pl (adjust_arg): Remove function.
46215         (special_function): Remove argument $in_func.  Only handle
46216         generating output for tables of tests, not inside functions.
46217         (parse_args): Likewise.
46218         (generate_testfile): Remove variable $in_func.  Update call to
46219         parse_args.
46220         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
46221         (MINUS_ZERO_INIT): Rename macro to minus_zero.
46222         (PLUS_INFTY_INIT): Rename macro to plus_infty.
46223         (MINUS_INFTY_INIT): Rename macro to minus_infty.
46224         (QNAN_VALUE_INIT): Rename macro to qnan_value.
46225         (MAX_VALUE_INIT): Rename macro to max_value.
46226         (MIN_VALUE_INIT): Rename macro to min_value.
46227         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
46228         (plus_zero): Remove variable.
46229         (minus_zero): Likewise.
46230         (plus_infty): Likewise.
46231         (minus_infty): Likewise.
46232         (qnan_value): Likewise.
46233         (max_value): Likewise.
46234         (min_value): Likewise.
46235         (min_subnorm_value): Likewise.
46237 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46239         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
46240         uint64_t or uint32_t usage.
46241         * crypt/sha256-block.c: Likewise.
46242         * crypt/sha256-crypt.c: Likewise.
46243         * crypt/sha256.c: Likewise.
46244         * crypt/sha512-block.c: Likewise.
46245         * crypt/sha512-crypt.c: Likewise.
46246         * crypt/sha512.c: Likewise.
46247         * debug/backtrace-tst.c: Likewise.
46248         * debug/pcprofiledump.c: Likewise.
46249         * elf/cache.c: Likewise.
46250         * elf/dl-cache.c: Likewise.
46251         * elf/dl-misc.c: Likewise.
46252         * elf/dl-profile.c: Likewise.
46253         * elf/dl-support.c: Likewise.
46254         * elf/ldconfig.c: Likewise.
46255         * elf/sprof.c: Likewise.
46256         * iconv/dummy-repertoire.c: Likewise.
46257         * iconv/iconv_charmap.c: Likewise.
46258         * iconv/skeleton.c: Likewise.
46259         * iconvdata/8bit-generic.c: Likewise.
46260         * iconvdata/cp737.h: Likewise.
46261         * iconvdata/cp775.h: Likewise.
46262         * iconvdata/ibm1008.h: Likewise.
46263         * iconvdata/ibm1025.h: Likewise.
46264         * iconvdata/ibm1046.h: Likewise.
46265         * iconvdata/ibm1097.h: Likewise.
46266         * iconvdata/ibm1112.h: Likewise.
46267         * iconvdata/ibm1122.h: Likewise.
46268         * iconvdata/ibm1123.h: Likewise.
46269         * iconvdata/ibm1124.h: Likewise.
46270         * iconvdata/ibm1129.h: Likewise.
46271         * iconvdata/ibm1130.h: Likewise.
46272         * iconvdata/ibm1132.h: Likewise.
46273         * iconvdata/ibm1133.h: Likewise.
46274         * iconvdata/ibm1137.h: Likewise.
46275         * iconvdata/ibm1140.h: Likewise.
46276         * iconvdata/ibm1141.h: Likewise.
46277         * iconvdata/ibm1142.h: Likewise.
46278         * iconvdata/ibm1143.h: Likewise.
46279         * iconvdata/ibm1144.h: Likewise.
46280         * iconvdata/ibm1145.h: Likewise.
46281         * iconvdata/ibm1146.h: Likewise.
46282         * iconvdata/ibm1147.h: Likewise.
46283         * iconvdata/ibm1148.h: Likewise.
46284         * iconvdata/ibm1149.h: Likewise.
46285         * iconvdata/ibm1153.h: Likewise.
46286         * iconvdata/ibm1154.h: Likewise.
46287         * iconvdata/ibm1155.h: Likewise.
46288         * iconvdata/ibm1156.h: Likewise.
46289         * iconvdata/ibm1157.h: Likewise.
46290         * iconvdata/ibm1158.h: Likewise.
46291         * iconvdata/ibm1160.h: Likewise.
46292         * iconvdata/ibm1161.h: Likewise.
46293         * iconvdata/ibm1162.h: Likewise.
46294         * iconvdata/ibm1163.h: Likewise.
46295         * iconvdata/ibm1164.h: Likewise.
46296         * iconvdata/ibm1166.h: Likewise.
46297         * iconvdata/ibm1167.h: Likewise.
46298         * iconvdata/ibm12712.h: Likewise.
46299         * iconvdata/ibm1390.h: Likewise.
46300         * iconvdata/ibm1399.h: Likewise.
46301         * iconvdata/ibm16804.h: Likewise.
46302         * iconvdata/ibm4517.h: Likewise.
46303         * iconvdata/ibm4899.h: Likewise.
46304         * iconvdata/ibm4909.h: Likewise.
46305         * iconvdata/ibm4971.h: Likewise.
46306         * iconvdata/ibm5347.h: Likewise.
46307         * iconvdata/ibm803.h: Likewise.
46308         * iconvdata/ibm856.h: Likewise.
46309         * iconvdata/ibm901.h: Likewise.
46310         * iconvdata/ibm902.h: Likewise.
46311         * iconvdata/ibm9030.h: Likewise.
46312         * iconvdata/ibm9066.h: Likewise.
46313         * iconvdata/ibm921.h: Likewise.
46314         * iconvdata/ibm922.h: Likewise.
46315         * iconvdata/ibm9448.h: Likewise.
46316         * iconvdata/isiri-3342.h: Likewise.
46317         * iconvdata/jis0201.h: Likewise.
46318         * include/link.h: Likewise.
46319         * include/netdb.h: Likewise.
46320         * inet/check_native.c: Likewise.
46321         * inet/check_pf.c: Likewise.
46322         * inet/getipv4sourcefilter.c: Likewise.
46323         * inet/getnameinfo.c: Likewise.
46324         * inet/getsourcefilter.c: Likewise.
46325         * inet/htonl.c: Likewise.
46326         * inet/setipv4sourcefilter.c: Likewise.
46327         * inet/setsourcefilter.c: Likewise.
46328         * inet/test-inet6_opt.c: Likewise.
46329         * inet/tst-network.c: Likewise.
46330         * locale/C-collate.c: Likewise.
46331         * locale/C-ctype.c: Likewise.
46332         * locale/C-time.c: Likewise.
46333         * locale/C-translit.h: Likewise.
46334         * locale/loadarchive.c: Likewise.
46335         * locale/programs/3level.h: Likewise.
46336         * locale/programs/charmap.c: Likewise.
46337         * locale/programs/charmap.h: Likewise.
46338         * locale/programs/ld-address.c: Likewise.
46339         * locale/programs/ld-collate.c: Likewise.
46340         * locale/programs/ld-ctype.c: Likewise.
46341         * locale/programs/ld-identification.c: Likewise.
46342         * locale/programs/ld-measurement.c: Likewise.
46343         * locale/programs/ld-messages.c: Likewise.
46344         * locale/programs/ld-monetary.c: Likewise.
46345         * locale/programs/ld-name.c: Likewise.
46346         * locale/programs/ld-numeric.c: Likewise.
46347         * locale/programs/ld-paper.c: Likewise.
46348         * locale/programs/ld-telephone.c: Likewise.
46349         * locale/programs/ld-time.c: Likewise.
46350         * locale/programs/linereader.c: Likewise.
46351         * locale/programs/locale.c: Likewise.
46352         * locale/programs/locarchive.c: Likewise.
46353         * locale/programs/locfile.h: Likewise.
46354         * locale/programs/repertoire.c: Likewise.
46355         * locale/programs/simple-hash.c: Likewise.
46356         * locale/programs/simple-hash.h: Likewise.
46357         * malloc/memusage.c: Likewise.
46358         * malloc/memusagestat.c: Likewise.
46359         * nis/nis_defaults.c: Likewise.
46360         * nis/nis_hash.c: Likewise.
46361         * nis/nis_print.c: Likewise.
46362         * nis/nis_xdr.c: Likewise.
46363         * nscd/connections.c: Likewise.
46364         * nscd/hstcache.c: Likewise.
46365         * nscd/nscd_gethst_r.c: Likewise.
46366         * nscd/nscd_getserv_r.c: Likewise.
46367         * nscd/nscd_helper.c: Likewise.
46368         * nscd/servicescache.c: Likewise.
46369         * nss/makedb.c: Likewise.
46370         * nss/nss_db/db-XXX.c: Likewise.
46371         * nss/nss_db/db-initgroups.c: Likewise.
46372         * nss/nss_db/db-netgrp.c: Likewise.
46373         * nss/nss_files/files-network.c: Likewise.
46374         * nss/nss_files/files-parse.c: Likewise.
46375         * posix/bug-regex5.c: Likewise.
46376         * posix/fnmatch_loop.c: Likewise.
46377         * posix/regcomp.c: Likewise.
46378         * posix/regexec.c: Likewise.
46379         * posix/tst-rfc3484-2.c: Likewise.
46380         * posix/tst-rfc3484-3.c: Likewise.
46381         * posix/tst-rfc3484.c: Likewise.
46382         * resolv/nss_dns/dns-canon.c: Likewise.
46383         * resolv/nss_dns/dns-network.c: Likewise.
46384         * resolv/res_init.c: Likewise.
46385         * resolv/res_mkquery.c: Likewise.
46386         * resolv/tst-aton.c: Likewise.
46387         * stdlib/cxa_atexit.c: Likewise.
46388         * stdlib/cxa_finalize.c: Likewise.
46389         * stdlib/gen-fpioconst.c: Likewise.
46390         * stdlib/strtol_l.c: Likewise.
46391         * string/tst-endian.c: Likewise.
46392         * sunrpc/auth_des.c: Likewise.
46393         * sunrpc/clnt_udp.c: Likewise.
46394         * sunrpc/rtime.c: Likewise.
46395         * sunrpc/svcauth_des.c: Likewise.
46396         * sunrpc/xdr.c: Likewise.
46397         * sunrpc/xdr_intXX_t.c: Likewise.
46398         * sunrpc/xdr_rec.c: Likewise.
46399         * sysdeps/generic/ldconfig.h: Likewise.
46400         * sysdeps/generic/ldsodefs.h: Likewise.
46401         * sysdeps/generic/memusage.h: Likewise.
46402         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46403         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
46404         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
46405         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46406         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46407         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46408         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46409         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46410         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46411         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46412         * sysdeps/posix/getaddrinfo.c: Likewise.
46413         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46414         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46415         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
46416         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
46417         * sysdeps/powerpc/test-gettimebase.c: Likewise.
46418         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
46419         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
46420         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
46421         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
46422         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
46423         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46424         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46425         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
46426         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
46427         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
46428         * sysdeps/x86_64/dl-tls.h: Likewise.
46429         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
46430         * time/alt_digit.c: Likewise.
46431         * time/era.c: Likewise.
46432         * wcsmbs/tst-c16c32-1.c: Likewise.
46434 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46436         * math/libm-test.inc (struct test_sincos_data): New type.
46437         (RUN_TEST_LOOP_sincos): New macro.
46438         (sincos_test_data): New variable.
46439         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
46441 2013-05-16  Richard Henderson  <rth@redhat.com>
46443         * math/atest-exp2.c (LIMB64): New macro.
46444         (CONSTSZ): New macro.
46445         (mp_exp1, mp_exp_m1, mp_log2): New variables.
46446         (hexdig): Move ...
46447         (print_mpn_fp): ... to function scope.
46448         (read_mpn_hex): Remove.
46449         (get_log2): Remove.
46450         (exp2_mpn): Use mp_log2.
46451         (main): Use mp_exp1.
46453 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
46455         * math/libm-test.inc: Remove comment about not testing "inexact"
46456         exceptions.
46457         (INEXACT_EXCEPTION): New macro.
46458         (NO_INEXACT_EXCEPTION): Likewise.
46459         (INVALID_EXCEPTION_OK): Update value.
46460         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46461         (OVERFLOW_EXCEPTION_OK): Likewise.
46462         (UNDERFLOW_EXCEPTION_OK): Likewise.
46463         (IGNORE_ZERO_INF_SIGN): Likewise.
46464         (ERRNO_UNCHANGED): Likewise.
46465         (ERRNO_EDOM): Likewise.
46466         (ERRNO_ERANGE): Likewise.
46467         (test_exceptions): Handle testing "inexact" exceptions.
46468         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
46469         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
46470         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
46471         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
46472         INEXACT_EXCEPTION.
46473         (rint_towardzero_test_data): Likewise.
46474         (rint_downward_test_data): Likewise.
46475         (rint_upward_test_data): Likewise.
46477         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
46478         with OVERFLOW_EXCEPTION.
46479         (exp10_test_data): Likewise.
46480         (exp2_test_data): Likewise.
46481         (expm1_test_data): Likewise.
46482         (lgamma_test_data): Likewise.
46483         (pow_test_data): Likewise.
46484         (tgamma_test_data): Likewise.
46485         (yn_test_data): Remove duplicate test of overflow.
46487         * math/libm-test.inc (struct test_cc_c_data): New type.
46488         (RUN_TEST_LOOP_cc_c): New macro.
46489         (cpow_test_data): New variable.
46490         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
46492         * math/libm-test.inc (struct test_f_L_data): New type.
46493         (RUN_TEST_LOOP_f_L): New macro.
46494         (llrint_test_data): New variable.
46495         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
46496         (llrint_tonearest_test_data): New variable.
46497         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
46498         (llrint_towardzero_test_data): New variable.
46499         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
46500         (llrint_downward_test_data): New variable.
46501         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
46502         (llrint_upward_test_data): New variable.
46503         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
46504         (llround_test_data): New variable.
46505         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
46507 2013-05-13  Peter Collingbourne  <pcc@google.com>
46509         * math/atest-exp2.c (get_log2): Remove const attribute.
46511 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46513         * math/libm-test.inc (struct test_f_l_data): New type.
46514         (RUN_TEST_LOOP_f_l): New macro.
46515         (lrint_test_data): New variable.
46516         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
46517         (lrint_tonearest_test_data): New variable.
46518         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
46519         (lrint_towardzero_test_data): New variable.
46520         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
46521         (lrint_downward_test_data): New variable.
46522         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
46523         (lrint_upward_test_data): New variable.
46524         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
46525         (lround_test_data): New variable.
46526         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
46528 2013-05-15  Peter Collingbourne  <pcc@google.com>
46530         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
46531         (EXTRACT_WORDS64) Use where appropriate.
46532         (INSERT_WORDS64) Likewise.
46534         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
46535         constraints with x constraints.
46536         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
46538         * malloc/obstack.c (_obstack_compat): Add initializer.
46540 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
46542         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
46543         si_trapno and add si_addr_lsb to _sifields.sigfault.
46544         (si_trapno): Remove macro.
46545         (si_addr_lsb): Define new macro.
46546         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
46548 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
46550         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
46551         instead of TEST_f_l.
46552         (llrint_test_tonearest): Likewise.
46553         (llrint_test_towardzero): Likewise.
46554         (llrint_test_downward): Likewise.
46555         (llrint_test_upward): Likewise.
46556         (llround_test): Likewise.
46558         * math/libm-test.inc (struct test_f_i_data): Add comment.
46559         (RUN_TEST_LOOP_f_b): New macro.
46560         (RUN_TEST_LOOP_f_b_tg): Likewise.
46561         (finite_test_data): New variable.
46562         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
46563         (isfinite_test_data): New variable.
46564         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46565         (isinf_test_data): New variable.
46566         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46567         (isnan_test_data): New variable.
46568         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46569         (isnormal_test_data): New variable.
46570         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46571         (issignaling_test_data): New variable.
46572         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46573         (signbit_test_data): New variable.
46574         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
46576         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
46577         with INVALID_EXCEPTION.
46578         (acosh_test_data): Likewise.
46579         (asin_test_data): Likewise.
46580         (atanh_test_data): Likewise.
46581         (fmod_test_data): Likewise.
46582         (log_test_data): Likewise.
46583         (log10_test_data): Likewise.
46584         (log2_test_data): Likewise.
46585         (pow_test_data): Likewise.
46586         (sqrt_test_data): Likewise.
46587         (y0_test_data): Likewise.
46588         (y1_test_data): Likewise.
46589         (yn_test_data): Likewise.
46591         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
46592         function contents.
46594         * math/libm-test.inc (struct test_ff_i_data): New type.
46595         (RUN_TEST_LOOP_ff_i_tg): New macro.
46596         (isgreater_test_data): New variable.
46597         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46598         (isgreaterequal_test_data): New variable.
46599         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46600         (isless_test_data): New variable.
46601         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46602         (islessequal_test_data): New variable.
46603         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46604         (islessgreater_test_data): New variable.
46605         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46606         (isunordered_test_data): New variable.
46607         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
46609 2013-05-14  David S. Miller  <davem@davemloft.net>
46611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46613 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
46615         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
46617         * math/libm-test.inc (struct test_fF_f1_data): Change type of
46618         extra_test to int.
46619         (struct test_f_i_data): Change type of max_ulp to int.
46621         * math/libm-test.inc (test_ffI_f1_data): New type.
46622         (RUN_TEST_LOOP_ffI_f1): New macro.
46623         (remquo_test_data): New variable.
46624         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
46626         * setjmp/tst-setjmp-fp.c: New file.
46627         * setjmp/Makefile (tests): Add tst-setjmp-fp.
46628         (link-libm): New variable.
46629         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
46631         * math/libm-test.inc (struct test_f_i_data): New type.
46632         (RUN_TEST_LOOP_f_i): New macro.
46633         (RUN_TEST_LOOP_f_i_tg): Likewise.
46634         (fpclassify_test_data): New variable.
46635         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
46636         (ilogb_test_data): New variable.
46637         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
46639         * math/libm-test.inc (scalbln_test): Correct function name in END
46640         call.
46642         * math/libm-test.inc (struct test_f_f1_data): Add comment.
46643         (RUN_TEST_LOOP_fI_f1): New macro.
46644         (frexp_test_data): New variable.
46645         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
46647         * math/libm-test.inc (struct test_fF_f1_data): New type.
46648         (RUN_TEST_LOOP_fF_f1): New macro.
46649         (modf_test_data): New variable.
46650         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
46652         * math/libm-test.inc (struct test_f_f1_data): New type.
46653         (RUN_TEST_LOOP_f_f1): New macro.
46654         (gamma_test_data): New variable.
46655         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46656         (lgamma_test_data): New variable.
46657         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
46659 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
46661         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
46662         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
46663         (main): Comment "tls" pseudo-hwcap.
46665 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
46667         * math/libm-test.inc (struct test_fl_f_data): New type.
46668         (RUN_TEST_LOOP_fl_f): New variable.
46669         (scalbln_test_data): New variable.
46670         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
46672         * math/libm-test.inc (struct test_fi_f_data): New type.
46673         (RUN_TEST_LOOP_fi_f): New macro.
46674         (ldexp_test_data): New variable.
46675         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
46676         (scalbn_test_data): New variable.
46677         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
46679         * math/libm-test.inc (struct test_c_f_data): New type.
46680         (RUN_TEST_LOOP_c_f): New macro.
46681         (cabs_test_data): New variable.
46682         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
46683         (carg_test_data): New variable.
46684         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
46685         (cimag_test_data): New variable.
46686         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
46687         (creal_test_data): New variable.
46688         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
46690         * math/libm-test.inc (struct test_if_f_data): New type.
46691         (RUN_TEST_LOOP_if_f): New macro.
46692         (jn_test_data): New variable.
46693         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
46694         (yn_test_data): New variable.
46695         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
46697         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
46699 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46701         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
46702         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
46704 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46706         * benchtests/Makefile (CPPFLAGS-nonlib): Add
46707         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
46708         (bench-deps): Add bench-timing.h.
46709         * benchtests-bench-skeleton.c: Include bench-timing.h.
46710         (main): Use TIMING_* macros instead of clock_gettime.
46711         * benchtests/bench-timing.h: New file.
46713         [BZ #14582]
46714         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
46715         Renamed from _LIB_VERSION.
46716         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
46718 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
46720         * math/libm-test.inc (struct test_fff_f_data): New type.
46721         (RUN_TEST_LOOP_fff_f): New macro.
46722         (fma_test_data): New variable.
46723         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
46724         (fma_towardzero_test_data): New variable.
46725         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
46726         (fma_downward_test_data): New variable.
46727         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
46728         (fma_upward_test_data): New variable.
46729         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
46731         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
46732         (struct test_c_c_data): New type.
46733         (RUN_TEST_LOOP_c_c): New macro.
46734         (cacos_test_data): New variable.
46735         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
46736         (cacosh_test_data): New variable.
46737         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
46738         (casin_test_data): New variable.
46739         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
46740         (casinh_test_data): New variable.
46741         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
46742         (catan_test_data): New variable.
46743         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
46744         (catanh_test_data): New variable.
46745         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
46746         (ccos_test_data): New variable.
46747         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
46748         (ccosh_test_data): New variable.
46749         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
46750         (cexp_test_data): New variable.
46751         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
46752         (clog_test_data): New variable.
46753         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
46754         (clog10_test_data): New variable.
46755         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
46756         (conj_test_data): New variable.
46757         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
46758         (cproj_test_data): New variable.
46759         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
46760         (csin_test_data): New variable.
46761         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
46762         (csinh_test_data): New variable.
46763         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
46764         (csqrt_test_data): New variable.
46765         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
46766         (ctan_test_data): New variable.
46767         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
46768         (ctan_tonearest_test_data): New variable.
46769         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46770         (ctan_towardzero_test_data): New variable.
46771         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46772         (ctan_downward_test_data): New variable.
46773         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46774         (ctan_upward_test_data): New variable.
46775         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46776         (ctanh_test_data): New variable.
46777         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
46778         (ctanh_tonearest_test_data): New variable.
46779         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
46780         (ctanh_towardzero_test_data): New variable.
46781         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
46782         (ctanh_downward_test_data): New variable.
46783         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
46784         (ctanh_upward_test_data): New variable.
46785         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
46786         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
46787         of BUILD_COMPLEX.
46789         * math/libm-test.inc (struct test_ff_f_data): New type.
46790         (struct test_ff_f_data_nexttoward): Likewise.
46791         (RUN_TEST_LOOP_2_f): New macro.
46792         (RUN_TEST_LOOP_ff_f): Likewise.
46793         (atan2_test_data): New variable.
46794         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
46795         (copysign_test_data): New variable.
46796         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
46797         (fdim_test_data): New variable.
46798         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
46799         (fmax_test_data): New variable.
46800         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
46801         (fmin_test_data): New variable.
46802         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
46803         (fmod_test_data): New variable.
46804         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
46805         (hypot_test_data): New variable.
46806         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
46807         (nextafter_test_data): New variable.
46808         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
46809         (nexttoward_test_data): New variable.
46810         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
46811         (pow_test_data): New variable.
46812         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
46813         (pow_tonearest_test_data): New variable.
46814         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
46815         (pow_towardzero_test_data): New variable.
46816         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
46817         (pow_downward_test_data): New variable.
46818         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
46819         (pow_upward_test_data): New variable.
46820         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
46821         (remainder_test_data): New variable.
46822         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
46823         (scalb_test_data): New variable.
46824         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
46825         * sysdeps/i386/fpu/libm-test-ulps: Update.
46827 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
46829         * math/libm-test.inc (fma_test): Use max_value instead of local
46830         variable fltmax.
46831         (nextafter_test): Likewise.
46833         * math/libm-test.inc (acos_towardzero_test_data): New variable.
46834         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46835         (acos_downward_test_data): New variable.
46836         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46837         (acos_upward_test_data): New variable.
46838         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46839         (acosh_test_data): New variable.
46840         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
46841         (asin_test_data): New variable.
46842         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
46843         (asin_tonearest_test_data): New variable.
46844         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46845         (asin_towardzero_test_data): New variable.
46846         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46847         (asin_downward_test_data): New variable.
46848         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46849         (asin_upward_test_data): New variable.
46850         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46851         (asinh_test_data): New variable.
46852         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
46853         (atan_test_data): New variable.
46854         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
46855         (atanh_test_data): New variable.
46856         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
46857         (cbrt_test_data): New variable.
46858         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
46859         (ceil_test_data): New variable.
46860         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
46861         (cos_test_data): New variable.
46862         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
46863         (cos_tonearest_test_data): New variable.
46864         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46865         (cos_towardzero_test_data): New variable.
46866         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46867         (cos_downward_test_data): New variable.
46868         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46869         (cos_upward_test_data): New variable.
46870         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46871         (cosh_test_data): New variable.
46872         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
46873         (cosh_tonearest_test_data): New variable.
46874         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46875         (cosh_towardzero_test_data): New variable.
46876         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46877         (cosh_downward_test_data): New variable.
46878         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46879         (cosh_upward_test_data): New variable.
46880         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46881         (erf_test_data): New variable.
46882         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
46883         (erfc_test_data): New variable.
46884         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
46885         (exp_test_data): New variable.
46886         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
46887         (exp_tonearest_test_data): New variable.
46888         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46889         (exp_towardzero_test_data): New variable.
46890         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46891         (exp_downward_test_data): New variable.
46892         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46893         (exp_upward_test_data): New variable.
46894         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46895         (exp10_test_data): New variable.
46896         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
46897         (exp2_test_data): New variable.
46898         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
46899         (expm1_test_data): New variable.
46900         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
46901         (fabs_test_data): New variable.
46902         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
46903         (floor_test_data): New variable.
46904         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
46905         (j0_test_data): New variable.
46906         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
46907         (j1_test_data): New variable.
46908         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
46909         (log_test_data): New variable.
46910         (log_test): Run tests with RUN_TEST_LOOP_f_f.
46911         (log10_test_data): New variable.
46912         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
46913         (log1p_test_data): New variable.
46914         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
46915         (log2_test_data): New variable.
46916         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
46917         (logb_test_data): New variable.
46918         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
46919         (logb_downward_test_data): New variable.
46920         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46921         (nearbyint_test_data): New variable.
46922         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
46923         (rint_test_data): New variable.
46924         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
46925         (rint_tonearest_test_data): New variable.
46926         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46927         (rint_towardzero_test_data): New variable.
46928         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46929         (rint_downward_test_data): New variable.
46930         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46931         (rint_upward_test_data): New variable.
46932         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46933         (round_test_data): New variable.
46934         (round_test): Run tests with RUN_TEST_LOOP_f_f.
46935         (sin_test_data): New variable.
46936         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
46937         (sin_tonearest_test_data): New variable.
46938         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46939         (sin_towardzero_test_data): New variable.
46940         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46941         (sin_downward_test_data): New variable.
46942         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46943         (sin_upward_test_data): New variable.
46944         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46945         (sinh_test_data): New variable.
46946         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
46947         (sinh_tonearest_test_data): New variable.
46948         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46949         (sinh_towardzero_test_data): New variable.
46950         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46951         (sinh_downward_test_data): New variable.
46952         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46953         (sinh_upward_test_data): New variable.
46954         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46955         (sqrt_test_data): New variable.
46956         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
46957         (tan_test_data): New variable.
46958         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
46959         (tan_tonearest_test_data): New variable.
46960         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
46961         (tan_towardzero_test_data): New variable.
46962         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
46963         (tan_downward_test_data): New variable.
46964         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
46965         (tan_upward_test_data): New variable.
46966         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
46967         (tanh_test_data): New variable.
46968         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
46969         (tgamma_test_data): New variable.
46970         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
46971         (trunc_test_data): New variable.
46972         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
46973         (y0_test_data): New variable.
46974         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
46975         (y1_test_data): New variable.
46976         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
46977         (significand_test_data): New variable.
46978         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
46980 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
46982         [BZ #12387]
46983         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
46985 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
46987         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
46989 2013-05-10  Andreas Jaeger  <aj@suse.de>
46991         [BZ #15448]
46992         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
46993         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
46995 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
46997         * math/gen-libm-test.pl (adjust_arg): New function.
46998         (special_functions): Handle generating output in both functions
46999         and arrays.
47000         (parse_args): Likewise.
47001         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
47002         $in_func argument to parse_args.
47003         * math/libm-test.inc (struct test_f_f_data): New type.
47004         (IF_ROUND_INIT_): New macro.
47005         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
47006         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47007         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47008         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47009         (ROUND_RESTORE_): Likewise.
47010         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
47011         (ROUND_RESTORE_FE_TONEAREST): Likewise.
47012         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
47013         (ROUND_RESTORE_FE_UPWARD): Likewise.
47014         (RUN_TEST_LOOP_f_f): New macro.
47015         (acos_test_data): New variable.
47016         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
47017         (acos_tonearest_test_data): New variable.
47018         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
47020 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47022         * benchtests/bench-skeleton.c (startup): Fix coding style.
47024 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
47026         [BZ #6809]
47027         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
47028         negative infinity argument.
47029         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
47030         negative infinity argument.
47031         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
47032         negative infinity argument.
47033         * math/libm-test.inc (tgamma_test): Expect errno to be set for
47034         domain errors.
47036 2013-05-10  Florian Weimer  <fweimer@redhat.com>
47038         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
47039         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
47040         * iconv/iconv_prog.c (main): Likewise.
47041         * locale/programs/charmap-dir.c (charmap_readdir)
47042         (fopen_uncompressed): Likewise.
47043         * locale/programs/locfile.c (siblings_uncached)
47044         (write_locale_data): Use lstat64 instead of lstat.
47045         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
47046         stat.
47048 2013-05-10  Andreas Jaeger  <aj@suse.de>
47050         [BZ #15395]
47051         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
47052         localization.
47053         Include <locale.h>.
47055 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
47057         * elf/dl-close.c (_dl_close_worker): Add comments.
47059 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
47061         [BZ #15359]
47062         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
47063         high part of pi/2.
47064         (__ieee754_rem_pio2l): Update comments.
47066         [BZ #15429]
47067         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
47068         high part of pi/2.
47069         (__ieee754_rem_pio2l): Update comments.
47071         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
47072         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
47074         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
47075         M_PI_4l.
47077         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
47078         (M_PI_34_LOG10El): Likewise.
47079         (M_PI2_LOG10El): Likewise.
47080         (M_PI4_LOG10El): Likewise.
47081         (M_PI_LOG10El): Likewise.
47083 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47087 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
47089         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
47090         (MINUS_ZERO_INIT): Likewise.
47091         (PLUS_INFTY_INIT): Likewise.
47092         (MINUS_INFTY_INIT): Likewise.
47093         (QNAN_VALUE_INIT): Likewise.
47094         (MAX_VALUE_INIT): Likewise.
47095         (MIN_VALUE_INIT): Likewise.
47096         (MIN_SUBNORM_VALUE_INIT): Likewise.
47097         (plus_zero): Initialize with PLUS_ZERO_INIT.
47098         (minus_zero): Initialize with MINUS_ZERO_INIT.
47099         (plus_infty): Initialize with PLUS_INFTY_INIT.
47100         (minus_infty): Initialize with MINUS_INFTY_INIT.
47101         (qnan_value): Initialize with QNAN_VALUE_INIT.
47102         (max_value): Initialize with MAX_VALUE_INIT.
47103         (min_value): Initialize with MIN_VALUE_INIT.
47104         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
47106         * math/libm-test.inc (RUN_TEST_if_f): New macro.
47107         (jn_test): Use TEST_if_f instead of TEST_ff_f.
47108         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
47109         (yn_test): Use TEST_if_f instead of TEST_ff_f.
47111         * math/libm-test.inc (RUN_TEST_f_f): New macro.
47112         (RUN_TEST_2_f): Likewise.
47113         (RUN_TEST_ff_f): Likewise.
47114         (RUN_TEST_fi_f): Likewise.
47115         (RUN_TEST_fl_f): Likewise.
47116         (RUN_TEST_fff_f): Likewise.
47117         (RUN_TEST_c_f): Likewise.
47118         (RUN_TEST_f_f1): Likewise.
47119         (RUN_TEST_fF_f1): Likewise.
47120         (RUN_TEST_fI_f1): Likewise.
47121         (RUN_TEST_ffI_f1): Likewise.
47122         (RUN_TEST_c_c): Likewise.
47123         (RUN_TEST_cc_c): Likewise.
47124         (RUN_TEST_f_i): Likewise.
47125         (RUN_TEST_f_i_tg): Likewise.
47126         (RUN_TEST_ff_i_tg): Likewise.
47127         (RUN_TEST_f_b): Likewise.
47128         (RUN_TEST_f_b_tg): Likewise.
47129         (RUN_TEST_f_l): Likewise.
47130         (RUN_TEST_f_L): Likewise.
47131         (RUN_TEST_sincos): Likewise.
47132         * math/gen-libm-test.pl (new_test): Take new argument to indicate
47133         whether to show exceptions.  Do not include ");\n" in return
47134         value.
47135         (special_functions): Output call to RUN_TEST_sincos instead of
47136         check_float calls.  Update calls to new_test.
47137         (parse_args): Output call to single RUN_TEST_* macro instead of
47138         check_* calls and other assignments.  Update calls to new_test.
47140         [BZ #2546]
47141         [BZ #2560]
47142         [BZ #5159]
47143         [BZ #15426]
47144         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
47145         input to result for tgamma overflow.
47146         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
47147         (gamma_coeff): New variable.
47148         (NCOEFF): New macro.
47149         (gamma_positive): New function.
47150         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
47151         underflow here.  Use gamma_positive instead of exp (lgamma) for
47152         other arguments.
47153         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
47154         (gamma_coeff): New variable.
47155         (NCOEFF): New macro.
47156         (gammaf_positive): New function.
47157         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
47158         underflow here.  Use gamma_positive instead of exp (lgamma) for
47159         other arguments.
47160         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
47161         (gamma_coeff): New variable.
47162         (NCOEFF): New macro.
47163         (gammal_positive): New function.
47164         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
47165         underflow here.  Use gamma_positive instead of exp (lgamma) for
47166         other arguments.
47167         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
47168         (gamma_coeff): New variable.
47169         (NCOEFF): New macro.
47170         (gammal_positive): New function.
47171         (__ieee754_gammal_r): Handle positive infinity, overflow and
47172         underflow here.  Handle NaN the same as positive infinity.  Remove
47173         check x < 0xffffffff for negative integers.  Use gamma_positive
47174         instead of exp (lgamma) for other arguments.
47175         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
47176         (gamma_coeff): New variable.
47177         (NCOEFF): New macro.
47178         (gammal_positive): New function.
47179         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
47180         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
47181         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
47182         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
47183         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
47184         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
47185         * sysdeps/generic/math_private.h (__gamma_productf): New
47186         prototype.
47187         (__gamma_product): Likewise.
47188         (__gamma_productl): Likewise.
47189         * math/Makefile (libm-calls): Add gamma_product.
47190         * math/libm-test.inc (tgamma_test): Add more tests.
47191         * sysdeps/i386/fpu/libm-test-ulps: Update.
47192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47194 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
47196         * benchtests/bench-skeleton.c (main): Preheat CPU.
47198 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
47200         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
47202 2013-05-07  Roland McGrath  <roland@hack.frob.com>
47204         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
47205         and _dl_skip_args_internal.
47207 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
47209         * manual/message.texi (Message Translation): Talk about users.
47210         Message to key mapping impacts design.
47212 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47214         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
47216         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
47218         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
47219         * sysdeps/wordsize-64/glob64.c: ... here.
47221         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
47222         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
47223         New macros.
47225         * debug/getlogin_r_chk.c: Moved to ...
47226         * login/getlogin_r_chk.c: ... here.
47227         * debug/Makefile (routines): Move getlogin_r_chk to ...
47228         * login/Makefile (routines): ... here.
47229         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
47230         * login/Versions (libc: GLIBC_2.4): ... here.
47232         * io/poll.c (__poll): Renamed from poll.
47233         Add libc_hidden_def.
47234         (poll): Define as weak alias.
47236         * debug/ptsname_r_chk.c: Moved to ...
47237         * login/ptsname_r_chk.c: ... here.
47238         * debug/Makefile (routines): Move ptsname_r_chk to ...
47239         * login/Makefile (routines): ... here.
47240         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
47241         * login/Versions (libc: GLIBC_2.4): ... here.
47243         * posix/getlogin.c: Moved to ...
47244         * login/getlogin.c: ... here.
47245         * posix/getlogin_r.c: Moved to ...
47246         * login/getlogin_r.c: ... here.
47247         * posix/getlogin_r.c: Moved to ...
47248         * login/getlogin_r.c: ... here.
47249         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
47250         * login/Makefile (routines): ... here.
47251         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
47252         * login/Versions (libc: GLIBC_2.0): ... here.
47254         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
47255         (setrlimit): Define as weak alias.
47257         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
47258         Call __ names for open, ftruncate, and close.
47259         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
47260         (truncate): Define as weak alias.
47262 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
47264         * math/gen-libm-test.pl (parse_args): Initialize x before each
47265         test of frexp, modf and remquo.
47267         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
47268         test signgam value.
47270 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47272         [BZ #15418]
47273         [BZ #15419]
47274         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
47275         internal tests.
47276         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47278 2013-05-06  Roland McGrath  <roland@hack.frob.com>
47280         * elf/dl-writev.h: New file.
47281         * elf/dl-misc.c: Include it.
47282         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
47283         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
47285 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
47287         * math/libm-test.inc (noXFails): Remove variable.
47288         (noXPasses): Likewise.
47289         (BUILD_COMPLEX_INT): Remove macro.
47290         (print_screen): Remove xfail argument.
47291         (print_screen_max_error): Likewise.
47292         (update_stats): Likewise.
47293         (print_max_error): Likewise.  Update calls to other affected
47294         functions.
47295         (print_complex_max_error): Likewise.
47296         (test_single_exception): Update calls to print_screen.
47297         (test_single_errno): Likewise.
47298         (check_float_internal): Remove xfail argument.  Update calls to
47299         other affected functions.
47300         (check_float): Likewise.
47301         (check_complex): Likewise.
47302         (check_int): Likewise.
47303         (check_long): Likewise.
47304         (check_bool): Likewise.
47305         (check_longlong): Likewise.
47306         (main): Don't print noXFails and noXPasses.
47307         * math/gen-libm-test.pl (top level): Don't mention expected
47308         failure handling in comment.
47309         (new_test): Don't handle expected failures.
47310         (parse_args): Don't mention expected failure handling in comment.
47311         (generate_testfile): Don't handle expected failures.
47312         (parse_ulps): Likewise.
47313         (print_ulps_file): Likewise.
47314         (get_failure): Remove function.
47315         (output_test): Don't handle expected failures.
47316         * make/README.libm-test: Don't mention expected failure handling.
47318         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
47319         (minus_zero): Likewise.
47320         (plus_infty): Likewise.
47321         (minus_infty): Likewise.
47322         (qnan_value): Likewise.
47323         (max_value): Likewise.
47324         (min_value): Likewise.
47325         (min_subnorm_value): Likewise.
47326         (initialize): Do not initialize those variables dynamically.
47328 2013-05-03  Roland McGrath  <roland@hack.frob.com>
47330         * io/open.c (__open_2): Moved to ...
47331         * io/open_2.c: ... this new file.
47332         * io/open64.c (__open64_2): Moved to ...
47333         * io/open64_2.c: ... this new file.
47334         * io/openat.c (__openat_2): Moved to ...
47335         * io/openat_2.c: ... this new file.
47336         * io/openat64.c (__openat64_2): Moved to ...
47337         * io/openat64_2.c: ... this new file.
47338         * io/Makefile (routines): Add them.
47339         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
47340         * sysdeps/unix/sysv/linux/open_2.c: File removed.
47341         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
47342         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
47343         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
47344         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
47345         (__openat64): Add hidden_ver.
47346         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
47347         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
47349         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
47350         Separately conditionalize setting of GLRO(dl_sysinfo) so
47351         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
47352         as well, but the actual setting is only under [NEED_DL_SYSINFO].
47354 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47356         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
47357         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
47358         definition.
47359         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
47360         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47361         (_libc_vdso_platform_setup): Add __vdso_time initialization.
47362         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
47363         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
47365 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
47367         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
47368         test signgam value.
47370         * math/libm-test.inc (hypot_test): Do not use
47371         IGNORE_ZERO_INF_SIGN.
47373 2013-05-03  Andreas Jaeger  <aj@suse.de>
47375         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
47376         Linux 3.9.
47377         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
47378         (PF_MAX): Adjust for VSOCK change.
47380 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47384 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
47386         [BZ #15264]
47387         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
47388         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
47389         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
47391 2013-05-02  David S. Miller  <davem@davemloft.net>
47393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47395 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
47397         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
47399 2013-05-01  Roland McGrath  <roland@hack.frob.com>
47401         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
47403 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
47405         [BZ #14952]
47406         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
47407         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47408         Use __attribute__ ((__gnu_inline__)).
47409         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
47410         Don't use __attribute__ ((__gnu_inline__)).
47412 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
47414         [BZ #15423]
47415         * math/s_catan.c (__catan): Handle small real or imaginary part of
47416         input specially to avoid spurious underflow.
47417         * math/s_catanf.c (__catanf): Likewise.
47418         * math/s_catanh.c (__catanh): Likewise.
47419         * math/s_catanhf.c (__catanhf): Likewise.
47420         * math/s_catanhl.c (__catanhl): Likewise.
47421         * math/s_catanl.c (__catanl): Likewise.
47422         * math/libm-test.inc (catan_test): Add more tests.
47423         (catanh_test): Likewise.
47424         * sysdeps/i386/fpu/libm-test-ulps: Update.
47425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47427 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47431 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
47433         [BZ #15416]
47434         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
47435         accurately for denominator in atan2.
47436         * math/s_catanf.c (__catanf): Likewise.
47437         * math/s_catanh.c (__catanh): Likewise.
47438         * math/s_catanhf.c (__catanhf): Likewise.
47439         * math/s_catanhl.c (__catanhl): Likewise.
47440         * math/s_catanl.c (__catanl): Likewise.
47441         * math/libm-test.inc (catan_test): Add more tests.
47442         (catanh_test): Likewise.
47443         * sysdeps/i386/fpu/libm-test-ulps: Update.
47444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47446 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
47448         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
47450         * benchtests/Makefile (bench): Remove slow benchmarks.
47451         * benchtests/atan-inputs: Add slow benchmark inputs.
47452         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
47453         (BENCH_FUNC): Accept variant offset.
47454         (VARIANT): Define.
47455         * benchtests/bench-skeleton.c (main): Run benchmark for each
47456         variant.
47457         * benchtests/cos-inputs: Add slow benchmark inputs.
47458         * benchtests/exp-inputs: Likewise.
47459         * benchtests/pow-inputs: Likewise.
47460         * benchtests/sin-inputs: Likewise.
47461         * benchtests/slowatan-inputs: Remove.
47462         * benchtests/slowatan.c: Remove.
47463         * benchtests/slowcos-inputs: Remove.
47464         * benchtests/slowcos.c: Remove.
47465         * benchtests/slowexp-inputs: Remove.
47466         * benchtests/slowexp.c: Remove.
47467         * benchtests/slowpow-inputs: Remove.
47468         * benchtests/slowpow.c: Remove.
47469         * benchtests/slowsin-inputs: Remove.
47470         * benchtests/slowsin.c: Remove.
47471         * benchtests/slowtan-inputs: Remove.
47472         * benchtests/slowtan.c: Remove.
47473         * benchtests/tan-inputs: Add slow benchmark inputs.
47474         * scripts/bench.pl: Parse comments and directives.
47476         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
47477         in CPPFLAGS.
47478         ($(objpfx)bench-%.c): Remove *-ITER.
47479         * benchtests/bench-modf.c: Remove definition of ITER.
47480         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
47481         (main): Loop for DURATION seconds instead of fixed number of
47482         iterations.
47483         * scripts/bench.pl: Don't expect iterations in parameters.
47485 2013-04-29  Roland McGrath  <roland@hack.frob.com>
47487         * io/fchdir.c (__fchdir): Renamed from fchdir.
47488         (fchdir): Define as weak alias.
47490 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47492         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
47493         (ERRNO_EDOM): Likewise.
47494         (ERRNO_ERANGE): Likewise.
47495         (noErrnoTests): New variable.
47496         (init_max_error): Set errno to 0.
47497         (test_single_errno): New function.
47498         (test_errno): Likewise.
47499         (check_float_internal): Call test_errno.  Set errno to 0.
47500         (check_complex): Refer to errno tests in comment.
47501         (check_int): Call test_errno.  Set errno to 0.
47502         (check_long): Likewise.
47503         (check_bool): Likewise.
47504         (check_longlong): Likewise.
47505         (cos_test): Use ERRNO_* flags for errno tests instead of
47506         check_int.
47507         (expm1_test): Likewise.
47508         (fmod_test): Likewise.
47509         (ilogb_test): Likewise.
47510         (lgamma_test): Likewise.
47511         (pow_test): Likewise.
47512         (remainder_test): Likewise.
47513         (sin_test): Likewise.
47514         (tan_test): Likewise.
47515         (yn_test): Likewise.
47516         (initialize): Set errno to 0.
47517         (main): Print number of errno tests.
47518         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
47520 2013-04-29  Andreas Jaeger  <aj@suse.de>
47522         [BZ #15084]
47523         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
47524         and RES_USEVC.
47526         [BZ #15085]
47527         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
47528         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
47529         unimplemented.
47531         [BZ #15380]
47532         * stdlib/random.c (__initstate): Return NULL if
47533         __initstate fails.
47535         [BZ #15086]
47536         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
47537         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
47538         RES_SNGLKUPREOP.
47540 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47542         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47544 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
47546         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
47547         of individual tests.
47548         (casin_test): Likewise.
47549         (casinh_test): Likewise.
47551 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
47553         [BZ #15409]
47554         * math/s_catan.c (__catan): Handle arguments with large real or
47555         imaginary part separately without squaring.
47556         * math/s_catanf.c (__catanf): Likewise.
47557         * math/s_catanh.c (__catanh): Likewise.
47558         * math/s_catanhf.c (__catanhf): Likewise.
47559         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47560         and redefine.
47561         (__catanhl): Handle arguments with large real or imaginary part
47562         separately without squaring.
47563         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
47564         and redefine.
47565         (__catanl): Handle arguments with large real or imaginary part
47566         separately without squaring.
47567         * math/libm-test.inc (catan_test): Add more tests.
47568         (catanh_test): Likewise.
47569         * sysdeps/i386/fpu/libm-test-ulps: Update.
47570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47572 2013-04-27  Andreas Jaeger  <aj@suse.de>
47574         [BZ #15007]
47575         * stdlib/stdlib.h: Update guards for qecvt.
47576         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
47577         <stdlib.h>.
47579 2013-04-27  Allan McRae  <allan@archlinux.org>
47581         * sysdeps/i386/fpu/libm-test-ulps: Update.
47583 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
47585         [BZ #15406]
47586         * math/s_catan.c: Include <float.h>.
47587         (__catan): Ensure underflow exception occurs for underflowed
47588         result.
47589         * math/s_catanf.c: Include <float.h>.
47590         (__catanf): Ensure underflow exception occurs for underflowed
47591         result.
47592         * math/s_catanh.c: Include <float.h>.
47593         (__catanh): Ensure underflow exception occurs for underflowed
47594         result.
47595         * math/s_catanhf.c: Include <float.h>.
47596         (__catanhf): Ensure underflow exception occurs for underflowed
47597         result.
47598         * math/s_catanhl.c: Include <float.h>.
47599         (__catanhl): Ensure underflow exception occurs for underflowed
47600         result.
47601         * math/s_catanl.c: Include <float.h>.
47602         (__catanl): Ensure underflow exception occurs for underflowed
47603         result.
47604         * math/libm-test.inc (catan_test): Add more tests.
47605         (catanh_test): Likewise.
47607         [BZ #15405]
47608         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
47609         underflowed result.
47610         * math/s_ccoshf.c (__ccoshf): Likewise.
47611         * math/s_ccoshl.c (__ccoshl): Likewise.
47612         * math/s_csin.c (__csin): Likewise.
47613         * math/s_csinf.c (__csinf): Likewise.
47614         * math/s_csinh.c (__csinh): Likewise.
47615         * math/s_csinhf.c (__csinhf): Likewise.
47616         * math/s_csinhl.c (__csinhl): Likewise.
47617         * math/s_csinl.c (__csinl): Likewise.
47618         * math/libm-test.inc (ccos_test): Add more tests.
47619         (ccosh_test): Likewise.
47620         (csin_test): Likewise.
47621         (csinh_test): Likewise.
47623 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47625         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
47626         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
47627         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
47628         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
47629         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
47630         powerpc/power5+/fpu folders.
47631         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
47634 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
47636         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47638 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
47640         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
47641         additions to variable.
47642         [$(config-machine) = x86_64] (modules-names): Likewise.
47643         ($(objpfx)tst-audit3): Remove dependency.
47644         ($(objpfx)tst-audit3.out): Likewise.
47645         ($(objpfx)tst-audit4): Likewise.
47646         ($(objpfx)tst-audit4.out): Likewise.
47647         ($(objpfx)tst-audit5): Likewise.
47648         ($(objpfx)tst-audit5.out): Likewise.
47649         ($(objpfx)tst-audit6): Likewise.
47650         ($(objpfx)tst-audit6.out): Likewise.
47651         ($(objpfx)tst-audit7): Likewise.
47652         ($(objpfx)tst-audit7.out): Likewise.
47653         (tst-audit3-ENV): Remove variable.
47654         (tst-audit4-ENV): Likewise.
47655         (tst-audit5-ENV): Likewise.
47656         (tst-audit6-ENV): Likewise.
47657         (tst-audit7-ENV): Likewise.
47658         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
47659         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
47660         addition to variable.
47661         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
47662         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
47663         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
47664         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
47665         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
47666         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
47667         tst-audit3, tst-audit4 and tst-audit5.
47668         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
47669         tst-audit6 and tst-audit7.
47670         [$(subdir) = elf] (modules-names): Add audit modules for those
47671         tests.
47672         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
47673         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
47674         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
47675         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
47676         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
47677         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
47678         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
47679         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
47680         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
47681         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
47682         [$(subdir) = elf] (tst-audit3-ENV): New variable.
47683         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
47684         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
47685         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
47686         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
47687         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
47688         Likewise.
47689         [$(subdir) = elf && $(config-cflags-avx) = yes]
47690         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
47691         [$(subdir) = elf && $(config-cflags-avx) = yes]
47692         (CFLAGS-tst-auditmod4a.c): Likewise.
47693         [$(subdir) = elf && $(config-cflags-avx) = yes]
47694         (CFLAGS-tst-auditmod4b.c): Likewise.
47695         [$(subdir) = elf && $(config-cflags-avx) = yes]
47696         (CFLAGS-tst-auditmod6b.c): Likewise.
47697         [$(subdir) = elf && $(config-cflags-avx) = yes]
47698         (CFLAGS-tst-auditmod6c.c): Likewise.
47699         [$(subdir) = elf && $(config-cflags-avx) = yes]
47700         (CFLAGS-tst-auditmod7b.c): Likewise.
47701         * elf/tst-audit3.c: Move to ...
47702         * sysdeps/x86_64/tst-audit3.c: ... here.
47703         * elf/tst-audit4.c: Move to ...
47704         * sysdeps/x86_64/tst-audit4.c: ... here.
47705         * elf/tst-audit5.c: Move to ...
47706         * sysdeps/x86_64/tst-audit5.c: ... here.
47707         * elf/tst-audit6.c: Move to ...
47708         * sysdeps/x86_64/tst-audit6.c: ... here.
47709         * elf/tst-audit7.c: Move to ...
47710         * sysdeps/x86_64/tst-audit7.c: ... here.
47711         * elf/tst-auditmod3a.c: Move to ...
47712         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
47713         * elf/tst-auditmod3b.c: Move to ...
47714         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
47715         * elf/tst-auditmod4a.c: Move to ...
47716         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
47717         * elf/tst-auditmod4b.c: Move to ...
47718         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
47719         * elf/tst-auditmod5a.c: Move to ...
47720         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
47721         * elf/tst-auditmod5b.c: Move to ...
47722         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
47723         * elf/tst-auditmod6a.c: Move to ...
47724         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
47725         * elf/tst-auditmod6b.c: Move to ...
47726         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
47727         * elf/tst-auditmod6c.c: Move to ...
47728         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
47729         * elf/tst-auditmod7a.c: Move to ...
47730         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
47731         * elf/tst-auditmod7b.c: Move to ...
47732         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
47734 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
47736         [BZ #15366]
47737         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
47738         define unconditionally.
47739         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
47740         define unconditionally.
47741         (INT8_C, INT16_C, etc.): Likewise.
47743 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
47745         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
47746         __ehdr_start with hidden visibility.
47748         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
47750 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
47752         * math/libm-test.inc (cos_test): Use accurate hex constants.
47753         (sincost_test): Likewise.
47755 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
47757         * math/libm-test.inc (catan_test): Add more tests.
47758         (catanh_test): Likewise.
47760         * math/s_catanf.c (__catanf): Use suffixed floating-point
47761         constants.
47762         * math/s_catanhf.c (__catanhf): Likewise.
47763         * math/s_catanhl.c (__catanhl): Likewise.
47764         * math/s_catanl.c (__catanl): Likewise.
47766         [BZ #15394]
47767         * math/s_catan.c (__catan): Calculate imaginary part of result
47768         with log1p not log unless computing log of number close to 0.
47769         * math/s_catanf.c (__catanf): Likewise.
47770         * math/s_catanl.c (__catanl): Likewise.
47771         * math/s_catanh.c (__catanh): Calculate real part of result with
47772         log1p not log unless computing log of number close to 0.
47773         * math/s_catanhf.c (__catanhf): Likewise.
47774         * math/s_catanhl.c (__catanhl): Likewise.
47775         * math/libm-test.inc (catan_test): Add more tests.
47776         (catanh_test): Likewise.
47777         * sysdeps/i386/fpu/libm-test-ulps: Update.
47778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47780 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47782         * benchtests/Makefile: Mention files in which fast and slow
47783         paths of math functions are implemented.
47785 2013-04-23  Roland McGrath  <roland@hack.frob.com>
47787         * sysdeps/posix/timespec_get.c: New file.
47789 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47791         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
47792         POWER.
47793         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
47794         for POWER.
47795         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
47796         powerpc/power5/fpu folders.
47797         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
47798         * benchtests/Makefile: Add modf testcase.
47799         * benchtests/bench-modf.c: New file: Benchmark test for mo
47801 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
47803         [BZ #14888]
47804         * time/Makefile (tests): Add tst-strptime-whitespace.
47805         * time/strptime_l.c (get_number): Use ISSPACE.
47806         (__strptime_internal): Likewise.
47807         * time/tst-strptime-whitespace.c: New test case.
47809 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
47811         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
47812         member.
47813         (_nss_files_init): Set it here.
47815 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
47817         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
47818         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
47819         unsigned.
47821 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
47823         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
47825 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
47827         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
47828         size just once.
47830 2013-04-21  David S. Miller  <davem@davemloft.net>
47832         * po/ru.po: Update Russion translation from translation project.
47834 2013-04-17  Adam Conrad  <adconrad@0c3.net>
47836         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
47837         and setfsgid.
47839 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
47841         * configure.in: Remove i386 configure warning. Remove i386 case.
47842         * configure: Regenerate.
47843         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
47844         Add example to error message.
47845         * sysdeps/i386/configure: Regenerate.
47847 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
47849         * benchtests/Makefile (bench): Add cos, tan, slowcos and
47850         slowtan.
47851         * benchtests/cos-inputs: New file.
47852         * benchtests/slowcos-inputs: New file.
47853         * benchtests/slowcos.c: New file.
47854         * benchtests/slowtan-inputs: New file.
47855         * benchtests/slowtan.c: New file.
47856         * benchtests/tan-inputs: New file.
47858 2013-04-16  Roland McGrath  <roland@hack.frob.com>
47860         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
47861         considered kosher.
47863 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47865         * benchtests/Makefile: Include cppflags-iterator.mk to add
47866         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
47868         * Makefile.in (bench-clean): New target.
47869         * benchtests/Makefile (bench-clean): Likewise.
47871 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
47873         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
47875 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
47877         * stdio-common/tstdiomisc.c: Fix coding-style violation.
47879 2013-04-15  Andreas Schwab  <schwab@suse.de>
47881         * nscd/grpcache.c (cache_addgr): Properly check for short write.
47882         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47883         * nscd/pwdcache.c (cache_addpw): Likewise.
47884         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
47885         more than recsize.
47887 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47889         * benchtests/Makefile (bench): Write all output to
47890         bench-out.tmp together.
47892 2013-04-15  Andreas Schwab  <schwab@suse.de>
47894         * nscd/nscd.c (main): Don't fork again after closing files.
47896 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47898         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
47900         * benchtests/Rules (bench-deps): Collect dependencies into a
47901         single variable.  Add Makefile to dependencies.
47902         ($(objpfx)bench-%.c): Depend on bench-deps.
47904 2013-04-12  Roland McGrath  <roland@hack.frob.com>
47905             Xavier Roche  <roche+kml2@exalead.com>
47907         [BZ #15361]
47908         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
47909         just that it's a file descriptor.
47910         * manual/llio.texi (Synchronizing AIO Operations): Update description
47911         for EBADF error from aio_fsync.
47913 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47915         * Rules (bench): Move target definition...
47916         * benchtests/Makefile: ... here.
47918 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
47920         * math/libm-test.inc (cos_test): Fix PI/2 test.
47921         (sincos_test): Likewise.
47922         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
47923         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
47925 2013-04-11  Andreas Schwab  <schwab@suse.de>
47927         [BZ #13988]
47928         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
47929         accept exponent character only when digits were seen.
47930         * stdio-common/Makefile (tests): Add bug26.
47931         * stdio-common/bug26.c: New file.
47933         [BZ #14293]
47934         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
47935         non-freeable.
47937 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47939         * Makeconfig (rtld-prefix): Define built linker prefix.
47940         * Rules (run-bench): Use it.
47941         * math/Makefile (run-regen-ulps): Likewise.
47943         * Rules (bench): Remove eval.
47945 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47946             Roland McGrath  <roland@hack.frob.com>
47947             Ondrej Bilka  <neleai@seznam.cz>
47949         [BZ #15346]
47950         * time/getdate.c: Include ctype.h and alloca.h.
47951         (__getdate_r): Trim leading and trailing spaces of input.
47952         * time/tst-getdate.c (tests): Add tests with leading and
47953         trailing spaces.
47955 2013-04-08  Roland McGrath  <roland@hack.frob.com>
47957         [BZ #14280]
47958         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
47959         when computing value.
47961 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47963         * math/README.libm-test (How can I generate "libm-test-ulps"?):
47964         Use testrun.sh to run libm tests.
47966         [BZ #15309]
47967         * elf/dl-open.c (dl_open_worker): memset all of seen array.
47969 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
47971         [BZ #15264]
47972         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
47974 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47976         * Makefile.in (regen-ulps): New target.
47977         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
47978         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
47979         [ifneq (no,$(PERL)] (regen-ulps): New target.
47980         [ifeq (no,$(PERL)] (regen-ulps): New target.
47981         * math/libm-test.inc (ulps_file_name): Define.
47982         (output_dir): New variable.
47983         (options): Add "output-dir" option.
47984         (parse_opt): Handle 'o' case.
47985         (main): If output_dir is non-NULL use it as a prefix
47986         otherwise use "".
47987         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
47989 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
47991         [BZ #10060, #10062]
47992         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
47993         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
47994         fail configure if __sync_val_compare_and_swap is not inlined.
47995         * sysdeps/i386/configure: Regenerate.
47996         * configure.in: Build for i686 when configured for i386.
47997         * configure: Regenerate.
47998         * README: Remove i386 reference.
48000 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
48002         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
48003         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48005 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
48007         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
48008         (lmsnanval): New variables.
48009         (F): Add conversion tests.
48010         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
48011         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
48013         * stdio-common/tstdiomisc.c (F): Properly collect individual
48014         tests' results.
48016         [BZ #14686, #15336]
48017         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
48018         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
48019         Instead, use input NaN values or generate a qNaN by arithmetic
48020         operation.  Also fix bugs to comply with the standard.
48021         * math/libm-test.inc (remainder_test): Add more tests.
48023         [BZ #15335, #15342]
48024         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
48025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
48026         input NaN values or generate a qNaN by arithmetic operation.
48028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
48029         unreachable code.
48031         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
48032         definitions.
48034 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
48036         [BZ #14478]
48037         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
48038         underflowed result.
48039         * math/s_cexpf.c (__cexpf): Likewise.
48040         * math/s_cexpl.c (__cexpl): Likewise.
48041         * math/libm-test.inc (cexp_test): Add more tests.
48043 2013-04-03  Andreas Schwab  <schwab@suse.de>
48045         [BZ #15330]
48046         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
48047         order arrays from heap if bigger than alloca cutoff.
48049 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
48051         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
48052         (SNAN_TESTS_double): Refer to GCC PR56831.
48053         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
48054         GCC PR56828.
48056 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48058         * Rules (bench): Move bench.out after the run is complete.
48060         * Rules (bench): Echo currently running benchmark.
48062         * benchtests/Makefile (bench): Add atan and slowatan.
48063         * benchtests/atan-inputs: New file.
48064         * benchtests/slowatan-inputs: New file.
48065         * benchtests/slowatan.c: New file.
48067         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
48068         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
48069         its value.
48071         [BZ #15305]
48072         * sysdeps/unix/sysv/linux/kernel-features.h
48073         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
48074         __ASSUME_XFS_RESTRICTED_CHOWN.
48075         * sysdeps/unix/sysv/linux/pathconf.c
48076         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48077         Save and restore errno.
48079 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
48081         [BZ #15327]
48082         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
48083         arguments using __kernel_casinh.
48084         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
48085         arguments using __kernel_casinhf.
48086         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
48087         arguments using __kernel_casinhl.
48088         * math/libm-test.inc (cacosh_test): Add more tests.
48089         * sysdeps/i386/fpu/libm-test-ulps: Update.
48090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48092 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48094         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
48095         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
48097         * bench/Makefile (bench): Add sin and slowsin.
48098         * benchtests/sin-inputs: New file.
48099         * benchtests/slowsin-inputs: New file.
48100         * benchtests/slowsin.c: New file.
48102         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
48103         (bench): Add slowexp and slowpow.
48104         (exp-ITER): Increase iterations.
48105         (pow-ITER): Likewise.
48106         * benchtests/exp-inputs: Change input.
48107         * benchtests/pow-inputs: Likewise.
48108         * benchtests/slowexp-inputs: New file.
48109         * benchtests/slowexp.c: New file.
48110         * benchtests/slowpow-inputs: New file.
48111         * benchtests/slowpow.c: New file.
48113 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48115         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
48116         instructions.
48117         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48118         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
48119         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48120         * benchtests/Makefile: Add rint benchtest.
48121         * benchtests/rint-inputs: Input for rint benchtest.
48123 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
48125         * Versions.def (libm): Add GLIBC_2.18.
48126         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
48127         hidden libm prototypes.
48128         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
48129         * math/Makefile (libm-calls): Add s_issignaling.
48130         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
48131         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
48132         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
48133         declaration.
48134         * math/math.h [__USE_GNU] (issignaling): New macro.
48135         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
48136         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
48137         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
48138         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
48139         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
48140         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
48141         * manual/arith.texi (issignaling): New section.
48142         * manual/libm-err-tab.pl (@all_functions): Update comment.
48143         * math/gen-libm-test.pl (parse_args): Apply special handling for
48144         issignaling.
48145         * math/libm-test.inc (print_float, issignaling_test): New
48146         functions.
48147         (check_float_internal): Add issignaling checks.
48148         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
48149         default definition.
48150         * sysdeps/powerpc/math-tests.h: New file.
48151         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
48152         tests.
48153         * math/test-snan.c (TEST_FUNC): Likewise.
48155 2013-03-30  David S. Miller  <davem@davemloft.net>
48157         * po/de.po: Update from translation team.
48159 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
48161         [BZ #10357]
48162         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48163         imaginary part less than 1.0 and real part less than 0.5
48164         specially.
48165         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48166         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48167         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
48168         (cacos_test): Add more tests.
48169         (casin_test): Likewise.
48170         (casinh_test): Likewise.
48171         * sysdeps/i386/fpu/libm-test-ulps: Update.
48172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48174 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48176         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
48177         ONE with its value.
48179         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
48180         (__pow_mp): Replace ONE and MONE with their values.
48181         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48182         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
48183         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48184         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
48185         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48188         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
48190         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
48191         (__pow_mp): Replace ZERO and MZERO with their values.
48192         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48193         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48194         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
48195         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
48196         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48197         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
48198         (__sqr): Likewise.
48200         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
48202         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
48204 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48206         * include/stdlib.h [!SHARED] (__call_tls_dtors):
48207         Declare with __attribute__ ((weak)).
48208         * stdlib/exit.c (__libc_atexit) [!SHARED]:
48209         Call __call_tls_dtors only if it's not NULL.
48211 2013-03-28  Roland McGrath  <roland@hack.frob.com>
48213         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
48214         didn't do it already, then set _dl_phdr and _dl_phnum based on the
48215         magic __ehdr_start linker symbol if it's defined.
48216         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
48217         them up here if it was already done.
48219         * elf/dl-support.c (_dl_phdr): Make pointer to const.
48220         (_dl_aux_init): Use const in cast when setting it.
48221         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
48222         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
48223         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
48225         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
48226         Declare them here.
48227         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
48228         * csu/libc-tls.c: Nor here.
48229         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
48231         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
48232         (__libc_message): Never call vsyslog.
48234 2013-03-28  Alan Modra  <amodra@gmail.com>
48236         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
48237         Define as empty.
48238         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
48239         Likewise.
48241 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48243         [BZ #15214]
48244         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
48245         underflow.
48246         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48248 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48250         [BZ #15304]
48251         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
48252         Don't add gid passed as argument.
48254         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
48256 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
48258         [BZ #15307]
48259         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48260         imaginary part between 1.0 and 1.5 and real part less than 0.5
48261         specially.
48262         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48263         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48264         * math/libm-test.inc (cacos_test): Add more tests.
48265         (casin_test): Likewise.
48266         (casinh_test): Likewise.
48267         * sysdeps/i386/fpu/libm-test-ulps: Update.
48268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48270 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48272         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
48273         constants.
48274         (norm): Likewise.
48275         (denorm): Likewise.
48276         (__dbl_mp): Likewise.
48277         (add_magnitudes): Likewise.
48278         (sub_magnitudes): Likewise.
48279         (__add): Likewise.
48280         (__sub): Likewise.
48281         (__mul): Likewise.
48282         (__sqr): Likewise.
48283         (__inv): Likewise.
48284         (__dvd): Likewise.
48286         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
48287         commented code.
48288         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
48289         (__dubcos): Likewise.
48290         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
48291         (__ieee754_acos): Likewise.
48292         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
48293         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
48294         (__exp1): Likewise.
48295         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
48296         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48297         (log1): Likewise.
48298         (my_log2): Likewise.
48299         (checkint): Likewise.
48300         * sysdeps/ieee754/dbl-64/e_remainder.c
48301         (__ieee754_remainder): Likewise.
48302         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
48303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
48304         (bsloww): Likewise.
48305         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
48307         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48308         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
48309         MANTISSA_STORE_T to store computations on mantissa.  Use
48310         macros for rounding and division.
48311         (denorm): Likewise.
48312         (__dbl_mp): Likewise.
48313         (add_magnitudes): Likewise.
48314         (sub_magnitudes): Likewise.
48315         (__mul): Likewise.
48316         (__sqr): Likewise.
48317         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48318         powers of two in terms of TWOPOW macro.
48319         (mp_no): Make type of mantissa as MANTISSA_T.
48320         [!RADIXI]: Define RADIXI.
48321         [!TWO52]: Define TWO52.
48322         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48324 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48326         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
48327         llroundl symbol when building for PPC32.
48329 2013-03-24  Mark H Weaver  <mhw@netris.org>
48331         * manual/arith.texi (Normalization Functions): Fix prototypes for
48332         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
48334 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48336         [BZ #13889]
48337         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
48338         high value to check if expl overflow.
48339         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
48340         to check for underflow and overflow.
48341         * math/libm-test.inc: Add exp test.
48343 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
48345         [BZ #11120]
48346         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
48347         with NOT_IN_libc.
48349 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48351         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
48352         symbol.
48354 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
48356         * math/gen-libm-test.pl (parse_args, special_functions): Properly
48357         wrap blocks consisting of several statements.
48359         * sysdeps/generic/math-tests.h: New file.
48360         * sysdeps/i386/fpu/math-tests.h: Likewise.
48361         * math/test-snan.c: Include it.
48362         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
48364 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48366         [BZ #15285]
48367         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
48368         (__ieee754_j0l): Do not improve calculations using cos of twice
48369         input for inputs above LDBL_MAX / 2.0L.
48370         (__ieee754_y0l): Likewise.
48371         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
48372         (__ieee754_j1l): Do not improve calculations using cos of twice
48373         input for inputs above LDBL_MAX / 2.0L.
48374         (__ieee754_y1l): Likewise.
48375         * math/libm-test.inc (j0_test): Add another test.
48376         (j1_test): Likewise.
48377         (y0_test): Likewise.
48378         (y1_test): Likewise.
48379         * sysdeps/i386/fpu/libm-test-ulps: Update.
48381 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48383         * Rules ($(objpfx)bench-%.c): Include code from a C source
48384         file.
48386 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
48388         [BZ #15287]
48389         * math/k_casinh.c (__kernel_casinh): Handle arguments with
48390         imaginary part 1.0 and real part less than 0.5 specially.
48391         * math/k_casinhf.c (__kernel_casinhf): Likewise.
48392         * math/k_casinhl.c (__kernel_casinhl): Likewise.
48393         * math/libm-test.inc (cacos_test): Add more tests.
48394         (casin_test): Likewise.
48395         (casinh_test): Likewise.
48396         * sysdeps/i386/fpu/libm-test-ulps: Update.
48397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48399 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48401         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
48402         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
48404 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
48406         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
48407         * config.make.in (config-cflags-sse4): Remove variable.
48408         (config-cflags-avx): Likewise.
48409         (config-cflags-sse2avx): Likewise.
48410         (config-cflags-novzeroupper): Likewise.
48411         (config-asflags-i686): Likewise.
48412         (have-mfma4): Likewise.
48413         (have-as-vis3): Likewise.
48414         (MIG): Likewise.
48415         * configure.in (MIG): Do not AC_SUBST.
48416         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
48417         (libc_cv_cc_sse4): Do not AC_SUBST.
48418         (libc_cv_cc_avx): Likewise.
48419         (libc_cv_cc_sse2avx): Likewise.
48420         (libc_cv_cc_novzeroupper): Likewise.
48421         (libc_cv_cc_fma4): Likewise.
48422         (libc_cv_as_i686): Likewise.
48423         (libc_cv_sparc_as_vis3): Likewise.
48424         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
48425         LIBC_CONFIG_VAR.
48426         (config-asflags-i686): Likewise.
48427         (config-cflags-avx): Likewise.
48428         (config-cflags-sse2avx): Likewise.
48429         (have-mfma4): Likewise.
48430         (config-cflags-novzeroupper): Likewise.
48431         * sysdeps/mach/configure.in (MIG): Likewise.
48432         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
48433         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
48434         LIBC_CONFIG_VAR.
48435         (config-cflags-avx): Likewise.
48436         (config-cflags-sse2avx): Likewise.
48437         (have-mfma4): Likewise.
48438         (config-cflags-novzeroupper): Likewise.
48439         * configure: Regenerated.
48440         * sysdeps/i386/configure: Likewise.
48441         * sysdeps/mach/configure: Likewise.
48442         * sysdeps/sparc/configure: Likewise.
48443         * sysdeps/x86_64/configure: Likewise.
48445 2013-03-20  Roland McGrath  <roland@hack.frob.com>
48447         [BZ #14812]
48448         * locale/programs/localedef.c (options): Put N_ translation marker
48449         on argument names, not just descriptions.
48451 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48453         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
48455 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
48457         [BZ #14176]
48458         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
48460 2013-03-19  Roland McGrath  <roland@hack.frob.com>
48462         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
48463         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
48464         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
48465         [!BEFORE_ABORT] (before_abort): New function.
48466         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
48467         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
48468         (writev_for_fatal): New function.
48469         (WRITEV_FOR_FATAL): New macro; call that.
48470         (backtrace_and_maps): New function.
48471         (BEFORE_ABORT): New macro; call that.
48472         (struct str_list): Type removed.
48473         (__libc_message, __libc_fatal): Functions removed.
48474         Include <sysdeps/posix/libc_fatal.c> instead.
48476 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
48478         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
48479         constants.
48480         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
48481         double constants.
48483 2013-03-19  Andreas Schwab  <schwab@suse.de>
48485         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
48486         * sysdeps/gnu/configure: Regenerate.
48488         * configure.in: Substitute libc_cv_rtlddir.
48489         * configure: Regenerate.
48490         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
48491         * Makeconfig (rtlddir, inst_rtlddir): New variables.
48492         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
48493         * elf/Makefile (install-others, CFLAGS-interp.c)
48494         (ldso_install, common-ldd-rewrite): Likewise.
48495         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
48496         $(inst_slibdir)/$(rtld-installed-name).
48497         * scripts/rellns-sh: Add -p option.
48498         * Makerules (make-shlib-link): Use rellns-sh to get relative name
48499         for source.
48501 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48503         * manual/nptl.texi: Renamed to ...
48504         * manual/threads.texi: ... this.
48505         * manual/Makefile (chapters): Update.
48507 2013-03-18  Roland McGrath  <roland@hack.frob.com>
48509         [BZ #14812]
48510         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
48511         on argument names, not just descriptions.
48512         * malloc/memusagestat.c (options): Likewise.
48513         * nss/getent.c (options): Likewise.
48515 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
48517         [BZ #14812]
48518         * iconv/iconv_prog.c (options): Put N_ translation marker
48519         on argument names, not just descriptions.
48520         * iconv/iconvconfig.c (options): Likewise.
48522 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
48524         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
48525         implementation which is faster on all x86_64 architectures.
48526         Tested on AMD, Intel Nehalem, SNB, IVB.
48527         * sysdeps/x86_64/strnlen.S: Likewise.
48529         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48530         Remove all multiarch strlen and strnlen versions.
48531         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48532         Remove strlen and strnlen related parts.
48534         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
48535         Inline strlen part.
48536         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
48538         * sysdeps/x86_64/multiarch/strlen.S: Remove.
48539         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
48540         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
48541         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
48542         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
48543         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
48545 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
48547         * manual/memory.texi (Malloc Tunable Parameters):
48548         Sort parameters alphabetically. Add comments for missing entries.
48550 2013-03-17  David S. Miller  <davem@davemloft.net>
48552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48554 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
48556         [BZ #15283]
48557         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
48558         for arguments at most half maximum finite value.
48559         * math/libm-test.inc (j0_test): Add more tests.
48560         (j1_test): Likewise.
48561         (y0_test): Likewise.
48562         (y1_test): Likewise.
48563         * sysdeps/i386/fpu/libm-test-ulps: Update.
48564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48566         [BZ #14155]
48567         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
48568         1 / x and functions P and Q for arguments above 0x1p256L.
48569         (__ieee754_y0l): Likewise.
48570         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
48571         (__ieee754_y1l): Likewise.
48572         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
48573         (j1_test): Likewise.
48574         (y0_test): Likewise.
48575         (y1_test): Likewise.
48577 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
48579         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
48580         variable.
48582 2013-03-15  Roland McGrath  <roland@hack.frob.com>
48584         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
48585         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
48586         zero since it's initialized to EXEC_PAGESIZE.
48588         * sysdeps/unix/sysv/linux/ldsodefs.h
48589         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
48590         * sysdeps/generic/ldsodefs.h: ... here.
48592 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
48594         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
48596         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
48597         math/test-snan.c.
48598         * math/test-snan.c: Renamed from
48599         sysdeps/powerpc/fpu/test-powerpc-snan.c.
48600         * math/Makefile (tests): Add test-snan.
48601         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
48602         test-powerpc-snan.
48604         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
48605         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
48606         functions.
48607         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
48608         __builtin_nan family of functions.
48609         * math/libm-test.inc (initialize): Initialize qnan_value with
48610         __builtin_nan family of functions.
48611         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
48612         Remove variables.
48613         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
48614         Remove functions.
48615         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
48616         storage class.  Initialize qNaN_var and sNaN_var with
48617         __builtin_nan and __builtin_nans families of functions,
48618         respectively.
48620         * math/libm-test.inc (acosh_test): Also test with qNaN input.
48621         (sqrt_test): Remove duplicate test with qNaN input.
48622         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
48623         (round_test, signbit_test, significand_test): Note missing +/-Inf
48624         as well as qNaN tests.
48626         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
48627         qNaN_var.  Fix a few strings, too.
48628         * math/libm-test.inc (nan_value): Rename to qnan_value.
48629         * math/gen-libm-test.pl (%beautify): Adjust to that.
48630         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
48631         * math/test-misc.c (main): Likewise.
48632         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
48633         to __qnan_bytes, and __qnan_union, respectively.
48634         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
48635         Likewise.
48636         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
48637         and lqnanval, respectively.
48638         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
48639         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
48640         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
48641         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
48643         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
48644         * math/test-misc.c (main) [__x86_64__]: Enable test for long
48645         doubles.
48647         * math/test-misc.c (main): Fix copy'n'pastos.
48648         * misc/tst-efgcvt.c (special): Likewise.
48650         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
48651         Remove declarations.
48653 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48655         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
48656         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
48657         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
48658         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
48660 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48662         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
48663         macro to return vdso values correctly in IFUNC implementations.
48664         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48665         Optimization by using IFUNC.
48667 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48668             Richard Henderson  <rth@redhat.com>
48669             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48671         * Makefile.in (bench): New target.
48672         * NEWS: Mention the benchmark framework.
48673         * Rules (bench): Likewise.
48674         (binaries-bench): Generate binaries for functions to
48675         benchmark.
48676         * benchtests/Makefile: New makefile for benchmark tests.
48677         * benchtests/bench-skeleton.c: New skeleton file for benchmark
48678         programs.
48679         * benchtests/exp-inputs: New input file for EXP function.
48680         * benchtests/pow-inputs: New input file for POW function.
48681         * scripts/bench.pl: New script to generate source files for
48682         benchmark programs.
48684 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48686         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
48687         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
48688         computations on mantissa.  Use macros for rounding and
48689         division.
48690         (denorm): Likewise.
48691         (__dbl_mp): Likewise.
48692         (add_magnitudes): Likewise.
48693         (sub_magnitudes): Likewise.
48694         (__mul): Likewise.
48695         (__sqr): Likewise.
48696         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
48697         powers of two in terms of TWOPOW macro.
48698         (mp_no): Make type of mantissa as MANTISSA_T.
48699         [!RADIXI]: Define RADIXI.
48700         [!TWO52]: Define TWO52.
48701         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
48703         * manual/nptl.texi (cindex): Modify threads to pthreads.
48705 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
48707         * sysdeps/x86_64/preconfigure: Regenerated.
48709 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
48711         [BZ #14155]
48712         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
48713         0x1p28 and above.
48714         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
48715         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
48716         0x1p28 and above.
48717         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
48718         * math/libm-test.inc (j0_test): Do not allow one spurious
48719         underflow exception.
48720         (y1_test): Likewise.
48722 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48724         * manual/Makefile (chapters): Add nptl.
48725         * manual/debug.texi (Debugging Support): Add link to Threads
48726         chapter.
48727         * manual/nptl.texi: New file.
48729         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
48731 2013-03-14  Petr Baudis  <pasky@ucw.cz>
48733         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
48734         for non-NULL pointer before the memory validity test. Pointed
48735         out by Holger Brunck <holger.brunck@keymile.com>.
48737 2013-03-13  Andreas Schwab  <schwab@suse.de>
48739         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
48740         instead of .os.
48742 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
48744         * timezone/zic.c: Update from tzcode 2013b.
48746 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
48748         * manual/install.texi (Configuring and compiling):
48749         Mention i686 and i586.
48750         * INSTALL: Regenerate.
48752 2013-03-12  Roland McGrath  <roland@hack.frob.com>
48754         * sysdeps/init_array/elf-init.c: New file.
48755         * csu/elf-init.c
48756         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
48757         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
48759         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
48760         __gmon_start__ as global, but as static with a .preinit_array pointer.
48761         * sysdeps/init_array/gmon-start.c: New file.  Use that.
48762         * sysdeps/init_array/crti.S: New file, empty except for comments.
48763         * sysdeps/init_array/crtn.S: Likewise.
48765 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
48767         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
48768         definining bcopy.
48769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48770         Remove Prefer_SSE_for_memop.
48771         * sysdeps/x86_64/multiarch/init-arch.h: Remove
48772         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
48773         HAS_PREFER_SSE_FOR_MEMOP.
48774         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
48775         memset-x86-64.
48776         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48777         Remove bzero, memset ifunc support.
48778         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
48779         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
48780         * sysdeps/x86_64/multiarch/memset.S: Likewise.
48781         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
48783 2013-03-11  Andreas Schwab  <schwab@suse.de>
48785         [BZ #15234]
48786         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
48787         by SHLIB_COMPAT.
48788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
48789         (GLIBC_2.16): Remove pthread_atfork.
48791 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
48793         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
48794         (ptestcases.h): Likewise.
48796 2013-03-08  Roland McGrath  <roland@hack.frob.com>
48798         * Makeconfig ($(common-objpfx)config.status): Depend on
48799         sysdeps/*/preconfigure{,.in} too.
48801 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
48803         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
48804         (__free_hook): Use void * instead of __malloc_ptr_t.
48805         (__malloc_hook): Likewise.
48806         (__realloc_hook): Likewise.
48807         (__memalign_hook): Likewise.
48808         (__after_morecore_hook): Likewise.
48809         * malloc/arena.c (save_malloc_hook): Likewise.
48810         (save_free_hook): Likewise.
48811         * malloc/hooks.c (malloc_hook_ini): Likewise.
48812         (realloc_hook_ini): Likewise.
48813         (memalign_hook_ini): Likewise.
48814         * malloc/malloc.c (malloc_hook_ini): Likewise.
48815         (realloc_hook_ini): Likewise.
48816         (memalign_hook_ini): Likewise.
48817         (__free_hook): Likewise.
48818         (__malloc_hook): Likewise.
48819         (__realloc_hook): Likewise.
48820         (__memalign_hook): Likewise.
48821         (__libc_malloc): Likewise.
48822         (__libc_free): Likewise.
48823         (__libc_realloc): Likewise.
48824         (__libc_memalign): Likewise.
48825         (__libc_valloc): Likewise.
48826         (__libc_pvalloc): Likewise.
48827         (__libc_calloc): Likewise.
48828         (__posix_memalign): Likewise.
48829         * malloc/morecore.c (__sbrk): Likewise.
48830         (__default_morecore): Likewise.
48832         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
48834         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
48835         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
48836         __malloc_ptrdiff_t.
48838         * malloc/malloc.h (__malloc_size_t): Remove macro.
48839         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
48840         __malloc_size_t.
48841         (old_memalign_hook): Likewise.
48842         (old_realloc_hook): Likewise.
48843         (struct hdr): Likewise.
48844         (flood): Likewise.
48845         (mallochook): Likewise.
48846         (memalignhook): Likewise.
48847         (reallochook): Likewise.
48848         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
48849         (tr_old_realloc_hook): Likewise.
48850         (tr_old_memalign_hook): Likewise.
48851         (tr_mallochook): Likewise.
48852         (tr_reallochook): Likewise.
48853         (tr_memalignhook): Likewise.
48855 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48857         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
48858         default_ldbl_pack and using as default implementation.
48859         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
48860         implementation.
48861         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
48862         redundant definition.
48863         (ldbl_insert_mantissa): Likewise.
48864         (ldbl_canonicalize): Likewise.
48865         (ldbl_nearbyint): Likewise.
48866         (ldbl_pack): Rename to ldbl_pack_ppc.
48867         (ldbl_unpack): Rename to ldbl_unpack_ppc.
48868         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
48869         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
48871 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
48873         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
48874         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
48875         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
48876         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
48877         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
48878         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
48879         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
48880         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
48882 2013-03-07  Andreas Jaeger  <aj@suse.de>
48884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48885         bits/mman-linux.h.
48887 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
48889         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
48890         Include mpa.h and declare __MPEXP.
48891         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
48892         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48893         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48894         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
48895         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48896         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
48897         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
48899         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
48900         (__slowpow): Use long double EXPL and LOGL functions to
48901         compute POW.
48902         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
48903         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48904         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
48905         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
48906         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
48907         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
48909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
48910         intermediate variable to calculate exponent.
48911         (__sqr): Likewise.
48912         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
48913         Likewise.
48914         (__sqr): Likewise.
48916         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
48917         [!NO__SQR]: Define __sqr.
48918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
48919         and NO__SQR.  Remove all code except __mul and __sqr.  Include
48920         sysdeps/ieee754/dbl-64/mpa.c.
48921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
48923         [BZ #12723]
48924         * posix/Makefile (tests): Add tst-pathconf.
48925         * posix/tst-pathconf.c: New test case.
48926         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
48927         _PC_PIPE_BUF.
48928         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
48930 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
48932         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
48934 2013-03-06  Andreas Jaeger  <aj@suse.de>
48936         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
48937         definition via __MAP_ANONYMOUS.
48939         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
48940         it's not part of Linux headers.
48942         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
48943         (MAP_HUGE_MASK): Define.
48945         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48946         Define.
48947         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48948         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48949         Define.
48950         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48951         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
48952         Define.
48953         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48954         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
48955         Define.
48956         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
48958         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
48959         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
48960         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
48961         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
48962         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
48963         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
48965         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48966         Handle f2fs.
48968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48969         Handle f2fs and efivarfs.
48971         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
48972         f2fs.
48974         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
48975         (EFIVARFS_MAGIC): Add.
48976         (F2FS_LINK_MAX): Add.
48978 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
48980         * stdio-common/vfprintf.c: Replace __builtin_expect with
48981         __glibc_unlikely.
48983 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
48985         [BZ #13550]
48986         * sysdeps/generic/bp-sym.h: Remove file.
48987         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
48988         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
48989         <bp-sym.h> and <bp-asm.h>.
48990         (__longjmp): Don't use BP_SYM.
48991         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
48992         and <bp-asm.h>.
48993         (memcpy): Don't use BP_SYM.
48994         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
48995         <bp-sym.h> and <bp-asm.h>.
48996         (memcpy): Don't use BP_SYM.
48997         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
48998         <bp-asm.h>.
48999         (memcpy): Don't use BP_SYM.
49000         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
49001         <bp-asm.h>.
49002         (memset): Don't use BP_SYM.
49003         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49004         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49005         (__bzero): Don't use BP_SYM.
49006         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49007         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49008         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
49009         <bp-sym.h> and <bp-asm.h>.
49010         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49011         pointers.
49012         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
49013         <bp-sym.h> and <bp-asm.h>.
49014         (memcpy): Don't use BP_SYM.
49015         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
49016         <bp-sym.h> and <bp-asm.h>.
49017         (memset): Don't use BP_SYM.
49018         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49019         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49020         (__bzero): Don't use BP_SYM.
49021         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49022         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49023         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
49024         <bp-sym.h> and <bp-asm.h>.
49025         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49026         pointers.
49027         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
49028         <bp-sym.h> and <bp-asm.h>.
49029         (memcpy): Don't use BP_SYM.
49030         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
49031         <bp-sym.h> and <bp-asm.h>.
49032         (memset): Don't use BP_SYM.
49033         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49034         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49035         (__bzero): Don't use BP_SYM.
49036         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49037         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49038         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
49039         <bp-sym.h> and <bp-asm.h>.
49040         (__memchr): Don't use BP_SYM.
49041         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
49042         <bp-sym.h> and <bp-asm.h>.
49043         (memcmp): Don't use BP_SYM.  Remove comment about bounded
49044         pointers.
49045         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
49046         <bp-sym.h> and <bp-asm.h>.
49047         (memcpy): Don't use BP_SYM.
49048         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
49049         <bp-sym.h> and <bp-asm.h>.
49050         (__mempcpy): Don't use BP_SYM.
49051         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
49052         <bp-sym.h> and <bp-asm.h>.
49053         (__memrchr): Don't use BP_SYM.
49054         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
49055         <bp-sym.h> and <bp-asm.h>.
49056         (memset): Don't use BP_SYM.
49057         (__bzero): Likewise.
49058         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
49059         <bp-sym.h> and <bp-asm.h>.
49060         (__rawmemchr): Don't use BP_SYM.
49061         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
49062         <bp-sym.h> and <bp-asm.h>.
49063         (__STRCMP): Don't use BP_SYM.
49064         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
49065         <bp-sym.h> and <bp-asm.h>.
49066         (strchr): Don't use BP_SYM.
49067         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
49068         <bp-sym.h> and <bp-asm.h>.
49069         (__strchrnul): Don't use BP_SYM.
49070         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
49071         <bp-sym.h> and <bp-asm.h>.
49072         (strlen): Don't use BP_SYM.
49073         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
49074         <bp-sym.h> and <bp-asm.h>.
49075         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49076         pointers.
49077         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
49078         <bp-sym.h> and <bp-asm.h>.
49079         (__strnlen): Don't use BP_SYM.
49080         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
49081         <bp-sym.h> and <bp-asm.h>.
49082         (__GI__setjmp): Don't use BP_SYM.
49083         (_setjmp): Likewise.
49084         (__sigsetjmp): Likewise.
49085         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
49086         (L(start_addresses)): Don't use BP_SYM.
49087         (_start): Likewise.
49088         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
49089         <bp-asm.h>.
49090         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
49091         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
49092         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49093         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49094         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
49095         <bp-asm.h>.
49096         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
49097         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
49098         about bounded pointers.
49099         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49100         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49101         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
49102         <bp-asm.h>.
49103         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49104         about bounded pointers.  Remove GKM FIXME comments.
49105         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49106         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
49107         <bp-asm.h>.
49108         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
49109         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
49110         Remove GKM FIXME comments.
49111         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49112         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49113         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
49114         <bp-asm.h>.
49115         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
49116         about bounded pointers.  Remove GKM FIXME comment.
49117         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
49118         and <bp-asm.h>.
49119         (strncmp): Don't use BP_SYM.  Remove comment about bounded
49120         pointers.
49121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
49122         <bp-sym.h> and <bp-asm.h>.
49123         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
49125         <bp-sym.h> and <bp-asm.h>.
49126         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49127         comment.
49129 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49131         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
49132         call free(NULL).
49134 2013-03-05  David S. Miller  <davem@davemloft.net>
49136         * po/es.po: Update from translation team.
49138 2013-03-05  Andreas Jaeger  <aj@suse.de>
49140         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
49141         <bits/mman-linux.h>.
49142         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49143         is fine.
49144         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
49145         <bits/mman-linux.h> to end of file.
49146         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49147         is fine.
49148         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
49149         <bits/mman-linux.h> to end of file.
49150         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
49151         is fine.
49152         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
49153         <bits/mman-linux.h> to end of file.
49155         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
49156         (MCL_CURRENT, MCL_FUTURE): Define here.
49158 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49160         [BZ #15232]
49161         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
49162         attribute_hidden.
49163         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
49165 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49167         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
49168         fourth parameter needed for rt_sigprocmask syscall.
49169         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
49170         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
49171         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
49172         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
49173         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
49174         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
49176 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
49178         [BZ #13550]
49179         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
49180         comment about bounded pointers.
49181         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
49182         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
49184 2013-03-04  Andreas Jaeger  <aj@suse.de>
49186         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
49187         common definitions.
49189         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
49190         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
49191         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
49192         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49193         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
49194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49196 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49198         [BZ #15055]
49199         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
49200         __ieee754_sqrl instead of __sqrl.
49202 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
49204         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
49205         * sysdeps/powerpc/fpu_control.h: ... here.
49206         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
49207         * sysdeps/powerpc/bits/fenvinline.h: ... here.
49208         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
49209         * sysdeps/powerpc/bits/mathinline.h: ... here.
49211 2013-03-01  Roland McGrath  <roland@hack.frob.com>
49213         * elf/dl-hwcaps.c (_dl_important_hwcaps):
49214         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
49215         to just [NEED_DL_SYSINFO_DSO].
49216         * elf/dl-support.c: Likewise.
49217         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
49218         * elf/rtld.c (dl_main): Likewise.
49219         * elf/setup-vdso.h (setup_vdso): Likewise.
49220         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
49221         * sysdeps/unix/sysv/linux/dl-sysdep.c
49222         (_dl_discover_osversion): Likewise.
49224 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
49226         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
49227         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49229 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
49231         * NEWS: Mention libm performance improvements and non-x86 PI
49232         futex support.
49234         * csu/libc-start.c (__pthread_initialize_minimal): Change
49235         function arguments.
49236         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
49238 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
49240         [BZ #13550]
49241         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
49242         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
49243         <bp-sym.h> and <bp-asm.h>.
49244         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49245         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
49246         and <bp-asm.h>.
49247         (memcpy): Don't use BP_SYM.
49248         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
49249         <bp-asm.h>.
49250         (__mpn_add_n): Don't use BP_SYM.
49251         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
49252         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
49253         and <bp-asm.h>.
49254         (__mpn_addmul_1): Don't use BP_SYM.
49255         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49256         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
49257         <bp-sym.h>.
49258         (_setjmp): Don't use BP_SYM.
49259         (__novmx_setjmp): Likewise.
49260         (__GI__setjmp): Likewise.
49261         (__vmx_setjmp): Likewise.
49262         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
49263         <bp-sym.h>.
49264         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
49265         (__bzero): Don't use BP_SYM.
49266         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
49267         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
49268         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
49269         <bp-sym.h> and <bp-asm.h>.
49270         (memcpy): Don't use BP_SYM.
49271         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
49272         <bp-sym.h> and <bp-asm.h>.
49273         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49274         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
49275         <bp-sym.h> and <bp-asm.h>.
49276         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
49277         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
49278         <bp-asm.h>.
49279         (__mpn_lshift): Don't use BP_SYM.
49280         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49281         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
49282         <bp-asm.h>.
49283         (memset): Don't use BP_SYM.
49284         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
49285         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
49286         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
49287         <bp-asm.h>.
49288         (__mpn_mul_1): Don't use BP_SYM.
49289         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49290         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
49291         <bp-sym.h> and <bp-asm.h>.
49292         (memcmp): Don't use BP_SYM.
49293         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
49294         <bp-sym.h> and <bp-asm.h>.
49295         (memcpy): Don't use BP_SYM.
49296         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
49297         <bp-sym.h> and <bp-asm.h>.
49298         (memset): Don't use BP_SYM.
49299         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
49300         <bp-sym.h> and <bp-asm.h>.
49301         (strncmp): Don't use BP_SYM.
49302         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
49303         <bp-sym.h> and <bp-asm.h>.
49304         (memcpy): Don't use BP_SYM.
49305         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
49306         <bp-sym.h> and <bp-asm.h>.
49307         (memset): Don't use BP_SYM.
49308         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
49309         <bp-sym.h> and <bp-asm.h>.
49310         (__memchr): Don't use BP_SYM.
49311         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
49312         <bp-sym.h> and <bp-asm.h>.
49313         (memcmp): Don't use BP_SYM.
49314         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
49315         <bp-sym.h> and <bp-asm.h>.
49316         (memcpy): Don't use BP_SYM.
49317         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
49318         <bp-sym.h> and <bp-asm.h>.
49319         (__mempcpy): Don't use BP_SYM.
49320         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
49321         <bp-sym.h> and <bp-asm.h>.
49322         (__memrchr): Don't use BP_SYM.
49323         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
49324         <bp-sym.h> and <bp-asm.h>.
49325         (memset): Don't use BP_SYM.
49326         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
49327         <bp-sym.h> and <bp-asm.h>.
49328         (__rawmemchr): Don't use BP_SYM.
49329         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
49330         <bp-sym.h> and <bp-asm.h>.
49331         (__STRCMP): Don't use BP_SYM.
49332         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
49333         <bp-sym.h> and <bp-asm.h>.
49334         (strchr): Don't use BP_SYM.
49335         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
49336         <bp-sym.h> and <bp-asm.h>.
49337         (__strchrnul): Don't use BP_SYM.
49338         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
49339         <bp-sym.h> and <bp-asm.h>.
49340         (strlen): Don't use BP_SYM.
49341         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
49342         <bp-sym.h> and <bp-asm.h>.
49343         (strncmp): Don't use BP_SYM.
49344         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
49345         <bp-sym.h> and <bp-asm.h>.
49346         (__strnlen): Don't use BP_SYM.
49347         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
49348         <bp-asm.h>.
49349         (__mpn_rshift): Don't use BP_SYM.
49350         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49351         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
49352         <bp-sym.h> and <bp-asm.h>.
49353         (__sigsetjmp): Don't use BP_SYM.
49354         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
49355         (L(start_addresses)): Don't use BP_SYM.
49356         (_start): Likewise.
49357         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
49358         <bp-asm.h>.
49359         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
49360         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49361         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49362         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
49363         <bp-asm.h>.
49364         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
49365         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
49366         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
49367         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
49368         <bp-asm.h>.
49369         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49370         comments.
49371         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
49372         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
49373         <bp-asm.h>.
49374         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
49375         FIXME comments.
49376         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
49377         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
49378         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
49379         <bp-asm.h>.
49380         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
49381         comment.
49382         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
49383         and <bp-asm.h>.
49384         (strncmp): Don't use BP_SYM,
49385         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
49386         <bp-asm.h>.
49387         (__mpn_sub_n): Don't use BP_SYM.
49388         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49389         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
49390         and <bp-asm.h>.
49391         (__mpn_submul_1): Don't use BP_SYM.
49392         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
49394         <bp-sym.h> and <bp-asm.h>.
49395         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
49396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
49397         <bp-sym.h> and <bp-asm.h>.
49398         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
49399         comment.
49401 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49403         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
49404         Use ZK to minimize writes to Z.
49405         (sub_magnitudes): Simplify code a bit.
49406         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
49407         Use ZK to minimize writes to Z.
49408         (sub_magnitudes): Simplify code a bit.
49410 2013-02-27  Roland McGrath  <roland@hack.frob.com>
49412         * csu/gmon-start.c: Add special exception to license text.
49414 2013-02-27  Richard Henderson  <rth@redhat.com>
49416         * scripts/config.guess: Update from config.git.
49417         * scripts/config.sub: Likewise.
49419 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
49421         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
49423         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
49425         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
49427         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
49429         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
49431 2013-02-26  Roland McGrath  <roland@hack.frob.com>
49433         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
49434         [$(build-shared = yes].
49436 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49438         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
49439         (__mul): Reduce iterations for calculating mantissa.
49441         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
49442         MPTWO.
49443         (__mpranred): Likewise.
49445         [BZ #15160]
49446         * malloc/memusagestat.c (main): Draw graphs for heap and stack
49447         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
49449 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
49451         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
49452         Define __attribute__.
49454 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49456         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
49457         unused.
49458         * posix/regex_internal.h (__attribute): Remove.
49459         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
49460         (re_string_context_at): Likewise.
49461         (bitset_not): Use __attribute__ and mark function as possibly
49462         unused.
49463         (bitset_merge): Likewise.
49464         (bitset_mask): Likewise.
49465         (re_string_char_size_at): Likewise.
49466         (re_string_wchar_at): Likewise.
49467         (re_string_elem_size_at): Likewise.
49469 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49471         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
49472         code.
49473         (cc32): Likewise.
49475         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
49476         (__acr): Likewise.
49477         (__cpy): Likewise.
49478         (norm): Likewise.
49479         (denorm): Likewise.
49480         (__dbl_mp): Likewise.
49481         (add_magnitudes): Likewise.
49482         (sub_magnitudes): Likewise.
49483         (__mul): Likewise.
49484         (__inv): Likewise.
49486         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
49487         style.
49489         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
49490         style.
49492         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
49493         code.
49495         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
49496         up changes with default code.
49497         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
49498         Likewise.
49500 2013-02-24  Allan McRae  <allan@archlinux.org>
49502         * manual/socket.texi (The Internet Namespace): Order menu items
49503         to match that in the file.
49505         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
49506         node listing of the info page menu.
49508 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
49510         [BZ #13550]
49511         * sysdeps/i386/bp-asm.h: Remove file.
49512         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49513         (PARMS): Do not use macros from bp-asm.h.
49514         (S1): Likewise.
49515         (S2): Likewise.
49516         (SIZE): Likewise.
49517         (__mpn_add_n): Do not use BP_SYM
49518         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
49519         "bp-asm.h".
49520         (PARMS): Do not use macros from bp-asm.h.
49521         (S1): Likewise.
49522         (SIZE): Likewise.
49523         (__mpn_addmul_1): Do not use BP_SYM
49524         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
49525         "bp-asm.h".
49526         (PARMS): Do not use macros from bp-asm.h.
49527         (SIGMSK): Likewise.
49528         (_setjmp): Likewise.  Do not use BP_SYM.
49529         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
49530         "bp-asm.h".
49531         (PARMS): Do not use macros from bp-asm.h.
49532         (SIGMSK): Likewise.
49533         (setjmp): Likewise.  Do not use BP_SYM.
49534         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
49535         "bp-asm.h".
49536         (PARMS): Do not use macros from bp-asm.h.
49537         (__frexp): Do not use BP_SYM.
49538         (frexp): Likewise.
49539         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
49540         "bp-asm.h".
49541         (PARMS): Do not use macros from bp-asm.h.
49542         (__frexpf): Do not use BP_SYM.
49543         (frexpf): Likewise.
49544         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
49545         "bp-asm.h".
49546         (PARMS): Do not use macros from bp-asm.h.
49547         (__frexpl): Do not use BP_SYM.
49548         (frexpl): Likewise.
49549         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
49550         "bp-asm.h".
49551         (PARMS): Do not use macros from bp-asm.h.
49552         (__remquo): Do not use BP_SYM.
49553         (remquo): Likewise.
49554         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
49555         "bp-asm.h".
49556         (PARMS): Do not use macros from bp-asm.h.
49557         (__remquof): Do not use BP_SYM.
49558         (remquof): Likewise.
49559         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
49560         "bp-asm.h".
49561         (PARMS): Do not use macros from bp-asm.h.
49562         (__remquol): Do not use BP_SYM.
49563         (remquol): Likewise.
49564         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
49565         "bp-asm.h".
49566         (PARMS): Do not use macros from bp-asm.h.
49567         (DEST): Likewise.
49568         (SRC): Likewise.
49569         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
49570         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
49571         "bp-asm.h".
49572         (PARMS): Do not use macros from bp-asm.h.
49573         (strlen): Do not use BP_SYM.
49574         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
49575         "bp-asm.h".
49576         (PARMS): Do not use macros from bp-asm.h.
49577         (S1): Likewise.
49578         (S2): Likewise.
49579         (SIZE): Likewise.
49580         (__mpn_add_n): Do not use BP_SYM.
49581         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
49582         "bp-asm.h".
49583         (PARMS): Do not use macros from bp-asm.h.
49584         (S1): Likewise.
49585         (SIZE): Likewise.
49586         (__mpn_addmul_1): Do not use BP_SYM.
49587         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
49588         weak_alias.
49589         (bzero): Likewise.
49590         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
49591         "bp-asm.h".
49592         (PARMS): Do not use macros from bp-asm.h.
49593         (S): Likewise.
49594         (SIZE): Likewise.
49595         (__mpn_lshift): Do not use BP_SYM.
49596         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
49597         "bp-asm.h".
49598         (PARMS): Do not use macros from bp-asm.h.
49599         (DEST): Likewise.
49600         (SRC): Likewise.
49601         (LEN): Likewise.
49602         (memcpy): Likewise.  Do not use BP_SYM.
49603         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
49604         libc_hidden_def and weak_alias.
49605         (mempcpy): Do not use BP_SYM in weak_alias.
49606         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
49607         "bp-asm.h".
49608         (PARMS): Do not use macros from bp-asm.h.
49609         (DEST): Likewise.
49610         (LEN): Likewise.
49611         [!BZERO_P] (CHR): Likewise.
49612         (memset): Likewise.  Do not use BP_SYM.
49613         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
49614         "bp-asm.h".
49615         (PARMS): Do not use macros from bp-asm.h.
49616         (S1): Likewise.
49617         (SIZE): Likewise.
49618         (__mpn_mul_1): Do not use BP_SYM.
49619         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
49620         "bp-asm.h".
49621         (PARMS): Do not use macros from bp-asm.h.
49622         (S): Likewise.
49623         (SIZE): Likewise.
49624         (__mpn_rshift): Do not use BP_SYM.
49625         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
49626         "bp-asm.h".
49627         (PARMS): Do not use macros from bp-asm.h.
49628         (STR): Likewise.
49629         (CHR): Likewise.
49630         (strchr): Likewise.  Do not use BP_SYM.
49631         (index): Do not use BP_SYM in weak_alias.
49632         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
49633         "bp-asm.h".
49634         (PARMS): Do not use macros from bp-asm.h.
49635         (DEST): Likewise.
49636         (SRC): Likewise.
49637         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
49638         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
49639         "bp-asm.h".
49640         (PARMS): Do not use macros from bp-asm.h.
49641         (strlen): Do not use BP_SYM.
49642         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
49643         "bp-asm.h".
49644         (PARMS): Do not use macros from bp-asm.h.
49645         (S1): Likewise.
49646         (S2): Likewise.
49647         (SIZE): Likewise.
49648         (__mpn_sub_n): Do not use BP_SYM.
49649         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
49650         "bp-asm.h".
49651         (PARMS): Do not use macros from bp-asm.h.
49652         (S1): Likewise.
49653         (SIZE): Likewise.
49654         (__mpn_submul_1): Do not use BP_SYM.
49655         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
49656         "bp-asm.h".
49657         (PARMS): Do not use macros from bp-asm.h.
49658         (S1): Likewise.
49659         (S2): Likewise.
49660         (SIZE): Likewise.
49661         (__mpn_add_n): Do not use BP_SYM.
49662         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
49663         weak_alias.
49664         (bzero): Likewise.
49665         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
49666         "bp-asm.h".
49667         (PARMS): Do not use macros from bp-asm.h.
49668         (BLK2): Likewise.
49669         (LEN): Likewise.
49670         (memcmp): Do not use BP_SYM.
49671         (bcmp): Do not use BP_SYM in weak_alias.
49672         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
49673         "bp-asm.h".
49674         (PARMS): Do not use macros from bp-asm.h.
49675         (DEST): Likewise.
49676         (SRC): Likewise.
49677         (LEN): Likewise.
49678         (memcpy): Likewise.  Do not use BP_SYM.
49679         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
49680         "bp-asm.h".
49681         (PARMS): Do not use macros from bp-asm.h.
49682         (DEST): Likewise.
49683         (SRC): Likewise.
49684         (LEN): Likewise.
49685         (memmove): Likewise.  Do not use BP_SYM.
49686         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
49687         "bp-asm.h".
49688         (PARMS): Do not use macros from bp-asm.h.
49689         (DEST): Likewise.
49690         (SRC): Likewise.
49691         (LEN): Likewise.
49692         (__mempcpy): Likewise.  Do not use BP_SYM.
49693         (mempcpy): Do not use BP_SYM in weak_alias.
49694         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
49695         "bp-asm.h".
49696         (PARMS): Do not use macros from bp-asm.h.
49697         (DEST): Likewise.
49698         (LEN): Likewise.
49699         [!BZERO_P] (CHR): Likewise.
49700         (memset): Likewise.  Do not use BP_SYM.
49701         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
49702         "bp-asm.h".
49703         (PARMS): Do not use macros from bp-asm.h.
49704         (STR2): Likewise.
49705         (strcmp): Do not use BP_SYM.
49706         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
49707         "bp-asm.h".
49708         (PARMS): Do not use macros from bp-asm.h.
49709         (STR): Likewise.
49710         (DELIM): Likewise.
49711         [USE_AS_STRTOK_R] (SAVE): Likewise.
49712         (FUNCTION): Likewise.  Do not use BP_SYM.
49713         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
49714         aliases.
49715         (strtok_r): Likewise.
49716         (__GI___strtok_r): Likewise.
49717         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49718         (PARMS): Do not use macros from bp-asm.h.
49719         (S): Likewise.
49720         (SIZE): Likewise.
49721         (__mpn_lshift): Do not use BP_SYM.
49722         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49723         (PARMS): Do not use macros from bp-asm.h.
49724         (STR): Likewise.
49725         (CHR): Likewise.
49726         (__memchr): Do not use BP_SYM.
49727         (memchr): Do not use BP_SYM in weak_alias.
49728         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49729         (PARMS): Do not use macros from bp-asm.h.
49730         (BLK2): Likewise.
49731         (LEN): Likewise.
49732         (memcmp): Do not use BP_SYM.
49733         (bcmp): Do not use BP_SYM in weak_alias.
49734         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
49735         (PARMS): Do not use macros from bp-asm.h.
49736         (S1): Likewise.
49737         (SIZE): Likewise.
49738         (__mpn_mul_1): Do not use BP_SYM.
49739         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
49740         "bp-asm.h".
49741         (PARMS): Do not use macros from bp-asm.h.
49742         (STR): Likewise.
49743         (CHR): Likewise.
49744         (__rawmemchr): Do not use BP_SYM.
49745         (rawmemchr): Do not use BP_SYM in weak_alias.
49746         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
49747         (PARMS): Do not use macros from bp-asm.h.
49748         (S): Likewise.
49749         (SIZE): Likewise.
49750         (__mpn_rshift): Do not use BP_SYM.
49751         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
49752         (PARMS): Do not use macros from bp-asm.h.
49753         (SIGMSK): Likewise.
49754         (__sigsetjmp): Likewise.  Do not use BP_SYM.
49755         * sysdeps/i386/start.S: Do not include "bp-sym.h".
49756         (_start): Do not use BP_SYM.
49757         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
49758         (PARMS): Do not use macros from bp-asm.h.
49759         (DEST): Likewise.
49760         (SRC): Likewise.
49761         (__stpcpy): Likewise.  Do not use BP_SYM.
49762         (stpcpy): Do not use BP_SYM in weak_alias.
49763         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
49764         "bp-asm.h".
49765         (PARMS): Do not use macros from bp-asm.h.
49766         (DEST): Likewise.
49767         (SRC): Likewise.
49768         (LEN): Likewise.
49769         (__stpncpy): Likewise.  Do not use BP_SYM.
49770         (stpncpy): Do not use BP_SYM in weak_alias.
49771         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
49772         (PARMS): Do not use macros from bp-asm.h.
49773         (STR): Likewise.
49774         (CHR): Likewise.
49775         (strchr): Likewise.  Do not use BP_SYM.
49776         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
49777         "bp-asm.h".
49778         (PARMS): Do not use macros from bp-asm.h.
49779         (STR): Likewise.
49780         (CHR): Likewise.
49781         (__strchrnul): Likewise.  Do not use BP_SYM.
49782         (strchrnul): Do not use BP_SYM in weak_alias.
49783         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
49784         "bp-asm.h".
49785         (PARMS): Do not use macros from bp-asm.h.
49786         (STOP): Likewise.
49787         (strcspn): Do not use BP_SYM.
49788         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
49789         "bp-asm.h".
49790         (PARMS): Do not use macros from bp-asm.h.
49791         (STR): Likewise.
49792         (STOP): Likewise.
49793         (strpbrk): Likewise.  Do not use BP_SYM.
49794         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
49795         "bp-asm.h".
49796         (PARMS): Do not use macros from bp-asm.h.
49797         (STR): Likewise.
49798         (CHR): Likewise.
49799         (strrchr): Likewise.  Do not use BP_SYM.
49800         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
49801         (PARMS): Do not use macros from bp-asm.h.
49802         (SKIP): Likewise.
49803         (strspn): Do not use BP_SYM.
49804         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
49805         (PARMS): Do not use macros from bp-asm.h.
49806         (STR): Likewise.
49807         (DELIM): Likewise.
49808         (SAVE): Likewise.
49809         (FUNCTION): Likewise.  Do not use BP_SYM.
49810         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
49811         aliases.
49812         (strtok_r): Likewise.
49813         (__GI___strtok_r): Likewise.
49814         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
49815         (PARMS): Do not use macros from bp-asm.h.
49816         (S1): Likewise.
49817         (S2): Likewise.
49818         (SIZE): Likewise.
49819         (__mpn_sub_n): Do not use BP_SYM.
49820         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
49821         "bp-asm.h".
49822         (PARMS): Do not use macros from bp-asm.h.
49823         (S1): Likewise.
49824         (SIZE): Likewise.
49825         (__mpn_submul_1): Do not use BP_SYM.
49826         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
49827         <bp-sym.h>.
49828         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
49829         and <bp-asm.h>.
49830         (PARMS): Do not use macros from bp-asm.h.
49831         (FLAGS): Likewise.
49832         (PTID): Likewise.
49833         (TLS): Likewise.
49834         (CTID): Likewise.
49835         (__clone): Do not use BP_SYM.
49836         (clone): Do not use BP_SYM in weak_alias.
49837         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
49838         and <bp-asm.h>.
49839         (PARMS): Do not use macros from bp-asm.h.
49840         (LEN): Likewise.
49841         (__mmap64): Do not use BP_SYM.
49842         (mmap64): Do not use BP_SYM in weak_alias.
49843         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
49844         <bp-sym.h> and <bp-asm.h>.
49845         (PARMS): Do not use macros from bp-asm.h.
49846         (__posix_fadvise64_l64): Do not use BP_SYM.
49847         * sysdeps/unix/sysv/linux/i386/semtimedop.S
49848         (PARMS): Do not use macros from bp-asm.h.
49849         (NSOPS): Likewise.
49850         (semtimedop): Do not use BP_SYM.
49851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
49852         and <bp-asm.h>.
49854 2013-02-21  Allan McRae  <allan@archlinux.org>
49856         * manual/message.texi (Charset conversion in gettext):
49857         Move @end statement to beginning of line.
49859 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
49862         static.
49863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
49864         Likewise.
49866         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
49867         (denorm): Likewise.
49868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
49869         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
49871 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49873         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
49874         tail-call to the resolved function if pltexit isn't needed.
49876 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49878         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
49879         or Y being zero as being unlikely.
49880         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
49881         Likewise.
49883 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
49885         * manual/nss.texi (System Databases and Name Service Switch):
49886         Remove frobnicate @pxref.
49888 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49890         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49891         __attribute__ ((unused)) to __attribute__ ((__unused__)).
49893 2013-02-20  Petr Machata  <pmachata@redhat.com>
49895         * elf/elf.h (R_ARM_TARGET1): New macro.
49896         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
49897         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
49898         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
49899         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
49900         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
49901         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
49902         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
49903         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
49904         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
49905         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
49906         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
49907         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
49908         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
49909         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
49910         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
49911         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
49912         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
49913         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
49914         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
49915         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
49916         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
49917         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
49918         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
49919         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
49920         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
49921         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
49922         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
49923         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
49924         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
49925         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
49926         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
49927         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
49928         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
49929         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
49930         (R_ARM_THM_GOT_BREL12): Likewise.
49931         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
49932         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
49933         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
49934         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
49935         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
49936         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
49937         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
49938         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
49939         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
49941 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
49943         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
49944         __attribute_used__ to __attribute__ ((unused)).
49946 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49948         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
49949         powerpc mpa.c.
49950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
49951         comment formatting.
49952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
49954 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
49956         [BZ #13550]
49957         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
49958         Remove macro.
49959         (ENTER): Remove both macro definitions.
49960         (LEAVE): Likewise.
49961         (CHECK_BOUNDS_LOW): Likewise.
49962         (CHECK_BOUNDS_HIGH): Likewise.
49963         (CHECK_BOUNDS_BOTH): Likewise.
49964         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
49965         (RETURN_BOUNDED_POINTER): Likewise.
49966         (RETURN_NULL_BOUNDED_POINTER): Likewise.
49967         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
49968         (POP_ERRNO_LOCATION_RETURN): Likewise.
49969         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
49970         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49971         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
49972         macros.
49973         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49974         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
49975         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
49976         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
49977         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
49978         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
49979         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
49980         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
49981         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
49982         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
49983         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
49984         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
49985         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
49986         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
49987         removed macros.
49988         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49989         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
49990         macros.
49991         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49992         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
49993         * sysdeps/i386/i586/memset.S (memset): Likewise.
49994         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
49995         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
49996         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
49997         macros.
49998         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
49999         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
50000         Change uses of L(2) to L(out).
50001         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
50002         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
50003         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
50004         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50005         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
50006         removed macros.
50007         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50008         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
50009         macros.
50010         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50011         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
50012         (RETURN): Do not use macro LEAVE.
50013         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
50014         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
50015         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
50016         * sysdeps/i386/i686/memset.S (memset): Likewise.
50017         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
50018         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
50019         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
50020         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
50021         Likewise.
50022         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50023         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
50024         L(1_2) and L(1_3) into L(1).
50025         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50026         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
50027         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50028         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
50029         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
50030         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
50031         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
50032         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50033         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
50034         macros.
50035         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
50036         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
50037         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
50038         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
50039         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
50040         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
50041         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
50042         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
50043         * sysdeps/i386/strcspn.S (strcspn): Likewise.
50044         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
50045         * sysdeps/i386/strrchr.S (strrchr): Likewise.
50046         * sysdeps/i386/strspn.S (strspn): Likewise.
50047         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
50048         conditional code.
50049         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
50050         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
50051         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
50052         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
50053         L(1_3) into L(1_1).
50054         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
50055         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
50056         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
50057         macros.
50058         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
50060 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
50062         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
50063         macro.
50065 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50067         * math/atest-exp.c (exp_mpn): Remove ROUND.
50068         * math/atest-exp2.c (exp_mpn): Likewise.
50069         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
50071         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
50072         * stdlib/tst-tls-atexit-lib.c: Likewise.
50073         * stdlib/tst-tls-atexit.c: Likewise.
50075 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50077         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
50078         and __attribute_alloc_size__.
50080 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50082         * include/programs/xmalloc.h: Change __attribute_alloc_size to
50083         __attribute_alloc_size__.
50084         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
50085         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
50087 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
50089         * include/programs/xmalloc.h: New file.
50090         * catgets/gencat.c: Include it.
50091         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
50092         * elf/pldd.c: Likewise.
50093         * iconv/iconv_charmap.c: Likewise.
50094         * iconv/iconvconfig.c: Likewise.
50095         * iconv/strtab.c: Likewise.
50096         * locale/programs/locale.c: Likewise.
50097         * locale/programs/localedef.h: Likewise.
50098         * locale/programs/simple-hash.c: Likewise.
50099         * nscd/nscd.h: Likewise.
50100         * nss/makedb.c: Likewise.
50101         * sysdeps/generic/ldconfig.h: Likewise.
50103 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50105         * Versions.def: Add GLIBC_2.18.
50106         * include/link.h (struct link_map): New member l_tls_dtor_count.
50107         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
50108         (__call_tls_dtors): Likewise.
50109         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
50110         __cxa_thread_atexit_impl.
50111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50112         Likewise.
50113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
50114         Likewise.
50115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
50116         Likewise.
50117         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
50118         Likewise.
50119         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
50120         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
50121         Likewise.
50122         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
50123         Likewise.
50124         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
50125         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
50126         Likewise.
50127         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
50128         (tests): Add test case tst-tls-atexit.
50129         (modules-names): Add shared library for tst-tls-atexit.
50130         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
50131         (GLIBC_PRIVATE): Add __call_tls_dtors.
50132         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
50133         for libstdc++.
50134         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
50135         * stdlib/tst-tls-atexit.c: New test case.
50136         * stdlib/tst-tls-atexit-lib.c: New test case.
50138         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
50140         * elf/Versions (ld): Add _dl_find_dso_for_object.
50141         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
50142         * elf/dl-open.c (_dl_find_dso_for_object): New function.
50143         (dl_open_worker): Use _dl_find_dso_for_object.
50144         * elf/dl-sym.c (do_sym): Likewise.
50145         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
50147 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50149         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
50150         Syntactic changes only.
50151         (_dl_runtime_profile): Do a tail-call to the resolved function.
50153 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
50155         [BZ #13550]
50156         * sysdeps/x86_64/bp-asm.h: Remove file.
50157         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
50158         <bp-sym.h> and <bp-asm.h>.
50159         (__clone): Do not use BP_SYM.
50160         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
50161         <bp-sym.h> and <bp-asm.h>.
50162         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50163         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
50164         "bp-asm.h".
50165         (_setjmp): Do not use BP_SYM.
50166         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
50167         "bp-asm.h".
50168         (setjmp): Do not use BP_SYM.
50169         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
50170         libc_hidden_def.
50171         (mempcpy): Do not use BP_SYM in weak_alias.
50172         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
50173         "bp-asm.h".
50174         (strchr): Do not use BP_SYM.
50175         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
50176         "bp-asm.h".
50177         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
50178         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
50179         (_start): Do not use BP_SYM.
50180         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
50181         "bp-asm.h".
50182         (strcat): Do not use BP_SYM.
50183         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
50184         "bp-asm.h".
50185         (STRCMP): Do not use BP_SYM.
50186         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
50187         "bp-asm.h".
50188         (STRCPY): Do not use BP_SYM.
50189         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
50190         "bp-asm.h".
50191         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
50192         "bp-asm.h".
50193         (FUNCTION): Do not use BP_SYM.
50194         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
50195         weak_alias.
50196         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
50198 2013-02-17  Andreas Jaeger  <aj@suse.de>
50200         * time/Versions: Sort entries.
50201         * string/Versions: Likewise.
50202         * resolv/Versions: Likewise.
50203         * posix/Versions: Likewise.
50204         * iconv/Versions: Likewise.
50205         * elf/Versions: Likewise.
50206         * wcsmbs/Versions: Likewise.
50208 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50210         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
50211         loop termination condition.
50213         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
50214         variable to calculate EZ.
50215         (__sqr): Likewise.
50217         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
50218         the lower precision input.
50220 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
50222         [BZ #13550]
50223         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
50224         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
50225         (run-via-rtld-prefix): Do not handle %-bp tests.
50226         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
50227         (all-object-suffixes): Remove .ob.
50228         (bppfx): Remove variable.
50229         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
50230         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
50231         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
50232         [$(build-bounded) = yes] (libtype.ob): Likewise.
50233         * Makerules (elide-routines.ob): Remove variable.
50234         (do-tests-clean): Do not handle *-bp.out.
50235         (common-mostlyclean): Do not handle *-bp and *-bp.out.
50236         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
50237         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
50238         (tests): Do not include $(tests-bp.out).
50239         (xtests): Do not include $(xtests-bp.out).
50240         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
50241         [$(build-bounded) = yes] ($(addprefix
50242         $(objpfx),$(binaries-bounded))): Remove rule.
50243         ($(objpfx)%-bp.out): Remove rule.
50244         * config.make.in (build-bounded): Remove variable.
50245         * crypt/Makefile [$(build-bounded) = yes]
50246         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
50247         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
50248         append to variable.
50249         [$(build-bounded) = yes] (install-lib): Likewise.
50250         [$(build-bounded) = yes] (generated): Likewise.
50251         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
50252         Remove rule.
50253         * intl/Makefile [$(build-bounded) = yes]
50254         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
50255         * math/Makefile [$(build-bounded) = yes]
50256         ($(tests:%=$(objpfx)%-bp): Likewise.
50257         * misc/Makefile [$(build-bounded) = yes]
50258         ($(objpfx)tst-tsearch-bp): Likewise.
50259         * nptl/Makeconfig (bounded-thread-library): Remove variable.
50260         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
50261         Remove dependency.
50262         * string/Makefile (o-objects.ob): Remove variable.
50263         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
50264         (CFLAGS-.ob): Remove variable.
50265         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
50266         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
50267         both definitions of variable.
50268         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
50269         (ASFLAGS-.ob): Remove variable.
50271 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
50273         [BZ #13550]
50274         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
50275         Remove __BOUNDED_POINTERS__ from condition.
50276         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
50277         * string/bits/string2.h [!__NO_STRING_INLINES &&
50278         !__BOUNDED_POINTERS__]: Likewise.
50279         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
50280         Likewise.
50281         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
50282         Remove conditional code.
50283         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
50284         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
50285         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
50286         condition.
50288         [BZ #13550]
50289         * csu/libc-start.c: Do not include <bp-sym.h>.
50290         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
50291         * elf/dl-open.c: Do not include <bp-sym.h>.
50292         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
50293         * math/fegetenv.c: Do not include <bp-sym.h>.
50294         (fegetenv): Do not use BP_SYM in versioned symbols.
50295         * nptl/sysdeps/pthread/bits/libc-lockP.h
50296         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
50297         <bp-sym.h>.
50298         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50299         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
50300         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50301         (__pthread_mutex_destroy): Likewise.
50302         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50303         (__pthread_mutex_lock): Likewise.
50304         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50305         (__pthread_mutex_trylock): Likewise.
50306         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50307         (__pthread_mutex_unlock): Likewise.
50308         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50309         (__pthread_mutexattr_init): Likewise.
50310         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50311         (__pthread_mutexattr_destroy): Likewise.
50312         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50313         (__pthread_mutexattr_settype): Likewise.
50314         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50315         (__pthread_rwlock_init): Likewise.
50316         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50317         (__pthread_rwlock_destroy): Likewise.
50318         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50319         (__pthread_rwlock_rdlock): Likewise.
50320         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50321         (__pthread_rwlock_tryrdlock): Likewise.
50322         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50323         (__pthread_rwlock_wrlock): Likewise.
50324         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50325         (__pthread_rwlock_trywrlock): Likewise.
50326         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50327         (__pthread_rwlock_unlock): Likewise.
50328         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50329         (__pthread_key_create): Likewise.
50330         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50331         (__pthread_setspecific): Likewise.
50332         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50333         (__pthread_getspecific): Likewise.
50334         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
50335         Likewise.
50336         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50337         (_pthread_cleanup_push_defer): Likewise.
50338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50339         (_pthread_cleanup_pop_restore): Likewise.
50340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
50341         (pthread_setcancelstate): Likewise.
50342         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
50343         <bp-sym.h>.
50344         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
50345         (memchr): Do not use BP_SYM in weak_alias.
50346         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
50347         (fegetenv): Do not use BP_SYM in versioned symbols.
50348         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
50349         (fesetenv): Do not use BP_SYM in versioned symbols.
50350         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50351         (feupdateenv): Do not use BP_SYM in versioned symbols.
50352         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50353         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50354         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
50355         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
50356         (open64): Do not use BP_SYM in weak_alias.
50357         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
50358         (fegetenv): Do not use BP_SYM in versioned symbols.
50359         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
50360         (fesetenv): Do not use BP_SYM in versioned symbols.
50361         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
50362         (feupdateenv): Do not use BP_SYM in versioned symbols.
50363         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
50364         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
50365         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
50366         (feraiseexcept): Do not use BP_SYM in versioned symbols.
50367         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
50368         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
50369         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
50370         <bp-sym.h>.
50371         (__libc_start_main): Do not use BP_SYM.
50373 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50375         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
50376         redundant return line.
50377         (norm): Likewise.
50378         (denorm): Likewise.
50379         (dbl_mp): Likewise.
50380         (sub_magnitudes): Likewise.
50381         (__add): Likewise.
50382         (__sub): Likewise.
50383         (__mul): Likewise.
50384         (__inv): Likewise.
50385         (__dvd): Likewise.
50386         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
50387         (norm): Likewise.
50388         (denorm): Likewise.
50389         (dbl_mp): Likewise.
50390         (sub_magnitudes): Likewise.
50391         (__add): Likewise.
50392         (__sub): Likewise.
50393         (__mul): Likewise.
50394         (__inv): Likewise.
50395         (__dvd): Likewise.
50397         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
50398         instead of __mul.
50399         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50400         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
50401         (cc32): Likewise.
50403         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
50404         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
50405         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
50406         of __mul for squares.
50407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
50408         function
50409         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
50410         Likewise.
50411         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
50412         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50414 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
50416         [BZ #13550]
50417         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
50418         code.
50419         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
50420         prototype or function definition.  Rename ubp_* variables and
50421         parameters.  Remove argv definitions conditional on
50422         [__BOUNDED_POINTERS__].
50423         * debug/backtrace.c (__backtrace): Do not use __unbounded.
50424         * elf/dl-runtime.c (_dl_fixup): Likewise.
50425         * include/set-hooks.h (RUN_HOOK): Likewise.
50426         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
50427         definition.
50428         * string/strcpy.c (strcpy): Do not use __unbounded.
50429         * sysdeps/generic/frame.h (struct layout): Likewise.
50430         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
50431         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
50432         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
50433         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
50434         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
50435         (__backtrace): Likewise.
50436         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
50437         use __ptrvalue.
50438         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
50439         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
50440         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
50441         Likewise.
50442         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
50443         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
50444         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
50445         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50446         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
50447         Do not use __unbounded.
50448         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
50449         Rename __unboundedrlimits parameter to rlimits in prototype.
50450         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
50451         Do not use __unbounded.
50452         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
50453         not use __ptrvalue.
50454         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50455         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
50456         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50457         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
50458         __ptrvalue or __unbounded.
50459         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
50460         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
50461         use __unbounded.
50462         (__new_msgctl): Do not use __ptrvalue.
50463         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
50464         __unbounded.
50465         (__libc_msgrcv): Do not use __ptrvalue.
50466         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
50467         startup_info): Do not use __unbounded.
50468         (__libc_start_main): Likewise.  Rename ubp_* variables and
50469         parameters.  Remove argv definitions conditional on
50470         [__BOUNDED_POINTERS__].
50471         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
50472         __ptrvalue.
50473         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
50474         use __unbounded.
50475         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
50476         or __ptrvalue.
50477         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
50478         use __unbounded.
50479         (__new_shmctl): Do not use __ptrvalue.
50480         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
50481         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
50482         Likewise.
50483         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
50484         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
50485         (__libc_sigaction): Likewise.
50486         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
50487         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
50488         Likewise.
50489         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50491 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
50493         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
50495         * string/mempcpy.c: Implement by calling memcpy.
50497 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50499         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
50501         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
50502         evaluation.
50504         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
50505         values in the mantissa.
50507         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
50508         minimize writes to Z.
50509         (sub_magnitudes): Simplify code a bit.
50511 2013-02-12  Roland McGrath  <roland@hack.frob.com>
50513         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
50514         from the message.  The linker prefixes all warnings with that already.
50516 2013-02-12  Andreas Schwab  <schwab@suse.de>
50518         [BZ #15078]
50519         * posix/regexec.c (extend_buffers): Add parameter min_len.
50520         (check_matching): Pass minimum needed length.
50521         (clean_state_log_if_needed): Likewise.
50522         (get_subexp): Likewise.
50523         * posix/Makefile (tests): Add bug-regex34.
50524         (bug-regex34-ENV): Define.
50525         * posix/bug-regex34.c: New file.
50527         [BZ #11561]
50528         * posix/regcomp.c (parse_bracket_exp): When looking up collating
50529         elements compare against the byte sequence of it, not its name.
50530         * posix/Makefile (tests): Add bug-regex35.
50531         (bug-regex35-ENV): Define.
50532         * posix/bug-regex35.c: New file.
50534 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50536         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
50537         comment.
50538         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
50539         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
50540         (CHECK_EOL): Add undef.
50542 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
50544         * bits/stdlib-bsearch.h: New file.
50545         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
50546         * stdlib/stdlib.h: Likewise.
50548 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50550         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
50551         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
50552         declaration.
50553         * manual/search.texi (Array Search Function): Add missing const in
50554         lfind prototype.
50555         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
50556         declaration to use rlim_t.
50557         (Basic Scheduling Functions): Remove erroneous const from
50558         sched_getparam prototype.  Remove erroneous * from
50559         sched_get_priority_max and sched_get_priority_min prototypes.
50560         (Resource Usage): Fix summary @comment on vtimes to refer to
50561         sys/vtimes.h rather than vtimes.h.
50562         Add missing *s in vtimes prototype.
50563         (Limits on Resources): Fix ulimit prototype to return long int.
50564         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
50565         prototypes to use long int rather than double.
50566         (BSD Random): Fix initstate and setstate to use char *, not void *.
50567         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
50568         prototype to make second argument 'struct aiocb64 *const[]'.
50569         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
50570         (Status of AIO Operations): Remove erroneous const in aio_return and
50571         aio_return64 prototypes.
50572         (Synchronizing I/O): Fix sync prototype to return void.
50573         * manual/startup.texi (Suboptions): Remove an erroneous const in
50574         getsubopt prototype.
50575         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
50576         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
50577         use size_t rather than int.
50578         (Scanning All Users): Likewise for getpwent_r.
50579         (Setting Groups): Add missing const to setgroups prototype.
50580         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
50581         * manual/socket.texi (Host Names): Fix gethostbyaddr and
50582         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
50583         'const void *' rather than 'const char *'.
50584         (Host Address Functions): Likewise for inet_ntop.
50585         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
50586         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
50587         ssize_t for return value.
50588         (Sending Data): Likewise for send, sendto, sendmsg.
50589         (Socket Option Functions): Add a missing const in setsockopt prototype.
50590         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
50591         use wchar_t for the argument.
50592         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
50593         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
50594         take no arguments.
50595         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
50596         double/float/long double for second argument.
50597         Fix return types of significand, significandf, significandl.
50598         * manual/filesys.texi (Setting Permissions): Use mode_t for second
50599         argument in fchmod prototype.
50600         (File Owner): Use uid_t and gid_t in fchown prototype.
50601         (File Times): Add const to utimes, futimes, and lutimes prototypes.
50602         (Making Special Files): Use mode_t and dev_t in mknod prototype.
50603         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
50604         use 'const struct dirent **' as argument types to CMP function pointer
50605         argument.
50606         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
50607         (File Times): Fix summary magic @comment for struct utimbuf and utime
50608         to refer to utime.h, not time.h.
50609         * manual/string.texi (Argz Functions): Add missing const in
50610         argz_extract and argz_next prototypes.
50611         (Finding Tokens in a String): Likewise for basename.
50612         (String/Array Comparison): Fix typo in wcscasecmp prototype.
50613         (Copying and Concatenation): Fix typo in wmemmove prototype.
50614         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
50615         (Signal Stack): Remove erroneous const in sigstack prototype.
50616         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
50617         prototype.
50618         (Simple Calendar Time): Likewise for stime.
50619         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
50620         prototype.
50621         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
50622         say sys/sysctl.h instead.
50623         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
50624         and vsyslog prototypes.
50626 2013-02-11  Tom de Vries  <tom@codesourcery.com>
50628         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
50629         Remove.
50631 2013-02-11  Roland McGrath  <roland@hack.frob.com>
50633         * misc/sys/mman.h: Fix typo in mremap comment.
50635 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50637         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
50638         the '\0' terminator.
50640 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50642         [BZ #13550]
50643         * debug/segfault.c: Don't include <bp-checks.h>.
50644         * sysdeps/generic/bp-checks.h: Remove file.
50645         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
50646         (__GETDENTS): Don't use CHECK_N.
50647         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
50648         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
50649         (__getgroups): Don't use CHECK_N.
50650         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
50651         (setgroups): Don't use CHECK_N.
50652         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
50653         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
50654         (__libc_msgrcv): Don't use CHECK_N.
50655         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
50656         (__libc_msgsnd): Don't use CHECK_N.
50657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
50658         <bp-checks.h>.
50659         (__libc_pread): Don't use CHECK_N.
50660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
50661         include <bp-checks.h>.
50662         (__libc_pread64): Don't use CHECK_N.
50663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
50664         include <bp-checks.h>.
50665         (__libc_pwrite): Don't use CHECK_N.
50666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
50667         include <bp-checks.h>.
50668         (__libc_pwrite64): Don't use CHECK_N.
50669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
50670         <bp-checks.h>.
50671         (__libc_pread): Don't use CHECK_N.
50672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
50673         include <bp-checks.h>.
50674         (__libc_pread64): Don't use CHECK_N.
50675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
50676         include <bp-checks.h>.
50677         (__libc_pwrite): Don't use CHECK_N.
50678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
50679         include <bp-checks.h>.
50680         (__libc_pwrite64): Don't use CHECK_N.
50681         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
50682         (do_pread): Don't use CHECK_N.
50683         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
50684         (do_pread64): Don't use CHECK_N.
50685         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
50686         (do_pwrite): Don't use CHECK_N.
50687         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
50688         (do_pwrite64): Don't use CHECK_N.
50689         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
50690         (__libc_readv): Don't use CHECK_N.
50691         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
50692         (semop): Don't use CHECK_N.
50693         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
50694         <bp-checks.h>.
50695         (semtimedop): Don't use CHECK_N.
50696         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
50697         (__libc_pread): Don't use CHECK_N.
50698         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
50699         <bp-checks.h>.
50700         (__libc_pread64): Don't use CHECK_N.
50701         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
50702         <bp-checks.h>.
50703         (__libc_pwrite): Don't use CHECK_N.
50704         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
50705         <bp-checks.h>.
50706         (__libc_pwrite64): Don't use CHECK_N.
50707         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
50708         <bp-checks.h>.
50709         (__libc_msgrcv): Don't use CHECK_N.
50710         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
50711         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
50712         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
50713         (__libc_writev): Don't use CHECK_N.
50715 2013-02-08  Roland McGrath  <roland@hack.frob.com>
50717         * string/strcpy.c: Removed unused variable.
50719         * Makeconfig (+sysdep-includes): Define with := rather than =.
50720         Use an existing include/ subdir of each sysdeps dir before it.
50722 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50724         * nscd/connection.c (register_traced_file): Comment function.
50725         [HAVE_INOTIFY] (union __inev): Define.
50726         [HAVE_INOTIFY] (inotify_check_files): New function.
50727         [HAVE_INOTIFY] (clear_db_cache): Likewise.
50728         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
50729         clear_db_cache.
50730         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
50732 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50734         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
50735         loaded if not already and that a failure is permanent.
50737 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
50739         [BZ #15006]
50740         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
50741         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
50743 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
50745         [BZ #13550]
50746         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
50747         (CHECK_1_NULL_OK): Likewise.
50748         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
50749         (__fxstat): Do not use CHECK_1.
50750         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
50751         <bp-checks.h>.
50752         (___fxstat64): Do not use CHECK_1.
50753         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50754         <bp-checks.h>.
50755         (__fxstatat): Do not use CHECK_1.
50756         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50757         <bp-checks.h>.
50758         (__fxstatat64): Do not use CHECK_1.
50759         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
50760         <bp-checks.h>.
50761         (__fxstat): Do not use CHECK_1.
50762         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50763         <bp-checks.h>.
50764         (__fxstatat): Do not use CHECK_1.
50765         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
50766         <bp-checks.h>.
50767         (__getresgid): Do not use CHECK_1.
50768         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
50769         <bp-checks.h>.
50770         (__getresuid): Do not use CHECK_1.
50771         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
50772         <bp-checks.h>.
50773         (__lxstat): Do not use CHECK_1.
50774         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
50775         <bp-checks.h>.
50776         (__old_msgctl): Do not use CHECK_1.
50777         (__new_msgctl): Likewise.
50778         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
50779         <bp-checks.h>.
50780         (__new_setrlimit): Do not use CHECK_1.
50781         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
50782         <bp-checks.h>.
50783         (__old_shmctl): Do not use CHECK_1.
50784         (__new_shmctl): Likewise.
50785         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
50786         <bp-checks.h>.
50787         (__xstat): Do not use CHECK_1.
50788         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
50789         (__lxstat): Do not use CHECK_1.
50790         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
50791         <bp-checks.h>.
50792         (___lxstat64): Do not use CHECK_1.
50793         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
50794         (__old_msgctl): Do not use CHECK_1.
50795         (__new_msgctl): Likewise.
50796         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
50797         <bp-checks.h>.
50798         (__gettimeofday): Do not use CHECK_1.
50799         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
50800         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
50801         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
50802         <bp-checks.h>.
50803         (__gettimeofday): Do not use CHECK_1.
50804         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
50805         (__old_shmctl): Do not use CHECK_1_NULL_OK.
50806         (__new_shmctl): Do not use CHECK_1.
50807         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
50808         <bp-checks.h>.
50809         (do_sigtimedwait): Do not use CHECK_1.
50810         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
50811         <bp-checks.h>.
50812         (do_sigwaitinfo): Do not use CHECK_1.
50813         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
50814         <bp-checks.h>.
50815         (msgctl): Do not use CHECK_1.
50816         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
50817         <bp-checks.h>.
50818         (shmctl): Do not use CHECK_1.
50819         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
50820         (ustat): Do not use CHECK_1.
50821         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
50822         <bp-checks.h>.
50823         (__fxstat): Do not use CHECK_1.
50824         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50825         <bp-checks.h>.
50826         (__fxstatat): Do not use CHECK_1.
50827         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
50828         <bp-checks.h>.
50829         (__lxstat): Do not use CHECK_1.
50830         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
50831         <bp-checks.h>.
50832         (__xstat): Do not use CHECK_1.
50833         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
50834         (__xstat): Do not use CHECK_1.
50835         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
50836         (___xstat64): Do not use CHECK_1.
50838         [BZ #13550]
50839         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
50840         definitions.
50841         (CHECK_BOUNDS_HIGH): Likewise.
50842         * string/strcpy.c: Do not include <bp-checks.h>.
50843         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
50845 2013-02-07  Roland McGrath  <roland@hack.frob.com>
50847         * nscd/nscd-client.h (__nscd_drop_map_ref):
50848         Add __attribute__ ((unused)).
50849         * nis/nss-nisplus.h (niserr2nss): Likewise.
50851         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
50852         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
50854         * csu/libc-tls.c (init_static_tls, init_slotinfo):
50855         Remove inline keyword.
50856         * include/rounding-mode.h (round_away): Likewise.
50857         * libio/wfileops.c (adjust_wide_data): Likewise.
50858         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
50859         (__m128i_strloadu_tolower): Likewise.
50860         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
50861         (__m128i_strloadu_tolower): Likewise.
50862         * time/mktime.c (ydhms_diff): Likewise.
50863         * locale/elem-hash.h (elem_hash): Likewise.
50864         * locale/setlocale.c (setdata): Likewise.
50865         * posix/regex_internal.h (re_string_char_size_at): Likewise.
50866         (re_string_wchar_at): Likewise.
50867         (bitset_not, bitset_merge, bitset_mask): Likewise.
50868         [!(__GNUC__ > 3)] (inline): Remove macro.
50869         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
50870         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
50871         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
50872         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
50873         * string/memcmp.c (memcmp_bytes): Likewise.
50874         * locale/programs/locarchive.c (compute_hashval): Likewise.
50875         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
50876         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
50877         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
50878         * nss/getent.c (print_rpc, print_protocols): Likewise.
50879         (print_passwd, print_group, print_aliases): Likewise.
50880         * nis/nss-nisplus.h (niserr2nss): Likewise.
50881         * nscd/connections.c (restart_p): Likewise.
50882         Change return type to bool.
50884 2013-02-05  Roland McGrath  <roland@hack.frob.com>
50886         * Makeconfig (all-Depend-files): Add existing
50887         $(sorted-subdirs:=/Depend) files.
50888         (all-subdirs): Remove nss.
50889         * sysdeps/unix/inet/Subdirs: Add it here instead.
50890         * hesiod/Depend: New file.
50892         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
50893         instead of calling alloca.
50895         * io/lseek.c (__lseek): Rename to __libc_lseek.
50896         Define __lseek as an alias.
50898         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
50900 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
50902         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
50903         else clause and remove check for non-standard endianness.
50905 2013-02-04  David S. Miller  <davem@davemloft.net>
50907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50909 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
50911         [BZ #13550]
50912         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
50913         (__ubp_memchr): Remove prototype.
50914         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
50915         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50916         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
50917         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
50918         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
50919         Remove alias.
50920         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
50921         (__ubp_memchr): Likewise.
50922         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
50923         (__ubp_memchr): Likewise.
50924         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
50925         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
50926         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
50927         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
50928         CHECK_STRING.
50929         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
50930         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
50931         (__getcwd): Do not use CHECK_STRING.
50932         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
50933         <bp-checks.h>.
50934         (__real_chown): Do not use CHECK_STRING.
50935         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
50936         <bp-checks.h>.
50937         (fchownat): Do not use CHECK_STRING.
50938         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
50939         CHECK_STRING.
50940         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
50941         <bp-checks.h>.
50942         (__lchown): Do not use CHECK_STRING.
50943         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
50944         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
50945         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
50946         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
50947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
50948         include <bp-checks.h>.
50949         (truncate64): Do not use CHECK_STRING.
50950         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
50951         <bp-checks.h>.
50952         (__real_chown): Do not use CHECK_STRING.
50953         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
50954         <bp-checks.h>.
50955         (__lchown): Do not use CHECK_STRING.
50956         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
50957         <bp-checks.h>.
50958         (__chown): Do not use CHECK_STRING.
50959         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
50960         <bp-checks.h>.
50961         (truncate64): Do not use CHECK_STRING.
50962         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
50963         Likewise.
50964         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
50965         (__xmknod): Do not use CHECK_STRING.
50966         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50967         <bp-checks.h>.
50968         (__xmknodat): Do not use CHECK_STRING.
50969         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
50970         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
50972 2013-02-04  Andreas Schwab  <schwab@suse.de>
50974         [BZ #14142]
50975         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
50976         * include/netdb.h: Likewise for h_errno.
50977         * elf/tst-stackguard1.c: Include <tls.h>.
50979 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
50981         * elf/link.h (struct link_map): Extend the l_addr comment.
50982         * include/link.h (struct link_map): Likewise.
50984 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
50986         [BZ #13550]
50987         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
50988         (BOUNDED_1): Remove macro.
50989         * debug/backtrace.c: Don't include <bp-checks.h>.
50990         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
50991         (__backtrace): Likewise.
50992         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
50993         <bp-checks.h>.
50994         (__backtrace): Don't use BOUNDED_1.
50995         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
50996         <bp-checks.h>.
50997         (__backtrace): Don't use BOUNDED_1.
50998         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
50999         (__backtrace): Don't use BOUNDED_1.
51000         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
51001         (shmat): Don't use BOUNDED_N.
51003 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
51005         [BZ #13550]
51006         * sysdeps/generic/bp-start.h: Remove file.
51007         * csu/libc-start.c: Don't include <bp-start.h>.
51008         (LIBC_START_MAIN): Set up __environ directly instead of using
51009         INIT_ARGV_and_ENVIRON.
51010         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
51011         <bp-start.h>.
51013         [BZ #13550]
51014         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
51015         definitions.
51016         (CHECK_FCNTL): Likewise.
51017         (CHECK_N_PAGES): Likewise.
51019         [BZ #13550]
51020         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
51021         definitions.
51022         (CHECK_SIGSET_NULL_OK): Likewise.
51023         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
51024         <bp-checks.h>.
51025         (sigpending): Don't use CHECK_SIGSET.
51026         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
51027         <bp-checks.h>.
51028         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51029         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
51030         <bp-checks.h>.
51031         (do_sigsuspend): Don't use CHECK_SIGSET.
51032         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
51033         use CHECK_SIGSET.
51034         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
51035         (do_sigwait): Don't use CHECK_SIGSET.
51036         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
51037         use CHECK_SIGSET.
51038         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
51039         include <bp-checks.h>.
51040         (sigpending): Don't use CHECK_SIGSET.
51041         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
51042         include <bp-checks.h>.
51043         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51044         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
51045         <bp-checks.h>.
51046         (sigpending): Don't use CHECK_SIGSET.
51047         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
51048         <bp-checks.h>.
51049         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
51051         [BZ #13550]
51052         * sysdeps/generic/bp-semctl.h: Remove file.
51053         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
51054         <bp-checks.h> and <bp-semctl.h>.
51055         (__old_semctl): Don't use CHECK_SEMCTL.
51056         (__new_semctl): Likewise.
51057         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
51058         and <bp-semctl.h>.
51059         (__old_semctl): Don't use CHECK_SEMCTL.
51060         (__new_semctl): Likewise.
51061         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
51062         <bp-checks.h> and <bp-semctl.h>.
51063         (__old_semctl): Don't use CHECK_SEMCTL.
51064         (__new_semctl): Likewise.
51065         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
51066         <bp-checks.h> and <bp-semctl.h>.
51067         (semctl): Don't use CHECK_SEMCTL.
51069         [BZ #13550]
51070         * Makerules (elide-bp-thunks): Remove variable.
51071         (elide-routines.oS): Don't use $(elide-bp-thunks).
51072         (elide-routines.os): Likewise.
51073         (elide-routines.o): Likewise.
51074         (elide-routines.op): Likewise.
51075         (elide-routines.og): Likewise.
51076         (objects): Don't use $(bp-thunks).
51077         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
51078         include.
51079         (common-generated): Do not add s-proto-bp.d.
51080         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
51081         (int): Likewise.
51082         (typ): Likewise.
51083         Do not generate makefile rules for bounded-pointer thunks.
51084         * sysdeps/generic/bp-thunks.h: Remove file.
51085         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
51086         * sysdeps/unix/s-proto-bp.S: Likewise.
51088         [BZ #15062]
51089         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
51090         parts of result separately when argument is not close to line from
51091         -i to i and one part of argument is small.
51092         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51093         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51094         * math/libm-test.inc (cacos_test): Add more tests.
51095         (casin_test): Likewise.
51096         (casinh_test): Likewise.
51097         * sysdeps/i386/fpu/libm-test-ulps: Update.
51098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51100 2013-01-31  David S. Miller  <davem@davemloft.net>
51102         * po/de.po: Update from translation team.
51104 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
51106         * time/tzfile.c: Include stdint.h for SIZE_MAX.
51108 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
51110         * configure.in (_AC_PROG_CC_C89): New definition.
51111         * configure: Regenerate.
51113         * configure.in (AC_PROG_CPP): New definition.
51114         * configure: Regenerate.
51116 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51118         * debug/tst-backtrace.h: New file.
51119         * debug/tst-backtrace2.c: Include tst-backtrace.h.
51120         (ret): Remove variable.
51121         (x): Likewise.
51122         (FAIL): Remove macro.
51123         (NO_INLINE): Likewise.
51124         (fn1): Use match function instead of strstr.
51125         * debug/tst-backtrace3.c: Include tst-backtrace.h.
51126         (ret): Remove variable.
51127         (x): Likewise.
51128         (FAIL): Remove macro.
51129         (NO_INLINE): Likewise.
51130         (fn): Use match function instead of strstr.
51131         * debug/tst-backtrace4.c: Include tst-backtrace.h.
51132         (ret): Remove variable.
51133         (x): Likewise.
51134         (FAIL): Remove macro.
51135         (NO_INLINE): Likewise.
51136         (handle_signal): Use match function instead of strstr.
51137         * debug/tst-backtrace5.c: Include tst-backtrace.h.
51138         (ret): Remove variable.
51139         (x): Likewise.
51140         (FAIL): Remove macro.
51141         (NO_INLINE): Likewise.
51142         (handle_signal): Use match function instead of strstr.
51144 2013-01-23  Roland McGrath  <roland@hack.frob.com>
51146         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
51148 2013-01-23  David S. Miller  <davem@davemloft.net>
51150         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
51151         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
51152         argument of CAS if possible.
51153         * sysdeps/sparc/sparc64/bits/atomic.h
51154         (__arch_compare_and_exchange_val_32_acq): Likewise.
51155         (__arch_compare_and_exchange_val_64_acq): Likewise.
51157 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
51159         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
51160         * sysdeps/posix/ulimit.c: ... this.
51161         Include <limits.h>.
51162         * sysdeps/unix/bsd/ulimit.c: Remove file.
51164 2013-01-23  Adam Conrad  <adconrad@0c3.net>
51166         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
51167         (LDFLAGS-tst-array5): Likewise.
51169 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
51171         [BZ #15036]
51172         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
51173         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
51174         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
51175         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
51177 2013-01-21  David S. Miller  <davem@davemloft.net>
51179         * sysdeps/sparc/backtrace.c: New file.
51180         * sysdeps/sparc/sparc32/backtrace.h: New file.
51181         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
51182         * sysdeps/sparc/sparc64/backtrace.h: New file.
51183         * sysdeps/sparc/sparc64/backtrace.c: Delete.
51184         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
51185         -funwind-tables.
51187 2013-01-21  Andreas Schwab  <schwab@suse.de>
51189         [BZ #15020]
51190         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
51191         closed its stdout.
51193 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
51195         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
51196         "mpa2.h".
51197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51199 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
51200             Mark Mitchell  <mark@codesourcery.com>
51201             Tom de Vries  <tom@codesourcery.com>
51202             Paul Pluzhnikov  <ppluzhnikov@google.com>
51204         * debug/tst-backtrace2.c: New file.
51205         * debug/tst-backtrace3.c: Likewise.
51206         * debug/tst-backtrace4.c: Likewise.
51207         * debug/tst-backtrace5.c: Likewise.
51208         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
51209         (CFLAGS-tst-backtrace3.c): Likewise.
51210         (CFLAGS-tst-backtrace4.c): Likewise.
51211         (CFLAGS-tst-backtrace5.c): Likewise.
51212         (LDFLAGS-tst-backtrace2): Likewise.
51213         (LDFLAGS-tst-backtrace3): Likewise.
51214         (LDFLAGS-tst-backtrace4): Likewise.
51215         (LDFLAGS-tst-backtrace5): Likewise.
51216         (tests): Add new tests tst-backtrace2, tst-backtrace3,
51217         tst-backtrace4 and tst-backtrace5.
51219 2013-01-18  Anton Blanchard  <anton@samba.org>
51220             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51222         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
51223         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
51224         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
51225         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
51226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
51227         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
51228         "+r" and remove output regs list as redundant.  Add explicit inline
51229         asm to specify register of return val to work around compiler codegen
51230         bug.  Remove (int) cast on return value.  Add return type parameter to
51231         use in macro so that this macro does not truncate return value for
51232         64-bit values.
51233         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
51234         pass to INTERNAL_VSYSCALL_NCS.
51235         (INLINE_VSYSCALL): Add 'long int' as return type to
51236         INTERNAL_VSYSCALL_NCS macro invocation.
51237         (INTERNAL_VSYSCALL): Add 'long int' as return type to
51238         INTERNAL_VSYSCALL_NCS macro invocation.
51239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51241 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51243         [BZ #14496]
51244         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
51245         Fix application of SIMD FP exception mask.
51247         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
51248         mp_no from a power of two.
51249         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
51250         __mpexp_twomm1.  Use __pow_mp.
51252         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
51253         multiplication.
51255 2013-01-17  David S. Miller  <davem@davemloft.net>
51257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51259 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51261         [BZ #15023]
51262         * include/complex.h: Condition contents on [!_COMPLEX_H].
51263         (__kernel_casinhf): New prototype.
51264         (__kernel_casinh): Likewise.
51265         (__kernel_casinhl): Likewise.
51266         * math/Makefile (libm_calls): Add k_casinh.
51267         * math/k_casinh.c: New file.
51268         * math/k_casinhf.c: Likewise.
51269         * math/k_casinhl.c: Likewise.
51270         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
51271         finite nonzero arguments.
51272         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
51273         finite nonzero arguments.
51274         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
51275         finite nonzero arguments.
51276         * math/s_casinh.c: Do not include <float.h>.
51277         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
51278         * math/s_casinhf.c: Do not include <float.h>.
51279         (__casinhf): Move code for finite nonzero arguments to
51280         k_casinhf.c.
51281         * math/s_casinhl.c: Do not include <float.h>.
51282         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
51283         redefine.
51284         (__casinhl): Move code for finite nonzero arguments to
51285         k_casinhl.c.
51286         * math/libm-test.inc (cacos_test): Add more tests.
51287         * sysdeps/i386/fpu/libm-test-ulps: Update.
51288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51290 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
51292         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
51293         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
51294         [!HAVE_MREMAP]: Remove [defined linux] case.
51295         * malloc/arena.c: Do not include <malloc-sysdep.h>.
51297 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51299         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
51301 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
51303         * elf/elf.h (R_386_SIZE32): New relocation.
51304         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
51305         R_386_SIZE32.
51306         (elf_machine_rela): Likewise.
51307         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51308         R_X86_64_SIZE64 and R_X86_64_SIZE32.
51310 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
51312         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
51313         (FP_FAST_FMA): Do not define.
51314         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
51315         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
51316         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
51317         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
51318         !_SOFT_FLOAT]: Likewise.
51319         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
51320         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
51321         value.
51322         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
51323         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
51324         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
51325         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
51326         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
51327         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
51328         file.
51330 2013-01-16  Andreas Schwab  <schwab@suse.de>
51332         [BZ #14327]
51333         * include/stdlib.h (__mktemp): Add declaration.
51334         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
51335         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
51337 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51339         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
51340         definitions.
51341         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
51342         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
51343         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
51344         definitions here.
51345         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
51346         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
51347         definitions.
51348         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
51349         and ONE.
51350         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
51351         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
51352         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
51353         definitions.
51354         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
51355         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
51356         definitions.
51357         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
51359         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
51361 2013-01-15  David S. Miller  <davem@davemloft.net>
51363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51364         trunc{,f} to libm-sysdep_routes.
51365         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
51367         file.
51368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
51369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
51370         file.
51371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
51372         file.
51373         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
51374         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
51375         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
51376         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
51377         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
51378         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
51379         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
51380         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
51382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51383         nearbyint{,f} to libm-sysdep_routes.
51384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51385         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
51386         New file.
51387         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
51388         file.
51389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
51390         New file.
51391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
51392         file.
51393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
51394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
51395         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
51396         file.
51397         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
51398         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
51399         file.
51400         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
51401         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
51402         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
51404         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51405         libc_feholdexcept and libc_fesetenv.
51407 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
51409         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
51411 2013-01-14  David S. Miller  <davem@davemloft.net>
51413         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
51414         (SPARC_ASM_VIS2_IFUNC): Likewise.
51415         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
51416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
51417         use of 'siam' instruction.
51418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
51419         Likewise.
51420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
51421         Likewise.
51422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
51423         Likewise.
51424         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
51425         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
51426         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
51427         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
51428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
51429         file.
51430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
51431         file.
51432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
51433         file.
51434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
51435         file.
51436         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
51437         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
51438         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
51439         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
51440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
51441         new VIS2 routines.
51442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
51443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
51444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
51445         Likewise.
51446         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
51447         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
51448         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
51449         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
51450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
51451         routines to libm-sysdep_routines.
51452         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
51454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
51455         fdim/fdimf to libm-sysdep_routines.
51456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
51457         file.
51458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
51459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
51460         file.
51461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
51462         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
51463         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
51464         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
51465         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
51466         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
51467         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
51469 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51471         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
51472         to optimize copies.
51474         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
51475         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51476         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51478         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
51479         local variable MPTWO.
51480         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
51481         Likewise.
51483 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51485         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
51486         GLOB_NOESCAPE.
51488 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51490         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
51492 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
51494         * manual/pattern.texi (glob_t): Document gl_flags.
51495         (glob64_t): Likewise.
51497 2013-01-11  David S. Miller  <davem@davemloft.net>
51499         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
51500         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
51501         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
51502         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
51503         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
51504         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
51505         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
51506         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
51507         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
51508         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
51509         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
51510         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
51511         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
51513         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51514         sparc V9 rather than using V8 code.
51515         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51516         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51518         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51519         Move to...
51520         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
51521         Here.
51523 2013-01-11  Roland McGrath  <roland@hack.frob.com>
51525         [BZ #14941]
51526         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
51527         not in the main loop.
51528         * configure: Regenerated.
51530 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
51532         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
51533         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
51534         to just #else.
51535         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
51536         [!__GLIBC_HAVE_LONG_LONG] case.
51537         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
51538         condition to just #else.
51539         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
51540         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
51541         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
51542         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
51543         unconditional.
51544         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
51545         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51546         #elif condition to just #else.
51547         * sysdeps/unix/sysv/linux/sys/sysmacros.h
51548         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
51549         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
51550         #elif condition to just #else.
51552 2013-01-11  Steve Ellcey  <sellcey@mips.com>
51554         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
51555         (EF_MIPS_ARCH_64): Fix value.
51556         (EF_MIPS_ARCH_32R2): New.
51557         (EF_MIPS_ARCH_64R2): New.
51559 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
51561         * Makeconfig (+link-pie-before-libc): New.
51562         (+link-pie-after-libc): Likewise.
51563         (+link-pie-tests): Likewise.
51564         (+link-pie): Rewritten.
51565         (link-before-libc): Remove $(config-LDFLAGS).
51566         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
51567         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
51568         (config-LDFLAGS): Renamed to ...
51569         (rtld-LDFLAGS): This.
51570         (rtld-tests-LDFLAGS): New macro.
51571         (link-libc-rpath-link): Likewise.
51572         (link-libc-tests-rpath-link): Likewise.
51573         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
51574         (link-libc): Prepand $(link-libc-rpath-link).
51575         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
51576         (test-program-prefix): New macro.
51577         (test-via-rtld-prefix): Likewise.
51578         (test-program-cmd): Likewise.
51579         (host-test-program-cmd): Likewise.
51580         * Makefile ($(common-objpfx)testrun.sh): Replace
51581         $(run-program-prefix) with $(test-program-prefix).
51582         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
51583         $(rtld-LDFLAGS).
51584         ($(common-objpfx)shlib.lds): Likewise.
51585         (build-module-helper): Likewise.
51586         ($(common-objpfx)format.lds): Likewise.
51587         * Rules (binaries-pie-tests): New.
51588         (binaries-pie-notests): Likewise.
51589         (binaries-pie): Rewritten.
51590         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
51591         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
51592         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
51593         (make-test-out): Replace $(host-built-program-cmd) with
51594         $(host-test-program-cmd).
51595         * config.make.in (build-hardcoded-path-in-tests): New variable.
51596         * configure.in (--enable-hardcoded-path-in-tests): New configure
51597         option.
51598         (hardcoded_path_in_tests): New AC_SUBST.
51599         * configure: Regenerated.
51600         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
51601         $(built-program-cmd) with $(test-program-cmd).
51602         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
51603         (test_program_cmd): This.
51604         * elf/Makefile ($(objpfx)order.out): Run test with
51605         $(test-program-prefix).
51606         ($(objpfx)order2.out): Likewise.
51607         ($(objpfx)tst-initorder.out): Likewise.
51608         ($(objpfx)tst-initorder2.out): Likewise.
51609         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
51610         $(test-program-cmd).
51611         ($(objpfx)tst-array1-static.out): Likewise.
51612         ($(objpfx)tst-array2.out): Likewise.
51613         ($(objpfx)tst-array3.out): Likewise.
51614         ($(objpfx)tst-array4.out): Likewise.
51615         ($(objpfx)tst-array5.out): Likewise.
51616         ($(objpfx)tst-array5-static.out): Likewise.
51617         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
51618         $(test-program-cmd).
51619         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
51620         $(run-program-prefix) with $(test-program-prefix).
51621         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
51622         (test_program_prefix): This.
51623         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
51624         $(run-program-prefix) with $(test-program-prefix).
51625         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
51626         (test_program_prefix): This.
51627         * iconvdata/tst-tables.sh: Likewise.
51628         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
51629         $(run-program-prefix) with $(test-program-prefix).
51630         ($(objpfx)tst-translit.out): Likewise.
51631         ($(objpfx)tst-gettext2.out): Likewise.
51632         ($(objpfx)tst-gettext4.out): Likewise.
51633         ($(objpfx)tst-gettext6.out): Likewise.
51634         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
51635         (test_program_prefix): This.
51636         * intl/tst-gettext2.sh: Likewise.
51637         * intl/tst-gettext4.sh  Likewise.
51638         * intl/tst-gettext6.sh: Likewise.
51639         * intl/tst-translit.sh: Likewise.
51640         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
51641         with $(test-program-cmd).
51642         * libio/Makefile ($(objpfx)test-freopen.out): Replace
51643         $(run-program-prefix) with $(test-program-prefix).
51644         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
51645         (test_program_prefix): This.
51646         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
51647         $(run-program-prefix) with $(test-program-prefix).
51648         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
51649         (test_program_prefix): This.
51650         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
51651         * posix/Makefile ($(objpfx)globtest.out): Replace
51652         $(run-via-rtld-prefix) and $(test-wrapper) with
51653         $(test-program-prefix) and $(test-via-rtld-prefix).
51654         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
51655         $(test-program-prefix).
51656         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
51657         $(host-test-program-cmd).
51658         (tst-spawn-ARGS): Likewise.
51659         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
51660         $(test-program-prefix).
51661         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
51662         (test_via_rtld_prefix): This.
51663         (test_wrapper): Renamed to ...
51664         (test_program_prefix): This.
51665         (run_program_prefix): Replaced by test_program_prefix.
51666         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
51667         (test_program_prefix): This.
51668         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
51669         with $(host-test-program-cmd).
51670         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
51671         $(run-program-prefix) with $(test-program-prefix).
51672         ($(objpfx)tst-printf.out): Likewise.
51673         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
51674         $(test-program-cmd).
51675         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
51676         (test_program_prefix): This.
51677         * stdio-common/tst-unbputc.sh: Likewise.
51678         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
51679         $(run-program-prefix) with $(test-program-prefix).
51680         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
51681         (test_program_prefix): This.
51682         * string/Makefile ($(objpfx)tst-svc.out):  Replace
51683         $(built-program-cmd) with $(test-program-cmd).
51685 2013-01-11  Andreas Jaeger  <aj@suse.de>
51687         [BZ #15003]
51688         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
51689         value. Sync with Linux 3.7.
51691 2013-01-10  David S. Miller  <davem@davemloft.net>
51693         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
51694         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51695         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51697 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51699         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
51700         never set.
51701         * configure: Regenerated.
51703 2013-01-10  David S. Miller  <davem@davemloft.net>
51705         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
51706         sparc V9 rather than using V8 code.
51707         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
51708         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
51710 2013-01-10  Roland McGrath  <roland@hack.frob.com>
51712         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
51713         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
51714         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
51715         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
51716         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
51717         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
51718         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
51719         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
51720         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
51721         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
51722         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
51723         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
51724         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
51725         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
51726         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
51727         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
51728         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
51729         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
51730         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
51731         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
51732         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
51733         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
51734         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
51735         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
51736         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
51737         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
51738         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
51740 2013-01-10  David S. Miller  <davem@davemloft.net>
51742         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51744 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51746         * posix/Makefile (tests-static): New variable.
51747         (tests): Add $(tests-static).
51748         (tst-exec-static-ARGS): New variable.
51749         (tst-spawn-static-ARGS): Likewise.
51750         * posix/tst-exec-static.c: New file.
51751         * posix/tst-spawn-static.c: Likewise.
51752         * posix/tst-exec.c: Support run directly.
51753         * posix/tst-spawn.c: Likewise.
51755 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
51757         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
51758         long.
51759         * math/bits/mathcalls.h (llrint): Likewise.
51760         (llround): Likewise.
51761         * stdlib/stdlib.h (struct drand48_data): Likewise.
51762         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
51763         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
51764         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
51765         Likewise.
51766         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
51767         Likewise.
51768         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
51769         (elf_greg_t): Likewise.
51770         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
51771         (__jmp_buf): Likewise.
51772         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
51773         definitions.
51774         (llrint): Likewise, for all definitions.
51775         (llrintl): Likewise.
51777         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
51778         Remove [__GNUC__] condition.
51779         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
51780         condition to just [__USE_ISOC99].
51781         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
51783 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
51785         [BZ #14200]
51786         * sysdeps/unix/sysv/linux/x86/bits/environments.h
51787         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
51788         defined.
51789         (_POSIX_V6_ILP32_OFF32): Likewise.
51790         (_XBS5_ILP32_OFF32): Likewise.
51791         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
51792         (__ILP32_OFFBIG_LDFLAGS): Likewise.
51794 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51796         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
51798         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
51799         doubles __mpexp_twomm1.  Adjust usage.
51800         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
51801         Remove.
51803 2013-01-10  Andreas Schwab  <schwab@suse.de>
51805         [BZ #14964]
51806         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
51807         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
51809 2013-01-09  David S. Miller  <davem@davemloft.net>
51811         [BZ #15003]
51812         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
51813         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
51814         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
51815         (TCP_FASTOPEN): Define.
51816         (tcp_repair_opt): New structure.
51817         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
51818         enum values.
51819         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
51820         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
51821         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
51822         (tcp_cookie_transactions): New structure.
51824 2013-01-09  Anton Blanchard  <anton@samba.org>
51826         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
51827         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
51828         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
51829         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
51831 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
51833         * include/features.h (__USE_ANSI): Remove.
51835 2013-01-09  Roland McGrath  <roland@hack.frob.com>
51837         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
51839         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
51841 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
51843         * sysdeps/s390/fpu/libm-test-ulps: Update.
51845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51847         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
51848         (__acr): Likewise.
51849         (__cpy): Likewise.
51850         (norm): Likewise.
51851         (denorm): Likewise.
51852         (__mp_dbl): Likewise.
51853         (__dbl_mp): Likewise.
51854         (add_magnitudes): Likewise.
51855         (sub_magnitudes): Likewise.
51856         (__add): Likewise.
51857         (__sub): Likewise.
51858         (__mul): Likewise.
51859         (__inv): Likewise.
51860         (__dvd): Likewise.
51861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
51862         (__acr): Likewise.
51863         (__cpy): Likewise.
51864         (norm): Likewise.
51865         (denorm): Likewise.
51866         (__mp_dbl): Likewise.
51867         (__dbl_mp): Likewise.
51868         (add_magnitudes): Likewise.
51869         (sub_magnitudes): Likewise.
51870         (__add): Likewise.
51871         (__sub): Likewise.
51872         (__mul): Likewise.
51873         (__inv): Likewise.
51874         (__dvd): Likewise.
51875         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
51876         (__acr): Likewise.
51877         (__cpy): Likewise.
51878         (norm): Likewise.
51879         (denorm): Likewise.
51880         (__mp_dbl): Likewise.
51881         (__dbl_mp): Likewise.
51882         (add_magnitudes): Likewise.
51883         (sub_magnitudes): Likewise.
51884         (__add): Likewise.
51885         (__sub): Likewise.
51886         (__mul): Likewise.
51887         (__inv): Likewise.
51888         (__dvd): Likewise.
51890 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
51892         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
51893         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
51894         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
51895         2 && __USE_EXTERN_INLINES]: Likewise.
51897 2013-01-08  Andreas Jaeger  <aj@suse.de>
51899         [BZ# 14985]
51900         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
51901         Remove.
51902         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51903         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
51905 2013-01-07  Anton Blanchard  <anton@samba.org>
51907         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
51908         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
51909         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
51910         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
51911         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
51912         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
51913         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
51914         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
51915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
51916         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51917         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51918         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51919         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
51920         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
51921         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
51922         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51923         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51924         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
51925         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
51926         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
51927         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
51928         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
51929         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51930         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
51931         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
51932         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
51933         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51934         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
51935         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
51936         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
51937         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
51938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51939         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51940         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
51941         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
51942         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51943         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
51944         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
51945         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
51946         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
51947         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
51948         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51949         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
51951 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
51953         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
51954         (__MALLOC_PMT): Likewise.
51955         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
51956         [__GNUC__], only on [_LIBC].
51957         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51958         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
51959         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
51960         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
51961         forward declaration.
51962         (realloc_hook_ini): Likewise.
51963         (memalign_hook_ini): Likewise.
51964         (__libc_memalign): Do not use __MALLOC_PMT in variable
51965         declaration.
51966         (__libc_valloc): Likewise.
51967         (__libc_pvalloc): Likewise.
51968         (__libc_calloc): Likewise.
51969         (__posix_memalign): Likewise.
51971         [BZ #14996]
51972         * math/s_casinh.c: Include <float.h>.
51973         (__casinh): Do not do computation with squaring and square root
51974         for large arguments.
51975         * math/s_casinhf.c: Include <float.h>.
51976         (__casinhf): Do not do computation with squaring and square root
51977         for large arguments.
51978         * math/s_casinhl.c: Include <float.h>.
51979         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
51980         (__casinhl): Do not do computation with squaring and square root
51981         for large arguments.
51982         * math/libm-test.inc (casin_test): Add more tests.
51983         (casinh_test): Likewise.
51984         * sysdeps/i386/fpu/libm-test-ulps: Update.
51985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51987 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
51989         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
51990         (__x86_64_raw_data_cache_size): Likewise.
51991         (__x86_64_data_cache_size_half): Likewise.
51992         (__x86_64_raw_data_cache_size_half): Likewise.
51993         (__x86_64_shared_cache_size): Likewise.
51994         (__x86_64_raw_shared_cache_size): Likewise.
51995         (__x86_64_shared_cache_size_half): Likewise.
51996         (__x86_64_raw_shared_cache_size_half): Likewise.
51997         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
51998         to ...
51999         (__x86_data_cache_size): This.
52000         (__x86_64_raw_data_cache_size): Renamed to ...
52001         (__x86_raw_data_cache_size): This.
52002         (__x86_64_data_cache_size_half): Renamed to ...
52003         (__x86_data_cache_size_half): This.
52004         (__x86_64_raw_data_cache_size_half): Renamed to ...
52005         (__x86_raw_data_cache_size_half): This.
52006         (__x86_64_shared_cache_size): Renamed to ...
52007         (__x86_shared_cache_size): This.
52008         (__x86_64_raw_shared_cache_size): Renamed to ...
52009         (__x86_raw_shared_cache_size): This.
52010         (__x86_64_shared_cache_size_half): Renamed to ...
52011         (__x86_shared_cache_size_half): This.
52012         (__x86_64_raw_shared_cache_size_half): Renamed to ...
52013         (__x86_raw_shared_cache_size_half): This.
52014         * sysdeps/x86_64/memcpy.S: Updated.
52015         * sysdeps/x86_64/memset.S: Likewise.
52016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52017         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52018         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52020 2013-01-04  David S. Miller  <davem@davemloft.net>
52022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52024 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
52026         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
52027         1 to avoid redefinition warning.
52028         (__USE_GNU): Don't define.
52029         (init_signaling_nan): Protoize.
52031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52033 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52035         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
52036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
52037         (__cpymn): Likewise.
52038         (norm): Remove commented code.
52039         (denorm): Likewise.
52040         (__mp_dbl): Likewise.
52041         (__inv): Likewise.
52042         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
52043         (__cpymn): Likewise.
52044         (norm): Remove commented code.
52045         (denorm): Likewise.
52046         (__mp_dbl): Likewise.
52047         (__inv): Likewise.
52049         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
52050         mp_no value for 1.0 and 2.0.
52051         (norm): Use RADIXI instead of radixi.d.
52052         (denorm): Likewise.
52053         (__mul): Use 0.0 instead of zero.d.
52054         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
52055         mp_no value for 1.0 and 2.0.
52056         (norm): Use RADIXI instead of radixi.d.
52057         (denorm): Likewise.
52058         (__mul): Use 0.0 instead of zero.d.
52060 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
52062         [BZ #14994]
52063         * math/s_casinh.c (__casinh): Reduce finite argument to first
52064         quadrant then set signs of results at the end.
52065         * math/s_casinhf.c (__casinhf): Likewise.
52066         * math/s_casinhl.c (__casinhl): Likewise.
52067         * math/libm-test.inc (casin_test): Add more tests.
52068         (casinh_test): Likewise.
52069         * sysdeps/i386/fpu/libm-test-ulps: Update.
52070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52072 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52074         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
52076         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
52078         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
52079         declarations.
52080         (denorm): Likewise.
52081         (__mp_dbl): Likewise.
52082         (__inv): Likewise.
52084         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
52085         and adjust the header comment.
52087         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
52088         variable name from declaration.
52090 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
52092         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52093         Initialize COMMON_CPUID_INDEX_7 element.
52094         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
52095         (CPUID_RTM): Likewise.
52096         (HAS_RTM): Likewise.
52097         (COMMON_CPUID_INDEX_7): New enum.
52099 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
52101         [BZ #14981]
52102         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
52103         size is zero, record memory as freed.
52105 2013-01-03  Andreas Jaeger  <aj@suse.de>
52107         * po/ia.po: Add new Interlingua translation.
52109 2012-01-03  Allan McRae  <allan@archlinux.org>
52111         * locale/programs/localedef.c: Fix description of '--posix' flag.
52113 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
52115         * NEWS: Update dates in second copyright notice.
52116         * README: Update copyright dates in example.
52117         * manual/libc.texinfo: Update copyright dates.
52118         * scripts/test-installation.pl: Update copyright date in --version
52119         output.
52121         * hurd/ctty-input.c: Fix copyright notice formatting.
52122         * hurd/ctty-output.c: Likewise.
52123         * hurd/dtable.c: Likewise.
52124         * hurd/hurd-raise.c: Likewise.
52125         * hurd/hurdprio.c: Likewise.
52126         * hurd/msgportdemux.c: Likewise.
52127         * misc/sys/file.h: Likewise.
52128         * misc/sys/ioctl.h: Likewise.
52129         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
52130         * sysdeps/mach/hurd/chdir.c: Likewise.
52131         * sysdeps/mach/hurd/fchdir.c: Likewise.
52132         * sysdeps/mach/hurd/rename.c: Likewise.
52133         * sysdeps/mach/hurd/rmdir.c: Likewise.
52134         * sysdeps/mach/hurd/seekdir.c: Likewise.
52135         * sysdeps/mach/hurd/setsid.c: Likewise.
52136         * sysdeps/posix/wait3.c: Likewise.
52138         * All files with FSF copyright notices: Update copyright dates
52139         using scripts/update-copyrights.
52140         * intl/plural.c: Regenerated.
52141         * locale/programs/charmap-kw.h: Likewise.
52142         * locale/programs/locfile-kw.h: Likewise.
52144 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
52146         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
52147         four values.
52149         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
52150         calculation loop and add branch prediction.
52152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
52153         check access beyond bounds of m1np.
52155         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52156         MPTWO.
52157         (__inv): Remove local variable MPTWO to use the global
52158         constant.
52159         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
52160         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52161         variable MPTWO.
52162         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
52163         MP3HALFS static const.
52165 2013-01-01  David S. Miller  <davem@davemloft.net>
52167         * po/ca.po: Update from translation team.
52169 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
52171         * scripts/update-copyrights: New file.
52172         * Makeconfig: Reformat copyright notice.
52173         * ctype/ctype.h: Likewise.
52174         * debug/swprintf_chk.c: Likewise.
52175         * elf/dl-cache.c: Likewise.
52176         * elf/dl-debug.c: Likewise.
52177         * elf/dl-object.c: Likewise.
52178         * grp/initgroups.c: Likewise.
52179         * hurd/Makefile: Likewise.
52180         * hurd/hurd/signal.h: Likewise.
52181         * hurd/hurdfault.c: Likewise.
52182         * hurd/hurdioctl.c: Likewise.
52183         * hurd/hurdlookup.c: Likewise.
52184         * hurd/intr-msg.c: Likewise.
52185         * iconv/gconv_open.c: Likewise.
52186         * libio/swprintf.c: Likewise.
52187         * locale/lc-ctype.c: Likewise.
52188         * locale/nl_langinfo.c: Likewise.
52189         * mach/Machrules: Likewise.
52190         * mach/Makefile: Likewise.
52191         * malloc/obstack.h: Likewise.
52192         * manual/Makefile: Likewise.
52193         * manual/tsort.awk: Likewise.
52194         * misc/bits/stab.def: Likewise.
52195         * nis/nis_print_group_entry.c: Likewise.
52196         * nis/nis_table.c: Likewise.
52197         * nis/nss_compat/compat-pwd.c: Likewise.
52198         * nis/nss_compat/compat-spwd.c: Likewise.
52199         * po/Makefile: Likewise.
52200         * posix/fnmatch.c: Likewise.
52201         * posix/regex.h: Likewise.
52202         * resolv/Makefile: Likewise.
52203         * resolv/nss_dns/dns-network.c: Likewise.
52204         * resolv/res_hconf.c: Likewise.
52205         * scripts/gen-sorted.awk: Likewise.
52206         * soft-fp/soft-fp.h: Likewise.
52207         * stdio-common/printf.h: Likewise.
52208         * stdlib/monetary.h: Likewise.
52209         * stdlib/random.c: Likewise.
52210         * stdlib/random_r.c: Likewise.
52211         * sysdeps/generic/Makefile: Likewise.
52212         * sysdeps/gnu/Makefile: Likewise.
52213         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52214         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52215         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52216         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52217         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52218         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52219         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52220         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52221         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52222         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52223         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52224         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52225         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52226         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52227         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
52228         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52229         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52230         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52231         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52232         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52233         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52234         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52235         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
52241         * sysdeps/mach/hurd/errnos.awk: Likewise.
52242         * sysdeps/mach/hurd/fork.c: Likewise.
52243         * sysdeps/mach/hurd/getcwd.c: Likewise.
52244         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
52245         * sysdeps/mach/hurd/mmap.c: Likewise.
52246         * sysdeps/mach/hurd/utimes.c: Likewise.
52247         * sysdeps/mach/hurd/xmknod.c: Likewise.
52248         * sysdeps/posix/profil.c: Likewise.
52249         * sysdeps/posix/readdir_r.c: Likewise.
52250         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52251         * sysdeps/powerpc/bits/setjmp.h: Likewise.
52252         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
52253         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
52254         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
52255         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
52256         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
52257         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52259         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
52260         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
52261         * sysdeps/pthread/lio_listio.c: Likewise.
52262         * sysdeps/sparc/dl-procinfo.h: Likewise.
52263         * sysdeps/unix/i386/sysdep.S: Likewise.
52264         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
52265         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
52266         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
52267         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
52268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52269         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
52270         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
52271         * sysdeps/unix/sysv/linux/speed.c: Likewise.
52272         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
52273         * sysdeps/wordsize-32/divdi3.c: Likewise.
52274         * time/sys/time.h: Likewise.
52275         * wcsmbs/Makefile: Likewise.
52277 2013-01-01  David S. Miller  <davem@davemloft.net>
52279         * po/fr.po: Update from translation team.
52281         * catgets/gencat.c: Update copyright year.
52282         * csu/version.c: Likewise.
52283         * debug/catchsegv.sh: Likewise.
52284         * debug/pcprofiledump.c: Likewise.
52285         * debug/xtrace.sh: Likewise.
52286         * elf/ldconfig.c: Likewise.
52287         * elf/ldd.bash.in: Likewise.
52288         * elf/pldd.c: Likewise.
52289         * elf/sotruss.ksh: Likewise.
52290         * elf/sprof.c: Likewise.
52291         * iconv/iconv_prog.c: Likewise.
52292         * iconv/iconvconfig.c: Likewise.
52293         * locale/programs/locale.c: Likewise.
52294         * locale/programs/localedef.c: Likewise.
52295         * login/programs/pt_chown.c: Likewise.
52296         * malloc/memusage.sh: Likewise.
52297         * malloc/memusagestat.c: Likewise.
52298         * malloc/mtrace.pl: Likewise.
52299         * nscd/nscd.c: Likewise.
52300         * nss/getent.c: Likewise.
52301         * nss/makedb.c: Likewise.
52302         * posix/getconf.c: Likewise.
52304 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
52306         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
52307         numbers.
52309 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
52311         * math/bits/mathcalls.h (modf): Use __nonnull.
52313 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52315         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
52316         (split): Use macro CN instead of the bare value.
52317         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
52318         could be used.
52319         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
52320         instead of the bare value.
52321         (power1): Likewise.
52323 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52325         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
52326         __ATAN_TWOM.
52327         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52329         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
52330         their values.
52331         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
52332         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52333         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
52334         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
52336 2012-12-28  Andreas Jaeger  <aj@suse.de>
52338         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
52339         values are from Linux 3.7.
52341         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
52342         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
52344 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52346         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
52347         TRUE case.
52349         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
52350         (norm): Likewise.
52351         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
52352         variables with preprocessor constants.
52353         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52354         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52355         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52357 2012-12-27  Bruno Haible  <bruno@clisp.org>
52359         [BZ #14317]
52360         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
52361         only if needed.
52363 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
52366         and use variable directly.
52367         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
52369         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
52370         MPONE.
52371         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
52372         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
52373         variable MPONE.
52374         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52375         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52376         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
52377         include directive.  Remove local variable MPONE.
52378         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
52379         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
52380         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52382 2012-12-25  David S. Miller  <davem@davemloft.net>
52384         * version.h (RELEASE): Set to "development".
52385         (VERSION): Set to "2.17.90".
52386         * NEWS: Add 2.18 section.
52388 2012-12-21  David S. Miller  <davem@davemloft.net>
52390         * po/hr.po: Update from translation team.
52392 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52394         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
52396 2012-12-19  Steve Ellcey  <sellcey@mips.com>
52398         * NEWS:  Mention new memcpy for MIPS.
52400 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52402         * manual/contrib.texi (Contributors): Spelling correction.
52404 2012-12-15  David S. Miller  <davem@davemloft.net>
52406         * po/ru.po: Update from translation team.
52408 2012-12-13  David S. Miller  <davem@davemloft.net>
52410         * NEWS: Mention IFUNC testsuite enhancements.
52412         * po/pl.po: Update from translation team.
52413         * po/bg.po: Likewise.
52415         * manual/contrib.texi (Contributors): Update entries for Hongjiu
52416         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
52418 2012-12-11  David S. Miller  <davem@davemloft.net>
52420         * po/sv.po: Update from translation team.
52422         * po/vi.po: Update from translation team.
52424         * po/cs.po: Update from translation team.
52426         * po/de.po: Update from translation team.
52427         * po/eo.po: Likewise.
52428         * po/nl.po: Likewise.
52430 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52432         [BZ #14246]
52433         * manual/argp.texi (Argp Helper Functions): Move node to follow
52434         Argp Parsing State.
52436         [BZ #14872]
52437         * manual/conf.texi (Limits on File System Capacity): Mention if
52438         terminating null is included in the max size.
52440 2012-12-10  Andreas Jaeger  <aj@suse.de>
52442         * po/cs.po: Update from translation team.
52444 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52446         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
52447         void pointer and cast to uintptr_t.
52448         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
52449         path.
52450         * sysdeps/s390/s390-64/memcpy.S: Likewise.
52451         * sysdeps/s390/s390-64/memset.S: Likewise.
52453 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
52455         [BZ #14833]
52456         * menual/message.texi (Message Translation): Fix typos.
52457         (Helper programs for gettext): Likewise.
52459 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
52461         [BZ #14898]
52462         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
52463         Change to -1.
52465 2012-12-07  David S. Miller  <davem@davemloft.net>
52467         * po/libc.pot: Update.
52469 2012-12-07  Richard Henderson  <rth@redhat.com>
52471         [BZ #10114]
52472         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
52473         normal/normal case to before the switch.
52474         (_FP_DIV): Likewise.
52476 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
52477             Mike Frysinger  <vapier@gentoo.org>
52479         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
52480         check for __NR_fadvise64_64.
52482 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
52484         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
52485         0, not just to plain "0" as a statement.
52486         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
52487         with cw.
52489 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
52491         * NEWS: Use sourceware.org in Bugzilla URL.
52493 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
52495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
52496         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52498         * stdio-common/tst-put-error.c (do_test): Add newline to the
52499         padded test to ensure flush.
52501 2012-12-05  Jeff Law  <law@redhat.com>
52503         * sunrpc/etc.rpc (fedfs_admin): Add entry.
52505 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
52507         * README: Don't refer to ports add-on as distributed separately.
52508         Mention AArch64 in list of systems supported in the ports add-on.
52510         * LICENSES: Add more non-FSF copyright and license notices.
52512         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
52513         ((unused)).
52515         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
52517         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
52518         10000 as width of padded output.
52520 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52522         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
52524         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
52525         variable LX with __attribute__ ((unused)).
52526         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52527         Likewise.
52528         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52529         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52530         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
52531         with __attribute__ ((unused)).
52533 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
52535         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
52537 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
52539         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
52540         (CFLAGS-nldbl-acos.c): New variable.
52541         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
52542         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
52543         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
52544         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
52545         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
52546         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
52547         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
52548         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
52549         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
52550         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
52551         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
52552         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
52553         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
52554         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
52555         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
52556         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
52557         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
52558         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
52559         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
52560         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
52561         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
52562         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
52563         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
52564         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
52565         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
52566         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
52567         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
52568         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
52569         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
52570         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
52571         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
52572         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
52573         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
52574         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
52575         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
52576         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
52577         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
52578         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
52579         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
52580         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
52581         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
52582         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
52583         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
52584         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
52585         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
52586         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
52587         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
52588         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
52589         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
52590         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
52591         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
52592         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
52593         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
52594         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
52595         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
52596         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
52597         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
52598         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
52599         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
52600         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
52601         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
52602         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
52603         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
52604         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
52605         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
52606         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
52607         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
52608         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
52609         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
52610         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
52611         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
52612         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
52613         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
52614         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
52615         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
52616         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
52617         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
52618         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
52619         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
52620         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
52621         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
52622         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
52623         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
52624         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
52625         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
52626         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
52627         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
52628         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
52629         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
52630         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
52631         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
52632         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
52633         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
52634         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
52635         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
52636         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
52637         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
52639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
52640         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
52642         [BZ #14914]
52643         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
52644         whole low double instead of just low 47 bits when splitting values
52645         into two parts.
52647 2012-12-03  Allan McRae  <allan@archlinux.org>
52649         * manual/stdio.texi (Predefined Printf Handlers): Remove
52650         @hsep and @vsep usage.
52652 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
52654         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
52655         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
52657 2012-12-03  Jeff Law  <law@redhat.com>
52659         * time/sys/time.h (settimeofday): Do not mark TV argument
52660         as __nonnull.
52662 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
52664         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
52665         when currently writing and seek to current position when not.
52666         * libio/Makefile (tests): Remove bug-fclose1.
52667         * libio/bug-fclose1.c: Delete.
52669 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
52671         * manual/arith.texi (feenableexcept): Fix typo.
52672         (fedisableexcept): Likewise.
52674 2012-11-30  Roland McGrath  <roland@hack.frob.com>
52676         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
52677         second, differently-typed declaration, rather than a cast.
52679 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52681         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
52682         * include/rpc/svc.h: ... here.
52684 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
52686         [BZ #13013]
52687         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
52688         depending n and resplen2 to catch cases where answer
52689         equals answerp2.
52691 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
52693         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
52694         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
52696 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
52698         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
52700 2012-11-29  Roland McGrath  <roland@hack.frob.com>
52702         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
52704 2012-11-28  Jeff Law  <law@redhat.com>
52706         [BZ #13761]
52707         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
52708         dataset_temporary.  Track alloca usage into alloca_used.
52709         If dataset is large allocate and release it via malloc/free.
52711 2012-06-04  Florian Weimer  <fweimer@redhat.com>
52713         [BZ #14197]
52714         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
52716 2012-11-28  David S. Miller  <davem@davemloft.net>
52718         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52720 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52722         [BZ #14803]
52723         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
52724         of pi/2 rounded to nearest to 64 bits.
52725         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
52726         nearest to 64 bits.
52727         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
52728         bits.
52730 2012-11-28  Jeff Law <law@redhat.com>
52731             Martin Osvald <mosvald@redhat.com>
52733         [BZ #14889]
52734         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
52735         * sunrpc/svc.c: Include time.h.
52736         (__svc_accept_failed): New function.
52737         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
52738         any reason other than EINTR, call __svc_accept_failed.
52739         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
52740         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
52742 2012-11-28  Andreas Schwab  <schwab@suse.de>
52744         * scripts/abilist.awk: Also handle indirect functions in .opd
52745         section.
52747 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
52749         [BZ #13881]
52750         * sysdeps/x86/fpu/powl_helper.c: New file.
52751         * sysdeps/x86/fpu/Makefile: Likewise.
52752         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
52753         (p3): New object.
52754         (__ieee754_powl): Use __powl_helper for finite arguments except
52755         integer exponents below 8.
52756         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
52757         (p3): New object.
52758         (__ieee754_powl): Use __powl_helper for finite arguments except
52759         integer exponents below 8.
52760         * math/libm-test.inc (pow_test): Add more tests and enable some
52761         previously disabled tests.
52762         * sysdeps/i386/fpu/libm-test-ulps: Update.
52763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52765 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52766             Carlos O'Donell  <carlos_odonell@mentor.com>
52768         * nss/makedb.c (is_prime): Assert that input is odd and greater
52769         than 4.  Note that fact in a comment too.
52770         (next_prime): Add 4 to input.
52772 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52774         [BZ #11741]
52775         * libio/Makefile (tests): Add test case tst-fwrite-error.
52776         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
52777         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
52778         * libio/tst-fwrite-error.c: New test case.
52780 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
52782         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
52783         before casting to void *.
52784         * include/libc-internal.h (__pointer_type): New macro.
52785         (__integer_if_pointer_type_sub): Likewise.
52786         (__integer_if_pointer_type): Likewise.
52787         (cast_to_integer): Likewise.
52788         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
52789         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
52790         before casting to atomic64_t.
52791         (atomic_exchange_acq): Likewise.
52792         (__arch_exchange_and_add_body): Likewise.
52793         (__arch_add_body): Likewise.
52794         (atomic_add_negative): Likewise.
52795         (atomic_add_zero): Likewise.
52797 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
52799         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
52800         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
52801         (add_fdes): Likewise.
52802         (linear_search_fdes): Likewise.
52803         (binary_search_unencoded_fdes): Likewise.
52805 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
52807         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
52809 2012-11-24  Adam Conrad  <adconrad@0c3.net>
52811         * configure.in: Autodetect C++ header directories.
52812         * configure: Regenerated.
52814 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
52816         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
52818 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
52820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52822 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
52824         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
52825         LDBL_MANT_DIG == 106]: Disable some tests.
52826         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52827         Likewise.
52828         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
52829         Likewise.
52831         [BZ #14871]
52832         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
52833         input for small inputs.  Return +/- pi/2 for large inputs.
52834         * math/libm-test.inc (atan_test): Add more tests.
52836         * sysdeps/generic/unwind-dw2-fde-glibc.c
52837         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
52838         __attribute__ ((unused)).
52840         [BZ #14645]
52841         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
52842         x * y if x and y are nonzero and z is zero.
52844         [BZ #14811]
52845         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
52846         nonzero exponents with absolute value below 0x1p-117 to +/-
52847         0x1p-117.
52849         [BZ #14869]
52850         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
52851         up arguments below 2**-450, not just those below 2**-500.
52852         * math/libm-test.inc (hypot_test): Add another test.
52854         [BZ #14868]
52855         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
52856         Return a+b for ratio over 2**120, not 2**60.
52857         * math/libm-test.inc (hypot_test): Add another test.
52859         * math/libm-test.inc (clog_test): Use
52860         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
52861         (clog10_test): Likewise.
52863         [BZ #6778]
52864         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
52866 2012-11-22  Andreas Schwab  <schwab@suse.de>
52868         * sysdeps/i386/fpu/libm-test-ulps: Update.
52870 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
52872         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
52873         printf output with newline.
52875 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
52877         [BZ #14865]
52878         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
52879         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
52880         -z nodlopen, -z initfirst and -z execstack support.
52881         * configure: Regenerated.
52883         * elf/elf.h (DF_1_NODIRECT): New macro.
52884         (DF_1_IGNMULDEF): Likewise.
52885         (DF_1_NOKSYMS): Likewise.
52886         (DF_1_NOHDR): Likewise.
52887         (DF_1_EDITED): Likewise.
52888         (DF_1_NORELOC): Likewise.
52889         (DF_1_SYMINTPOSE): Likewise.
52890         (DF_1_GLOBAUDIT): Likewise.
52891         (DF_1_SINGLETON): Likewise.
52892         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
52893         DT_1_SUPPORTED_MASK bits.
52894         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
52896 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
52898         * sysdeps/unix/make-syscalls.sh: Document prefixes.
52900 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
52902         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
52903         macro.
52905         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
52906         (sendmmsg): Move declarations...
52907         * socket/sys/socket.h: ... here.
52908         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
52909         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
52910         include it from...
52911         * socket/recvmmsg.c: ... this new file.
52912         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
52913         (sendmmsg): Rename to __sendmmsg, create weak alias and make
52914         definition of __sendmmsg hidden.
52915         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
52916         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
52917         Move ENOSYS stub into and include it from...
52918         * socket/sendmmsg.c: ... this new file.
52919         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
52920         (sysdep_routines): Move recvmmsg and sendmmsg...
52921         * socket/Makefile (routines): ... here.
52922         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
52923         (GLIBC_PRIVATE): Add __sendmmsg.
52924         * include/sys/socket.h (__sendmmsg): Add declarations.
52925         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
52926         sendmmsg.
52928 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
52930         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
52931         variable I1 with __attribute__ ((unused)).
52932         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52934 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52936         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
52937         DUMMY variables with __attribute__ ((unused)).
52939         * bits/byteswap.h: Include <bits/types.h>.
52940         (__bswap_64): Use __uint64_t instead of unsigned long long int.
52942 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
52944         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
52945         string_t.  Do not manually set errno.
52946         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
52947         length with __strnlen.  Make sure to both set errno and return it on
52948         failure.
52950 2012-11-19  David S. Miller  <davem@davemloft.net>
52952         With help from Joseph Myers.
52953         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
52954         very large arguments properly.
52955         * math/libm-test.inc (atan_test): New tests.
52956         (atan2_test): New tests.
52957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52960 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
52962         [BZ #14856]
52963         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
52964         Define to 3.
52966         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
52967         [POSIX] (EADDRNOTAVAIL): Likewise.
52968         [POSIX] (EAFNOSUPPORT): Likewise.
52969         [POSIX] (EALREADY): Likewise.
52970         [POSIX] (ECONNABORTED): Likewise.
52971         [POSIX] (ECONNREFUSED): Likewise.
52972         [POSIX] (ECONNRESET): Likewise.
52973         [POSIX] (EDESTADDRREQ): Likewise.
52974         [POSIX] (EDQUOT): Likewise.
52975         [POSIX] (EHOSTUNREACH): Likewise.
52976         [POSIX] (EIDRM): Likewise.
52977         [POSIX] (EISCONN): Likewise.
52978         [POSIX] (ELOOP): Likewise.
52979         [POSIX] (EMULTIHOP): Likewise.
52980         [POSIX] (ENETDOWN): Likewise.
52981         [POSIX] (ENETUNREACH): Likewise.
52982         [POSIX] (ENOBUFS): Likewise.
52983         [POSIX] (ENODATA): Likewise.
52984         [POSIX] (ENOLINK): Likewise.
52985         [POSIX] (ENOMSG): Likewise.
52986         [POSIX] (ENOPROTOOPT): Likewise.
52987         [POSIX] (ENOSR): Likewise.
52988         [POSIX] (ENOSTR): Likewise.
52989         [POSIX] (ENOTCONN): Likewise.
52990         [POSIX] (ENOTSOCK): Likewise.
52991         [POSIX] (EOPNOTSUPP): Likewise.
52992         [POSIX] (EOVERFLOW): Likewise.
52993         [POSIX] (EPROTO): Likewise.
52994         [POSIX] (EPROTONOSUPPORT): Likewise.
52995         [POSIX] (EPROTOTYPE): Likewise.
52996         [POSIX] (ESTALE): Likewise.
52997         [POSIX] (ETIME): Likewise.
52998         [POSIX] (ETXTBSY): Likewise.
52999         [POSIX] (EWOULDBLOCK): Likewise.
53000         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
53001         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
53002         [POSIX] (SEEK_CUR): Likewise.
53003         [POSIX] (SEEK_END): Likewise.
53004         [POSIX || UNIX98] (mode_t): Do not require.
53005         [POSIX] (off_t): Likewise.
53006         [POSIX] (pid_t): Likewise.
53007         [POSIX] (sys/stat.h): Do not allow header.
53008         [POSIX] (unistd.h): Likewise.
53009         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
53010         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
53011         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
53012         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
53013         require.
53014         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
53015         sigevent): Specify elements.
53016         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
53017         entry.
53018         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
53019         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
53021         * conform/data/cpio.h-data [POSIX]: Disable whole file.
53022         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
53023         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
53024         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
53025         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
53026         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
53027         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
53028         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
53029         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
53030         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
53031         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
53032         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
53033         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
53034         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
53035         Likewise.
53036         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
53037         Likewise.
53038         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
53039         Likewise.
53040         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
53041         Likewise.
53042         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
53043         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
53044         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
53045         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
53046         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
53047         Specify lower bound on value.
53048         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
53049         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
53050         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
53051         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
53052         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
53053         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
53054         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
53055         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
53056         value.
53057         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
53058         as optional.
53059         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
53060         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
53061         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
53062         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
53063         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
53064         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
53065         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
53066         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
53067         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
53068         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
53069         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
53070         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
53071         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
53072         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
53073         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
53074         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
53075         entry.
53076         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
53077         optional.
53078         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
53079         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
53080         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
53081         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
53082         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
53083         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
53084         Likewise.
53085         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
53086         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
53087         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
53088         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
53089         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
53090         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
53091         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
53092         as optional.
53093         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
53094         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
53095         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
53096         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
53097         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
53098         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
53099         specify as optional.
53100         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
53101         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
53102         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
53103         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
53104         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
53105         [XPG3] (NL_LANGMAX): Likewise.
53106         [POSIX || XPG3] (NL_MSGMAX): Likewise.
53107         [POSIX || XPG3] (NL_NMAX): Likewise.
53108         [POSIX || XPG3] (NL_SETMAX): Likewise.
53109         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
53110         [XPG3] (NZERO): Likewise.
53111         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
53112         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
53113         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
53114         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
53115         (REG_ERANGE): Expect.
53116         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
53117         optional-constant.
53118         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
53119         Use (void) in prototype.
53120         [POSIX] (*_t): Allow.
53121         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
53122         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
53123         (WRDE_BADVAL): Expect.
53125         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
53126         expect.
53127         [XPG3 || XPG4] (O_RSYNC): Likewise.
53128         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
53129         Likewise.
53130         [XPG3 || XPG4] (pthread_sigmask): Likewise.
53131         [XPG3 || XPG4] (sigqueue): Likewise.
53132         [XPG3 || XPG4] (sigtimedwait): Likewise.
53133         [XPG3 || XPG4] (sigwaitinfo): Likewise.
53134         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
53135         [XPG3 || XPG4] (vsnprintf): Likewise.
53136         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
53137         Likewise.
53138         [XPG3 || XPG4] (blksize_t): Likewise.
53139         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
53140         Likewise.
53141         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
53142         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
53143         [XPG3 || XPG4] (struct itimerspec): Likewise.
53144         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
53145         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
53146         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
53147         [XPG3 || XPG4] (clockid_t): Likewise.
53148         [XPG3 || XPG4] (timer_t): Likewise.
53149         [XPG3 || XPG4] (clock_getres): Likewise.
53150         [XPG3 || XPG4] (clock_gettime): Likewise.
53151         [XPG3 || XPG4] (clock_settime): Likewise.
53152         [XPG3 || XPG4] (nanosleep): Likewise.
53153         [XPG3 || XPG4] (timer_create): Likewise.
53154         [XPG3 || XPG4] (timer_delete): Likewise.
53155         [XPG3 || XPG4] (timer_gettime): Likewise.
53156         [XPG3 || XPG4] (timer_getoverrun): Likewise.
53157         [XPG3 || XPG4] (timer_settime): Likewise.
53158         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
53159         [XPG3 || XPG4] (getlogin_r): Likewise.
53160         [XPG3 || XPG4] (pread): Likewise.
53161         [XPG3 || XPG4] (pthread_atfork): Likewise.
53162         [XPG3 || XPG4] (pwrite): Likewise.
53164         [BZ #14835]
53165         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
53166         <bits/siginfo.h>.
53168 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
53170         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
53171         finalizing MALLSTREAM.
53173         * sysdeps/mach/hurd/syncfs.c: New file.
53175 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53177         [BZ #14719]
53178         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
53179         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
53180         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
53181         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
53182         (_nss_dns_gethostbyname4_r): Likewise.
53183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
53184         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
53186 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
53188         [BZ #13763]
53189         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
53191 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
53193         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
53194         * elf/cache.c (print_entry): Print ",AArch64" for
53195         FLAG_AARCH64_LIB64
53197         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
53198         * elf/cache.c (print_entry): Print ",hard-float" for
53199         FLAG_ARM_LIBHF.
53201 2012-11-18  David S. Miller  <davem@davemloft.net>
53203         With help from Joseph Myers.
53204         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
53205         cutoff to 2**-13.
53206         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
53207         cutoff to 2**-25.
53208         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
53209         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
53210         small.
53211         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
53212         * math/libm-test.inc (y0_test): New tests.
53213         (y1_test): New tests.
53214         * sysdeps/i386/fpu/libm-test-ulps: Update.
53215         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53218 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
53220         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
53221         64-bit targets.
53222         * configure: Regenerated.
53224 2012-11-17  David S. Miller  <davem@davemloft.net>
53226         [BZ #14811]
53227         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
53228         nonzero exponents with absolute value below 0x1p-128 to +/-
53229         0x1p-128.
53231 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
53233         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
53235         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
53237         * posix/getconf-speclist.c: New file.
53238         * posix/posix-envs.def: Likewise.
53239         * posix/confstr.c (START_ENV_GROUP): New macro.
53240         (END_ENV_GROUP): Likewise.
53241         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53242         (KNOWN_PRESENT_ENV_STRING): Likewise.
53243         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53244         (UNKNOWN_ENVIRONMENT): Likewise.
53245         (confstr): Include posix-envs.def instead of handling
53246         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
53247         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
53248         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
53249         (END_ENV_GROUP): Likewise.
53250         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
53251         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
53252         (UNKNOWN_ENVIRONMENT): Likewise.
53253         (__sysconf): Include posix-envs.def instead of handling associated
53254         cases directly here.
53255         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
53256         preprocessing getconf-speclist.c rather than running getconf or
53257         generating empty file.
53259 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
53261         * scripts/check-local-headers.sh: Ignore 'mach' headers.
53263 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
53265         [BZ #14672]
53266         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
53268 2012-11-16  David S. Miller  <davem@davemloft.net>
53270         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
53271         smaller than LDBL_EPSILON/2.0L, just return xm1.
53273 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
53275         * elf/tst-array1.c (init): Set constructor priority to 1000.
53276         (fini): Set destructor priority to 1000.
53277         * elf/tst-array2dep.c: Likewise.
53279 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53281         [BZ #11741]
53282         * libio/fileops.c (_IO_new_file_write): Correctly return error.
53283         (_IO_new_file_xsputn): Also return EOF if none of the input
53284         data was written when overflow failed.
53285         * libio/iopadn.c (_IO_padn): Likewise.
53286         * libio/iowpadn.c (_IO_wpadn): Likewise.
53287         * stdio-common/tst-put-error.c: Add copyright notice.
53288         (do_test): Add case for printing padded string.
53289         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
53290         _IO_padn returned error.
53291         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
53292         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
53293         return EOF.
53295 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53297         * libio/libioP.h: Add comment note that the references to C++
53298         bits are now obsolete.
53300 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53302         * math/libm-test.inc (check_complex): Use asprintf.
53304 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
53306         * debug/pcprofiledump.c (print_version): Update copyright year.
53307         * malloc/memusagestat.c (print_version): Likewise.
53309 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
53311         [BZ #14831]
53312         * elf/Makefile (tests): Add tst-audit8.
53313         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
53314         ($(objpfx)tst-audit8.out): New target.
53315         (tst-audit8-ENV): New variable.
53316         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
53317         audit if l_reloc_result is NULL.
53318         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
53319         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
53320         * elf/tst-audit8.c: New file.
53322 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53324         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
53325         * misc/Makefile (CFLAGS-select.c): Define.
53326         * posix/Makefile (CFLAGS-pause.c): Define.
53328 2012-11-13  David S. Miller  <davem@davemloft.net>
53330         * crypt/Makefile: Move test targets after toplevel Rules
53331         inclusion.  Grab any necessary sysdep routines when linking.
53332         * crypt/md5.c (md5_process_block): Remove define, we will always
53333         name it __md5_process_block.
53334         (md5_finish_ctx): Update md5_process_block call.
53335         (md5_stream): Likewise.
53336         (md5_process_bytes): Likewise.
53337         (md5_process_block): Rename to __md5_process_block and move to ...
53338         * crypt/md5-block.c: ... here.
53339         * crypt/sha256.c (sha256_process_block): Move to ...
53340         * crypt/sha256-block.c: ... here.
53341         * crypt/sha512.c (sha512_process_block): Move to ...
53342         * crypt/sha512-block.c: ... here.
53343         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
53344         path.
53345         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
53346         * sysdeps/sparc/sparc64/multiarch/Makefile
53347         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
53348         crypt subdir.
53349         (localedef-aux): Add md5 crypto assembler when in locale subdir.
53350         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
53351         multiarch changes.
53352         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
53353         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
53354         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
53355         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
53356         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
53357         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
53358         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
53359         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
53360         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
53361         file.
53362         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
53363         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
53364         file.
53365         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
53367 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
53369         * timezone/tzselect.ksh: Update from tzcode git revision
53370         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
53371         * timezone/zdump.c: Likewise.
53372         * timezone/zic.c: Likewise.
53373         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
53374         in TZVERSION setting, not $(PKGVERSION).
53375         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
53376         REPORT_BUGS_TO settings.
53378         [BZ #14838]
53379         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
53380         macro.
53382 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53384         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
53385         detection to immediately after _FP_ROUND().
53386         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
53387         bits are 0.
53389 2012-11-11  David S. Miller  <davem@davemloft.net>
53391         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
53392         inttypes.h
53393         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
53394         __close rather than their public counterparts.
53396 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
53398         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
53399         file.
53400         [UNIX98] (sem_timedwait): Do not expect.
53401         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
53402         [XPG4 || UNIX98] (sockatmark): Do not expect.
53403         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
53404         (clock_getcpuclockid): Do not expect.
53405         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
53406         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
53407         Do not expect.
53408         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
53409         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
53410         [UNIX98] (vwscanf): Likewise.
53411         [UNIX98] (vswscanf): Likewise.
53413 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
53415         * timezone/version.h: Remove file.
53416         * timezone/README: Do not refer to version.h.
53417         * timezone/Makefile ($(objpfx)zic.o): New dependency on
53418         $(objpfx)version.h.
53419         ($(objpfx)zdump.o): Likewise.
53420         ($(objpfx)version.h): New target.
53422         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
53423         2012i.
53424         * timezone/README: Don't mention modification to tzselect.ksh.
53425         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
53426         work on unmodified tzselect.ksh.  Substitute version numbers in
53427         tzselect.ksh.
53429         * Makefile (format-me): Remove.
53430         (INSTALL): Adjust indentation.  Use commands directly instead of
53431         using $(format-me).
53433         * aclocal.m4 (ACX_PKGVERSION): New macro.
53434         (ACX_BUGURL): Likewise.
53435         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
53436         (PKGVERSION): New AC_DEFINE_UNQUOTED.
53437         (REPORT_BUGS_TO): Likewise.
53438         * configure: Regenerated.
53439         * config.h.in (PKGVERSION): New macro.
53440         (REPORT_BUGS_TO): Likewise.
53441         * config.make.in (PKGVERSION): New variable.
53442         (PKGVERSION_TEXI): Likewise.
53443         (REPORT_BUGS_TO): Likewise.
53444         (REPORT_BUGS_TEXI): Likewise.
53445         * Makefile (format-me): Use -I$(common-objpfx)manual.
53446         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
53447         ($(common-objpfx)manual/%): New target.
53448         (manual/%): Remove target.
53449         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
53450         (print_version): Use PKGVERSION.
53451         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
53452         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
53453         and REPORT_BUGS_TO.
53454         ($(objpfx)xtrace): Likewise.
53455         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
53456         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
53457         (print_version): Use PKGVERSION.
53458         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
53459         (do_version): Use PKGVERSION.
53460         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
53461         REPORT_BUGS_TO.
53462         (common-ldd-rewrite): Likewise.
53463         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
53464         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
53465         (print_version): Use PKGVERSION.
53466         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
53467         * elf/pldd.c (argp_program_bug_address): Remove variable.
53468         (more_help): New function.
53469         (argp): Use more_help.
53470         (print_version): Use PKGVERSION.
53471         * elf/sln.c (main): Use PKGVERSION.
53472         (usage): Use REPORT_BUGS_TO.
53473         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
53474         (top level): Use PKGVERSION.
53475         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
53476         (print_version): Use PKGVERSION.
53477         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
53478         (print_version): Use PKGVERSION.
53479         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
53480         (print_version): Use PKGVERSION.
53481         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
53482         (print_version): Use PKGVERSION.
53483         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
53484         (print_version): Use PKGVERSION.
53485         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
53486         (print_version): Use PKGVERSION.
53487         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
53488         and BUGURL.
53489         ($(objpfx)memusage): Likewise.
53490         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
53491         (do_version): Use PKGVERSION.
53492         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
53493         (print_version): Use PKGVERSION.
53494         * malloc/mtrace.pl ($PACKAGE): Remove variable.
53495         ($PKGVERSION): New variable.
53496         ($REPORT_BUGS_TO): Likewise.
53497         (usage): Use $REPORT_BUGS_TO.
53498         (top level): Use $PKGVERSION.
53499         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
53500         ($(objpfx)pkgvers.texi): New rule.
53501         ($(objpfx)stamp-pkgvers): Likewise.
53502         * manual/install.texi: Include pkgvers.texi.
53503         (--with-pkgversion): Document new configure option.
53504         (--with-bugurl): Likewise.
53505         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
53506         than necessarily for this particular distribution.  Use
53507         REPORT_BUGS_TO for where to report bugs.
53508         * INSTALL: Regenerated.
53509         * manual/libc.texinfo: Include pkgvers.texi.
53510         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
53511         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
53512         (print_version): Use PKGVERSION.
53513         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
53514         (print_version): Use PKGVERSION.
53515         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
53516         (print_version): Use PKGVERSION.
53517         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
53518         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
53519         macro.
53520         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
53521         (print_version): Use PKGVERSION.
53522         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
53523         (print_version): Use PKGVERSION.
53524         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
53525         and PKGVERSION.
53527         * timezone/checktab.awk: Update from tzcode 2012i.
53528         * timezone/ialloc.c: Likewise.
53529         * timezone/private.h: Likewise.
53530         * timezone/scheck.c: Likewise.
53531         * timezone/tzfile.h: Likewise.
53532         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
53533         (TZVERSION): Hardcode tzcode version number.
53534         * timezone/zdump.c: Update from tzcode 2012i.
53535         * timezone/zic.c: Likewise.
53536         * timezone/version.h: New file.
53537         * timezone/README: Describe version.h.  Update upstream location.
53539         [BZ #14824]
53540         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
53541         (mktemp): Enable declaration.
53542         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
53543         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
53544         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
53545         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
53546         Likewise.
53547         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
53548         Likewise.
53549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
53550         Likewise.
53551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
53552         Likewise.
53553         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
53554         Likewise.
53555         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
53556         Likewise.
53558         [BZ #14821]
53559         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
53560         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
53561         for copies of such integer values.
53562         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53563         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53565 2012-11-09  Andreas Jaeger  <aj@suse.de>
53567         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
53568         definitions and declarations that are provided by
53569         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
53571 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53573         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
53574         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
53575         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
53576         definition.
53578 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53580         * elf/elf.h: Update comment before AArch64 relocations.
53582 2012-11-07  David S. Miller  <davem@davemloft.net>
53584         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
53585         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
53586         (__start_context): Declare.
53587         (__makecontext_ret): Delete.
53588         (__makecontext): Hook up __start_context instead of
53589         __makecontext_ret.
53590         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
53591         (sysdep_routines): Add __start_context when in stdlib.
53593 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53595         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
53596         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
53597         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
53598         hardcoded "nm".
53599         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
53600         (READELF): New variable.  Use it instead of hardcoded "readelf".
53602 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53604         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
53605         * sysdeps/x86/Makefile: Here.
53606         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
53607         * sysdeps/x86/tst-xmmymm.sh: This.
53609 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53611         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
53612         expectations.
53613         [UNIX98] (pthread_barrier_t): Do not expect.
53614         [UNIX98] (pthread_barrierattr_t): Likewise.
53615         [UNIX98] (pthread_spinlock_t): Likewise.
53616         [UNIX98] (pthread_barrier_destroy): Likewise.
53617         [UNIX98] (pthread_barrier_init): Likewise.
53618         [UNIX98] (pthread_barrier_wait): Likewise.
53619         [UNIX98] (pthread_barrierattr_destroy): Likewise.
53620         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
53621         [UNIX98] (pthread_barrierattr_init): Likewise.
53622         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
53623         [UNIX98] (pthread_getcpuclockid): Likewise.
53624         [UNIX98] (pthread_mutex_timedlock): Likewise.
53625         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
53626         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
53627         [UNIX98] (pthread_sigmask): Likewise.
53628         [UNIX98] (pthread_spin_destroy): Likewise.
53629         [UNIX98] (pthread_spin_init): Likewise.
53630         [UNIX98] (pthread_spin_lock): Likewise.
53631         [UNIX98] (pthread_spin_trylock): Likewise.
53632         [UNIX98] (pthread_spin_unlock): Likewise.
53633         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
53634         Do not expect.
53635         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
53636         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
53637         [XPG3 || XPG4] (pthread_cond_t): Likewise.
53638         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
53639         [XPG3 || XPG4] (pthread_key_t): Likewise.
53640         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
53641         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
53642         [XPG3 || XPG4] (pthread_once_t): Likewise.
53643         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
53644         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
53645         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
53646         [XPG3 || XPG4] (pthread_t): Likewise.
53648         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
53649         not expect.
53650         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
53652         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
53653         Change function return type to int.
53655         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
53656         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
53657         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
53658         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
53659         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
53660         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
53661         [!POSIX] (posix_madvise): Likewise.
53662         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
53663         && !UNIX98].
53664         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
53665         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
53666         (mode_t): Likewise.
53667         (posix_mem_offset): Likewise.
53668         (posix_typed_mem_get_info): Likewise.
53669         (posix_typed_mem_open): Likewise.
53671         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
53672         Change condition to [XOPEN2K8].
53674         * conform/conformtest.pl: Preprocess allow-header data with -x c
53675         instead of from stdin.
53676         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
53677         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
53678         [C99-based standards] (cerfc): Likewise.
53679         [C99-based standards] (cexp2): Likewise.
53680         [C99-based standards] (cexpm1): Likewise.
53681         [C99-based standards] (clog10): Likewise.
53682         [C99-based standards] (clog1p): Likewise.
53683         [C99-based standards] (clog2): Likewise.
53684         [C99-based standards] (clgamma): Likewise.
53685         [C99-based standards] (ctgamma): Likewise.
53686         [C99-based standards] (cerff): Likewise.
53687         [C99-based standards] (cerfcf): Likewise.
53688         [C99-based standards] (cexp2f): Likewise.
53689         [C99-based standards] (cexpm1f): Likewise.
53690         [C99-based standards] (clog10f): Likewise.
53691         [C99-based standards] (clog1pf): Likewise.
53692         [C99-based standards] (clog2f): Likewise.
53693         [C99-based standards] (clgammaf): Likewise.
53694         [C99-based standards] (ctgammaf): Likewise.
53695         [C99-based standards] (cerfl): Likewise.
53696         [C99-based standards] (cerfcl): Likewise.
53697         [C99-based standards] (cexp2l): Likewise.
53698         [C99-based standards] (cexpm1l): Likewise.
53699         [C99-based standards] (clog10l): Likewise.
53700         [C99-based standards] (clog1pl): Likewise.
53701         [C99-based standards] (clog2l): Likewise.
53702         [C99-based standards] (clgammal): Likewise.
53703         [C99-based standards] (ctgammal): Likewise.
53704         * conform/data/inttypes.h-data [C99-based standards]: Include
53705         stdint.h-data.  Remove all expectations for stdint.h contents.
53706         [C99-based standards] (PRI*): Do not allow.
53707         [C99-based standards] (SCN*): Likewise.
53708         [C99-based standards] (*_t): Likewise.
53709         [C99-based-standards] (PRId8): Expect macro.
53710         [C99-based-standards] (PRIi8): Likewise.
53711         [C99-based-standards] (PRIo8): Likewise.
53712         [C99-based-standards] (PRIu8): Likewise.
53713         [C99-based-standards] (PRIx8): Likewise.
53714         [C99-based-standards] (PRIX8): Likewise.
53715         [C99-based-standards] (SCNd8): Likewise.
53716         [C99-based-standards] (SCNi8): Likewise.
53717         [C99-based-standards] (SCNo8): Likewise.
53718         [C99-based-standards] (SCNu8): Likewise.
53719         [C99-based-standards] (SCNx8): Likewise.
53720         [C99-based-standards] (PRIdLEAST8): Likewise.
53721         [C99-based-standards] (PRIiLEAST8): Likewise.
53722         [C99-based-standards] (PRIoLEAST8): Likewise.
53723         [C99-based-standards] (PRIuLEAST8): Likewise.
53724         [C99-based-standards] (PRIxLEAST8): Likewise.
53725         [C99-based-standards] (PRIXLEAST8): Likewise.
53726         [C99-based-standards] (SCNdLEAST8): Likewise.
53727         [C99-based-standards] (SCNiLEAST8): Likewise.
53728         [C99-based-standards] (SCNoLEAST8): Likewise.
53729         [C99-based-standards] (SCNuLEAST8): Likewise.
53730         [C99-based-standards] (SCNxLEAST8): Likewise.
53731         [C99-based-standards] (PRIdFAST8): Likewise.
53732         [C99-based-standards] (PRIiFAST8): Likewise.
53733         [C99-based-standards] (PRIoFAST8): Likewise.
53734         [C99-based-standards] (PRIuFAST8): Likewise.
53735         [C99-based-standards] (PRIxFAST8): Likewise.
53736         [C99-based-standards] (PRIXFAST8): Likewise.
53737         [C99-based-standards] (SCNdFAST8): Likewise.
53738         [C99-based-standards] (SCNiFAST8): Likewise.
53739         [C99-based-standards] (SCNoFAST8): Likewise.
53740         [C99-based-standards] (SCNuFAST8): Likewise.
53741         [C99-based-standards] (SCNxFAST8): Likewise.
53742         [C99-based-standards] (PRId16): Likewise.
53743         [C99-based-standards] (PRIi16): Likewise.
53744         [C99-based-standards] (PRIo16): Likewise.
53745         [C99-based-standards] (PRIu16): Likewise.
53746         [C99-based-standards] (PRIx16): Likewise.
53747         [C99-based-standards] (PRIX16): Likewise.
53748         [C99-based-standards] (SCNd16): Likewise.
53749         [C99-based-standards] (SCNi16): Likewise.
53750         [C99-based-standards] (SCNo16): Likewise.
53751         [C99-based-standards] (SCNu16): Likewise.
53752         [C99-based-standards] (SCNx16): Likewise.
53753         [C99-based-standards] (PRIdLEAST16): Likewise.
53754         [C99-based-standards] (PRIiLEAST16): Likewise.
53755         [C99-based-standards] (PRIoLEAST16): Likewise.
53756         [C99-based-standards] (PRIuLEAST16): Likewise.
53757         [C99-based-standards] (PRIxLEAST16): Likewise.
53758         [C99-based-standards] (PRIXLEAST16): Likewise.
53759         [C99-based-standards] (SCNdLEAST16): Likewise.
53760         [C99-based-standards] (SCNiLEAST16): Likewise.
53761         [C99-based-standards] (SCNoLEAST16): Likewise.
53762         [C99-based-standards] (SCNuLEAST16): Likewise.
53763         [C99-based-standards] (SCNxLEAST16): Likewise.
53764         [C99-based-standards] (PRIdFAST16): Likewise.
53765         [C99-based-standards] (PRIiFAST16): Likewise.
53766         [C99-based-standards] (PRIoFAST16): Likewise.
53767         [C99-based-standards] (PRIuFAST16): Likewise.
53768         [C99-based-standards] (PRIxFAST16): Likewise.
53769         [C99-based-standards] (PRIXFAST16): Likewise.
53770         [C99-based-standards] (SCNdFAST16): Likewise.
53771         [C99-based-standards] (SCNiFAST16): Likewise.
53772         [C99-based-standards] (SCNoFAST16): Likewise.
53773         [C99-based-standards] (SCNuFAST16): Likewise.
53774         [C99-based-standards] (SCNxFAST16): Likewise.
53775         [C99-based-standards] (PRId32): Likewise.
53776         [C99-based-standards] (PRIi32): Likewise.
53777         [C99-based-standards] (PRIo32): Likewise.
53778         [C99-based-standards] (PRIu32): Likewise.
53779         [C99-based-standards] (PRIx32): Likewise.
53780         [C99-based-standards] (PRIX32): Likewise.
53781         [C99-based-standards] (SCNd32): Likewise.
53782         [C99-based-standards] (SCNi32): Likewise.
53783         [C99-based-standards] (SCNo32): Likewise.
53784         [C99-based-standards] (SCNu32): Likewise.
53785         [C99-based-standards] (SCNx32): Likewise.
53786         [C99-based-standards] (PRIdLEAST32): Likewise.
53787         [C99-based-standards] (PRIiLEAST32): Likewise.
53788         [C99-based-standards] (PRIoLEAST32): Likewise.
53789         [C99-based-standards] (PRIuLEAST32): Likewise.
53790         [C99-based-standards] (PRIxLEAST32): Likewise.
53791         [C99-based-standards] (PRIXLEAST32): Likewise.
53792         [C99-based-standards] (SCNdLEAST32): Likewise.
53793         [C99-based-standards] (SCNiLEAST32): Likewise.
53794         [C99-based-standards] (SCNoLEAST32): Likewise.
53795         [C99-based-standards] (SCNuLEAST32): Likewise.
53796         [C99-based-standards] (SCNxLEAST32): Likewise.
53797         [C99-based-standards] (PRIdFAST32): Likewise.
53798         [C99-based-standards] (PRIiFAST32): Likewise.
53799         [C99-based-standards] (PRIoFAST32): Likewise.
53800         [C99-based-standards] (PRIuFAST32): Likewise.
53801         [C99-based-standards] (PRIxFAST32): Likewise.
53802         [C99-based-standards] (PRIXFAST32): Likewise.
53803         [C99-based-standards] (SCNdFAST32): Likewise.
53804         [C99-based-standards] (SCNiFAST32): Likewise.
53805         [C99-based-standards] (SCNoFAST32): Likewise.
53806         [C99-based-standards] (SCNuFAST32): Likewise.
53807         [C99-based-standards] (SCNxFAST32): Likewise.
53808         [C99-based-standards] (PRId64): Likewise.
53809         [C99-based-standards] (PRIi64): Likewise.
53810         [C99-based-standards] (PRIo64): Likewise.
53811         [C99-based-standards] (PRIu64): Likewise.
53812         [C99-based-standards] (PRIx64): Likewise.
53813         [C99-based-standards] (PRIX64): Likewise.
53814         [C99-based-standards] (SCNd64): Likewise.
53815         [C99-based-standards] (SCNi64): Likewise.
53816         [C99-based-standards] (SCNo64): Likewise.
53817         [C99-based-standards] (SCNu64): Likewise.
53818         [C99-based-standards] (SCNx64): Likewise.
53819         [C99-based-standards] (PRIdLEAST64): Likewise.
53820         [C99-based-standards] (PRIiLEAST64): Likewise.
53821         [C99-based-standards] (PRIoLEAST64): Likewise.
53822         [C99-based-standards] (PRIuLEAST64): Likewise.
53823         [C99-based-standards] (PRIxLEAST64): Likewise.
53824         [C99-based-standards] (PRIXLEAST64): Likewise.
53825         [C99-based-standards] (SCNdLEAST64): Likewise.
53826         [C99-based-standards] (SCNiLEAST64): Likewise.
53827         [C99-based-standards] (SCNoLEAST64): Likewise.
53828         [C99-based-standards] (SCNuLEAST64): Likewise.
53829         [C99-based-standards] (SCNxLEAST64): Likewise.
53830         [C99-based-standards] (PRIdFAST64): Likewise.
53831         [C99-based-standards] (PRIiFAST64): Likewise.
53832         [C99-based-standards] (PRIoFAST64): Likewise.
53833         [C99-based-standards] (PRIuFAST64): Likewise.
53834         [C99-based-standards] (PRIxFAST64): Likewise.
53835         [C99-based-standards] (PRIXFAST64): Likewise.
53836         [C99-based-standards] (SCNdFAST64): Likewise.
53837         [C99-based-standards] (SCNiFAST64): Likewise.
53838         [C99-based-standards] (SCNoFAST64): Likewise.
53839         [C99-based-standards] (SCNuFAST64): Likewise.
53840         [C99-based-standards] (SCNxFAST64): Likewise.
53841         [C99-based-standards] (PRIdMAX): Likewise.
53842         [C99-based-standards] (PRIiMAX): Likewise.
53843         [C99-based-standards] (PRIoMAX): Likewise.
53844         [C99-based-standards] (PRIuMAX): Likewise.
53845         [C99-based-standards] (PRIxMAX): Likewise.
53846         [C99-based-standards] (PRIXMAX): Likewise.
53847         [C99-based-standards] (SCNdMAX): Likewise.
53848         [C99-based-standards] (SCNiMAX): Likewise.
53849         [C99-based-standards] (SCNoMAX): Likewise.
53850         [C99-based-standards] (SCNuMAX): Likewise.
53851         [C99-based-standards] (SCNxMAX): Likewise.
53852         [C99-based-standards] (PRIdPTR): Likewise.
53853         [C99-based-standards] (PRIiPTR): Likewise.
53854         [C99-based-standards] (PRIoPTR): Likewise.
53855         [C99-based-standards] (PRIuPTR): Likewise.
53856         [C99-based-standards] (PRIxPTR): Likewise.
53857         [C99-based-standards] (PRIXPTR): Likewise.
53858         [C99-based-standards] (SCNdPTR): Likewise.
53859         [C99-based-standards] (SCNiPTR): Likewise.
53860         [C99-based-standards] (SCNoPTR): Likewise.
53861         [C99-based-standards] (SCNuPTR): Likewise.
53862         [C99-based-standards] (SCNxPTR): Likewise.
53863         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
53864         allow.
53865         * conform/data/stdint.h-data: Update comments to clarify
53866         requirements.
53867         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
53868         type.
53869         [C99-based standards] (INT8_MAX): Likewise.
53870         [C99-based standards] (INT16_MIN): Likewise.
53871         [C99-based standards] (INT16_MAX): Likewise.
53872         [C99-based standards] (INT32_MIN): Likewise.
53873         [C99-based standards] (INT32_MAX): Likewise.
53874         [C99-based standards] (INT64_MIN): Likewise.
53875         [C99-based standards] (INT64_MAX): Likewise.
53876         [C99-based standards] (UINT8_MAX): Likewise.
53877         [C99-based standards] (UINT16_MAX): Likewise.
53878         [C99-based standards] (UINT32_MAX): Likewise.
53879         [C99-based standards] (UINT64_MAX): Likewise.
53880         [C99-based standards] (INT_LEAST8_MIN): Likewise.
53881         [C99-based standards] (INT_LEAST8_MAX): Likewise.
53882         [C99-based standards] (INT_LEAST16_MIN): Likewise.
53883         [C99-based standards] (INT_LEAST16_MAX): Likewise.
53884         [C99-based standards] (INT_LEAST32_MIN): Likewise.
53885         [C99-based standards] (INT_LEAST32_MAX): Likewise.
53886         [C99-based standards] (INT_LEAST64_MIN): Likewise.
53887         [C99-based standards] (INT_LEAST64_MAX): Likewise.
53888         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
53889         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
53890         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
53891         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
53892         [C99-based standards] (INT_FAST8_MIN): Likewise.
53893         [C99-based standards] (INT_FAST8_MAX): Likewise.
53894         [C99-based standards] (INT_FAST16_MIN): Likewise.
53895         [C99-based standards] (INT_FAST16_MAX): Likewise.
53896         [C99-based standards] (INT_FAST32_MIN): Likewise.
53897         [C99-based standards] (INT_FAST32_MAX): Likewise.
53898         [C99-based standards] (INT_FAST64_MIN): Likewise.
53899         [C99-based standards] (INT_FAST64_MAX): Likewise.
53900         [C99-based standards] (UINT_FAST8_MAX): Likewise.
53901         [C99-based standards] (UINT_FAST16_MAX): Likewise.
53902         [C99-based standards] (UINT_FAST32_MAX): Likewise.
53903         [C99-based standards] (UINT_FAST64_MAX): Likewise.
53904         [C99-based standards] (INTPTR_MIN): Likewise.
53905         [C99-based standards] (INTPTR_MAX): Likewise.
53906         [C99-based standards] (UINTPTR_MAX): Likewise.
53907         [C99-based standards] (INTMAX_MIN): Likewise.
53908         [C99-based standards] (INTMAX_MAX): Likewise.
53909         [C99-based standards] (UINTMAX_MAX): Likewise.
53910         [C99-based standards] (PTRDIFF_MIN): Likewise.
53911         [C99-based standards] (PTRDIFF_MAX): Likewise.
53912         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
53913         [C99-based standards] (SIZE_MAX): Likewise.
53914         [C99-based standards] (WCHAR_MAX): Likewise.
53915         [C99-based standards] (WINT_MAX): Likewise.
53916         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
53917         constraint on value.
53918         [C99-based standards] (WCHAR_MIN): Likewise.
53919         [C99-based standards] (WINT_MIN): Likewise.
53920         [C99-based standards] (*_t): Allow.
53921         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
53922         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
53923         Include math.h-data and complex.h-data.  Remove all expectations
53924         of math.h and complex.h contents.
53925         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
53926         at end of line.
53927         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
53928         (struct tm): Expect tag.
53929         [C99-based-standards] (wcstof): Expect function.
53930         [C99-based-standards] (wcstold): Likewise.
53931         [C99-based-standards] (wcstoll): Likewise.
53932         [C99-based-standards] (wcstoull): Likewise.
53933         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
53934         macro-int-constant.  Specify type.
53935         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
53936         constraint on value.
53937         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53938         Specify type.
53939         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
53940         Specify value.
53941         [ISO C standards]: Do not allow headers.
53942         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
53943         wcs[abcdefghijklmnopqrstuvwxyz]*.
53944         [ISO C standards] (*_t): Do not allow.
53945         * conform/data/wctype.h-data [C99-based standards] (iswblank):
53946         Expect function.
53947         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
53948         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
53949         Specify type.
53950         [ISO C standards]: Do not allow headers.
53951         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
53952         is[abcdefghijklmnopqrstuvwxyz]*.
53953         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
53954         to[abcdefghijklmnopqrstuvwxyz]*.
53955         [ISO C standards] (*_t): Do not allow.
53956         * conform/data/stdalign.h-data: New file.
53957         * conform/data/stdbool.h-data: Likewise.
53958         * conform/data/stdnoreturn.h-data: Likewise.
53960 2012-11-07  Roland McGrath  <roland@hack.frob.com>
53962         [BZ #14815]
53963         * manual/filesys.texi (Directory Entries): Typo fix.
53964         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
53966 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
53968         * elf/elf.h (EM_AARCH64): New macro.
53969         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
53970         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
53971         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
53972         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
53973         (R_AARCH64_TLSDESC): Likewise.
53974         (NT_ARM_TLS): Likewise.
53975         (NT_ARM_HW_BREAK): Likewise.
53976         (NT_ARM_HW_WATCH): Likewise.
53978 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
53980         [BZ #14811]
53981         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
53982         (__ieee754_powl): Saturate nonzero exponents with absolute value
53983         below 0x1p-79 to +/- 0x1p-79.
53984         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
53985         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
53986         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
53987         nonzero exponents with absolute value below 0x1p-32 to +/-
53988         0x1p-32.
53989         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
53990         (__ieee754_powl): Saturate nonzero exponents with absolute value
53991         below 0x1p-79 to +/- 0x1p-79.
53992         * math/libm-test.inc (pow_test): Add more tests.
53994 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53996         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
53997         _dl_s390_cap_flags with kernel. Increase string length.
53998         (_dl_s390_platforms): Add z196 and zEC12.
54000 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
54002         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
54003         Change XOPEN21K to XOPEN2K.
54005 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
54007         * string/memmove.c: Use memcpy when possible.
54009 2012-11-06  Andreas Jaeger  <aj@suse.de>
54011         * po/eo.po: Update from translation team.
54013 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
54015         [BZ #14793]
54016         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
54017         exponent and small x and y exponents, scale x or y up.  Increase
54018         by 2 the exponent used in scaling up.
54019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54020         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54021         * math/libm-test.inc (fma_test): Add more tests.
54022         (fma_test_towardzero): Likewise.
54023         (fma_test_downward): Likewise.
54024         (fma_test_upward): Likewise.
54026 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
54028         [BZ #14805]
54029         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
54030         fenv_t *.
54032         [BZ #14801]
54033         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
54034         namespace for names of struct fields.
54035         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
54036         fenv_t fields.
54037         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
54038         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
54040 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54042         [BZ #3665]
54043         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
54045 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54047         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
54048         PTR_DEMANGLE.
54050         [BZ #5246]
54051         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
54052         PTR_DEMANGLE.
54054 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
54056         [BZ #14797]
54057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
54058         definitely overflow as x * y not x * y + z.
54059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54061         * math/libm-test.inc (fma_test): Add more tests.
54062         (fma_test_towardzero): Likewise.
54063         (fma_test_downward): Likewise.
54064         (fma_test_upward): Likewise.
54066 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
54068         [BZ #157]
54070         * include/stub-tag.h: Remove file.
54071         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
54072         '#include' of it.
54073         * manual/maint.texi (Porting): Don't reference it.
54074         * Makerules ($(objpfx)stubs): Likewise.
54075         * dirent/closedir.c: Don't include <stub-tag.h>.
54076         * dirent/dirfd.c: Likewise.
54077         * dirent/fdopendir.c: Likewise.
54078         * dirent/getdents.c: Likewise.
54079         * dirent/getdents64.c: Likewise.
54080         * dirent/opendir.c: Likewise.
54081         * dirent/readdir.c: Likewise.
54082         * dirent/readdir64.c: Likewise.
54083         * dirent/readdir64_r.c: Likewise.
54084         * dirent/readdir_r.c: Likewise.
54085         * dirent/rewinddir.c: Likewise.
54086         * dirent/seekdir.c: Likewise.
54087         * dirent/telldir.c: Likewise.
54088         * gmon/profil.c: Likewise.
54089         * grp/setgroups.c: Likewise.
54090         * inet/if_index.c: Likewise.
54091         * io/access.c: Likewise.
54092         * io/chdir.c: Likewise.
54093         * io/chmod.c: Likewise.
54094         * io/chown.c: Likewise.
54095         * io/close.c: Likewise.
54096         * io/dup.c: Likewise.
54097         * io/dup2.c: Likewise.
54098         * io/dup3.c: Likewise.
54099         * io/euidaccess.c: Likewise.
54100         * io/faccessat.c: Likewise.
54101         * io/fchdir.c: Likewise.
54102         * io/fchmod.c: Likewise.
54103         * io/fchmodat.c: Likewise.
54104         * io/fchown.c: Likewise.
54105         * io/fchownat.c: Likewise.
54106         * io/fcntl.c: Likewise.
54107         * io/flock.c: Likewise.
54108         * io/fstatfs.c: Likewise.
54109         * io/fstatfs64.c: Likewise.
54110         * io/fstatvfs.c: Likewise.
54111         * io/fstatvfs64.c: Likewise.
54112         * io/futimens.c: Likewise.
54113         * io/fxstat.c: Likewise.
54114         * io/fxstat64.c: Likewise.
54115         * io/fxstatat.c: Likewise.
54116         * io/fxstatat64.c: Likewise.
54117         * io/getcwd.c: Likewise.
54118         * io/isatty.c: Likewise.
54119         * io/lchmod.c: Likewise.
54120         * io/lchown.c: Likewise.
54121         * io/link.c: Likewise.
54122         * io/linkat.c: Likewise.
54123         * io/lseek.c: Likewise.
54124         * io/lseek64.c: Likewise.
54125         * io/lxstat64.c: Likewise.
54126         * io/mkdir.c: Likewise.
54127         * io/mkdirat.c: Likewise.
54128         * io/mkfifo.c: Likewise.
54129         * io/mkfifoat.c: Likewise.
54130         * io/open.c: Likewise.
54131         * io/open64.c: Likewise.
54132         * io/openat.c: Likewise.
54133         * io/openat64.c: Likewise.
54134         * io/pipe.c: Likewise.
54135         * io/pipe2.c: Likewise.
54136         * io/poll.c: Likewise.
54137         * io/posix_fadvise.c: Likewise.
54138         * io/posix_fadvise64.c: Likewise.
54139         * io/posix_fallocate.c: Likewise.
54140         * io/posix_fallocate64.c: Likewise.
54141         * io/read.c: Likewise.
54142         * io/readlink.c: Likewise.
54143         * io/readlinkat.c: Likewise.
54144         * io/rmdir.c: Likewise.
54145         * io/sendfile.c: Likewise.
54146         * io/sendfile64.c: Likewise.
54147         * io/statfs.c: Likewise.
54148         * io/statfs64.c: Likewise.
54149         * io/statvfs.c: Likewise.
54150         * io/statvfs64.c: Likewise.
54151         * io/symlink.c: Likewise.
54152         * io/symlinkat.c: Likewise.
54153         * io/ttyname.c: Likewise.
54154         * io/ttyname_r.c: Likewise.
54155         * io/umask.c: Likewise.
54156         * io/unlink.c: Likewise.
54157         * io/unlinkat.c: Likewise.
54158         * io/utime.c: Likewise.
54159         * io/utimensat.c: Likewise.
54160         * io/write.c: Likewise.
54161         * io/xmknod.c: Likewise.
54162         * io/xmknodat.c: Likewise.
54163         * io/xstat.c: Likewise.
54164         * io/xstat64.c: Likewise.
54165         * login/getpt.c: Likewise.
54166         * login/grantpt.c: Likewise.
54167         * login/unlockpt.c: Likewise.
54168         * math/e_acoshl.c: Likewise.
54169         * math/e_acosl.c: Likewise.
54170         * math/e_asinl.c: Likewise.
54171         * math/e_atan2l.c: Likewise.
54172         * math/e_atanhl.c: Likewise.
54173         * math/e_coshl.c: Likewise.
54174         * math/e_expl.c: Likewise.
54175         * math/e_fmodl.c: Likewise.
54176         * math/e_gammal_r.c: Likewise.
54177         * math/e_hypotl.c: Likewise.
54178         * math/e_j0l.c: Likewise.
54179         * math/e_j1l.c: Likewise.
54180         * math/e_jnl.c: Likewise.
54181         * math/e_lgammal_r.c: Likewise.
54182         * math/e_log10l.c: Likewise.
54183         * math/e_log2l.c: Likewise.
54184         * math/e_logl.c: Likewise.
54185         * math/e_powl.c: Likewise.
54186         * math/e_rem_pio2l.c: Likewise.
54187         * math/e_sinhl.c: Likewise.
54188         * math/e_sqrtl.c: Likewise.
54189         * math/fclrexcpt.c: Likewise.
54190         * math/fedisblxcpt.c: Likewise.
54191         * math/feenablxcpt.c: Likewise.
54192         * math/fegetenv.c: Likewise.
54193         * math/fegetexcept.c: Likewise.
54194         * math/fegetround.c: Likewise.
54195         * math/feholdexcpt.c: Likewise.
54196         * math/fesetenv.c: Likewise.
54197         * math/fesetround.c: Likewise.
54198         * math/feupdateenv.c: Likewise.
54199         * math/fgetexcptflg.c: Likewise.
54200         * math/fraiseexcpt.c: Likewise.
54201         * math/fsetexcptflg.c: Likewise.
54202         * math/ftestexcept.c: Likewise.
54203         * math/k_cosl.c: Likewise.
54204         * math/k_rem_pio2l.c: Likewise.
54205         * math/k_sinl.c: Likewise.
54206         * math/k_tanl.c: Likewise.
54207         * math/s_asinhl.c: Likewise.
54208         * math/s_atanl.c: Likewise.
54209         * math/s_cbrtl.c: Likewise.
54210         * math/s_erfl.c: Likewise.
54211         * math/s_expm1l.c: Likewise.
54212         * math/s_log1pl.c: Likewise.
54213         * math/s_tanhl.c: Likewise.
54214         * misc/acct.c: Likewise.
54215         * misc/brk.c: Likewise.
54216         * misc/chflags.c: Likewise.
54217         * misc/chroot.c: Likewise.
54218         * misc/fchflags.c: Likewise.
54219         * misc/fgetxattr.c: Likewise.
54220         * misc/flistxattr.c: Likewise.
54221         * misc/fremovexattr.c: Likewise.
54222         * misc/fsetxattr.c: Likewise.
54223         * misc/fsync.c: Likewise.
54224         * misc/ftruncate.c: Likewise.
54225         * misc/futimes.c: Likewise.
54226         * misc/futimesat.c: Likewise.
54227         * misc/getdomain.c: Likewise.
54228         * misc/getdtsz.c: Likewise.
54229         * misc/gethostid.c: Likewise.
54230         * misc/gethostname.c: Likewise.
54231         * misc/getloadavg.c: Likewise.
54232         * misc/getpagesize.c: Likewise.
54233         * misc/getsysstats.c: Likewise.
54234         * misc/getxattr.c: Likewise.
54235         * misc/gtty.c: Likewise.
54236         * misc/ioctl.c: Likewise.
54237         * misc/lgetxattr.c: Likewise.
54238         * misc/listxattr.c: Likewise.
54239         * misc/llistxattr.c: Likewise.
54240         * misc/lremovexattr.c: Likewise.
54241         * misc/lsetxattr.c: Likewise.
54242         * misc/lutimes.c: Likewise.
54243         * misc/madvise.c: Likewise.
54244         * misc/mincore.c: Likewise.
54245         * misc/mlock.c: Likewise.
54246         * misc/mlockall.c: Likewise.
54247         * misc/mmap.c: Likewise.
54248         * misc/mprotect.c: Likewise.
54249         * misc/msync.c: Likewise.
54250         * misc/munlock.c: Likewise.
54251         * misc/munlockall.c: Likewise.
54252         * misc/munmap.c: Likewise.
54253         * misc/preadv.c: Likewise.
54254         * misc/preadv64.c: Likewise.
54255         * misc/ptrace.c: Likewise.
54256         * misc/pwritev.c: Likewise.
54257         * misc/pwritev64.c: Likewise.
54258         * misc/readv.c: Likewise.
54259         * misc/reboot.c: Likewise.
54260         * misc/remap_file_pages.c: Likewise.
54261         * misc/removexattr.c: Likewise.
54262         * misc/revoke.c: Likewise.
54263         * misc/select.c: Likewise.
54264         * misc/setdomain.c: Likewise.
54265         * misc/setegid.c: Likewise.
54266         * misc/seteuid.c: Likewise.
54267         * misc/sethostid.c: Likewise.
54268         * misc/sethostname.c: Likewise.
54269         * misc/setregid.c: Likewise.
54270         * misc/setreuid.c: Likewise.
54271         * misc/setxattr.c: Likewise.
54272         * misc/sstk.c: Likewise.
54273         * misc/stty.c: Likewise.
54274         * misc/swapoff.c: Likewise.
54275         * misc/swapon.c: Likewise.
54276         * misc/sync.c: Likewise.
54277         * misc/syncfs.c: Likewise.
54278         * misc/syscall.c: Likewise.
54279         * misc/truncate.c: Likewise.
54280         * misc/ualarm.c: Likewise.
54281         * misc/usleep.c: Likewise.
54282         * misc/ustat.c: Likewise.
54283         * misc/utimes.c: Likewise.
54284         * misc/vhangup.c: Likewise.
54285         * misc/writev.c: Likewise.
54286         * posix/_exit.c: Likewise.
54287         * posix/alarm.c: Likewise.
54288         * posix/execve.c: Likewise.
54289         * posix/fexecve.c: Likewise.
54290         * posix/fork.c: Likewise.
54291         * posix/fpathconf.c: Likewise.
54292         * posix/getaddrinfo.c: Likewise.
54293         * posix/getegid.c: Likewise.
54294         * posix/geteuid.c: Likewise.
54295         * posix/getgid.c: Likewise.
54296         * posix/getgroups.c: Likewise.
54297         * posix/getlogin.c: Likewise.
54298         * posix/getlogin_r.c: Likewise.
54299         * posix/getpgid.c: Likewise.
54300         * posix/getpid.c: Likewise.
54301         * posix/getppid.c: Likewise.
54302         * posix/getresgid.c: Likewise.
54303         * posix/getresuid.c: Likewise.
54304         * posix/getsid.c: Likewise.
54305         * posix/getuid.c: Likewise.
54306         * posix/glob64.c: Likewise.
54307         * posix/nanosleep.c: Likewise.
54308         * posix/pathconf.c: Likewise.
54309         * posix/pause.c: Likewise.
54310         * posix/posix_madvise.c: Likewise.
54311         * posix/pread.c: Likewise.
54312         * posix/pread64.c: Likewise.
54313         * posix/pwrite.c: Likewise.
54314         * posix/pwrite64.c: Likewise.
54315         * posix/sched_getaffinity.c: Likewise.
54316         * posix/sched_getp.c: Likewise.
54317         * posix/sched_gets.c: Likewise.
54318         * posix/sched_primax.c: Likewise.
54319         * posix/sched_primin.c: Likewise.
54320         * posix/sched_rr_gi.c: Likewise.
54321         * posix/sched_setaffinity.c: Likewise.
54322         * posix/sched_setp.c: Likewise.
54323         * posix/sched_sets.c: Likewise.
54324         * posix/sched_yield.c: Likewise.
54325         * posix/setgid.c: Likewise.
54326         * posix/setlogin.c: Likewise.
54327         * posix/setpgid.c: Likewise.
54328         * posix/setresgid.c: Likewise.
54329         * posix/setresuid.c: Likewise.
54330         * posix/setsid.c: Likewise.
54331         * posix/setuid.c: Likewise.
54332         * posix/sleep.c: Likewise.
54333         * posix/spawni.c: Likewise.
54334         * posix/sysconf.c: Likewise.
54335         * posix/times.c: Likewise.
54336         * posix/wait.c: Likewise.
54337         * posix/wait3.c: Likewise.
54338         * posix/wait4.c: Likewise.
54339         * posix/waitpid.c: Likewise.
54340         * resolv/gai_sigqueue.c: Likewise.
54341         * resource/getpriority.c: Likewise.
54342         * resource/getrlimit.c: Likewise.
54343         * resource/getrusage.c: Likewise.
54344         * resource/nice.c: Likewise.
54345         * resource/setpriority.c: Likewise.
54346         * resource/setrlimit.c: Likewise.
54347         * resource/ulimit.c: Likewise.
54348         * rt/aio_cancel.c: Likewise.
54349         * rt/aio_fsync.c: Likewise.
54350         * rt/aio_read.c: Likewise.
54351         * rt/aio_sigqueue.c: Likewise.
54352         * rt/aio_suspend.c: Likewise.
54353         * rt/aio_write.c: Likewise.
54354         * rt/clock_getres.c: Likewise.
54355         * rt/clock_gettime.c: Likewise.
54356         * rt/clock_nanosleep.c: Likewise.
54357         * rt/clock_settime.c: Likewise.
54358         * rt/lio_listio.c: Likewise.
54359         * rt/mq_close.c: Likewise.
54360         * rt/mq_getattr.c: Likewise.
54361         * rt/mq_notify.c: Likewise.
54362         * rt/mq_open.c: Likewise.
54363         * rt/mq_receive.c: Likewise.
54364         * rt/mq_send.c: Likewise.
54365         * rt/mq_setattr.c: Likewise.
54366         * rt/mq_timedreceive.c: Likewise.
54367         * rt/mq_timedsend.c: Likewise.
54368         * rt/mq_unlink.c: Likewise.
54369         * rt/shm_open.c: Likewise.
54370         * rt/shm_unlink.c: Likewise.
54371         * rt/timer_create.c: Likewise.
54372         * rt/timer_delete.c: Likewise.
54373         * rt/timer_getoverr.c: Likewise.
54374         * rt/timer_gettime.c: Likewise.
54375         * rt/timer_settime.c: Likewise.
54376         * setjmp/__longjmp.c: Likewise.
54377         * setjmp/setjmp.c: Likewise.
54378         * signal/kill.c: Likewise.
54379         * signal/killpg.c: Likewise.
54380         * signal/raise.c: Likewise.
54381         * signal/sigaction.c: Likewise.
54382         * signal/sigaltstack.c: Likewise.
54383         * signal/sigblock.c: Likewise.
54384         * signal/sigignore.c: Likewise.
54385         * signal/sigintr.c: Likewise.
54386         * signal/signal.c: Likewise.
54387         * signal/sigpause.c: Likewise.
54388         * signal/sigpending.c: Likewise.
54389         * signal/sigqueue.c: Likewise.
54390         * signal/sigreturn.c: Likewise.
54391         * signal/sigset.c: Likewise.
54392         * signal/sigsetmask.c: Likewise.
54393         * signal/sigstack.c: Likewise.
54394         * signal/sigsuspend.c: Likewise.
54395         * signal/sigtimedwait.c: Likewise.
54396         * signal/sigvec.c: Likewise.
54397         * signal/sigwait.c: Likewise.
54398         * signal/sigwaitinfo.c: Likewise.
54399         * signal/sysv_signal.c: Likewise.
54400         * socket/accept.c: Likewise.
54401         * socket/accept4.c: Likewise.
54402         * socket/bind.c: Likewise.
54403         * socket/connect.c: Likewise.
54404         * socket/getpeername.c: Likewise.
54405         * socket/getsockname.c: Likewise.
54406         * socket/getsockopt.c: Likewise.
54407         * socket/isfdtype.c: Likewise.
54408         * socket/listen.c: Likewise.
54409         * socket/recv.c: Likewise.
54410         * socket/recvfrom.c: Likewise.
54411         * socket/recvmsg.c: Likewise.
54412         * socket/send.c: Likewise.
54413         * socket/sendmsg.c: Likewise.
54414         * socket/sendto.c: Likewise.
54415         * socket/setsockopt.c: Likewise.
54416         * socket/shutdown.c: Likewise.
54417         * socket/sockatmark.c: Likewise.
54418         * socket/socket.c: Likewise.
54419         * socket/socketpair.c: Likewise.
54420         * stdio-common/ctermid.c: Likewise.
54421         * stdio-common/cuserid.c: Likewise.
54422         * stdio-common/remove.c: Likewise.
54423         * stdio-common/rename.c: Likewise.
54424         * stdio-common/renameat.c: Likewise.
54425         * stdio-common/tempname.c: Likewise.
54426         * stdlib/getcontext.c: Likewise.
54427         * stdlib/makecontext.c: Likewise.
54428         * stdlib/setcontext.c: Likewise.
54429         * stdlib/swapcontext.c: Likewise.
54430         * stdlib/system.c: Likewise.
54431         * streams/fattach.c: Likewise.
54432         * streams/fdetach.c: Likewise.
54433         * streams/getmsg.c: Likewise.
54434         * streams/getpmsg.c: Likewise.
54435         * streams/putmsg.c: Likewise.
54436         * streams/putpmsg.c: Likewise.
54437         * sysdeps/unix/bsd/getpt.c: Likewise.
54438         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
54439         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
54440         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
54441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54442         Likewise.
54443         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
54444         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54445         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
54446         * sysvipc/msgctl.c: Likewise.
54447         * sysvipc/msgget.c: Likewise.
54448         * sysvipc/msgrcv.c: Likewise.
54449         * sysvipc/msgsnd.c: Likewise.
54450         * sysvipc/semctl.c: Likewise.
54451         * sysvipc/semget.c: Likewise.
54452         * sysvipc/semop.c: Likewise.
54453         * sysvipc/semtimedop.c: Likewise.
54454         * sysvipc/shmat.c: Likewise.
54455         * sysvipc/shmctl.c: Likewise.
54456         * sysvipc/shmdt.c: Likewise.
54457         * sysvipc/shmget.c: Likewise.
54458         * termios/tcdrain.c: Likewise.
54459         * termios/tcflow.c: Likewise.
54460         * termios/tcflush.c: Likewise.
54461         * termios/tcgetattr.c: Likewise.
54462         * termios/tcgetpgrp.c: Likewise.
54463         * termios/tcsendbrk.c: Likewise.
54464         * termios/tcsetattr.c: Likewise.
54465         * termios/tcsetpgrp.c: Likewise.
54466         * time/adjtime.c: Likewise.
54467         * time/clock.c: Likewise.
54468         * time/getitimer.c: Likewise.
54469         * time/gettimeofday.c: Likewise.
54470         * time/setitimer.c: Likewise.
54471         * time/settimeofday.c: Likewise.
54472         * time/stime.c: Likewise.
54473         * time/time.c: Likewise.
54475 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
54477         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
54478         /usr/old/bin.
54480         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
54481         instead of spaces.
54482         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
54484 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
54486         [BZ #14796]
54487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
54488         FE_TONEAREST before applying Dekker multiplication and Knuth
54489         addition.  Clear inexact exceptions and check for exact zero
54490         results afterwards.
54491         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54492         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54493         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54494         * math/libm-test.inc (fma_test): Add more tests.
54495         (fma_test_towardzero): Likewise.
54496         (fma_test_downward): Likewise.
54497         (fma_test_upward): Likewise.
54498         * sysdeps/generic/math_private.h (default_libc_fesetround): New
54499         function.
54500         (libc_fesetround): New macro.
54501         (libc_fesetroundf): Likewise.
54502         (libc_fesetroundl): Likewise.
54503         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
54504         function.
54505         (libc_fesetround_387): Likewise.
54506         (libc_fesetroundf): New macro.
54507         (libc_fesetround): Likewise.
54508         (libc_fesetroundl): Likewise.
54509         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
54510         function.
54511         (libc_fesetroundf): New macro.
54512         (libc_fesetround): Likewise.
54513         (libc_fesetroundl): Likewise.
54514         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
54515         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
54516         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
54517         libm_hidden_ver.
54518         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
54519         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
54520         libm_hidden_def.
54521         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
54522         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
54523         libm_hidden_ver.
54524         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
54525         libm_hidden_def.
54527         [BZ #3439]
54528         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
54529         integer constant usable in #if and use that to give value to enum
54530         constant.
54531         (FE_DIVBYZERO): Likewise.
54532         (FE_UNDERFLOW): Likewise.
54533         (FE_OVERFLOW): Likewise.
54534         (FE_INVALID): Likewise.
54535         (FE_INVALID_SNAN): Likewise.
54536         (FE_INVALID_ISI): Likewise.
54537         (FE_INVALID_IDI): Likewise.
54538         (FE_INVALID_ZDZ): Likewise.
54539         (FE_INVALID_IMZ): Likewise.
54540         (FE_INVALID_COMPARE): Likewise.
54541         (FE_INVALID_SOFTWARE): Likewise.
54542         (FE_INVALID_SQRT): Likewise.
54543         (FE_INVALID_INTEGER_CONVERSION): Likewise.
54544         (FE_TONEAREST): Likewise.
54545         (FE_TOWARDZERO): Likewise.
54546         (FE_UPWARD): Likewise.
54547         (FE_DOWNWARD): Likewise.
54548         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
54549         (FE_DIVBYZERO): Likewise.
54550         (FE_OVERFLOW): Likewise.
54551         (FE_UNDERFLOW): Likewise.
54552         (FE_INEXACT): Likewise.
54553         (FE_TONEAREST): Likewise.
54554         (FE_DOWNWARD): Likewise.
54555         (FE_UPWARD): Likewise.
54556         (FE_TOWARDZERO): Likewise.
54557         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
54558         (FE_UNDERFLOW): Likewise.
54559         (FE_OVERFLOW): Likewise.
54560         (FE_DIVBYZERO): Likewise.
54561         (FE_INVALID): Likewise.
54562         (FE_TONEAREST): Likewise.
54563         (FE_TOWARDZERO): Likewise.
54564         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
54565         (FE_OVERFLOW): Likewise.
54566         (FE_UNDERFLOW): Likewise.
54567         (FE_DIVBYZERO): Likewise.
54568         (FE_INEXACT): Likewise.
54569         (FE_TONEAREST): Likewise.
54570         (FE_TOWARDZERO): Likewise.
54571         (FE_UPWARD): Likewise.
54572         (FE_DOWNWARD): Likewise.
54573         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
54574         (FE_DIVBYZERO): Likewise.
54575         (FE_OVERFLOW): Likewise.
54576         (FE_UNDERFLOW): Likewise.
54577         (FE_INEXACT): Likewise.
54578         (FE_TONEAREST): Likewise.
54579         (FE_DOWNWARD): Likewise.
54580         (FE_UPWARD): Likewise.
54581         (FE_TOWARDZERO): Likewise.
54583 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
54585         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
54587 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
54589         * scripts/cross-test-ssh.sh (command): Use newlines to separate
54590         commands.  Quote $PWD.
54591         (blacklist_exports): Don't use remove_newlines.  Replace "declare
54592         -x" by "export".
54593         (remove_newlines): Remove.
54595 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
54597         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
54598         * stdlib/stdlib.h (atof): Moved to ...
54599         * include/bits/stdlib-float.h: Here.  New file.
54600         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
54601         * stdlib/bits/stdlib-float.h: New file.
54602         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
54603         -mno-sse -mno-mmx.
54604         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
54605         <xmmintrin.h>.
54607 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54609         * conform/conformtest.pl (@headers): Add fenv.h.
54610         * conform/data/fenv.h-data: New file.
54611         * include/fenv.h [_ISOMAC]: Disable all contents of file except
54612         include of <math/fenv.h>.
54614         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
54615         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
54616         && !UNIX98].  Enables tests for XOPEN2K8.
54617         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
54618         POSIX2008]: Likewise.
54620         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
54621         (struct rusage): Do not expect type or its members.
54623         [BZ #3439]
54624         * math/math.h (FP_NAN): Define macro to integer constant usable in
54625         #if and use that to give value to enum constant.
54626         (FP_INFINITE): Likewise.
54627         (FP_ZERO): Likewise.
54628         (FP_SUBNORMAL): Likewise.
54629         (FP_NORMAL): Likewise.
54631 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
54633         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
54634         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
54635         arguments.
54637 2012-11-02  Roland McGrath  <roland@hack.frob.com>
54639         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
54640         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
54641         autoconf-time if not.
54642         * configure.in: Remove AC_PREREQ.
54644 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54646         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
54647         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
54648         of the internal implementation.
54650 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
54652         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
54653         except include of <misc/sys/syslog.h>.
54655 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
54658         function returns with a NULL context exit with zero.
54660 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54662         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
54664 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
54666         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
54667         (run_program_cmd): This.
54668         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
54669         (tst_langinfo): New variable.  Use it.
54671 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
54673         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
54674         floating point opcodes.
54676 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54678         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
54679         variable.
54681         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
54683         * sysdeps/mach/hurd/powerpc: Remove directory.
54684         * sysdeps/mach/powerpc: Likewise.
54686 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54688         * scripts/check-local-headers.sh: Ignore c++ headers.
54690 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54692         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
54693         __libc_cleanup_region_start argument.
54695 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
54697         [BZ #14784]
54698         [BZ #14785]
54699         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
54700         x * y using scaling, not as x * y + z.
54701         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54702         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54703         * math/libm-test.inc (fma_test): Add more tests.
54704         (fma_test_towardzero): Likewise.
54705         (fma_test_downward): Likewise.
54706         (fma_test_upward): Likewise.
54708 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
54710         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
54712 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54714         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
54715         New variable.
54717 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
54719         * rt/tst-shm.c (worker): Correct checking for mmap failure.
54721 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54724         Fix sort order.
54725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54726         Likewise.
54728 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54731         Fix the order of the list for glibc 2.17.
54732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54733         Likewise.
54735 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
54737         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54739 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
54741         [BZ #14610]
54742         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
54743         for low part of x being zero before using __atanl (y).
54744         * math/libm-test.inc (atan2_test): Add another test.
54746         * manual/install.texi (Configuring and compiling): Document
54747         general use of test-wrapper and test-wrapper-env.
54748         * INSTALL: Regenerated.
54750         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
54751         (__fma): Do not extract and scale down low bits on after-rounding
54752         systems when result rounded to normal precision would have normal
54753         exponent.
54754         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
54755         (__fmal): Do not extract and scale down low bits on after-rounding
54756         systems when result rounded to normal precision would have normal
54757         exponent.
54758         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
54759         (__fmal): Do not extract and scale down low bits on after-rounding
54760         systems when result rounded to normal precision would have normal
54761         exponent.
54762         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
54763         macro.
54764         (fma_test): Add more tests.
54765         (fma_test_towardzero): Likewise.
54766         (fma_test_downward): Likewise.
54767         (fma_test_upward): Likewise.
54769 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
54771         * sysdeps/i386/tininess.h: Renamed to ...
54772         * sysdeps/x86/tininess.h: This.
54773         * sysdeps/x86_64/tininess.h: Removed.
54775 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54777         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
54778         input.  Use $(build-program-cmd).
54779         ($(objpfx)tst-array1-static.out): Likewise.
54780         ($(objpfx)tst-array2.out): Likewise.
54781         ($(objpfx)tst-array3.out): Likewise.
54782         ($(objpfx)tst-array4.out): Likewise.
54783         ($(objpfx)tst-array5.out): Likewise.
54784         ($(objpfx)tst-array5-static.out): Likewise.
54786 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
54788         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
54789         if defined.
54791         * nss/nsswitch.h (nss_interface_function): Provide new
54792         macro for use with NSS functions.
54793         * grp/initgroups.c: Use new macro.
54794         * nss/getXXbyYY.c: Likewise.
54795         * nss/getXXbyYY_r.c: Likewise.
54796         * nss/getXXent.c: Likewise.
54797         * nss/getXXent_r.c: Likewise.
54798         * sysdeps/posix/getaddrinfo.c: Likewise.
54800 2012-10-30  Andreas Jaeger  <aj@suse.de>
54802         * po/ru.po: Update Russion translation from translation project.
54804 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
54806         [BZ #14152]
54807         [BZ #14783]
54808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
54809         result and shift together with sticky bit instead of replicating
54810         round-to-nearest rounding.
54811         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54812         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54813         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
54814         missing underflow exceptions.
54815         (fma_test_towardzero): Add more tests.
54816         (fma_test_downward): Likewise.
54817         (fma_test_upward): Likewise.
54819         [BZ #14047]
54820         * sysdeps/generic/tininess.h: New file.
54821         * sysdeps/i386/tininess.h: Likewise.
54822         * sysdeps/sh/tininess.h: Likewise.
54823         * sysdeps/x86_64/tininess.h: Likewise.
54824         * stdlib/tst-strtod-underflow.c: Likewise.
54825         * stdlib/tst-tininess.c: Likewise.
54826         * stdlib/strtod_l.c: Include <tininess.h>.
54827         (round_and_return): Do not set errno for exact underflow cases.
54828         Force an underflow exception when setting errno for underflow.
54829         Determine underflow based on rounding to normal precision if
54830         TININESS_AFTER_ROUNDING.
54831         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
54832         ERANGE for exact underflow cases.
54833         * stdlib/Makefile (tests): Add tst-tininess and
54834         tst-strtod-underflow.
54835         ($(objpfx)tst-tininess): Use $(link-libm).
54836         ($(objpfx)tst-strtod-underflow): Likewise.
54838 2012-10-30  Andreas Jaeger  <aj@suse.de>
54840         [BZ#14767]
54841         * elf/Makefile (tests): Remove conditional for have-initfini-array
54842         since this is now always required and the variable does not exist
54843         anymore.
54844         (tests-static): Likewise.
54845         (modules-names): Likewise.
54847         * po/eo.po: Add Esperanto translation from translation project.
54849         * elf/tst-array1.c (fini_array): Make writeable so that it can be
54850         merged with constructor/destructor.
54851         (init_array): Likewise.
54852         * elf/tst-array2dep.c (fini_array): Likewise.
54853         (init_array): Likewise.
54855 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
54857         * manual/message.texi: Delete @cartouche tags.
54859 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
54861         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
54862         EOPNOTSUPP.
54863         * sysdeps/mach/hurd/fsync.c: Likewise.
54865         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
54866         [_POSIX_REALTIME_SIGNALS]: Change condition to
54867         [_POSIX_REALTIME_SIGNALS > 0].
54869 2012-10-27  Andreas Jaeger  <aj@suse.de>
54871         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
54872         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
54873         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
54874         [__WORDSIZE != 64]: Likewise.
54876 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
54878         *  iconvdata/tst-table.sh: Remove ${SHELL}.
54879         *  iconvdata/tst-tables.sh: Likewise.
54881 2012-10-25  David S. Miller  <davem@davemloft.net>
54883         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54884         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
54885         of strtoull.
54887         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
54888         ifunc-impl-list.c
54889         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54890         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
54891         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
54892         file.
54894 2012-10-25  Roland McGrath  <roland@hack.frob.com>
54896         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
54897         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
54898         __getdirentries.
54900 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54901             Jim Blandy  <jimb@codesourcery.com>
54903         * scripts/cross-test-ssh.sh: New file.
54904         * manual/install.texi (Configuring and compiling): Document use of
54905         cross-test-ssh.sh.
54906         * INSTALL: Regenerated.
54908 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
54910         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
54911         EOPNOTSUPP.
54913 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
54915         * Makeconfig (run-program-prefix): Fix comment.
54917 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
54918             Jim Blandy  <jimb@codesourcery.com>
54920         * Makeconfig (test-wrapper): New variable,
54921         (test-wrapper-env): Likewise.
54922         [$(cross-compiling) = yes && $(test-wrapper) != ""]
54923         (run-built-tests): Define to yes.
54924         (run-program-prefix): Use $(test-wrapper).
54925         (built-program-cmd): Likewise.
54926         * Rules (make-test-out): Use $(test-wrapper-env) and
54927         $(host-built-program-cmd).
54928         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
54929         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
54930         tst-pathopt.sh.
54931         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
54932         $(test-wrapper-env) to tst-rtld-load-self.sh.
54933         ($(objpfx)order2.out): Use $(test-wrapper).
54934         ($(objpfx)tst-initorder.out): Likewise.
54935         ($(objpfx)tst-initorder2.out): Likewise.
54936         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
54937         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
54938         (test_wrapper_env): New variable.  Use it to run ld.so.
54939         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
54940         Use it to run ld.so.
54941         (test_wrapper_env): Likewise.
54942         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
54943         $(test-wrapper) to run-iconv-test.sh.
54944         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
54945         (ICONV): Use $test_wrapper.
54946         * posix/Makefile ($(objpfx)globtest.out): Pass
54947         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
54948         globtest.sh, not $(run-program-prefix).
54949         * posix/globtest.sh (run_via_rtld_prefix): New variable.
54950         (test_wrapper): Likewise.
54951         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
54952         set together with run_via_rtld_prefix.
54953         (run_program_prefix): Define in terms of test_wrapper and
54954         run_via_rtld_prefix.
54956 2012-10-24  Roland McGrath  <roland@hack.frob.com>
54958         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
54959         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
54960         Targets removed.
54962         [BZ #14743]
54963         * include/time.h: Remove librt_hidden_proto (clock_gettime).
54964         Declare __clock_getres, __clock_gettime, __clock_settime,
54965         __clock_nanosleep, and __clock_getcpuclockid.
54966         * rt/clock_gettime.c: Define __clock_gettime as an alias.
54967         Remove librt_hidden_def (clock_gettime).
54968         * sysdeps/unix/clock_gettime.c: Likewise.
54969         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
54970         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
54971         * rt/clock_getres.c: Define __clock_getres as an alias.
54972         * sysdeps/posix/clock_getres.c: Likewise.
54973         * rt/clock_settime.c: Define __clock_settime as an alias.
54974         * sysdeps/unix/clock_settime.c: Likewise.
54975         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
54976         * sysdeps/unix/clock_nanosleep.c: Likewise.
54977         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
54978         * rt/clock-compat.c: New file.
54979         * rt/Makefile (librt-routines): Add clock-compat and move
54980         $(clock-routines) to ...
54981         (routines): ... here, new variable.
54982         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
54983         Don't add get_clockfreq here.
54984         * rt/Versions (libc: GLIBC_2.17): New version set.
54985         Add clock_* symbols here.
54986         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
54987         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
54988         (GLIBC_2.17): Add clock_* symbols.
54989         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
54990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
54991         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54993         Likewise.
54994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54995         Likewise.
54996         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
54998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
54999         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
55000         * NEWS: Mention the move.
55002         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
55003         Use __open, __read, __close rather than their public counterparts.
55004         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55005         (__get_clockfreq_via_cpuinfo): Likewise.
55006         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
55007         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
55009         * config.h.in (HAVE_IFUNC): New #undef.
55010         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
55011         was successful.
55012         * configure: Regenerated.
55014 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55016         * configure.in: Move READELF check to start of file.
55017         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
55018         libc_cv_asm_gnu_indirect_function in the process.
55019         * configure: Regenerated.
55021 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
55023         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
55024         send the output to /dev/null.
55025         (libc_cv_cc_with_libunwind): Likewise.
55026         (libc_cv_as_noexecstack): Likewise.
55027         * configure: Regenerate.
55029 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
55031         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
55033         * posix/globtest.sh (TMPDIR): Do not set.
55034         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
55035         (testout): Likewise.
55037 2012-10-24  Andreas Jaeger  <aj@suse.de>
55039         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
55040         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
55041         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
55042         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
55043         posix_fadvise64, posix_fallocate64.
55045         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
55046         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
55047         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
55048         Likewise.
55049         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
55050         Likewise.
55051         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
55053         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
55054         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
55055         <bits/fcntl-linux.h>.
55056         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
55058         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
55059         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
55060         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
55061         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
55062         [__WORDSIZE != 64]: Likewise.
55064 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55066         * Makeconfig (run-built-tests): New variable.
55067         * Rules [$(cross-compiling) = yes]: Change condition to
55068         [$(run-built-tests) = no].
55069         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
55070         to [$(run-built-tests) = yes].
55071         * elf/Makefile [$(cross-compiling) = no]: Likewise.
55072         * grp/Makefile [$(cross-compiling) = no]: Likewise.
55073         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
55074         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
55075         * intl/Makefile [$(cross-compiling) = no]: Likewise.
55076         * io/Makefile [$(cross-compiling) = no]: Likewise.
55077         * libio/Makefile [$(cross-compiling) = no]: Likewise.
55078         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
55079         * misc/Makefile [$(cross-compiling) = no]: Likewise.
55080         * posix/Makefile [$(cross-compiling) = no]: Likewise.
55081         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
55082         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
55083         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
55084         * string/Makefile [$(cross-compiling) = no]: Likewise.
55086         * posix/Makefile ($(objpfx)globtest.out): Pass
55087         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
55088         $(rtld-installed-name).
55089         * posix/globtest.sh (elf_objpfx): Remove variable.
55090         (rtld_installed_name): Likewise.
55091         (library_path): Likewise.
55092         (run_program_prefix): New variable.  Use for running globtest
55093         binary.
55095 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
55096             Joseph Myers  <joseph@codesourcery.com>
55098         * Makeconfig (host-built-program-cmd): New variable.
55099         * elf/Makefile (tst-stackguard1-ARGS): Use
55100         $(host-built-program-cmd).
55101         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
55102         (tst-spawn-ARGS): Likewise.
55103         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
55105 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
55106             Jim Blandy  <jimb@codesourcery.com>
55108         * Makeconfig (run-via-rtld-prefix): New variable.
55109         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
55110         (built-program-cmd): Likewise.
55112 2012-10-22  Andreas Jaeger  <aj@suse.de>
55114         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
55115         __O_RSYNC if it exists, otherwise to O_SYNC.
55117 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
55118             Joseph Myers  <joseph@codesourcery.com>
55120         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
55121         /dev/null.
55122         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
55123         from /dev/null
55124         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
55125         /dev/null.
55127 2012-10-22  Andreas Jaeger  <aj@suse.de>
55129         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
55130         Define always.
55131         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
55133         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55134         bits/fcntl-linux.h.
55136         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
55137         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
55139         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
55140         to __O_LARGEFILE.
55141         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
55142         to __O_LARGEFILE.
55144 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
55145             Joseph Myers  <joseph@codesourcery.com>
55147         * config.make.in (NM): New variable.
55149 2012-10-21  Andreas Jaeger  <aj@suse.de>
55151         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
55152         definitions and declarations that are provided by
55153         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
55155 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55157         [BZ #14683]
55158         * elf/Makefile (tests-static): Add tst-leaks1-static.
55159         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
55160         ($(objpfx)tst-leaks1-static): New rule.
55161         ($(objpfx)tst-leaks1-static-mem): Likewise.
55162         (tst-leaks1-static-ENV): New macro.
55163         * elf/dl-open.c (dl_open_worker): Check the main application
55164         only if SHARED is defined.
55165         * elf/tst-leaks1-static.c: New file.
55167 2012-10-20  Andreas Jaeger  <aj@suse.de>
55169         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
55170         generic values for Linux.
55171         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
55172         and declarations that are provided by <bits/fcntl-linux.h> and
55173         include <bits/fcntl-linux.h>.
55174         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55177 2012-10-20  Roland McGrath  <roland@hack.frob.com>
55179         * io/fcntl.h: Move include of <bits/types.h> to the top and
55180         include it unconditionally.
55182 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
55184         * wcsmbs/Makefile (tests-ifunc): New variable.
55185         (tests): Add $(tests-ifunc).
55186         * wcsmbs/test-wcschr-ifunc.c: New file.
55187         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
55188         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
55189         * wcsmbs/test-wcslen-ifunc.c: Likewise.
55190         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
55191         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
55193         * string/Makefile (tests-ifunc): New variable.
55194         (tests): Add $(tests-ifunc).
55195         * string/test-memccpy.c (TEST_NAME): New macro.
55196         * string/test-memchr.c (TEST_NAME): Likewise.
55197         * string/test-memcmp.c (TEST_NAME): Likewise.
55198         * string/test-memcpy.c (TEST_NAME): Likewise.
55199         * string/test-memmem.c (TEST_NAME): Likewise.
55200         * string/test-memmove.c (TEST_NAME): Likewise.
55201         * string/test-memset.c (TEST_NAME): Likewise.
55202         * string/test-rawmemchr.c (TEST_NAME): Likewise.
55203         * string/test-stpcpy.c (TEST_NAME): Likewise.
55204         * string/test-stpncpy.c (TEST_NAME): Likewise.
55205         * string/test-strcasecmp.c (TEST_NAME): Likewise.
55206         * string/test-strcasestr.c (TEST_NAME): Likewise.
55207         * string/test-strcat.c (TEST_NAME): Likewise.
55208         * string/test-strchr.c (TEST_NAME): Likewise.
55209         * string/test-strcmp.c(TEST_NAME): Likewise.
55210         * string/test-strcpy.c (TEST_NAME): Likewise.
55211         * string/test-strcspn.c (TEST_NAME): Likewise.
55212         * string/test-strlen.c (TEST_NAME): Likewise.
55213         * string/test-strncasecmp.c (TEST_NAME): Likewise.
55214         * string/test-strncmp.c (TEST_NAME): Likewise.
55215         * string/test-strncpy.c (TEST_NAME): Likewise.
55216         * string/test-strnlen.c (TEST_NAME): Likewise.
55217         * string/test-strpbrk.c (TEST_NAME): Likewise.
55218         * string/test-strrchr.c (TEST_NAME): Likewise.
55219         * string/test-strspn.c (TEST_NAME): Likewise.
55220         * string/test-strstr.c (TEST_NAME): Likewise.
55221         * string/test-bcopy-ifunc.c: New file.
55222         * string/test-bzero-ifunc.c: Likewise.
55223         * string/test-memccpy-ifunc.c: Likewise.
55224         * string/test-memchr-ifunc.c: Likewise.
55225         * string/test-memcmp-ifunc.c: Likewise.
55226         * string/test-memcpy-ifunc.c: Likewise.
55227         * string/test-memmem-ifunc.c: Likewise.
55228         * string/test-memmove-ifunc.c: Likewise.
55229         * string/test-mempcpy-ifunc.c: Likewise.
55230         * string/test-memset-ifunc.c: Likewise.
55231         * string/test-rawmemchr-ifunc.c: Likewise.
55232         * string/test-stpcpy-ifunc.c: Likewise.
55233         * string/test-stpncpy-ifunc.c: Likewise.
55234         * string/test-strcasecmp-ifunc.c: Likewise.
55235         * string/test-strcasestr-ifunc.c: Likewise.
55236         * string/test-strcat-ifunc.c: Likewise.
55237         * string/test-strchr-ifunc.c: Likewise.
55238         * string/test-strchrnul-ifunc.c: Likewise.
55239         * string/test-strcmp-ifunc.c: Likewise.
55240         * string/test-strcpy-ifunc.c: Likewise.
55241         * string/test-strcspn-ifunc.c: Likewise.
55242         * string/test-strlen-ifunc.c: Likewise.
55243         * string/test-strncasecmp-ifunc.c: Likewise.
55244         * string/test-strncat-ifunc.c: Likewise.
55245         * string/test-strncmp-ifunc.c: Likewise.
55246         * string/test-strncpy-ifunc.c: Likewise.
55247         * string/test-strnlen-ifunc.c: Likewise.
55248         * string/test-strpbrk-ifunc.c: Likewise.
55249         * string/test-strrchr-ifunc.c: Likewise.
55250         * string/test-strspn-ifunc.c: Likewise.
55251         * string/test-strstr-ifunc.c: Likewise.
55253         * debug/Makefile (tests-ifunc): New variable.
55254         (tests): Add $(tests-ifunc).
55255         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
55256         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
55257         * debug/test-stpcpy_chk-ifunc.c: New file.
55258         * debug/test-strcpy_chk-ifunc.c: Likewise.
55260 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55262         [BZ #13601]
55263         * elf/dl-load.c (open_verify): Retry read if the entire ELF
55264         header is not read in.
55266 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
55268         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
55269         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
55270         directly.  Pass built executable to script as
55271         $(built-program-cmd).
55272         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
55273         $testprogram without using LD_LIBRARY_PATH and $ldso.
55275         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
55276         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
55277         $(rtld-installed-name).
55278         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
55279         (rtld_installed_name): Likewise.
55280         (library_path): Likewise.
55281         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
55282         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
55283         $(run-program-prefix) to tst-tables.sh.
55284         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
55285         it to run tst-table-from and tst-table-to.
55286         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
55287         Pass it to tst-table.sh.
55288         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
55289         $(run-program-prefix) to tst-gettext.sh.
55290         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
55291         tst-translit.sh.
55292         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
55293         tst-gettext2.sh.
55294         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
55295         to run tst-gettext.
55296         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
55297         to run tst-gettext2.
55298         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
55299         to run tst-translit.
55300         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
55301         $(run-program-prefix) to tst-mtrace.sh.
55302         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
55303         to run tst-mtrace.
55304         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
55305         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
55306         $(rtld-installed-name).
55307         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
55308         (rtld_installed_name): Likewise.
55309         (run_program_prefix): New variable.  Use it to run wordexp-test.
55311         * Makeconfig (ARCH): Remove all definitions.
55312         (machine): Likewise.
55313         [ARCH]: Remove conditional code.
55314         [!objdir]: Give error.
55315         [!objdir] (objpfx): Remove.
55316         [!objdir] (common-objpfx): Likewise.
55317         [!objdir] (common-objdir): Likewise.
55318         * configure.in (config_makefile): Remove.  Hardcode Makefile in
55319         AC_CONFIG_FILES call.
55320         * configure: Regenerated.
55322         [BZ #13888]
55323         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
55324         or TMPDIR.
55325         (testout): Likewise.
55327         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
55328         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
55329         $(rtld-installed-name).
55330         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
55331         (rtld_installed_name): Likwise.
55332         (runit): Remove function.
55333         (run_getconf): New variable,  Use it for running getconf binary.
55335 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
55337         [BZ #14716]
55338         * string/test-memmem.c (check_result): New function.
55339         (do_one_test): Use it.
55340         (check1): New function.
55341         (test_main): Use it.
55343 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
55345         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
55347 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
55349         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
55350         (_G_LSEEK64): Likewise.
55351         (_G_MMAP64): Likewise.
55352         (_G_FSTAT64): Likewise.
55353         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
55354         (_G_LSEEK64): Likewise.
55355         (_G_MMAP64): Likewise.
55356         (_G_FSTAT64): Likewise.
55357         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
55358         unconditional.  Call __mmap64 directly.
55359         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
55360         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
55361         __lseek64 directly.
55362         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
55363         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
55364         __mmap64 directly.
55365         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
55366         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55367         __lseek64 directly.
55368         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
55369         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
55370         __lseek64 directly.
55371         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
55372         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
55373         __lseek64 directly.
55374         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
55375         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
55376         __fxstat64 directly.
55377         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
55378         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
55379         unconditional.
55380         (freopen64) [!_G_OPEN64]: Remove conditional code.
55381         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
55382         unconditional.
55383         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
55384         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
55385         unconditional.
55386         (ftello64) [!_G_LSEEK64]: Remove conditional code.
55387         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
55388         unconditional.
55389         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55390         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
55391         unconditional.
55392         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
55393         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
55394         unconditional.
55395         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55396         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
55397         unconditional.
55398         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
55399         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
55400         unconditional.
55401         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
55403 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55405         [BZ #12140]
55406         * manual/memory.texi (Malloc Tunable Parameters): Add note
55407         about free list pointers overwriting some perturb bytes.
55408         Wording suggested by Roland McGrath.
55410 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
55412         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
55413         (lgamma_test): Likewise.
55414         (tgamma_test): Likewise.
55416 2012-10-16  Florian Weimer  <fweimer@redhat.com>
55418         [BZ #14700]
55419         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
55420         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
55422 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
55424         * NEWS: Mention BZ #14716.
55425         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
55426         when removing AVAILABLE1_USES_J macro.
55428 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
55430         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
55431         (__bswap_64): __uint64_t for unsigned 64-bit int.
55433 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
55435         * include/string.h (memmem): Declare libc hidden alias.
55436         * string/memmem.c (memmem): Define libc hidden alias.
55437         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
55438         __read, __close instead of open, read, close.
55440 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
55442         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
55443         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
55444         global and hidden.
55445         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
55446         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
55447         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
55448         Likewise.
55449         (__rawmemchr_sse2): Likewise.
55450         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
55451         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
55452         (__strchr_sse2): Likewise.
55453         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
55454         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
55455         (__strcasecmp_sse2): Likewise.
55456         (__strncasecmp_sse2): Likewise.
55457         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
55458         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
55459         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
55460         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
55461         (__strrchr_sse2): Likewise.
55462         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
55463         ifunc-impl-list.c.
55464         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
55465         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
55466         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
55467         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55468         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
55469         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
55470         * sysdeps/x86_64/multiarch/memset.S: Likewise.
55471         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
55472         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
55473         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
55474         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
55475         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
55476         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
55477         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
55478         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
55479         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
55480         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
55481         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
55482         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
55483         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
55484         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
55485         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
55486         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
55487         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55488         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
55489         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55490         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
55491         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
55492         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
55493         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
55495         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
55496         global and hidden.
55497         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
55498         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
55499         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
55500         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
55501         Likewise.
55502         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
55503         Likewise.
55504         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
55505         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
55506         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
55507         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
55508         ifunc-impl-list.c.
55509         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
55510         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
55511         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
55512         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
55513         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
55514         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
55515         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
55516         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
55517         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
55518         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
55519         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
55520         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
55521         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
55522         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
55523         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
55524         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
55525         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
55526         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
55527         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
55528         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
55529         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
55530         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
55531         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
55532         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
55533         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
55534         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
55535         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
55536         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
55537         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
55538         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
55539         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
55540         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
55541         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
55542         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
55543         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
55544         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
55545         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
55546         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
55547         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
55548         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
55549         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
55551         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
55552         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
55553         * include/ifunc-impl-list.h: New file.
55554         * misc/ifunc-impl-list.c: Likewise.
55555         * misc/Makefile (routines): Add ifunc-impl-list.
55556         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
55557         * string/test-string.h: Include <ifunc-impl-list.h>.
55558         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
55559         TEST_NAME]: New variables.
55560         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
55561         are defined.
55562         (test_init): Call __libc_ifunc_impl_list to initialize
55563         func_list if TEST_IFUNC and TEST_NAME are defined.
55565         * string/Makefile (strop-tests): Add bcopy and bzero.
55566         * string/test-bcopy.c: New file.
55567         * string/test-bzero.c: Likewise.
55568         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
55569         defined.
55570         * string/test-memset.c: Support bzero test if TEST_BZERO is
55571         defined.
55572         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
55573         __libc_memmove.
55574         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
55575         __libc_memset.
55576         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
55577         of memset.
55579 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
55581         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
55582         * configure: Regenerated.
55584         * Makeconfig (+link-static-before-libc): Don't include
55585         $(link-static-libc).
55587         * libio/libio.h (_IO_pos_t): Remove.
55589 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55591         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
55592         McGrath.
55594 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55596         * crypt/crypt-entry.c: Include fips-private.h.
55597         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
55598         * crypt/md5c-test.c (main): Tolerate disabled MD5.
55599         * sysdeps/unix/sysv/linux/fips-private.h: New file.
55600         * sysdeps/generic/fips-private.h: New file, dummy fallback.
55602 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
55604         * crypt/crypt-private.h: Include stdbool.h.
55605         (_ufc_setup_salt_r): Return bool.
55606         * crypt/crypt-entry.c: Include errno.h.
55607         (__crypt_r): Return NULL with EINVAL for bad salt.
55608         * crypt/crypt_util.c (bad_for_salt): New.
55609         (_ufc_setup_salt_r): Check that salt is long enough and within
55610         the specified alphabet.
55611         * crypt/badsalttest.c: New file.
55612         * crypt/Makefile (tests): Add it.
55613         ($(objpfx)badsalttest): New.
55615 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
55617         * NEWS: Add entry for BZ #14602.
55619 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55621         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
55622         type-generic.
55623         * math/libm-test.inc: Update comment listing what functions and
55624         macros are tested.
55625         (isgreater_test): New function.
55626         (isgreaterequal_test): Likewise.
55627         (isless_test): Likewise.
55628         (islessequal_test): Likewise.
55629         (islessgreater_test): Likewise.
55630         (isunordered_test): Likewise.
55631         (main): Call the new functions.
55633 2012-10-09  Roland McGrath  <roland@hack.frob.com>
55635         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
55636         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
55637         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
55638         * sysdeps/i386/configure: Regenerated.
55639         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
55640         * sysdeps/mach/configure: Regenerated.
55641         * sysdeps/mach/hurd/configure: Regenerated.
55642         * sysdeps/powerpc/configure: Regenerated.
55643         * sysdeps/powerpc/powerpc32/configure: Regenerated.
55644         * sysdeps/powerpc/powerpc64/configure: Regenerated.
55645         * sysdeps/s390/s390-32/configure: Regenerated.
55646         * sysdeps/s390/s390-64/configure: Regenerated.
55647         * sysdeps/sh/configure: Regenerated.
55648         * sysdeps/sparc/configure: Regenerated.
55649         * sysdeps/unix/sysv/linux/configure: Regenerated.
55650         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
55651         * sysdeps/x86_64/configure: Regenerated.
55653         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
55654         defined.  Don't check if MAP is NULL.
55656 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
55658         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
55659         (_G_stat64): Likewise.
55660         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
55661         (_G_stat64): Likewise.
55662         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
55663         instead of struct _G_stat64.
55664         * libio/fileops.c (mmap_remap_check): Likewise.
55665         (decide_maybe_mmap): Likewise.
55666         (_IO_new_file_seekoff): Likewise.
55667         (_IO_file_stat): Likewise.
55668         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
55669         _G_off64_t.
55670         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
55671         instead of struct _G_stat64.
55672         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
55674 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
55676         [BZ #14602]
55677         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55678         Replace with ...
55679         (CHECK_EOL): New macro.
55680         (two_way_short_needle): Check beginning of haystack for EOL.  Use
55681         CHECK_EOL.
55682         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55683         Replace with CHECK_EOL.
55684         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
55685         Replace with CHECK_EOL.
55687 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
55689         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
55690         type-generic.
55691         * math/libm-test.inc: Update comment listing what functions and
55692         macros are tested.
55693         (finite_test): New function.
55694         (isinf_test): Likewise.
55695         (isnan_test): Likewise.
55696         (fpclassify_test): Test subnormal input.
55697         (isfinite_test): Likewise.
55698         (isnormal_test): Likewise.
55699         (main): Call the new functions.
55701 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
55703         [BZ #14660]
55704         * Makerules (%.dynsym): Force C locale when running
55705         $(OBJDUMP) --dynamic-syms.
55707 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
55709         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
55710         <stdint.h>.
55712 2012-10-06  David S. Miller  <davem@davemloft.net>
55714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
55715         upper 32-bits of the length value in %o2 since we use branch-on-register
55716         tests which consider the entire 64-bit register.
55718 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
55720         * string/test-strstr.c (check2): Add a test for page boundary.
55722 2012-10-05  David S. Miller  <davem@davemloft.net>
55724         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
55725         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
55726         file.
55727         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55728         sysdep_routines.
55729         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55730         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
55731         and bzero when HWCAP_SPARC_CRYPTO is present.
55733 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
55735         [BZ #14602]
55736         * string/test-strstr.c (check2): New function.
55737         (test_main): Call check2.
55739         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
55740         and bug-strchr1.
55741         * string/bug-strcasestr1.c (do_test): Moved to ...
55742         * string/test-strcasestr.c (check1): Here.  New function.
55743         (do_one_test): Break out result checking code into ...
55744         (check_result): This.  New function.
55745         (do_one_test): Call check_result.
55746         (test_main): Call check1.
55747         * string/bug-strchr1.c (do_test): Moved to ...
55748         * string/test-strchr.c (check1): Here.  New function.
55749         (do_one_test): Break out result checking code into ...
55750         (check_result): This.  New function.
55751         (do_one_test): Call check_result.
55752         (test_main): Call check1.
55753         * string/bug-strstr1.c (main): Moved to ...
55754         * string/test-strstr.c (check1): Here.  New function.
55755         (do_one_test): Break out result checking code into ...
55756         (check_result): This.  New function.
55757         (do_one_test): Call check_result.
55758         (test_main): Call check1.
55759         * string/bug-strcasestr1.c: Removed.
55760         * string/bug-strchr1.c: Likewise.
55761         * string/bug-strstr1.c: Likewise.
55763         * elf/Makefile (dl-routines): Add hwcaps.
55764         * elf/dl-support.c (_dl_important_hwcaps): Removed.
55765         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
55766         (_dl_important_hwcaps): Moved to ...
55767         * elf/dl-hwcaps.c: Here.  New file.
55768         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
55770         [BZ #14557]
55771         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
55772         if IS_IN_rtld isn't defined.
55774         * elf/dl-support.c (_dl_sysinfo_map): New.
55775         Include "get-dynamic-info.h" and "setup-vdso.h".
55776         (_dl_non_dynamic_init): Call setup_vdso.
55777         * elf/dynamic-link.h: Don't include <assert.h>.
55778         (elf_get_dynamic_info): Moved to ...
55779         * elf/get-dynamic-info.h: Here.  New file.
55780         * elf/dynamic-link.h: Include "get-dynamic-info.h".
55781         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
55782         * elf/setup-vdso.h: Here.  New file.
55783         * elf/rtld.c: Include "setup-vdso.h".
55784         (dl_main): Call setup_vdso.
55786 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
55788         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
55789         creal in comment listing functions tested.  List finite, isinf,
55790         isnan, isless, islessequal, isgreater, isgreaterequal,
55791         islessgreater, isunordered, lgamma_r and pow10 as functions and
55792         macros not tested.  Mention which functions not tested are aliases
55793         for other functions.  Fix typo.  Note that signs of NaNs are not
55794         tested.
55796         * scripts/config.guess: Update from config.git.
55797         * scripts/config.sub: Likewise.
55799 2012-10-04  Roland McGrath  <roland@hack.frob.com>
55801         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
55802         * misc/madvise.c (madvise): Renamed to __madvise.
55803         Make madvise a weak alias.
55804         * include/sys/mman.h: Declare __madvise.
55805         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
55806         * sysdeps/unix/syscalls.list
55807         (madvise): Make __madvise the strong name, and madvise a weak alias.
55808         * sysdeps/unix/sysv/linux/syscalls.list
55809         (madvise, mmap): Remove redundant entries.
55810         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
55811         * malloc/malloc.c (mtrim): Likewise.
55812         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
55814 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55816         * sysdeps/mach/hurd/dl-cache.c: File removed.
55817         * config.h.in (USE_LDCONFIG): New #undef.
55818         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
55819         * configure: Regenerated.
55820         * elf/Makefile (dl-routines): Add dl-cache only under
55821         [$(use-ldconfig) = yes].
55822         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
55823         cache on [USE_LDCONFIG].
55824         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
55825         [USE_LDCONFIG].
55826         * elf/rtld.c (dl_main): Likewise.
55828 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
55830         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
55831         _SC_LEVEL4_CACHE_LINESIZE.
55833 2012-10-03  Roland McGrath  <roland@hack.frob.com>
55835         * sysdeps/unix/bsd/confstr.h: File removed.
55837 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
55839         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
55840         sys/sdt-config.h.
55842 2012-10-02  Roland McGrath  <roland@hack.frob.com>
55844         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
55845         Make 'mapoff' field ElfW(Off) rather than off_t.
55847 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
55849         * nscd/Makefile: Remove nscd-cflags and all its users.
55850         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
55851         (CFLAGS-nonlib): Add compiler flags for nscd modules.
55853         [BZ #10631]
55854         * malloc.c (malloc_printerr): Clarify error message.
55856 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
55858         [BZ #14648]
55859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55860         Set bit_FMA_Usable if FMA is supported.
55861         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
55862         macro.
55863         (bit_FMA4_Usable): Updated.
55864         (index_FMA_Usable): New macro.
55865         (CPUID_FMA): Likewise.
55866         (HAS_FMA): Defined with bit_FMA_Usable.
55868 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55870         * bits/types.h (__swblk_t): Type removed.
55871         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
55872         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
55873         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55874         (__SWBLK_T_TYPE): Likewise.
55875         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
55876         (__SWBLK_T_TYPE): Likewise.
55877         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55878         (__SWBLK_T_TYPE): Likewise.
55879         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55880         (__SWBLK_T_TYPE): Likewise.
55882 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
55883             Honza Horak <hhorak@redhat.com>
55885         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
55886         (xdr_mapname): Use YPMAXMAP as maxsize.
55887         (xdr_peername): Use YPMAXPEER as maxsize.
55888         (xdr_keydat): Use YPAXRECORD as maxsize.
55889         (xdr_valdat): Use YPMAXRECORD as maxsize.
55891 2012-10-01  Roland McGrath  <roland@hack.frob.com>
55893         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
55895         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
55896         * csu/init-first.c: ... here.
55897         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
55898         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
55899         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
55900         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
55901         * sysdeps/i386/init-first.c: File removed.
55902         * sysdeps/sh/init-first.c: File removed.
55904 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
55906         [BZ #14645]
55907         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
55908         if x * y might underflow to zero and z is zero.
55909         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
55910         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55911         * math/libm-test.inc (min_subnorm_value): New variable.
55912         (fma_test): Add more tests.
55913         (fma_test_towardzero): Likewise.
55914         (fma_test_downward): Likewise.
55915         (fma_test_upward): Likewise.
55916         (initialize): Set min_subnorm_value.
55918 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
55920         [BZ #14638]
55921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
55922         0 + 0.
55923         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
55924         mode for addition resulting in exact zero.
55925         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
55926         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
55927         exact 0 + 0.
55928         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
55929         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
55930         * math/libm-test.inc (fma_test): Add more tests.
55931         (fma_test_towardzero): New function.
55932         (fma_test_downward): Likewise.
55933         (fma_test_upward): Likewise.
55934         (main): Call the new functions.
55936 2012-09-28  David S. Miller  <davem@davemloft.net>
55938         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
55940 2012-09-28  Roland McGrath  <roland@hack.frob.com>
55942         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
55943         instead of SIGALRM.
55945         * sysdeps/gnu/_G_config.h: Moved to ...
55946         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
55947         * sysdeps/mach/hurd/_G_config.h: Moved to ...
55948         * sysdeps/generic/_G_config.h: ... here.
55950         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
55952         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
55954         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
55955         Conditionalize target on [libnss_test1.so-version].
55957         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
55959         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
55960         (elfobjdir): Move out of conditionals.
55962         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
55963         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
55964         (__nss_lookup_function): Conditionalize label remove_from_tree on
55965         [!DO_STATIC_NSS || SHARED], matching its only use.
55967 2012-09-28  David S. Miller  <davem@davemloft.net>
55969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
55970         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
55971         file.
55972         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
55973         sysdep_routines.
55974         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
55975         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
55976         when HWCAP_SPARC_CRYPTO is present.
55978 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
55980         * io/tst-mknodat.c: Create a FIFO instead of a socket.
55982 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
55984         [BZ #6530]
55985         * stdio-common/vfprintf.c (process_string_arg): Revert
55986         2000-07-22 change.
55988 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
55990         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
55991         for testcase.
55992         * stdio-common/tst-sprintf.c: Include <locale.h>
55993         (main): Test sprintf's handling of incomplete multibyte
55994         characters.
55996 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
55998         * elf/dl-runtime.c (VERSYMIDX): Removed.
55999         * elf/dl-version.c (VERSYMIDX): Likewise.
56000         * elf/do-rel.h (VERSYMIDX): Likewise.
56001         (VALIDX): Likewise.
56002         * elf/dynamic-link.h (VERSYMIDX): Likewise.
56003         * elf/rtld.c (VALIDX): Likewise.
56004         (ADDRIDX): Likewise.
56005         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
56006         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
56007         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
56008         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
56009         (VALIDX): Likewise.
56010         (ADDRIDX): Likewise.
56012 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56014         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
56016 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
56018         [BZ #11438]
56019         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
56020         to global scope.
56021         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
56022         addresses are in the same scope as 192.0.2/24.
56023         * posix/gai.conf: Document new scope table defaults.
56025 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56027         [BZ #5298]
56028         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
56029         for ftell.  Compute offsets from write pointers instead.
56030         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
56032 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56034         [BZ #14543]
56035         * libio/Makefile (tests): New test case tst-fseek.
56036         * libio/tst-fseek.c: New test case to verify that fseek/ftell
56037         combination works in wide mode.
56038         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
56039         state when the external buffer state changes.
56041 2012-09-27  David S. Miller  <davem@davemloft.net>
56043         [BZ #14376]
56044         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
56045         pass reloc->r_addend in as the 'high' argument to
56046         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
56048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56050 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
56052         * rt/tst-aio2.c: Include <pthread.h>.
56053         * rt/tst-aio3.c: Likewise.
56055 2012-09-27  Steve Ellcey  <sellcey@mips.com>
56057         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
56059 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
56061         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
56062         contents on [SHARED].
56064 2012-09-26  Marek Polacek  <polacek@redhat.com>
56066         [BZ #14530]
56067         [BZ #13741]
56068         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
56069         for C++ and GCC <4.3 as well as for non GCC compilers.
56071 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
56073         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56075 2012-09-25  Roland McGrath  <roland@hack.frob.com>
56077         * Makefile.in (all, install): Declare with .PHONY.
56078         Reported by Michael Hope <michael.hope@linaro.org>.
56080 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56082         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
56083         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
56084         system header.
56085         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
56086         Likewise.
56087         (sydep_routines): Add the new and the internal functions.
56088         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
56089         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
56090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
56091         (GLIBC_2.17): Add the new function.
56092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
56093         (GLIBC_2.17): Likewise.
56094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
56095         (GLIBC_2.17): Likewise.
56096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
56097         (GLIBC_2.17): Likewise.
56098         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
56100 2012-09-25  Alan Modra  <amodra@gmail.com>
56102         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
56103         Add release barrier before setting once_control to say
56104         initialisation is done.  Add hints on lwarx.  Use macro in
56105         place of isync.
56106         (clear_once_control): Add release barrier.
56108 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56110         [BZ #13629]
56111         * math/s_clog.c (__clog): Handle more values close to |z| = 1
56112         specially.
56113         * math/s_clog10.c (__clog10): Likewise.
56114         * math/s_clog10f.c (__clog10f): Likewise.
56115         * math/s_clog10l.c (__clog10l): Likewise.
56116         * math/s_clogf.c (__clogf): Likewise.
56117         * math/s_clogl.c (__clogl): Likewise.
56118         * math/Makefile (libm-calls): Add x2y2m1.
56119         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
56120         (__x2y2m1): Likewise.
56121         (__x2y2m1l): Likewise.
56122         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
56123         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
56124         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
56125         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
56126         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
56127         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
56128         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
56129         * sysdeps/i386/fpu/libm-test-ulps: Update.
56130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56132         [BZ #14621]
56133         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
56134         int as type of variable DEPTH.
56135         (glob): Use size_t instead of int as type of variables NEWCOUNT
56136         and OLD_PATHC.
56138 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56140         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56141         Add s_sincosf-sse2.
56142         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
56143         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
56144         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
56145         macros for using routine as __sincosf_ia32.
56146         Use macro for function declaration and weak_alias.
56147         * sysdeps/i386/fpu/libm-test-ulps: Update.
56149         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
56150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56152         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
56153         subnormal argument.
56154         * math/s_cexpf.c (__cexpf): Likewise.
56155         * math/s_csinf.c (__csinf): Likewise.
56156         * math/s_csinhf.c (__csinhf): Likewise.
56157         * math/s_ctanf.c (__ctanf): Likewise.
56158         * math/s_ctanhf.c (__ctanhf): Likewise.
56159         * math/s_ccosh.c (__ccoshf): Likewise.
56160         * math/s_cexp.c (__cexpl): Likewise.
56161         * math/s_csin.c (__csin): Likewise.
56162         * math/s_csinh.c (__csinh): Likewise.
56163         * math/s_ctan.c (__ctan): Likewise.
56164         * math/s_ctanh.c (ctanh): Likewise.
56165         * math/s_ccoshl.c (__ccoshl): Likewise.
56166         * math/s_cexpl.c (__cexpl): Likewise.
56167         * math/s_csinl.c (__csinl): Likewise.
56168         * math/s_csinhl.c (__csinhl): Likewise.
56169         * math/s_ctanl.c (__ctanl): Likewise.
56170         * math/s_ctanhl.c (__ctanhl): Likewise.
56172 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
56174         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
56175         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
56176         (_IO_off_t): Define to __off_t, not _G_off_t.
56177         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
56178         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
56179         (_IO_wint_t): Define to wint_t, not _G_wint_t.
56180         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
56181         type of __dummy and __dummy2 fields.
56182         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
56183         (_G_ssize_t): Likewise.
56184         (_G_off_t): Likewise.
56185         (_G_pid_t): Likewise.
56186         (_G_uid_t): Likewise.
56187         (_G_wchar_t): Likewise.
56188         (_G_wint_t): Likewise.
56189         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
56190         (_G_ssize_t): Likewise.
56191         (_G_off_t): Likewise.
56192         (_G_pid_t): Likewise.
56193         (_G_uid_t): Likewise.
56194         (_G_wchar_t): Likewise.
56195         (_G_wint_t): Likewise.
56196         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
56197         (_G_ssize_t): Likewise.
56198         (_G_off_t): Likewise.
56199         (_G_pid_t): Likewise.
56200         (_G_uid_t): Likewise.
56201         (_G_wchar_t): Likewise.
56202         (_G_wint_t): Likewise.
56204 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56206         * malloc/arena.c: Include malloc-sysdep.h.
56207         (shrink_heap): Use check_may_shrink_heap to decide if madvise
56208         is sufficient to shrink the heap or an unmap is needed.
56209         * sysdeps/generic/malloc-sysdep.h: New file.  Define
56210         new function check_may_shrink_heap.
56211         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
56212         new function check_may_shrink_heap.
56214 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56216         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
56217         comments.
56219 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
56221         * catgets/test-gencat.sh: Add "set -e".
56222         * elf/tst-pathopt.sh: Likewise.
56223         * grp/tst_fgetgrent.sh: Likewise.
56224         * iconvdata/run-iconv-test.sh: Likewise.
56225         * intl/tst-gettext.sh: Likewise.
56226         * intl/tst-gettext2.sh: Likewise.
56227         * intl/tst-gettext4.sh: Likewise.
56228         * intl/tst-gettext6.sh: Likewise.
56229         * intl/tst-translit.sh: Likewise.
56230         * io/ftwtest-sh: Likewise.
56231         * libio/test-freopen.sh: Likewise.
56232         * malloc/tst-mtrace.sh: Likewise.
56233         * posix/globtest.sh: Likewise.
56234         * posix/tst-getconf.sh: Likewise.
56235         * posix/wordexp-tst.sh: Likewise.
56236         * stdio-common/tst-printf.sh: Likewise.
56237         * stdio-common/tst-unbputc.sh: Likewise.
56238         * stdlib/tst-fmtmsg.sh: Likewise.
56239         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56240         * catgets/Makefile: Do not specify -e option when running
56241         testsuite shell scripts.
56242         * elf/Makefile: Likewise.
56243         * grp/Makefile: Likewise.
56244         * iconvdata/Makefile: Likewise.
56245         * intl/Makefile: Likewise.
56246         * io/Makefile: Likewise.
56247         * libio/Makefile: Likewise.
56248         * malloc/Makefile: Likewise.
56249         * posix/Makefile: Likewise.
56250         * stdio-common/Makefile: Likewise.
56251         * stdlib/Makefile: Likewise.
56252         * sysdeps/x86_64/Makefile: Likewise.
56254         * io/ftwtest-sh: Add copyright header.
56255         * posix/globtest.sh: Likewise.
56256         * posix/tst-getconf.sh: Likewise.
56257         * posix/wordexp-tst.sh: Likewise.
56258         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
56260 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
56262         [BZ #13679]
56263         * Makeconfig (+link): Defined as $(+link-static) if
56264         $(build-shared) isn't yes.
56265         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
56266         isn't yes.
56267         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
56269         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
56271         [BZ #14562]
56272         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
56273         new chunk size with MALLOC_ALIGN_MASK.
56275 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
56277         [BZ #5044]
56278         * stdio-common/printf_fphex.c: Include <stdbool.h> and
56279         <rounding-mode.h>.
56280         (__printf_fphex): Determine rounding using get_rounding_mode and
56281         round_away.
56282         * stdio-common/tst-printf-round.c (struct hex_test): New
56283         structure.
56284         (hex_tests): New variable.
56285         (test_hex_in_one_mode): New function.
56286         (do_test): Also run tests for hex float output.
56288 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
56290         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56291         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56292         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
56293         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
56294         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
56295         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
56296         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56297         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
56299 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
56301         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
56302         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
56303         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
56304         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
56306 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
56308         [BZ #14579]
56309         * elf/rtld.c (dl_main): Limit the check for self loading to normal
56310         mode only.
56311         * elf/tst-rtld-load-self.sh: New test.
56312         * elf/Makefile: Run it.
56314 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
56316         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
56317         (tst-writev-ENV): Remove.
56318         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
56320 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
56322         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
56324 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
56326         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
56327         unconditional.
56328         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
56329         Likewise.
56330         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
56331         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
56332         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
56333         Likewise.
56335 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
56337         [BZ #14587]
56338         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
56339         * config.make.in (have-cpp-asm-debuginfo): Removed.
56340         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
56341         * configure: Regenerated.
56343 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
56345         [BZ #5044]
56346         * stdio-common/printf_fp.c: Include <stdbool.h> and
56347         <rounding-mode.h>.
56348         (___printf_fp): Determine rounding using get_rounding_mode and
56349         round_away.
56350         * stdio-common/tst-printf-round.c: New file.
56351         * stdio-common/Makefile (tests): Add tst-printf-round.
56352         (link-libm): New variable.
56353         ($(objpfx)tst-printf-round): Depend in $(link-libm).
56355 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
56357         [BZ #14576]
56358         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
56359         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
56360         Likewise.
56361         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
56362         Likewise.
56364 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
56366         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
56367         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56368         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56369         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
56371 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
56373         [BZ #14518]
56374         * include/rounding-mode.h: New file.
56375         * sysdeps/generic/get-rounding-mode.h: Likewise.
56376         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
56377         * stdlib/strtod_l.c: Include <rounding-mode.h>.
56378         (MAX_VALUE): New macro.
56379         (MIN_VALUE): Likewise.
56380         (overflow_value): New function.
56381         (underflow_value): Likewise.
56382         (round_and_return): Use overflow_value and underflow_value to
56383         determine return values in overflow and underflow cases.  Use
56384         round_away to determine rounding depending on rounding mode.
56385         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
56386         determine return values in overflow and underflow cases.
56387         * stdlib/tst-strtod-round.c: Include <fenv.h>.
56388         (struct test_results): New structure.
56389         (struct test): Use struct test_results to store expected results
56390         for all rounding modes.
56391         (TEST): Include expected results for all rounding modes.
56392         (test_in_one_mode): New function.
56393         (do_test): Use test_in_one_mode to compute and check results.
56394         Check results for all rounding modes.
56395         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
56396         $(link-libm).
56398 2012-12-09  Allan McRae  <allan@archlinux.org>
56400         * sysdeps/i386/fpu/libm-test-ulps: Update
56402 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
56404         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
56405         (_G_int32_t): Likewise.
56406         (_G_uint16_t): Likewise.
56407         (_G_uint32_t): Likewise.
56408         (_G_HAVE_BOOL): Likewise.
56409         (_G_HAVE_ATEXIT): Likewise.
56410         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56411         (_G_HAVE_IO_FILE_OPEN): Likewise.
56412         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
56413         (_G_int32_t): Likewise.
56414         (_G_uint16_t): Likewise.
56415         (_G_uint32_t): Likewise.
56416         (_G_HAVE_BOOL): Likewise.
56417         (_G_HAVE_ATEXIT): Likewise.
56418         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56419         (_G_HAVE_IO_FILE_OPEN): Likewise.
56420         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
56421         (_G_int32_t): Likewise.
56422         (_G_uint16_t): Likewise.
56423         (_G_uint32_t): Likewise.
56424         (_G_HAVE_BOOL): Likewise.
56425         (_G_HAVE_ATEXIT): Likewise.
56426         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
56427         (_G_HAVE_IO_FILE_OPEN): Likewise.
56429 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
56431         * csu/libc-tls.c: Update copyright years.
56433 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
56435         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
56436         [!_G_USING_THUNKS]: Remove conditional code.
56437         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
56438         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
56440         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
56441         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
56442         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56443         (_G_VTABLE_LABEL_PREFIX): Likewise.
56444         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56445         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56446         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56447         (_G_VTABLE_LABEL_PREFIX): Likewise.
56448         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56449         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
56450         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
56451         (_G_VTABLE_LABEL_PREFIX): Likewise.
56452         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
56454 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
56456         * libio/Makefile: Include ../Makeconfig before tests.
56457         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
56458         only if $(build-shared) is yes.
56460         * iconv/gconv_db.c: Update copyright years.
56462 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56464         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
56465         unwind info if defined PIC. Fix special cases description.
56466         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
56468         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
56469         DP_HI_MASK entry.
56470         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
56472 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
56474         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
56476         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
56477         is NULL.
56479         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
56480         (LDLIBS-tst-chk4): This.
56481         (LDFLAGS-tst-chk5): Renamed to ...
56482         (LDLIBS-tst-chk5): This.
56483         (LDFLAGS-tst-chk6): Renamed to ...
56484         (LDLIBS-tst-chk6): This.
56485         (LDFLAGS-tst-lfschk4): Renamed to ...
56486         (LDLIBS-tst-lfschk4): This.
56487         (LDFLAGS-tst-lfschk5): Renamed to ...
56488         (LDLIBS-tst-lfschk5): This.
56489         (LDFLAGS-tst-lfschk6): Renamed to ...
56490         (LDLIBS-tst-lfschk6): This.
56492         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
56493         on $(common-objpfx)soversions.mk.
56495 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
56497         [BZ #10014]
56498         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
56499         example host name.
56501 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56503         * malloc/arena.c (arena_get_retry): New function that gets
56504         another arena for the caller to try its request on.
56505         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
56506         current arena cannot fulfill the request.
56507         (__libc_memalign): Likewise.
56508         (__libc_memalign): Likewise.
56509         (__libc_pvalloc): Likewise.
56510         (__libc_calloc): Likewise.
56512 2012-09-05  John Tobey  <john.tobey@gmail.com>
56514         [BZ #13542]
56515         * manual/arith.texi (Operations on Complex): Fix description
56516         of carg branch cut.
56518 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56520         [BZ #10014]
56521         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
56522         host name.
56524         [BZ #10038]
56525         * manual/memory.texi (Memory): Make order of menu items match
56526         order of sections.
56528 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56530         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
56531         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
56532         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
56534 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56536         * csu/libc-tls.c (static_dtv): Renamed to ...
56537         (_dl_static_dtv): This.  Make it global.
56538         (_dl_initial_dtv): Removed.
56539         (__libc_setup_tls): Updated.
56540         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
56541         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
56542         DL_INITIAL_DTV.
56544 2012-09-06  Petr Machata  <pmachata@redhat.com>
56546         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
56547         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
56548         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
56549         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
56551 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56553         [BZ #14545]
56554         * csu/libc-tls.c (_dl_initial_dtv): New variable.
56555         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
56556         freeing dtv[-1].
56558 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
56560         [BZ #14544]
56561         * Makeconfig (link-static-before-libc): Replace $(+prector)
56562         with $(+prectorT).
56563         (link-static-after-libc): Replace $(+postctor) with
56564         $(+postctorT).
56565         (link-bounded): Replace $(+prector)/$(+postctor) with
56566         $(+prectorT)/$(+postctorT).
56567         (+prectorT): New macro.
56568         (+postctorT): Likewise.
56570 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
56572         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
56573         (round_str): Handle values above the maximum for IBM long double
56574         as inexact.
56575         * stdlib/tst-strtod-round.c (tests): Regenerated.
56577 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56579         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
56580         assembler flag.
56581         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
56582         zarch_nohighgprs around the zarch optimized routines.
56583         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
56584         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
56585         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
56586         for zarch.
56588 2012-09-05  David S. Miller  <davem@davemloft.net>
56590         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56592         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
56593         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
56594         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
56595         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56596         entries.
56598 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56600         * malloc/arena.c: Fold copyright years.
56601         * malloc/mcheck.c, malloc/memusage.c: Likewise.
56603 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56605         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
56607 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56609         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
56611 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56613         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
56614         change internal state upon failure.
56616 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
56618         * malloc/mcheck.c (mcheck_check_all): Fix typo.
56619         * malloc/memusage.c (mmap): Likewise.
56620         (mmap64, mremap): Likewise.  Adjust name in comment.
56622 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56624         * libio/fileops.c: Fix typos in comments.
56625         * libio/oldfileops.c: Likewise.
56626         * libio/wfileops.c: Likewise.
56628 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
56630         [BZ #1349]
56631         * malloc/Makefile (tests): Add tst-malloc-usable test case.
56632         (tst-malloc-usable-ENV): Set environment for test case.
56633         * malloc/hooks.c (malloc_check_get_size): New function to get
56634         requested size.
56635         * malloc/malloc.c (musable): Use malloc_check_get_size.
56636         * malloc/tst-malloc-usable.c: New test case.
56638 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56640         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
56642 2012-09-05  Allan McRae  <allan@archlinux.org>
56644         [BZ #13966]
56645         * configure.in (CXX_SYSINCLUDES): Use compiler output to
56646         determine header location.
56647         * configure: Regenerated.
56649 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56651         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
56652         float format.
56653         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
56654         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
56655         format.
56656         (test): Regenerate.
56658 2012-09-04  David S. Miller  <davem@davemloft.net>
56660         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
56661         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
56662         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
56664 2012-09-04  Florian Weimer  <fweimer@redhat.com>
56666         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
56667         failures.
56669         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
56671 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
56673         [BZ #9914]
56674         * libio/iogetdelim.c: Include <limits.h>.
56675         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
56676         + len + 1 would overflow.
56678 2012-09-03  Andreas Jaeger  <aj@suse.de>
56680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56681         * sysdeps/i386/fpu/libm-test-ulps: Update.
56683 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56685         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
56686         Add s_sinf-sse2, s_conf-sse2.
56688         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
56689         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
56690         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
56691         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
56693         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
56694         for using routine as __sinf_ia32.
56695         Use macro for function declaration and weak_alias.
56696         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
56697         for using routine as __cosf_ia32.
56698         Use macro for function declaration and weak_alias.
56700         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
56701         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
56703         * sysdeps/x86_64/fpu/s_sinf.S: New file.
56704         * sysdeps/x86_64/fpu/s_cosf.S: New file.
56705         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56707         * math/libm-test.inc (cos_test): Add more test cases.
56708         (sin_test): Likewise.
56709         (sincos_test): Likewise.
56711 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56713         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
56714         (IFUNC_RESOLVE): Make pointers to the specialized implementations
56715         hidden.
56716         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56718 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
56720         [BZ #14538]
56721         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
56722         first element of the GOT.
56723         (elf_machine_load_address): Return the difference between
56724         the runtime address of _DYNAMIC and elf_machine_dynamic ().
56726 2012-09-01  Allan McRae  <allan@archlinux.org>
56728         [BZ #13412]
56729         * configure.in (AWK): Require gawk version 3.0 or later.
56730         * configure: Regenerated.
56732 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
56734         * sysdeps/unix/sysv/linux/kernel-features.h
56735         (__ASSUME_POSIX_CPU_TIMERS): Remove.
56736         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
56737         [__NR_clock_getres]: Make code unconditional.
56738         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
56739         (clock_getcpuclockid): Remove code left unreachable by removal of
56740         conditionals.
56741         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
56742         code unconditional.
56743         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56744         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56745         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
56746         Make code unconditional.
56747         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
56748         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56749         * sysdeps/unix/sysv/linux/clock_settime.c
56750         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
56751         conditional code.
56752         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
56753         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
56755 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
56757         [BZ #14476]
56758         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
56759         scripts/test-installation.pl.
56761         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
56762         and $ld_so_version if it is set.
56764 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56766         [BZ #14516]
56767         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
56768         failure if reading from procfs failed.
56769         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
56771 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56773         * sysdeps/unix/sysv/linux/kernel-features.h
56774         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
56775         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56776         Remove conditional code.
56777         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56778         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
56779         Remove conditional code.
56780         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56781         * sysdeps/unix/sysv/linux/i386/fxstat.c
56782         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56783         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56784         * sysdeps/unix/sysv/linux/i386/fxstatat.c
56785         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56786         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56787         * sysdeps/unix/sysv/linux/i386/lxstat.c
56788         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
56789         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56790         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
56791         Remove conditional code.
56792         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56793         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
56794         Remove conditional code.
56795         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56796         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
56797         <kernel-features.h>.
56798         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
56799         Remove.
56800         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
56801         Remove conditional code.
56802         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
56803         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
56804         Remove conditional.
56806 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
56808         [BZ #5400]
56809         * NEWS: Add fixed bug number.
56811 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
56813         [BZ #14519]
56814         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
56815         underflowing exponent in case of negative sign.
56816         * stdlib/tst-strtod-round-data: Add more tests.
56817         * stdlib/tst-strtod-round.c (tests): Regenerated.
56819         [BZ #3479]
56820         * stdlib/strtod_l.c (NDIG): Remove.
56821         (HEXNDIG): Likewise.
56822         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
56823         smallest representable value.
56824         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
56825         lie within an exact representation of 1/2 ulp of the result.
56826         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
56827         unconditionally.
56828         (TENS_P9_IDX): Define unconditionally.
56829         (TENS_P9_SIZE): Likewise.
56830         (TENS_P10_IDX): Likewise.
56831         (TENS_P10_SIZE): Likewise.
56832         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
56833         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
56834         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
56835         entries for 10^2^13 and 10^2^14.
56836         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
56837         (TENS_P13_IDX): Define.
56838         (TENS_P13_SIZE): Likewise.
56839         (TENS_P14_IDX): Likewise.
56840         (TENS_P14_SIZE): Likewise.
56841         (_fpioconst_pow10): Change array size to
56842         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
56843         unconditional.
56844         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
56845         1024]: Add entries for 10^2^13 and 10^2^14.
56846         [LAST_POW10 > _LAST_POW10]: Remove #error.
56847         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
56848         (_fpioconst_pow10): Change array size to
56849         FPIOCONST_POW10_ARRAY_SIZE.
56850         * stdlib/gen-fpioconst.c: New file.
56851         * stdlib/gen-tst-strtod-round.c: Likewise.
56852         * stdlib/tst-strtod-round-data: Likewise.
56853         * stdlib/tst-strtod-round.c: Likewise.
56854         * stdlib/Makefile (tests): Add tst-strtod-round.
56856         [BZ #14459]
56857         * stdlib/strtod_l.c: Include <stdint.h>.
56858         (NDEBUG): Do not define.
56859         (round_and_return): Change EXPONENT parameter to type intmax_t.
56860         Rearrange calculations to avoid internal overflow possibilities.
56861         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
56862         Rearrange calculations to avoid internal overflow possibilities.
56863         Assert that number fits inside MPNSIZE limbs.
56864         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
56865         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
56866         calculations and add assertions to avoid internal overflow
56867         possibilities.  Add casts to avoid signed/unsigned operations.
56868         * stdlib/tst-strtod-overflow.c: New file.
56869         * stdlib/Makefile (tests): Add tst-strtod-overflow.
56871 2012-08-25  Marek Polacek  <polacek@redhat.com>
56873         * time/time.h: Fix some typos in comments.
56875 2012-08-23  Roland McGrath  <roland@hack.frob.com>
56877         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
56878         * posix/tst-rfc3484-2.c: Likewise.
56879         * posix/tst-rfc3484-3.c: Likewise.
56881 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
56883         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
56884         (EF_ARM_ABI_FLOAT_HARD): Likewise.
56886 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
56888         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
56889         #include of fxstatat64.c.
56891 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56893         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
56894         * shadow/getspent_r.c: Likewise.
56895         * shadow/getspnam.c: Likewise.
56896         * shadow/getspnam_r.c: Likewise.
56897         * gshadow/getsgent.c: Likewise.
56898         * gshadow/getsgent_r.c: Likewise.
56899         * gshadow/getsgnam.c: Likewise.
56900         * gshadow/getsgnam_r.c: Likewise.
56901         * inet/getnetbyad.c: Likewise.
56902         * inet/getnetbyad_r.c: Likewise.
56903         * inet/getnetbynm.c: Likewise.
56904         * inet/getnetbynm_r.c: Likewise.
56905         * inet/getnetent.c: Likewise.
56906         * inet/getnetent_r.c: Likewise.
56907         * inet/getproto.c: Likewise.
56908         * inet/getproto_r.c: Likewise.
56909         * inet/getprtent.c: Likewise.
56910         * inet/getprtent_r.c: Likewise.
56911         * inet/getprtname.c: Likewise.
56912         * inet/getprtname_r.c: Likewise.
56913         * inet/getrpcbyname.c: Likewise.
56914         * inet/getrpcbyname_r.c: Likewise.
56915         * inet/getrpcbynumber.c: Likewise.
56916         * inet/getrpcbynumber_r.c: Likewise.
56917         * inet/getrpcent.c: Likewise.
56918         * inet/getrpcent_r.c: Likewise.
56919         * inet/getaliasent.c: Likewise.
56920         * inet/getaliasent_r.c: Likewise.
56921         * inet/getaliasname.c: Likewise.
56922         * inet/getaliasname_r.c: Likewise.
56923         * nscd/getgrgid_r.c: Likewise.
56924         * nscd/getgrnam_r.c: Likewise.
56925         * nscd/gethstbyad_r.c: Likewise.
56926         * nscd/gethstbynm3_r.c: Likewise.
56927         * nscd/getpwnam_r.c: Likewise.
56928         * nscd/getpwuid_r.c: Likewise.
56929         * nscd/getsrvbynm_r.c: Likewise.
56930         * nscd/getsrvbypt_r.c: Likewise.
56931         * nscd/gai.c: Likewise.
56933         * configure.in (build_nscd): New substituted variable, set
56934         by --disable-build-nscd and defaults to $use_nscd.
56935         * configure: Regenerated.
56936         * config.make.in (build-nscd): New substituted variable.
56937         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
56938         Change conditional to require [$(build-nscd) = yes] as well.
56939         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
56941         [BZ# 13696]
56942         * configure.in (use_nscd): New substituted variable, set by
56943         --disable-nscd.  If enabled, define USE_NSCD.
56944         * configure: Regenerated.
56945         * config.h.in: Add USE_NSCD.
56946         * config.make.in (use-nscd): New substituted variable.
56947         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
56948         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
56949         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
56950         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
56951         (CFLAGS-getgrnam_r.c): Likewise.
56952         (CFLAGS-initgroups.c): Likewise.
56953         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
56954         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
56955         Variables removed.
56956         * inet/getnetgrent_r.c
56957         (nscd_setnetgrent): New function, broken out of ...
56958         (setnetgrent): ... here.  Call it.
56959         (innetgr): Conditionalize nscd bits on [USE_NSCD].
56960         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
56961         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
56962         * nscd/Makefile (routines, aux): Move definitions after include of
56963         Makeconfig.  Conditionalize on [$(use-nscd) != no].
56964         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
56965         Conditionalize on [USE_NSCD].
56966         (is_nscd, nscd_init_cb): Likewise.
56967         (nss_load_library): Conditionalize init callback on [USE_NSCD].
56968         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
56969         * nss/nss_db/db-init.c: Likewise.
56970         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
56971         [USE_NSCD].
56972         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
56973         (make_request): Use it.
56974         (cache_valid_p): New function.
56975         (__check_pf): Use it.
56976         * NEWS: Add item for --disable-nscd.
56978 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
56980         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
56981         to support sed >= 4.2.1-20-ga9bf076.
56982         * configure: Regenerated.
56984 2012-08-22  Roland McGrath  <roland@hack.frob.com>
56986         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
56987         Conditionalize whole body on [IREL].
56989 2012-08-22  Jeff Law <law@redhat.com>
56991         [BZ #14505]
56992         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
56993         if the family is PF_UNSPEC.
56995 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
56997         * Makerules (lib-version): Rename from V.
56998         (install-lib-nosubdir): Change V to lib-version.
57000 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
57002         [BZ #14252]
57003         * powerpc32/power6/wcschr.c: New file.
57004         * powerpc32/power6/wcscpy.c: New file.
57005         * powerpc32/power6/wcsrchr.c: New file.
57006         * powerpc64/power6/wcschr.c: New file.
57007         * powerpc64/power6/wcscpy.c: New file.
57008         * powerpc64/power6/wcsrchr.c: New file.
57010 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57012         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
57013         (two_way_short_needle): Use it.
57014         * string/strstr.c (AVAILABLE1_USES_J): Define.
57015         * string/strcasestr.c: Likewise.
57017         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
57018         array references.
57019         * string/strcasestr.c (TOLOWER): Make side-effect safe.
57021         [BZ #11607]
57022         * NEWS: Add an entry.
57023         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
57024         define their defaults.
57025         (two_way_short_needle): Detect end-of-string on-the-fly.
57026         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
57027         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
57028         * string/bug-strcasestr1.c: New test.
57029         * string/Makefile: Run it.
57031 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
57033         [BZ #11607]
57034         * string/str-two-way.h (two_way_short_needle): Optimize matching of
57035         the first character.
57037 2012-08-21  Roland McGrath  <roland@hack.frob.com>
57039         * csu/elf-init.c (__libc_csu_irel): Function removed.
57040         * csu/libc-start.c (apply_irel): New function.
57041         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
57043 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
57045         * sysdeps/unix/sysv/linux/kernel-features.h
57046         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
57047         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57048         <kernel-features.h>.
57049         [__NR_fadvise64_64]: Make code unconditional.
57050         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
57051         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57052         !__NR_fadvise64_64)]: Likewise.
57053         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
57054         !__NR_fadvise64_64))]: Likewise.
57055         [__NR_fadvise64]: Make code unconditional.
57056         [!__NR_fadvise64]: Remove conditional code.
57057         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
57058         <kernel-features.h>.
57059         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57060         unconditional.
57061         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57062         conditional code.
57063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
57064         not include <kernel-features.h>.
57065         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57066         unconditional.
57067         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57068         conditional code.
57069         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
57070         include <kernel-features.h>.
57071         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
57072         unconditional.
57073         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
57074         conditional code.
57076 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
57078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
57079         slight instruction rearrangements per scrollpipe analysis.
57080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57082 2012-08-20  Roland McGrath  <roland@hack.frob.com>
57084         * manual/syslog.texi (syslog; vsyslog, closelog):
57085         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
57086         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
57088         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
57089         DSOCAPS to match condition on defining it.
57091 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
57093         * sysdeps/unix/sysv/linux/kernel-features.h
57094         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
57095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
57096         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57097         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
57099         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57100         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
57102         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
57103         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
57105         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
57106         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
57108         * sysdeps/unix/sysv/linux/kernel-features.h
57109         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
57110         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
57111         unconditional.
57112         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57113         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
57114         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57115         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57116         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
57117         Make code unconditional.
57118         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57119         (__mmap64) [!__NR_mmap2]: Likewise.
57120         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
57121         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
57122         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57123         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
57124         [__NR_mmap2]: Make code unconditional.
57125         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
57126         (__mmap64) [!__NR_mmap2]: Likewise.
57128 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57130         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
57132 2012-08-18  Andreas Jaeger  <aj@suse.de>
57134         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
57136 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57138         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
57139         * include/unistd.h (__have_sock_cloexec): Likewise.
57140         (__have_pipe2): Likewise.
57141         (__have_dup3): Likewise.
57143 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
57145         [BZ #9685]
57146         * include/unistd.h (__have_pipe2): Change define into an extern int.
57147         (__have_dup3): Likewise.
57148         * socket/have_sock_cloexec.c: Include fcntl.h.
57149         (__have_pipe2): New variable.
57150         (__have_dup3): Likewise.
57152 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
57154         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
57156 2012-08-17  Marek Polacek  <polacek@redhat.com>
57158         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
57159         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
57161 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57163         * configure.in: Add AC_SUBST for sysheaders.
57164         * configure: Regenerated.
57165         * config.make.in (sysheaders): New substituted variable.
57167         * sysdeps/unix/mkfifo.c: Moved ...
57168         * sysdeps/posix/mkfifo.c: ... here.
57169         * sysdeps/unix/mkfifoat.c: Moved ...
57170         * sysdeps/posix/mkfifoat.c: ... here.
57172         * sysdeps/unix/utime.c: Moved ...
57173         * sysdeps/posix/utime.c: ... here.
57175         * sysdeps/unix/time.c: Moved ...
57176         * sysdeps/posix/time.c: ... here.
57177         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
57178         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
57180         * sysdeps/unix/nice.c: Moved ...
57181         * sysdeps/posix/nice.c: ... here.
57183         * sysdeps/unix/alarm.c: Moved ...
57184         * sysdeps/posix/alarm.c: ... here.
57186         * intl/Makefile ($(codeset_mo)): Depend on the input file.
57188 2012-08-17  Jeff Law <law@redhat.com>
57190         * intl/Makefile (codeset_mo): New variable.
57191         ($(codeset_mo)): New target.
57192         (tst-codeset.out): Depend on that.  Remove explicit rule.
57193         (tst-gettext3.out, tst-gettext5.out): Likewise.
57194         (LOCPATH-ENV, tst-codeset-ENV): New variables.
57195         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
57196         * intl/tst-codeset.sh: Remove.
57197         * intl/tst-gettext3.sh: Likewise.
57198         * intl/tst-gettext5.sh: Likewise.
57200 2012-08-17  Roland McGrath  <roland@hack.frob.com>
57202         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
57203         * sysdeps/unix/syscalls.list: ... here.
57205         * sysdeps/posix/getaddrinfo.c
57206         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
57207         (gaiconf_init, gaiconf_reload): Use them.
57208         [!_STATBUF_ST_NSEC]
57209         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
57210         Define using time_t rather than struct timespec.
57212         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
57213         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
57214         Macros removed.
57215         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
57216         [!NO_THREADS].
57217         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
57218         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
57219         Likewise.
57221         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
57222         __libc_cleanup_push argument.
57224         * bits/param.h: New file.
57225         * misc/sys/param.h: New file.
57226         * include/sys/param.h: New file.
57227         * misc/Makefile (headers): Add bits/param.h.
57228         * sysdeps/generic/sys/param.h: File removed.
57229         * sysdeps/unix/sysv/linux/bits/param.h: New file.
57230         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
57231         * sysdeps/mach/hurd/bits/param.h: New file.
57232         * sysdeps/mach/hurd/sys/param.h: File removed.
57234         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
57235         last change.
57237         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
57238         [_IO_MTSAFE_IO].
57239         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
57240         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
57241         New macros.
57243         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
57244         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
57245         rather than -D_IO_MTSAFE_IO conditionally.
57246         * stdio-common/Makefile (CPPFLAGS): Likewise.
57247         * wcsmbs/Makefile (CPPFLAGS): Likewise.
57248         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
57249         Use $(libio-mtsafe).
57250         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
57251         of -D_IO_MTSAFE_IO.
57252         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
57253         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
57254         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
57255         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
57256         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
57257         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
57258         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
57259         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
57260         (CFLAGS-fread_u_chk.c): Likewise.
57261         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
57262         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
57263         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
57264         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
57265         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
57266         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
57267         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
57268         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
57269         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
57271         * libio/Makefile: Test [$(libc-reentrant) = yes]
57272         instead of [$(filter %REENTRANT, $(defines)) nonempty].
57274         * Makeconfig
57275         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
57276         * sysdeps/pthread/configure: File removed.
57277         * sysdeps/pthread/Makeconfig: New file.
57278         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
57279         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
57281 2012-08-16  Gary Benson  <gbenson@redhat.com>
57283         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
57284         unmapping the first object in a namespace.
57286 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57288         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
57289         (__internal_setnetgrent): ... this.  Add internal_function to
57290         definition.  Add libc_hidden_def.
57291         (setnetgrent): Update caller.
57292         (internal_endnetgrent): Renamed to ...
57293         (__internal_endnetgrent): ... this.  Add internal_function to
57294         definition.  Add libc_hidden_def.
57295         (endnetgrent): Update caller.
57296         (internal_getnetgrent_r): Renamed to ...
57297         (__internal_getnetgrent_r): ... this.  Add internal_function to
57298         definition.  Add libc_hidden_def.
57299         (__getnetgrent_r): Update caller.
57300         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
57302 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57304         * stdlib/longlong.h: Update from GCC.
57306 2012-08-16  Roland McGrath  <roland@hack.frob.com>
57308         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
57309         on _QL, which is set by umul_ppmm but never used.
57310         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
57311         variables, which are set by GMP macros but never used.
57312         * stdio-common/_itowa.c (_itowa): Likewise.
57313         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
57314         * stdlib/mod_1.c (mpn_mod_1): Likewise.
57316 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
57318         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
57319         struct La_sh_regs is not constant.
57320         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
57321         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
57322         and struct La_sparc64_regs are not constant.
57324 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
57326         * sysdeps/unix/sysv/linux/kernel-features.h
57327         (__ASSUME_POSIX_TIMERS): Remove.
57328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
57329         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57330         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
57331         Make code unconditional.
57332         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57333         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
57334         Make code unconditional.
57335         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57336         * sysdeps/unix/sysv/linux/clock_nanosleep.c
57337         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
57338         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57339         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
57340         Make code unconditional.
57341         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
57342         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
57343         (__libc_missing_posix_timers): Remove.
57345 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57347         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
57348         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
57350         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
57352         * elf/dl-sym.c: Include <stdlib.h>.
57354         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
57355         constants, which avoids warnings in 32-bit builds.
57357         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
57358         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
57360         * misc/lseek.c: File moved to ...
57361         * io/lseek.c: ... here.
57363         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
57365         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
57366         shifting LEN more than 31 bits at once.
57368 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57370         [BZ #14195]
57371         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
57372         segmentation fault for a case of two empty input strings.
57373         * string/test-strncasecmp.c (check1): Renamed to...
57374         (bz12205): ...this.
57375         (bz14195): Add new testcase for two empty input strings and N > 0.
57376         (test_main): Call new testcase, adapt for renamed function.
57378 2012-08-15  Andreas Jaeger  <aj@suse.de>
57380         [BZ #14090]
57381         * crypt/md5test2.c: New test, based on test supplied by Serge
57382         Belyshev <belyshev@depni.sinp.msu.ru>.
57383         * crypt/Makefile (xtests): Add md5test-giant..
57384         * crypt/Makefile ($(objpfx)md5test-giant): Add.
57386 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
57388         [BZ #14090]
57389         * crypt/md5.c (md5_process_block): Don't assume the buffer
57390         length is less than 2**32.
57391         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
57392         length is less than 2**64.
57394 2012-08-15  Roland McGrath  <roland@hack.frob.com>
57396         * string/str-two-way.h: Include <sys/param.h>.
57397         (MAX): Macro removed.
57399         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
57400         Move #define and #undef of memmove to just before and after
57401         including <string.h>.
57403         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
57404         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
57405         and after including <string.h>.  Move declarations of
57406         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
57407         to before #include "string/memmove.c".
57409         * include/dirent.h: Declare __getdirentries.
57411         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
57412         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
57414 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
57416         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
57417         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
57418         * sysdeps/i386/configure: Regenerated.
57419         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
57420         STABS_CURRENT_FILE, and STABS_FUN.
57421         (END): Remove call to STABS_FUN_END.
57422         (STABS_CURRENT_FILE1): Delete.
57423         (STABS_CURRENT_FILE): Likewise.
57424         (STABS_FUN): Likewise.
57425         (STABS_FUN_END): Likewise.
57426         (STABS_FUN2): Likewise.
57427         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
57428         * sysdeps/x86_64/configure: Regenerated.
57430 2012-08-14  Roland McGrath  <roland@hack.frob.com>
57432         * elf/dl-open.c: Include <atomic.h>.
57433         * elf/dl-lookup.c: Likewise.
57435 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
57437         * sysdeps/unix/sysv/linux/kernel-features.h
57438         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
57439         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
57440         unconditionally.
57441         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
57442         unconditionally.
57443         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
57444         condition on __ASSUME_CLONE_THREAD_FLAGS.
57446 2012-08-14  Andreas Jaeger  <aj@suse.de>
57448         * sysdeps/i386/fpu/libm-test-ulps: Update.
57450 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
57452         * include/atomic.h (atomic_exchange_and_add): Split into ...
57453         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
57454         New atomic macros.
57456 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
57458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57460 2012-08-13  Jeff Law <law@redhat.com>
57462         * manual/stdio.texi (snprintf): Clarify handling of the trailing
57463         null byte in the output string.
57465 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
57467         * sysdeps/unix/sysv/linux/kernel-features.h
57468         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
57469         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
57470         (__ASSUME_ARG_MAX_STACK_BASED): Define.
57471         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
57472         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
57473         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
57474         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
57476 2012-08-09  Jeff Law <law@redhat.com>
57478         [BZ #13939]
57479         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
57480         When avoid_arena is set, don't retry in the that arena.  Pick the
57481         next one, whatever it might be.
57482         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
57483         (arena_lock): Pass in new parameter to arena_get2.
57484         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
57485         arena_get2.
57486         (__libc_malloc): Unify retrying after main arena failure with
57487         __libc_memalign version.
57488         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
57490 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
57492         [BZ #14166]
57493         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
57494         to __redirect_strstr.
57495         (__strstr_sse42): Use typeof __redirect_strstr.
57496         (__strstr_ia32): Likewise.
57497         (__libc_strstr): New prototype.
57498         (strstr): Renamed to ...
57499         (__libc_strstr): This.
57500         (strstr): New strong alias of __libc_strstr.
57501         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
57502         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
57503         __redirect_time.
57504         Include <time.h>.
57505         (__libc_time): New prototype.
57506         (time_ifunc): Replace time with __libc_time.
57507         (time): New strong alias and hidden definition of __libc_time.
57508         (__GI_time): Remove strong alias.
57509         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
57510         Include <stddef.h>.
57511         (memmove): Redefined to __redirect_memmove.
57512         (__memmove_sse2): Use typeof __redirect_memmove.
57513         (__memmove_ssse3): Likewise.
57514         (__memmove_ssse3_back): Likewise.
57515         (__libc_memmove): New prototype.
57516         (memmove): Renamed to ...
57517         (__libc_memmove): This.
57518         (memmove): New strong alias of __libc_memmove.
57520 2012-08-08  Mark Salter  <msalter@redhat.com>
57522         * elf/elf.h
57523         (R_MN10300_TLS_GD): Define.
57524         (R_MN10300_TLS_LD): Likewise.
57525         (R_MN10300_TLS_LDO): Likewise.
57526         (R_MN10300_TLS_GOTIE): Likewise.
57527         (R_MN10300_TLS_IE): Likewise.
57528         (R_MN10300_TLS_LE): Likewise.
57529         (R_MN10300_TLS_DTPMOD): Likewise.
57530         (R_MN10300_TLS_DTPOFF): Likewise.
57531         (R_MN10300_TLS_TPOFF): Likewise.
57532         (R_MN10300_SYM_DIFF): Likewise.
57533         (R_MN10300_ALIGN): Likewise.
57534         (R_MN10300_NUM): Update.
57536 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
57538         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
57539         Remove.
57541 2012-08-08  Roland McGrath  <roland@hack.frob.com>
57543         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
57545         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
57546         sysdeps/unix -> sysdeps/posix move.
57547         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
57549 2012-08-07      Allan McRae     <allan@archlinux.org>
57551         [BZ #14303]
57552         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
57553         (SUNOS_CPP): Likewise.
57554         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
57555         not found.
57556         (open_input): Call CPP using execvp.
57558 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57560         * sysdeps/unix/sysv/linux/kernel-features.h
57561         (__ASSUME_PROT_GROWSUPDOWN): Remove.
57562         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57563         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57564         (__ASSUME_WAITID_SYSCALL): Likewise.
57565         * sysdeps/unix/sysv/linux/dl-execstack.c
57566         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
57567         code unconditional.
57568         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
57569         conditional code.
57570         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
57571         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
57572         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
57573         code.
57574         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
57575         unconditional.
57576         [__ASSUME_WAITID_SYSCALL]: Likewise.
57577         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
57579 2012-08-07  Roland McGrath  <roland@hack.frob.com>
57581         * sysdeps/unix/closedir.c: Renamed to ...
57582         * sysdeps/posix/closedir.c: ... here.
57583         * sysdeps/unix/dirfd.c: Renamed to ...
57584         * sysdeps/posix/dirfd.c: ... here.
57585         * sysdeps/unix/dirstream.h: Renamed to ...
57586         * sysdeps/posix/dirstream.h: ... here.
57587         * sysdeps/unix/fdopendir.c: Renamed to ...
57588         * sysdeps/posix/fdopendir.c: ... here.
57589         * sysdeps/unix/opendir.c: Renamed to ...
57590         * sysdeps/posix/opendir.c: ... here.
57591         * sysdeps/unix/readdir.c: Renamed to ...
57592         * sysdeps/posix/readdir.c: ... here.
57593         * sysdeps/unix/readdir_r.c: Renamed to ...
57594         * sysdeps/posix/readdir_r.c: ... here.
57595         * sysdeps/unix/rewinddir.c: Renamed to ...
57596         * sysdeps/posix/rewinddir.c: ... here.
57597         * sysdeps/unix/seekdir.c: Renamed to ...
57598         * sysdeps/posix/seekdir.c: ... here.
57599         * sysdeps/unix/telldir.c: Renamed to ...
57600         * sysdeps/posix/telldir.c: ... here.
57601         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
57602         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
57603         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
57604         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
57606         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
57607         * bits/fcntl.h: ... here.
57609         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
57610         not 0.
57611         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
57612         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
57613         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
57614         (struct flock): Move l_start, l_len to the beginning.
57615         Use __pid_t for l_pid.
57616         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
57617         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
57618         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
57619         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
57620         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
57621         [__USE_LARGEFILE64] (struct flock64): New type.
57622         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
57624         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
57625         * bits/dirent.h: ... here.
57627         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
57628         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
57630 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
57632         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57633         Change from 2.6.0 to 2.6.16.
57634         * sysdeps/unix/sysv/linux/configure: Regenerated.
57635         * sysdeps/unix/sysv/linux/kernel-features.h
57636         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
57637         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
57638         version.
57639         (__ASSUME_UTIMES): Likewise.
57640         (__ASSUME_CLONE_STOPPED): Remove.
57641         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
57642         architectures, not kernel version.
57643         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
57644         (__ASSUME_NO_CLONE_DETACHED): Likewise.
57645         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
57646         (__ASSUME_WAITID_SYSCALL): Likewise.
57647         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
57648         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
57649         * README: State 2.6.16 as minimum Linux kernel version.  Do not
57650         refer to older versions.
57652 2012-08-06  Roland McGrath  <roland@hack.frob.com>
57654         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
57655         Define alphasort64 as an alias.
57656         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
57657         Define versionsort64 as an alias.
57658         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
57659         Define scandir64 as an alias.
57660         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
57661         Define scandirat64 as an alias.
57662         * dirent/alphasort64.c (alphasort64):
57663         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
57664         * dirent/versionsort64.c: Likewise.
57665         * dirent/scandir64.c: Likewise.
57666         * dirent/scandirat64.c: Likewise.
57667         * sysdeps/wordsize-64/alphasort.c: File removed.
57668         * sysdeps/wordsize-64/alphasort64.c: File removed.
57669         * sysdeps/wordsize-64/scandir.c: File removed.
57670         * sysdeps/wordsize-64/scandir64.c: File removed.
57671         * sysdeps/wordsize-64/scandirat.c: File removed.
57672         * sysdeps/wordsize-64/scandirat64.c: File removed.
57673         * sysdeps/wordsize-64/versionsort.c: File removed.
57674         * sysdeps/wordsize-64/versionsort64.c: File removed.
57675         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
57676         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
57677         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
57678         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
57679         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
57680         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
57681         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
57682         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
57684         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
57685         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57686         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
57687         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57688         [defined __arch64__ || defined __sparcv9]
57689         (__INO_T_MATCHES_INO64_T): New macro.
57690         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57691         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
57692         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
57693         * sysdeps/unix/sysv/linux/bits/dirent.h
57694         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
57695         (_DIRENT_MATCHES_DIRENT64): New macro.
57697         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
57698         Define lockf64 as an alias.
57699         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
57700         Define fseeko64 as an alias.
57701         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
57702         Define ftello64 as an alias.
57703         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
57704         Define _IO_fgetpos64 and fgetpos64 as aliases.
57705         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
57706         Define _IO_fsetpos64 and fsetpos64 as aliases.
57707         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
57708         Conditionalize body on this.
57709         * libio/fseeko64.c: Likewise.
57710         * libio/ftello64.c: Likewise.
57711         * libio/iofgetpos64.c: Likewise.
57712         * libio/iofsetpos64.c: Likewise.
57713         * sysdeps/wordsize-64/lockf.c: File removed.
57714         * sysdeps/wordsize-64/lockf64.c: File removed.
57715         * sysdeps/wordsize-64/fseeko.c: File removed.
57716         * sysdeps/wordsize-64/fseeko64.c: File removed.
57717         * sysdeps/wordsize-64/ftello.c: File removed.
57718         * sysdeps/wordsize-64/ftello64.c: File removed.
57719         * sysdeps/wordsize-64/iofgetpos.c: File removed.
57720         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
57721         * sysdeps/wordsize-64/iofsetpos.c: File removed.
57722         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
57723         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
57724         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
57725         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
57726         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
57727         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
57728         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
57729         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
57730         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
57731         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
57732         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
57734         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57735         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
57736         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
57737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
57738         [defined __arch64__ || defined __sparcv9]
57739         (__OFF_T_MATCHES_OFF64_T): New macro.
57740         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
57741         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
57742         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
57743         (__OFF_T_MATCHES_OFF64_T): New macro.
57745 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57747         * stdlib/secure-getenv.c (__secure_getenv): Replace
57748         GLIBC_2_16 with GLIBC_2_17.
57750 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
57752         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
57753         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
57755 2012-08-03  David S. Miller  <davem@davemloft.net>
57757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57759 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57761         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
57762         Remove.
57763         (__ASSUME_CORRECT_SI_PID): Likewise.
57764         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
57765         (__ASSUME_TMPFS_NAME): Likewise.
57766         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
57767         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
57768         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
57769         (HAVE_AUX_SECURE): Make definition unconditional.
57770         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
57771         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
57773 2012-08-03  Roland McGrath  <roland@hack.frob.com>
57775         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
57776         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
57777         * sysdeps/mach/hurd/eloop-threshold.h: New file.
57778         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
57779         __eloop_threshold instead of SYMLOOP_MAX.
57781         * sysdeps/generic/eloop-threshold.h: New file.
57782         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
57783         of MAXSYMLINKS.
57784         * elf/chroot_canon.c (chroot_canon): Likewise.
57786 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
57788         [BZ #13717]
57789         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
57790         Change to 2.6.0 everywhere.
57791         * sysdeps/unix/sysv/linux/configure: Regenerated.
57792         * sysdeps/unix/sysv/linux/kernel-features.h
57793         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
57794         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
57795         kernel versions.
57796         (__ASSUME_POSIX_TIMERS): Define unconditionally.
57797         (__ASSUME_FUTEX_REQUEUE): Remove.
57798         (__ASSUME_STATFS64): Define unconditionally.
57799         (__ASSUME_AT_SECURE): Likewise.
57800         (__ASSUME_CORRECT_SI_PID): Likewise.
57801         (__ASSUME_TGKILL): Define without depending on kernel version for
57802         i386.
57803         (__ASSUME_UTIMES): Likewise.
57804         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
57805         kernel version.
57806         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
57807         (__ASSUME_TMPFS_NAME): Likewise.
57808         * README: Update reference to Linux kernel versions.
57810 2012-08-02  Marek Polacek  <polacek@redhat.com>
57812         [BZ# 14150]
57813         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
57814         libc_cv_asm_type_prefix with %.
57815         * configure: Regenerated.
57816         * include/libc-symbols.h: Remove comment about
57817         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57818         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
57819         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
57820         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
57821         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
57822         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
57823         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
57824         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
57825         * elf/tst-unique2mod1.c: Likewise.
57826         * elf/tst-unique1mod2.c: Likewise.
57827         * elf/tst-unique1mod1.c: Likewise.
57828         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
57829         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
57830         Replace ASM_TYPE_DIRECTIVE with .type.
57831         * sysdeps/s390/s390-64/sysdep.h: Likewise.
57832         * sysdeps/i386/sysdep.h: Likewise.
57833         * sysdeps/x86_64/sysdep.h: Likewise.
57834         * sysdeps/sh/sysdep.h: Likewise.
57835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
57836         Do not define ASM_TYPE_DIRECTIVE.
57837         * sysdeps/powerpc/sysdep.h: Likewise.
57838         * sysdeps/powerpc/powerpc32/sysdep.h:
57839         Replace ASM_TYPE_DIRECTIVE with .type.
57840         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
57841         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
57842         * sysdeps/i386/fpu/e_powf.S: Likewise.
57843         * sysdeps/i386/fpu/e_expl.S: Likewise.
57844         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57845         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57846         * sysdeps/i386/fpu/e_pow.S: Likewise.
57847         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57848         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57849         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57850         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57851         * sysdeps/i386/fpu/e_log2.S: Likewise.
57852         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57853         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57854         * sysdeps/i386/fpu/e_powl.S: Likewise.
57855         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57856         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57857         * sysdeps/i386/fpu/e_logl.S: Likewise.
57858         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57859         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57860         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57861         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57862         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57863         * sysdeps/i386/fpu/e_log.S: Likewise.
57864         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57865         * sysdeps/i386/fpu/e_logf.S: Likewise.
57866         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57867         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57868         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57869         * sysdeps/i386/fpu/e_log10.S: Likewise.
57870         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57871         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57872         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57873         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57874         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57875         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
57876         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57877         * sysdeps/i386/i686/strtok.S: Likewise.
57878         * sysdeps/i386/i386-mcount.S: Likewise.
57879         * sysdeps/i386/strtok.S: Likewise.
57880         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
57881         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57882         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57883         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57884         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57885         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57886         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57887         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57888         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57889         * sysdeps/x86_64/_mcount.S: Likewise.
57890         * sysdeps/x86_64/strtok.S: Likewise.
57891         * sysdeps/sh/_mcount.S: Likewise.
57893 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57895         * libio/iofopen.c: Include <fcntl.h>.
57896         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
57897         (_IO_fopen64, fopen64): Define as aliases.
57898         * libio/iofopen64.c: Include <fcntl.h>.
57899         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
57900         Conditionalize body on this.
57901         * sysdeps/wordsize-64/iofopen.c: File removed.
57902         * sysdeps/wordsize-64/iofopen64.c: File removed.
57904 2012-08-01  Marek Polacek  <polacek@redhat.com>
57906         * libc/Makeconfig: Use elf in place of binfmt-subdir.
57907         Use dlfcn directly instead of a variable.
57908         (binfmt-subdir): Do not define.
57909         (dlfcn): Likewise.
57911 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
57913         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
57914         Remove all definitions.
57915         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
57916         <kernel-features.h>.
57917         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57918         (miss_F_GETOWN_EX): Remove all definitions.
57919         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
57920         macro definition.
57921         [!__ASSUME_FCNTL64]: Remove conditional code.
57922         [__ASSUME_FCNTL64]: Make code unconditional.
57923         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
57924         <kernel-features.h>.
57925         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
57926         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
57927         (lockf64) [__NR_fcntl64]: Make code unconditional.
57928         (lockf64) [__ASSUME_FCNTL64]: Likewise.
57930         * sysdeps/unix/sysv/linux/kernel-features.h
57931         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
57932         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
57933         Make code unconditional.
57934         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57935         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
57937         [__NR_vfork]: Make code unconditional.
57938         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57939         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
57941         [__NR_vfork]: Make code unconditional.
57942         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
57943         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
57945 2012-08-01  Roland McGrath  <roland@hack.frob.com>
57947         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
57948         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57950         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57951         Define mkstemp64 as an alias.
57952         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57953         Define mkstemps64 as an alias.
57954         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57955         Define mkostemp64 as an alias.
57956         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
57957         Define mkostemps64 as an alias.
57958         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
57959         Conditionalize body on this.
57960         * misc/mkostemp64.c: Likewise.
57961         * misc/mkostemps64.c: Likewise.
57962         * misc/mkstemps64.c: Likewise.
57963         * sysdeps/wordsize-64/mkstemp64.c: File removed.
57964         * sysdeps/wordsize-64/mkostemp64.c: File removed.
57965         * sysdeps/wordsize-64/mkostemp.c: File removed.
57966         * sysdeps/wordsize-64/mkstemp.c: File removed.
57967         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
57968         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
57969         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
57970         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
57972         [BZ #14138]
57973         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
57974         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
57975         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
57976         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
57978         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
57979         compat_symbol macros from <shlib-compat.h> rather than the underlying
57980         default_symbol_version and symbol_version macros, so that DEFAULT
57981         lines in shlib-versions are respected.
57982         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
57984 2012-08-01  Florian Weimer  <fweimer@redhat.com>
57986         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
57987         Declare with warn_unused_result.
57988         (setgid, setregid, setegid, setresgid): Likewise.
57989         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
57990         Likewise.
57991         * WUR-REPORT: Remove set*id functions.
57993 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
57995         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
57997 2012-07-31  Roland McGrath  <roland@hack.frob.com>
57999         [BZ #10191]
58000         * include/sys/socket.h (__libc_accept, __libc_accept4):
58001         Add attribute_hidden.
58002         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
58004         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
58005         use of PTR_MANGLE.
58006         * inet/getnetgrent_r.c (setup): Likewise.
58008         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
58010 2012-07-31  David S. Miller  <davem@davemloft.net>
58012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58014 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
58016         [BZ #13629]
58017         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
58018         value between 1.0 and 2.0 and smaller part has absolute value less
58019         than 1.0.
58020         * math/s_clog10.c (__clog10): Likewise.
58021         * math/s_clog10f.c (__clog10f): Likewise.
58022         * math/s_clog10l.c (__clog10l): Likewise.
58023         * math/s_clogf.c (__clogf): Likewise.
58024         * math/s_clogl.c (__clogl): Likewise.
58025         * math/libm-test.inc (clog_test): Add more tests.
58026         (clog10_test): Likewise.
58027         * sysdeps/i386/fpu/libm-test-ulps: Update.
58028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58030 2012-07-31  Florian Weimer  <fweimer@redhat.com>
58032         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
58033         Exit with zero in case no suitable GID is found, and write a
58034         message to standard error.
58036 2012-07-30  Roland McGrath  <roland@hack.frob.com>
58038         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
58039         rather than to 1.
58040         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
58041         (MAXPATHLEN): Removed.
58042         (NOGROUP, NODEV): New macros.
58043         (setbit, clrbit, isset, isclr): New macros.
58044         (howmany, roundup, powerof2): New macros.
58045         (DEV_BSIZE): New macro.
58047         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
58048         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
58050         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
58051         definition on [!__NO_LONG_DOUBLE_MATH].
58053         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
58054         PTR_MANGLE and PTR_DEMANGLE.
58056         * socket/accept4.c (accept4): Rename to __libc_accept4.
58057         Define accept4 as a weak alias.
58059         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
58060         on [_DIRENT_HAVE_D_TYPE].
58061         * io/ftw.c (ftw_dir): Likewise.
58063         * io/xmknod.c (__xmknod): Don't check PATH for being null.
58065         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
58067         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
58068         Use the BSD numbers rather than the arbitrary ones we had.
58069         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
58070         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
58071         (SIGXCPU, SIGXFSZ): New macros.
58072         (_NSIG): Now 32.
58074         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
58075         initializer on [_LIBC_REENTRANT].
58077         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
58078         definitions inside [_POSIX_MAPPED_FILES].
58080         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
58082         * dirent/opendir.c: Include <fcntl.h>.
58084         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
58085         (__libc_getspecific): Likewise.
58086         (__libc_key_create): Likewise.
58088         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
58089         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
58090         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
58091         (tmpfile64): Define as alias.
58092         * sysdeps/wordsize-64/tmpfile.c: File removed.
58093         * sysdeps/wordsize-64/tmpfile64.c: File removed.
58094         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
58095         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
58097         * stdio-common/vfscanf.c: Include <stdbool.h>.
58098         * nss/makedb.c: Likewise.
58099         * stdio-common/_i18n_number.h: Likewise.
58100         * argp/argp-help.c: Likewise.
58101         * posix/wordexp.c: Likewise.
58102         * sysdeps/posix/spawni.c: Likewise.
58103         * nss/nss_files/files-initgroups.c: Likewise.
58104         * stdio-common/reg-modifier.c: Include <stdlib.h>.
58105         * nss/nss_files/files-initgroups.c: Likewise.
58106         * nss/nss_db/db-netgrp.c: Likewise.
58107         * nss/nss_db/db-initgroups.c: Likewise.
58108         * io/fchmodat.c: Include <sys/stat.h>.
58110         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
58111         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
58113         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
58114         [HAVE_MMAP].
58116         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
58117         Add multiple inclusion protection.
58119 2012-07-27  David S. Miller  <davem@davemloft.net>
58121         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58123 2012-07-27  Gary Benson  <gbenson@redhat.com>
58125         [BZ #14298]
58126         * elf/rtld.c: Include <stap-probe.h>.
58127         (dl_main): Added static probes "init_start" and "init_complete".
58128         * elf/dl-load.c: Include <stap-probe.h>.
58129         (lose): Take new parameter "nsid".
58130         Added static probe "map_failed".
58131         (_dl_map_object_from_fd): Pass namespace id to lose.
58132         Added static probe "map_start".
58133         (open_verify): Pass namespace id to lose.
58134         * elf/dl-open.c: Include <stap-probe.h>.
58135         (dl_open_worker) Added static probes "map_complete", "reloc_start"
58136         and "reloc_complete".
58137         * elf/dl-close.c: Include <stap-probe.h>.
58138         (_dl_close_worker): Added static probes "unmap_start" and
58139         "unmap_complete".
58140         * elf/rtld-debugger-interface.txt: New file documenting the above.
58142 2012-07-26  Roland McGrath  <roland@hack.frob.com>
58144         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
58145         rather than a string variable.
58146         * sunrpc/rpc_main.c (h_output): Likewise.
58147         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
58149 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
58151         * inet/check_native.c: New file.
58153 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
58155         [BZ #13629]
58156         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
58157         if larger part has absolute value 1.0.
58158         * math/s_clog10.c (__clog10): Likewise.
58159         * math/s_clog10f.c (__clog10f): Likewise.
58160         * math/s_clog10l.c (__clog10l): Likewise.
58161         * math/s_clogf.c (__clogf): Likewise.
58162         * math/s_clogl.c (__clogl): Likewise.
58163         * math/libm-test.inc (clog_test): Add more tests.
58164         (clog10_test): Likewise.
58165         * sysdeps/i386/fpu/libm-test-ulps: Update.
58166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58168         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
58169         (pltexit): Likewise.
58170         (La_regs): Likewise.
58171         (La_retval): Likewise.
58172         (int_retval): Likewise.
58173         Update #error for removed macros to refer only to definitions in
58174         tst-audit.h.
58175         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
58176         macro.
58177         (pltexit): Likewise.
58178         (La_regs): Likewise.
58179         (La_retval): Likewise.
58180         (int_retval): Likewise.
58181         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
58182         macro.
58183         (pltexit): Likewise.
58184         (La_regs): Likewise.
58185         (La_retval): Likewise.
58186         (int_retval): Likewise.
58187         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
58188         macro.
58189         (pltexit): Likewise.
58190         (La_regs): Likewise.
58191         (La_retval): Likewise.
58192         (int_retval): Likewise.
58193         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
58194         macro.
58195         (pltexit): Likewise.
58196         (La_regs): Likewise.
58197         (La_retval): Likewise.
58198         (int_retval): Likewise.
58199         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
58200         macro.
58201         (pltexit): Likewise.
58202         (La_regs): Likewise.
58203         (La_retval): Likewise.
58204         (int_retval): Likewise.
58205         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
58206         macro.
58207         (pltexit): Likewise.
58208         (La_regs): Likewise.
58209         (La_retval): Likewise.
58210         (int_retval): Likewise.
58211         * sysdeps/generic/tst-audit.h: Update comment to refer only to
58212         macro definitions in tst-audit.h.
58213         * sysdeps/i386/tst-audit.h: New file.
58214         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
58215         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
58216         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
58217         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
58218         * sysdeps/sh/tst-audit.h: Likewise.
58219         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
58220         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
58221         * sysdeps/x86_64/tst-audit.h: Likewise.
58223 2012-07-26  Andreas Jaeger  <aj@suse.de>
58225         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
58226         ptrace.
58228         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
58229         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
58230         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
58231         PTRACE_O_MASK.
58232         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
58233         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
58234         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
58236         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
58237         value.
58239         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
58240         _sigsys.
58241         (si_call_addr, si_syscall, si_arch): Define new macro.
58242         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
58243         _sigsys.
58244         (si_call_addr, si_syscall, si_arch): Define new marcro.
58245         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
58246         _sigsys.
58247         (si_call_addr, si_syscall, si_arch): Define new macro.
58248         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
58249         _sigsys.
58250         (si_call_addr, si_syscall, si_arch): Define new macro.
58252 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58254         [BZ #13717]
58255         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58256         Change to 2.4.21 where previously 2.4.1.
58257         * sysdeps/unix/sysv/linux/configure: Regenerated.
58258         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
58259         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
58260         Linux kernel version.
58261         (__ASSUME_STD_AUXV): Remove.
58262         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
58263         kernel version.
58264         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
58265         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
58266         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
58267         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
58268         (__ASSUME_NETLINK_SUPPORT): Likewise.
58269         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
58270         (__no_netlink_support): Remove conditional definition.
58271         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
58272         Remove.
58273         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58274         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
58275         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
58276         (if_nameindex_ioctl): Remove.
58277         (if_nameindex_netlink): Do not handle __no_netlink_support.
58278         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58279         code.
58280         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
58281         Remove conditional code.
58282         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
58283         code.
58284         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
58285         unconditional.
58286         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
58287         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
58288         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
58289         Remove.
58290         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
58291         [!__ASSUME_STD_AUXV]: Remove conditional code.
58292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
58293         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
58294         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
58295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
58296         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
58297         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58298         code.
58299         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58301         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
58302         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58303         conditional code.
58304         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
58305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58306         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
58307         code.
58308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58309         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
58310         conditional code.
58311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
58312         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58313         code unconditional.
58314         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58315         conditional code.
58316         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58317         unconditional.
58318         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58319         conditional code.
58320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58321         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58322         unconditional.
58323         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58324         conditional code.
58325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
58326         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58327         code unconditional.
58328         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58329         conditional code.
58330         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58331         unconditional.
58332         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58333         conditional code.
58334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
58335         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
58336         code unconditional.
58337         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58338         conditional code.
58339         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
58340         unconditional.
58341         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
58342         conditional code.
58344 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
58346         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
58347         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
58348         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
58349         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
58350         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
58351         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
58352         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
58353         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
58354         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
58355         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
58356         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
58357         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
58358         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
58359         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
58360         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
58361         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
58362         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
58363         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
58364         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
58365         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
58366         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
58367         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
58368         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
58370 2012-07-25  Florian Weimer  <fweimer@redhat.com>
58372         * Versions.def: Add GLIBC_2.17.
58373         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
58374         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
58375         Introduce __libc_secure_getenv.
58376         * stdlib/Versions (2.17): Add secure_getenv
58377         (GLIBC_PRIVATE): Add __libc_secure_getenv.
58378         * stdlib/secure-getenv.c: Rename __secure_getenv to
58379         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
58380         symbol __secure_getenv for GLIBC_2.0.
58381         * stdlib/tst-secure-getenv.c: New.
58382         * stdlib/Makefile (tests): Add testcase.
58383         * manual/startup.texi (Environment Access): Document
58384         secure_getenv.
58385         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
58386         __libc_secure_getenv.
58387         * inet/ruserpass.c (ruserpass): Likewise.
58388         * malloc/mtrace.c (mtrace): Likewise.
58389         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
58390         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
58391         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
58392         * sysdeps/posix/tempname.c: Likewise.  Evaluate
58393         HAVE_SECURE_GETENV.
58394         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
58395         __secure_getenv to __libc_secure_getenv.
58396         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
58397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58398         Likewise.
58399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58400         Likewise.
58401         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58403         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58404         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58409 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
58411         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
58412         (struct La_i86_retval): Likewise.
58413         (struct La_x86_64_regs): Likewise.
58414         (struct La_x86_64_retval): Likewise.
58415         (struct La_x32_regs): Likewise.
58416         (struct La_x32_retval): Likewise.
58417         (struct La_ppc32_regs): Likewise.
58418         (struct La_ppc32_retval): Likewise.
58419         (struct La_ppc64_regs): Likewise.
58420         (struct La_ppc64_retval): Likewise.
58421         (struct La_sh_regs): Likewise.
58422         (struct La_sh_retval): Likewise.
58423         (struct La_s390_32_regs): Likewise.
58424         (struct La_s390_32_retval): Likewise.
58425         (struct La_s390_64_regs): Likewise.
58426         (struct La_s390_64_retval): Likewise.
58427         (struct La_sparc32_regs): Likewise.
58428         (struct La_sparc32_retval): Likewise.
58429         (struct La_sparc64_regs): Likewise.
58430         (struct La_sparc64_retval): Likewise.
58431         (struct audit_ifaces): Remove architecture-specific pltenter and
58432         pltexit members.
58433         * sysdeps/i386/ldsodefs.h: New file.
58434         * sysdeps/powerpc/ldsodefs.h: Likewise.
58435         * sysdeps/s390/ldsodefs.h: Likewise.
58436         * sysdeps/sh/ldsodefs.h: Likewise.
58437         * sysdeps/sparc/ldsodefs.h: Likewise.
58438         * sysdeps/x86_64/ldsodefs.h: Likewise.
58440 2012-07-25  Marek Polacek  <polacek@redhat.com>
58442         [BZ #6808]
58443         * math/libm-test.inc (yn_test): Add another test.
58444         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
58445         to ERANGE when the result is +-Inf.
58446         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
58447         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
58448         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
58449         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
58451 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
58453         * conform/data/time.h-data (NULL): Use macro-constant.  Require
58454         equal to 0.
58455         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
58456         clock_t.
58457         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
58459 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
58461         * configure.in <sysdeps resolving>: Correct printing
58462         Implies_before.
58463         * configure: Regenerate.
58465 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
58467         * math/w_ilogb.c: Include <limits.h>.
58468         * math/w_ilogbl.c: Likewise.
58470 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58472         * manual/lang.texi (__va_copy): Document primarily as ISO C99
58473         va_copy.  Document allowing for unavailable va_copy only as
58474         pre-C99 compatibility.
58475         * manual/string.texi (Copying and Concatenation): Use va_copy
58476         instead of __va_copy in concat example.
58478 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
58480         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
58481         (__sendto): Use create_address_port.  Initialize APORT and deallocate
58482         it if not null.
58484         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
58485         with O_NOLINK passed to __file_name_lookup.
58487         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
58488         with O_NOLINK passed to __file_name_lookup.
58490         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
58491         negative N or less than NGIDS.
58493         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
58494         type to string_t.  Set ERANGE as errno and return it if NAME is not big
58495         enough.  Use memcpy instead of strncpy.
58497 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
58499         * elf/Makefile (check-data): Remove.
58500         (localplt.data): New vpath directive.
58501         ($(objpfx)check-localplt.out): Use localplt.data from vpath
58502         instead of $(check-data).
58503         * scripts/data/localplt-generic.data: Move to ...
58504         * sysdeps/generic/localplt.data: ... here.
58505         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
58506         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
58507         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
58508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
58509         ... here.
58510         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
58511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
58512         ... here.
58513         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
58514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
58515         ... here.
58516         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
58517         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
58518         ... here.
58519         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
58520         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
58521         ... here.
58522         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
58523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
58524         ... here.
58526 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58528         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
58529         PPC32 and PPC64 files.
58530         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
58531         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
58533 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58535         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
58536         __makecontext_ret to ...
58537         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
58538         ... here and call exit if uc_link is NULL.  New file.
58539         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
58540         __makecontext_ret.S.
58541         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
58542         __makecontext_ret to ...
58543         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
58544         ... here and call exit if uc_link is NULL.  New file.
58545         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
58546         __makecontext_ret.S.
58548 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58550         * elf/elf.h (R_390_IRELATIVE): New definition.
58551         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
58552         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
58553         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
58554         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
58555         (elf_machine_lazy_rel): Likewise.
58556         * sysdeps/s390/dl-irel.h: New file.
58557         * sysdeps/s390/s390-64/memcpy.S: New asm code.
58558         * sysdeps/s390/s390-64/memset.S: New asm code.
58559         * sysdeps/s390/s390-64/memcmp.S: New asm code.
58560         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
58561         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
58562         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
58563         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
58564         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
58565         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
58566         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
58567         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
58568         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
58569         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
58570         * sysdeps/s390/s390-32/memcpy.S: New asm code.
58571         * sysdeps/s390/s390-32/memset.S: New asm code.
58572         * sysdeps/s390/s390-32/memcmp.S: New asm code.
58574 2012-07-17  Marek Polacek  <polacek@redhat.com>
58576         [BZ #14349]
58577         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
58578         * sysdeps/s390/s390-64/configure.in: Likewise.
58579         * sysdeps/sparc/configure.in: Likewise.
58580         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
58581         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
58582         * sysdeps/i386/configure.in: Likewise.
58583         * sysdeps/x86_64/configure.in: Likewise.
58584         * sysdeps/sh/configure.in: Likewise.
58585         * sysdeps/s390/s390-32/configure: Regenerated.
58586         * sysdeps/s390/s390-64/configure: Likewise.
58587         * sysdeps/x86_64/configure: Likewise.
58588         * sysdeps/sh/configure: Likewise.
58589         * sysdeps/powerpc/powerpc64/configure: Likewise.
58590         * sysdeps/powerpc/powerpc32/configure: Likewise.
58591         * sysdeps/sparc/configure: Likwise.
58592         * sysdeps/i386/configure: Likewise.
58594         * elf/dl-open.c: Comment fixes.
58596 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
58598         * Makefile [CXX] (check-data): Remove.
58599         [CXX] (c++-types.data): New vpath directive.
58600         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
58601         vpath.  Do not allow for C++ type data being missing.
58602         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
58603         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
58604         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
58605         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
58606         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
58607         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
58608         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
58609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
58610         ... here.
58611         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
58612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
58613         ... here.
58614         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
58615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
58616         ... here.
58617         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
58618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
58619         ... here.
58620         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
58621         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
58622         ... here.
58623         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
58624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
58625         ... here.
58626         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
58627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
58628         ... here.
58629         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
58630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
58632         * elf/tls-macros.h (TLS_LE): Move architecture-specific
58633         definitions to architecture-specific files.
58634         (TLS_IE): Likewise.
58635         (TLS_LD): Likewise.
58636         (TLS_GD): Likewise.
58637         * sysdeps/i386/tls-macros.h: New file.
58638         * sysdeps/powerpc/tls-macros.h: Likewise.
58639         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
58640         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
58641         * sysdeps/sh/tls-macros.h: Likewise.
58642         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
58643         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
58644         * sysdeps/x86_64/tls-macros.h: Likewise.
58646 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58648         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
58649         zero value for regular exit case.
58651         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
58652         (__start_context): Preserve zero value for regular exit case.
58654 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
58655             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58657         * manual/setjmp.texi (setcontext): Clarify normal process
58658         termination when uc_link is the null pointer.
58659         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
58660         exit call.
58662 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
58664         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
58665         preprocessor.  Test for each exception mask separately.
58667 2012-07-16  Andreas Jaeger  <aj@suse.de>
58669         * po/ru.po: Update from translation team.
58671 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
58673         * conform/data/string.h-data (NULL): Use macro-constant.  Require
58674         equal to 0.
58675         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
58676         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
58677         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
58678         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
58679         [ISO || ISO99 || ISO11] (*_t): Do not allow.
58681 2012-07-13  Andreas Jaeger  <aj@suse.de>
58683         * po/fr.po: Update from translation team.
58685 2012-07-12  Marek Polacek  <polacek@redhat.com>
58687         [BZ #14173]
58688         * math/libm-test.inc (yn_test): Add test for BZ #14173.
58689         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
58690         loop condition.
58692 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
58694         [BZ #13717]
58695         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
58696         Change to 2.4.1 where previously 2.4.0.
58697         * sysdeps/unix/sysv/linux/configure: Regenerated.
58698         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
58699         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
58700         version.
58701         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
58702         (__ASSUME_AT_CLKTCK): Remove.
58703         (__ASSUME_AT_PAGESIZE): Likewise.
58704         (__ASSUME_AT_XID): Likewise.
58705         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
58706         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
58707         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
58708         unconditionally.
58709         (HAVE_AUX_PAGESIZE): Likewise.
58710         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
58711         [__ASSUME_AT_CLKTCK]: Make code unconditional.
58712         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
58714 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
58716         [BZ #14307]
58717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
58718         the temporary buffer used to invoke __gethostbyname2_r,
58719         __gethostbyaddr_r and gethostbyname4_r to make room for struct
58720         host_data / struct gaih_addrtuple.
58721         * resolv/nss_dns/dns-host.c (global scope): Move definition of
58722         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
58723         header file nss/nsswitch.h.
58724         * nss/nsswitch.h (global scope): Add definition of implementation
58725         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
58726         resolv/nss_dns/dns-host.c).
58728 2012-07-11  Andreas Jaeger  <aj@suse.de>
58730         * po/fr.po: Update from translation team.
58732         * po/sv.po: Update from translation team
58733         * po/fr.po: Another update from translation team.
58735 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58737         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
58738         for subnormals or multiply small sinh result by itself.
58739         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
58740         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58742 2012-07-11  David S. Miller  <davem@davemloft.net>
58744         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58746 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
58748         [BZ #14347]
58749         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
58750         (INTERNAL_MARK): Shift it here.
58752 2012-07-10  Marek Polacek  <polacek@redhat.com>
58754         [BZ #14151]
58755         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
58756         libc_cv_asm_global_directive with .globl.
58757         * configure: Regenerated.
58758         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
58759         with .globl.
58760         * sysdeps/i386/configure: Regenerated.
58761         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
58762         with .globl.
58763         * sysdeps/x86_64/configure: Regenerated.
58764         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
58765         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
58766         * elf/tst-unique2mod2.c: Likewise.
58767         * elf/tst-unique2mod1.c: Likewise.
58768         * elf/tst-unique1mod2.c: Likewise.
58769         * elf/tst-unique1mod1.c: Likewise.
58770         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58771         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
58772         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58773         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
58774         * sysdeps/mach/sysdep.h: Likewise.
58775         * sysdeps/i386/sysdep.h: Likewise.
58776         * sysdeps/i386/i386-mcount.S: Likewise.
58777         * sysdeps/x86_64/_mcount.S: Likewise.
58778         * sysdeps/x86_64/sysdep.h: Likewise.
58779         * sysdeps/sh/_mcount.S: Likewise.
58780         * sysdeps/sh/sysdep.h: Likewise.
58781         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
58782         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
58783         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
58784         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58785         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
58786         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
58787         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
58788         * locale/localeinfo.h: Likewise.
58789         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
58790         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
58792 2012-07-09  Roland McGrath  <roland@hack.frob.com>
58794         [BZ #14336]
58795         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
58796         system".
58797         * manual/message.texi (The Uniforum approach): Likewise.
58798         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
58799         (glibc iconv Implementation): Likewise.
58801 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
58803         [BZ #14337]
58804         * math/s_clog.c (__clog): Avoid scaling a value down where that
58805         could result in underflow.
58806         * math/s_clog10.c (__clog10): Likewise.
58807         * math/s_clog10f.c (__clog10f): Likewise.
58808         * math/s_clog10l.c (__clog10l): Likewise.
58809         * math/s_clogf.c (__clogf): Likewise.
58810         * math/s_clogl.c (__clogl): Likewise.
58811         * math/libm-test.inc (clog_test): Add more tests.
58812         (clog10_test): Likewise.
58813         * sysdeps/i386/fpu/libm-test-ulps: Update.
58814         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58816 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
58818         [BZ #14283]
58819         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
58820         by 7 not 8 to examine high bit of fractional part.
58822         [BZ #14042]
58823         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
58824         for call to __mcount_internal.
58825         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
58826         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
58827         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
58829 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
58831         [BZ #14154]
58832         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
58833         approximation for values within 0x1p-13f of an odd multiple of
58834         pi/4.
58835         * math/libm-test.inc (tan_test): Do not allow spurious underflow
58836         exception.  Add more tests.
58837         * sysdeps/i386/fpu/libm-test-ulps: Update.
58839         [BZ #6778]
58840         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
58841         inputs and return -1 for them.  Do not check for +Inf in case not
58842         reachable for +Inf.
58843         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58844         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
58845         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58846         and return -1 for them.  Do not check for +Inf in case not
58847         reachable for +Inf.
58848         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
58849         define.
58850         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
58851         and return -1 for them.  Do not check for +Inf in case not
58852         reachable for +Inf.
58853         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
58854         spurious underflow.
58855         * sysdeps/i386/fpu/libm-test-ulps: Update.
58856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58858 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
58860         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
58862 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
58864         [BZ #14157]
58865         [BZ #14331]
58866         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
58867         could result in spurious underflow.  Scale down values above
58868         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
58869         * math/s_csqrtf.c (__csqrtf): Likewise.
58870         * math/s_csqrtl.c (__csqrtl): Likewise.
58871         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
58872         spurious underflow.
58873         * sysdeps/i386/fpu/libm-test-ulps: Update.
58874         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58876 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
58878         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
58879         xopen-msg.sed.
58880         * catgets/xopen-msg.awk: New file.
58881         * catgets/xopen-msg.sed: Removed.
58883         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
58884         po2text.sed.
58885         * intl/po2test.awk: New file.
58886         * intl/po2test.sed: Removed.
58888 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
58890         [BZ #14328]
58891         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
58892         or multiply small sinh result by itself.
58893         * math/s_ctanf.c (__ctanf): Likewise.
58894         * math/s_ctanh.c (__ctanh): Likewise.
58895         * math/s_ctanhf.c (__ctanhf): Likewise.
58896         * math/s_ctanhl.c (__ctanhl): Likewise.
58897         * math/s_ctanl.c (__ctanl): Likewise.
58898         * math/libm-test.inc (ctan_test_tonearest): New function.
58899         (ctan_test_towardzero): Likewise.
58900         (ctan_test_downward): Likewise.
58901         (ctan_test_upward): Likewise.
58902         (ctanh_test_tonearest): Likewise.
58903         (ctanh_test_towardzero): Likewise.
58904         (ctanh_test_downward): Likewise.
58905         (ctanh_test_upward): Likewise.
58906         (main): Call these new functions.
58907         * sysdeps/i386/fpu/libm-test-ulps: Update.
58908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58910 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
58912         * .gitignore: Delete /ports entry.
58914 2012-07-03  Andreas Jaeger  <aj@suse.de>
58916         * po/bg.po: Update from translation team.
58917         * po/cs.po: Likewise.
58918         * po/de.po: Likewise.
58919         * po/hr.po: Likewise.
58920         * po/nl.pl: Likewise.
58921         * po/pl.po: Likewise.
58922         * po/vi.po: Likewise.
58924 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
58926         * Makeconfig [!+link] (+link-before-libc): New variable.
58927         [!+link] (+link-after-libc): Likewise.
58928         [!+link] (+link-tests): Likewise.
58929         [!+link] (+link): Define in terms of $(+link-before-libc) and
58930         $(+link-after-libc).
58931         [!+link-static] (+link-static-before-libc): New variable.
58932         [!+link-static] (+link-static-after-libc): Likewise.
58933         [!+link-static] (+link-static-tests): Likewise.
58934         [!+link-static] (+link-static): Define in terms of
58935         $(+link-static-before-libc) and $(+link-static-after-libc).
58936         [build-shared] (link-libc-before-gnulib): New variable.
58937         [build-shared] (link-libc-tests): Likewise.
58938         [build-shared] (link-libc): Define in terms of
58939         $(link-libc-before-gnulib).
58940         [!build-shared] (link-libc-tests): New variable.
58941         (link-libc-static-tests): New variable.
58942         [!gnulib] (gnulib-arch): New variable.
58943         [!gnulib] (gnulib-tests): Likewise.
58944         [!gnulib] (static-gnulib-arch): Likewise.
58945         [!gnulib] (static-gnulib-tests): Likewise.
58946         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
58947         Define with "=" instead of ":=".
58948         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
58949         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
58950         * Rules (binaries-all-notests): New variable.
58951         (binaries-all-tests): Likewise.
58952         (binaries-static-notests): Likewise.
58953         (binaries-static-tests): Likewise.
58954         (binaries-all): Define using $(binaries-all-notests) and
58955         $(binaries-all-tests).
58956         (binaries-static): Define using $(binaries-static-notests) and
58957         $(binaries-static-tests).
58958         (binaries-shared-tests): New variable.
58959         (binaries-shared-notests): Likewise.
58960         (binaries-shared): Remove variable.
58961         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
58962         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
58963         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
58964         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
58965         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
58966         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
58967         * elf/Makefile (sln-modules): New variable.
58968         (extra-objs): Add $(sln-modules:=.o).
58969         (ldconfig-modules): Add static-stubs.
58970         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
58971         * elf/static-stubs.c: New file.
58973         [BZ #14283]
58974         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
58975         by 7 not 8 to examine high bit of fractional part.  Use volatile
58976         variables when splitting into final array of floats if
58977         __FLT_EVAL_METHOD__ != 0.
58978         * math/libm-test.inc (cos_test): Add another test.
58979         (sin_test): Likewise.
58980         * sysdeps/i386/fpu/libm-test-ulps: Update.
58982         [BZ #14273]
58983         * math/libm-test.inc (cosh_test): Add more tests.
58985         * version.h (RELEASE): Set to "development".
58986         (VERSION): Set to "2.16.90".
58988 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
58990         * NEWS: Update copyright. Remove last-updated date.
58991         Mention math library bug fixes and timezone data changes.
58992         * README: Mention GNU/Hurd, x32, and HPPA support status.
58994 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
58996         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
58998 2012-06-27  Andreas Jaeger  <aj@suse.de>
59000         * manual/contrib.texi (Contributors): Add Samuel Thibault.
59002 2012-06-25  Andreas Jaeger  <aj@suse.de>
59004         * sysdeps/s390/fpu/libm-test-ulps: Update.
59006 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
59007             Thomas Schwinge  <thomas@codesourcery.com>
59009         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
59010         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
59011         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
59012         fanotify_mark.
59014 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
59016         * sysdeps/mach/start.c: Remove file.
59017         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
59018         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
59019         * sysdeps/sh/init-first.c: Likewise.
59021         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
59022         registers for frame unwinding purposes, add CFI directives.
59023         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59024         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
59025         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
59026         Likewise.
59028         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
59029         __fortify_fail returning.
59030         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
59032         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
59033         sysdeps/sh/____longjmp_chk.S.
59034         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
59035         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
59036         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
59037         (gen-as-const-headers): Append sigaltstack-offsets.sym.
59039         * sysdeps/sh/abort-instr.h: New file.
59040         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
59041         process in case exit returns.
59043         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
59044         initialize the GOT register before use.
59046         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
59047         calculation of ARGC > 4.
59049         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
59050         meaningful names to some local labels.
59052 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59053             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59055         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
59056         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
59057         (__arch_compare_and_exchange_val_16_acq): Likewise.
59058         (__arch_compare_and_exchange_val_32_acq): Likewise.
59059         (atomic_exchange_and_add): Fix gUSA sequence.
59060         (atomic_add): Likewise.
59061         (atomic_add_negative): Likewise.
59062         (atomic_add_zero): Likewise.
59063         (atomic_bit_test_set): Likewise.
59065 2012-06-22  Andreas Schwab  <schwab@redhat.com>
59067         [BZ #13579]
59068         * include/link.h (struct link_map): Add l_free_initfini.
59069         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
59070         l_initfini.
59071         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
59072         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
59073         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
59074         set.
59076 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
59078         * configure.in: Use AC_LANG_SOURCE.
59079         * configure: Regenerate.
59081 2012-06-22  Roland McGrath  <roland@hack.frob.com>
59083         * configure.in (libc_cv_localstatedir): New substituted variable.
59084         * configure: Regenerated.
59085         * config.make.in (localstatedir): New variable, substituted from
59086         libc_cv_localstatedir.
59087         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
59088         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
59089         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
59090         * sysdeps/gnu/configure: Regenerated.
59092 2012-06-21  Jeff Law  <law@redhat.com>
59094         [BZ #14277]
59095         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
59096         free.  Simplify list management for _LIBC case.
59098 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
59100         [BZ #14273]
59101         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
59102         Clear sign bit of 64-bit integer value before comparing against
59103         overflow value.
59105         * sysdeps/mach/configure: Regenerated.
59107 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
59109         [BZ #14278]
59110         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
59112 2012-06-21  Jeff Law  <law@redhat.com>
59114         [BZ #13882]
59115         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
59116         uint16_t for elements in the "seen" array to avoid char overflows.
59117         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59118         * elf/dl-open.c (dl_open_worker): Likewise.
59120 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
59122         * scripts/list-sources.sh: Scan PORTS for translations.
59123         * po/libc.pot: Regenerated.
59125 2012-06-21  Andreas Jaeger  <aj@suse.de>
59127         [BZ #12194]
59128         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
59129         warning.
59130         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
59131         * bits/byteswap-16.h (__bswap_16): Likewise.
59132         * bits/byteswap.h (__bswap_constant_16): Likewise.
59134 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
59136         [BZ #14117]
59137         * sysdeps/i386/fpu_control.h: Removed.
59138         * sysdeps/x86_64/fpu_control.h: Moved to ...
59139         * sysdeps/x86/fpu_control.h: Here.
59141         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
59142         (_FPU_SETCW): Likewise.
59144 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
59146         [BZ #14117]
59147         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
59148         * sysdeps/x86/fpu/bits/mathinline.h: This.
59149         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
59151         [BZ #14050]
59152         [BZ #14117]
59153         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
59154         functions if __x86_64__ is defined.
59156 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
59158         * string/endian.h: Add !__ASSEMBLER__ condition for including
59159         conversion interfaces.
59161 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
59163         [BZ #14241]
59164         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
59165         of ABS(x) in calculating zero to negative powers other than odd
59166         integers.
59167         * math/libm-test.inc (pow_test): Add more tests.
59169 2012-06-15  Andreas Jaeger  <aj@suse.de>
59171         * manual/contrib.texi (Contributors): Update entry of Liubov
59172         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
59173         Machado Filho.
59175 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
59177         * string/string.h: Add __wur to GNU version of strerror_r.
59179 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
59181         [BZ #14229]
59182         * string/Makefile (tests): Add tst-strtok_r.
59183         * string/tst-strtok_r.c: New file.
59184         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
59185         RAX_LP/RDX_LP on SAVE_PTR.
59187 2012-06-14  Roland McGrath  <roland@hack.frob.com>
59189         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
59191 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
59193         * libm_test.inc (csqrt_test): Allow more spurious underflow
59194         exceptions.
59195         (j0_test): Likewise.
59196         (j1_test): Likewise.
59197         (y0_test): Likewise.
59198         (y1_test): Likewise.
59200 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
59202         * po/Makefile (libc.pot): Use UTF-8 charset.
59204 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
59206         [BZ #14210]
59207         Suppress sign-conversion warning from FD_SET.
59208         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
59209         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
59210         not unsigned long int.
59211         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
59213 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
59215         [BZ #14050]
59216         [BZ #14117]
59217         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
59218         __extern_always_inline instead of __extern_inline.
59219         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
59220         (__signbit): Likewise.
59221         (__signbitl): Support C++ namespace.
59222         (lrintf): New inline function.
59223         (lrint): Likewise.
59224         (llrintf): Likewise.
59225         (llrint): Likewise.
59226         (fmaxf): Likewise.
59227         (fmax): Likewise.
59228         (fminf): Likewise.
59229         (fmin): Likewise.
59230         (rint): Likewise.
59231         (rintf): Likewise.
59232         (ceil): Likewise.
59233         (ceilf): Likewise.
59234         (floor): Likewise.
59235         (floorf): Likewise.
59236         (nearbyint): Likewise.
59237         (nearbyintf): Likewise.
59239 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
59241         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
59242         non-default versions.
59244 2012-06-11  Roland McGrath  <roland@hack.frob.com>
59246         [BZ #14218]
59247         * manual/argp.texi (Argp): Reword argp_parse description slightly.
59249 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
59251         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
59252         (FE_UPWARD, FE_DOWNWARD): Don't define.
59253         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
59254         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59256         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
59257         reading it.
59258         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59259         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59261 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59263         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
59264         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
59265         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
59266         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
59268 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
59270         [BZ #14117]
59271         * sysdeps/i386/fpu/bits/fenv.h: Removed.
59272         * sysdeps/i386/fpu/Implies: New file.
59273         * sysdeps/x86_64/fpu/Implies: Likewise.
59274         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
59275         * sysdeps/x86/fpu/bits/fenv.h: This.
59277         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
59278         __SSE_MATH__.
59280 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59282         [BZ #14134]
59283         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
59284         character 0xffff that matches the last element of the
59285         conversion table.
59287 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59289         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
59290         fmodl commit.
59292 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59294         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
59295         values higher than 25.6283.
59297 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59299         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
59300         subnormal exponent extraction and add some __builtin_expect.
59301         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
59302         Fix for subnormal mantissa calculation.
59304 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
59306         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
59307         cpu2 is -1 and errno is not ENOSYS.
59309 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
59311         [BZ #14117]
59312         * sysdeps/i386/i486/bits/string.h: Renamed to ...
59313         * sysdeps/x86/bits/string.h: This.
59314         * sysdeps/x86_64/bits/string.h: Removed.
59316         * sysdeps/i386/i486/bits/string.h: Define inline functions only
59317         if not compiling for x86-64, but compiling for >= i486.
59319         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
59320         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
59322         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
59323         New macro from Linux kernel 3.4.0.
59324         (FP_XSTATE_MAGIC2): Likewise.
59325         (FP_XSTATE_MAGIC2_SIZE): Likewise.
59326         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
59327         (struct _fpx_sw_bytes): New struct.
59328         (struct _xsave_hdr): Likewise.
59329         (struct _ymmh_state): Likewise.
59330         (struct _xstate): Likewise.
59332         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
59333         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
59334         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
59335         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
59336         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
59337         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
59339         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
59340         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
59341         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
59342         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
59343         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
59344         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
59346 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59348         [BZ #13743]
59349         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
59350         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
59351         (sysdep_headers): Include sys/platform/ppc.h.
59352         * sysdeps/powerpc/test-gettimebase.c: Test for
59353         __ppc_get_timebase() to catch future ISA opcode/insn changes.
59354         * manual/Makefile (appendices): Include platform.texi.
59355         * manual/contrib.texi (Contributors): Update @node pointers.
59356         * manual/maint.texi (Maintenance): Likewise.
59357         (Platform): New node.
59358         * manual/platform.texi: New file.  Document the new features.
59360 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59361             Jakub Jelinek  <jakub@redhat.com>
59363         [BZ #14188]
59364         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
59365         where __builtin_expect is unavailable.
59367 2012-06-03  David S. Miller  <davem@davemloft.net>
59369         * stdlib/longlong.h: Updated from GCC.
59371 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
59373         [BZ #14042]
59374         * sysdeps/powerpc/powerpc32/mcount.c: New file.
59375         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
59376         __mcount_internal.
59377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59378         (GLIBC_2.16): Likewise.
59380 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59382         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
59384 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
59387         (default-abi): New variable.
59388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
59389         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
59390         variable.
59391         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
59392         Likewise.
59393         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
59394         Likewise.
59395         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
59396         Likewise.
59398         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
59399         definition.  Document in comment.
59401 2012-06-01  David S. Miller  <davem@davemloft.net>
59403         * stdlib/longlong.h: Updated from GCC.
59405 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59407         [BZ #14117]
59408         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
59409         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
59410         sys/debugreg.h sys/io.h here.
59411         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
59412         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
59413         sys/io.h.
59414         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
59415         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
59416         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
59417         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
59418         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
59419         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
59421         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
59422         Define only if __x86_64__ is defined.
59424 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
59426         [BZ #14048]
59427         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
59428         Use int64_t for variable i.
59429         * math/libm-test.inc (fmod_test): Add more tests.
59431         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
59432         z computation is not scheduled after fetestexcept.
59433         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
59434         Use math_force_eval instead of asm to ensure calculation scheduled
59435         before exception test.
59436         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
59437         Ensure a1 + u.d computation is not scheduled after fetestexcept.
59439 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
59441         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
59442         computation is not scheduled after fetestexcept.
59444 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
59446         [BZ #14117]
59447         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
59448         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
59450 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59452         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
59453         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
59455 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59457         [BZ #14117]
59458         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
59459         <bits/wordsize.h>.
59460         (__WCHAR_MIN): Support __WORDSIZE == 64.
59461         (__WCHAR_MAX): Likewise.
59463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
59464         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
59466         [BZ #14183]
59467         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
59468         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
59470         [BZ #14117]
59471         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
59472         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
59474         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
59475         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
59477         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
59478         Defined to 1 if __x86_64__ isn't defined.
59479         (_STAT_VER_LINUX_OLD): New.
59480         (st_atime): Remove duplicate.
59481         (st_mtime): Likewise.
59482         (st_ctime): Likewise.
59484 2012-05-31  David S. Miller  <davem@davemloft.net>
59486         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
59487         entries.
59489 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
59491         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
59492         gen-libm-test.pl.
59494         [BZ #14132]
59495         * elf/dl-reloc.c: Include <_itoa.h>.
59496         (_dl_reloc_bad_type): Remove use of INTUSE.
59497         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
59498         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
59499         * stdio-common/psiginfo.c (psiginfo): Likewise.
59500         * stdio-common/psignal.c (psignal): Likewise.
59501         * string/strsignal.c (strsignal): Likewise.
59502         * include/signal.h (_sys_siglist): Declare hidden proto.
59503         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
59504         INTVARDEF with libc_hidden_data_def.
59505         * stdio-common/itoa-udigits.c: Likewise.
59506         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
59507         (_itoa_lower_digits_internal): Remove declaration.
59508         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
59509         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
59510         (_sys_sigabbrev_internal): Remove aliases.
59511         (_sys_siglist): Define hidden alias.
59513 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
59515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59516         bits/sysctl.h.
59518 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
59520         [BZ #14117]
59521         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
59522         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
59524         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
59525         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
59526         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
59527         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
59528         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
59529         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
59531         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
59532         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
59533         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
59535         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
59536         with __addr.
59537         (insw): Likewise.
59538         (insl): Likewise.
59539         (outsb): Likewise.
59540         (outsw): Likewise.
59541         (outsl): Likewise.
59543         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
59544         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
59545         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
59547         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
59548         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
59549         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
59550         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
59551         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
59552         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
59554         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
59555         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
59557         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
59558         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
59560         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
59561         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
59562         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
59564         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
59565         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
59566         to ...
59567         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
59569         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
59570         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
59571         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
59573         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
59574         for x86-64.
59575         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
59577 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
59579         * math/math.h (M_El): Use two more decimal places.
59580         (M_LOG2El): Likewise.
59581         (M_LOG10El): Likewise.
59582         (M_LN2l): Likewise.
59583         (M_LN10l): Likewise.
59584         (M_PIl): Likewise.
59585         (M_PI_2l): Likewise.
59586         (M_PI_4l): Likewise.
59587         (M_1_PIl): Likewise.
59588         (M_2_PIl): Likewise.
59589         (M_2_SQRTPIl): Likewise.
59590         (M_SQRT2l): Likewise.
59591         (M_SQRT1_2l): Likewise.
59593 2012-05-31  David S. Miller  <davem@davemloft.net>
59595         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
59596         values between float registers.
59597         * sysdeps/sparc/sparc64/memset.S: Likewise.
59598         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
59600 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
59602         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
59603         -D_FORTIFY_SOURCE=1.
59604         (CPPFLAGS-tst-longjmp_chk.c): Define.
59605         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
59606         (CPPFLAGS-tst-longjmp_chk2.c): Define.
59607         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
59608         CFLAGS-tst-wchar-h.c.
59610 2012-05-31  Marek Polacek  <polacek@redhat.com>
59612         [BZ #14132]
59613         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
59614         __endmntent_internal): Remove declaration.
59615         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
59616         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
59617         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
59619 2012-05-30  David S. Miller  <davem@davemloft.net>
59621         * sysdeps/sparc/sparc32/soft-fp/q_util.c
59622         (___Q_simulate_exceptions): Use real FP ops rather than writing
59623         into the %fsr.
59624         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
59625         Likewise.
59627 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59629         [BZ #14117]
59630         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
59631         * sysdeps/x86/bits/xtitypes.h: This.
59633         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
59634         * sysdeps/x86/bits/wordsize.h: This.
59636         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
59637         * sysdeps/x86/bits/huge_vall.h: This.
59639         * sysdeps/i386/bits/select.h: Removed.
59640         * sysdeps/x86_64/bits/select.h: Renamed to ...
59641         * sysdeps/x86/bits/select.h: This.
59643         * sysdeps/i386/bits/setjmp.h: Removed.
59644         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
59645         * sysdeps/x86/bits/setjmp.h: This.
59647         * sysdeps/i386/bits/mathdef.h: Removed.
59648         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
59649         * sysdeps/x86/bits/mathdef.h: This.
59651 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
59653         [BZ #14132]
59654         * include/sys/socket.h (__connect_internal)
59655         (__libc_sa_len_internal): Remove declaration.
59656         (__connect, __libc_sa_len): Declare hidden_proto.
59657         (SA_LEN): Remove use of INTUSE.
59658         * socket/connect.c: Add libc_hidden_def.
59659         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
59660         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
59661         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
59662         alias.
59663         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
59664         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
59665         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
59666         of adding _internal alias.
59668 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59670         [BZ #14117]
59671         * sysdeps/i386/bits/link.h: Removed.
59672         * sysdeps/i386/bits/linkmap.h: Likewise.
59673         * sysdeps/x86_64/bits/link.h: Renamed to ...
59674         * sysdeps/x86/bits/link.h: This.
59675         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
59676         * sysdeps/x86/bits/linkmap.h: This.
59678         * sysdeps/i386/bits/endian.h: Removed.
59679         * sysdeps/x86_64/bits/endian.h: Renamed to ...
59680         * sysdeps/x86/bits/endian.h: This.
59682         * sysdeps/i386/bits/byteswap.h: Removed.
59683         * sysdeps/i386/bits/byteswap-16.h: Likewise.
59684         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
59685         * sysdeps/x86/bits/byteswap.h: This.
59686         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
59687         * sysdeps/x86/bits/byteswap-16.h: This.
59688         * sysdeps/i386/Implies: Add x86.
59689         * sysdeps/x86_64/Implies: Likewise.
59691 2012-05-30  David S. Miller  <davem@davemloft.net>
59693         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
59694         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
59695         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
59696         (FP_TRAPPING_EXCEPTIONS): Define.
59697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
59698         (FP_TRAPPING_EXCEPTIONS): Define.
59699         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
59700         subnormals only when inexact has been signalled or underflow
59701         exceptions are enabled.
59702         (_FP_PACK_CANONICAL): Likewise.
59704 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59706         [BZ #14183]
59707         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
59708         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
59710 2012-05-30  Richard Henderson  <rth@twiddle.net>
59712         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
59713         with #ifndef NOT_IN_libc.
59715         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
59716         marked to avoid plt entry.
59718 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
59720         [BZ #14112]
59721         * Makeconfig (default-abi): New macro.
59722         (abi-includes): Likewise.
59723         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
59724         $(abi-$(default-abi)-lib-soname) for soname if defined.
59725         ($(common-objpfx)gnu/lib-names.stmp): Generate from
59726         abi-variants.
59727         * Makefile (installed-stubs): Likewise.
59728         * include/stubs-biarch.h: Removed.
59729         * scripts/lib-names.awk: Only handle one library at a time.
59730         * scripts/soversions.awk: Remove WORDSIZE support.
59731         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
59732         entries.
59733         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
59734         Removed.
59735         (syscall-list-default-condition): Likewise.
59736         (syscall-list-default-condition): Likewise.
59737         (syscall-list-includes): Likewise.
59738         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
59739         syscall-list-* with abi-*.  Handle undefined abi-variants.
59740         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
59741         * sysdeps/unix/sysv/linux/i386/Implies: New file.
59742         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
59743         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
59744         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
59745         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
59746         Removed.
59747         (syscall-list-32-options): Likewise.
59748         (syscall-list-32-condition): Likewise.
59749         (syscall-list-64-options): Likewise.
59750         (syscall-list-64-condition): Likewise.
59751         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
59752         macro.
59753         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
59754         Renamed to ...
59755         (abi-*): This.
59756         (abi-64-ld-soname): New macro.
59757         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
59758         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
59759         Renamed to ...
59760         (abi-*): This.
59761         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
59762         * sysdeps/x86_64/x32/shlib-versions: Likewise.
59764 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
59766         * sysdeps/unix/sysv/linux/kernel-features.h
59767         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
59768         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
59769         include <kernel-features.h>.
59770         [!__NR_ftruncate64]: Remove conditional code.
59771         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59772         [__NR_ftruncate64]: Make code unconditional.
59773         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59774         * sysdeps/unix/sysv/linux/truncate64.c: Do not
59775         include <kernel-features.h>.
59776         [!__NR_ftruncate64]: Remove conditional code.
59777         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59778         [__NR_ftruncate64]: Make code unconditional.
59779         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
59781         include <kernel-features.h>.
59782         [!__NR_ftruncate64]: Remove conditional code.
59783         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59784         [__NR_ftruncate64]: Make code unconditional.
59785         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
59787         include <kernel-features.h>.
59788         [!__NR_ftruncate64]: Remove conditional code.
59789         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59790         [__NR_ftruncate64]: Make code unconditional.
59791         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
59793         * configure.in (libc_cv_fpie): Weaken to a compile test using
59794         LIBC_TRY_CC_OPTION.
59795         * configure: Regenerated.
59797 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
59800         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
59801         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
59802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
59803         Refreshed.
59804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
59805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
59806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
59807         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
59808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
59809         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
59810         Refreshed.
59812 2012-05-27  David S. Miller  <davem@davemloft.net>
59814         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
59815         (___Q_zero): New.
59816         (__Q_simulate_exceptions): Return void.  Change to simulate
59817         exceptions by writing into the %fsr.
59818         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
59819         (__Qp_handle_exceptions): Likewise.
59820         (numbers): Delete.
59821         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
59822         __Qp_handle_exceptions.
59823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
59824         __Qp_handle_exceptions.
59825         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59826         as unused and give dummy FP_RND_NEAREST initializer.
59827         (FP_INHIBIT_RESULTS): Define.
59828         (___Q_simulate_exceptions): Update declaration.
59829         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
59830         formatting.
59831         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
59832         as unused and give dummy FP_RND_NEAREST initializer.
59833         (__Qp_handle_exceptions): Update declaration.
59834         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
59835         formatting.
59837 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
59839         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
59840         the temporary FPU control word.
59841         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
59842         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
59843         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
59844         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
59845         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
59846         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
59847         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
59848         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
59849         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
59850         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
59851         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59853 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59855         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
59856         fields.
59858 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
59860         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
59861         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
59862         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
59863         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
59864         Likewise.
59865         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
59866         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
59867         Likewise.
59869 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
59871         * po/h.po: Update from translation team.
59873 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
59875         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
59877         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
59878         handling of denormals.
59879         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
59880         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
59881         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
59882         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
59883         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
59885         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
59886         Likewise.
59888 2012-05-26  Marek Polacek  <polacek@redhat.com>
59890         [BZ #14152]
59891         * math/libm-test.inc (fma_test): Don't always expect underflow
59892         exception.
59894 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59896         [BZ #12416]
59897         * elf/tst-execstack.c: Include stackinfo.h.
59898         (do_test): Adjust test case to ensure that pthread_getattr_np
59899         behaviour remains the same after marking stack executable.
59901 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59903         * sysdeps/unix/sysv/linux/kernel-features.h
59904         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
59905         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
59906         kernel-features.h.
59907         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59908         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59909         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
59910         kernel-features.h.
59911         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
59912         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
59914 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
59916         * configure.in: Define the default includes to being none.
59917         * configure: Regenerated.
59919 2012-05-25  Roland McGrath  <roland@hack.frob.com>
59921         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
59922         * sysdeps/x86_64/setjmp.S: Likewise.
59923         * sysdeps/i386/bsd-setjmp.S: Likewise.
59924         * sysdeps/i386/bsd-_setjmp.S: Likewise.
59925         * sysdeps/i386/setjmp.S: Likewise.
59926         * sysdeps/i386/__longjmp.S: Likewise.
59927         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
59928         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
59930         * include/stap-probe.h: New file.
59931         * configure.in: Handle --enable-systemtap.
59932         * configure: Regenerated.
59933         * config.h.in (USE_STAP_PROBE): New #undef.
59934         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
59935         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
59936         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
59938 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
59940         [BZ #13717]
59941         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
59942         to 2.4.0 where earlier.
59943         * sysdeps/unix/sysv/linux/configure: Regenerated.
59944         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
59953         [__ASSUME_32BITUIDS]: Make code unconditional.
59954         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
59955         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
59956         <kernel-features.h>.
59957         [__ASSUME_32BITUIDS]: Make code unconditional.
59958         [!__ASSUME_32BITUIDS]: Remove conditional code.
59959         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
59960         <kernel-features.h>.
59961         [__ASSUME_32BITUIDS]: Make code unconditional.
59962         [!__ASSUME_32BITUIDS]: Remove conditional code.
59963         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
59964         <kernel-features.h>.
59965         [__ASSUME_32BITUIDS]: Make code unconditional.
59966         [!__ASSUME_32BITUIDS]: Remove conditional code.
59967         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
59968         <kernel-features.h>.
59969         [__ASSUME_32BITUIDS]: Make code unconditional.
59970         [!__ASSUME_32BITUIDS]: Remove conditional code.
59971         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
59972         <kernel-features.h>.
59973         [__ASSUME_32BITUIDS]: Make code unconditional.
59974         [!__ASSUME_32BITUIDS]: Remove conditional code.
59975         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
59976         <kernel-features.h>.
59977         [__ASSUME_32BITUIDS]: Make code unconditional.
59978         [!__ASSUME_32BITUIDS]: Remove conditional code.
59979         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
59980         <kernel-features.h>.
59981         [__ASSUME_32BITUIDS]: Make code unconditional.
59982         [!__ASSUME_32BITUIDS]: Remove conditional code.
59983         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
59984         <kernel-features.h>.
59985         [__ASSUME_32BITUIDS]: Make code unconditional.
59986         [!__ASSUME_32BITUIDS]: Remove conditional code.
59987         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
59988         <kernel-features.h>.
59989         [__ASSUME_32BITUIDS]: Make code unconditional.
59990         [!__ASSUME_32BITUIDS]: Remove conditional code.
59991         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
59992         <kernel-features.h>.
59993         [__ASSUME_32BITUIDS]: Make code unconditional.
59994         [!__ASSUME_32BITUIDS]: Remove conditional code.
59995         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
59996         <kernel-features.h>.
59997         [__NR_setresgid] (__setresgid): Do not declare.
59998         [__ASSUME_32BITUIDS]: Make code unconditional.
59999         [!__ASSUME_32BITUIDS]: Remove conditional code.
60000         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
60001         <kernel-features.h>.
60002         [__NR_setresuid] (__setresuid): Do not declare.
60003         [__ASSUME_32BITUIDS]: Make code unconditional.
60004         [!__ASSUME_32BITUIDS]: Remove conditional code.
60005         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
60006         <kernel-features.h>.
60007         [__ASSUME_32BITUIDS]: Make code unconditional.
60008         [!__ASSUME_32BITUIDS]: Remove conditional code.
60009         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
60010         <kernel-features.h>.
60011         [__ASSUME_32BITUIDS]: Make code unconditional.
60012         [!__ASSUME_32BITUIDS]: Remove conditional code.
60013         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
60014         <kernel-features.h>.
60015         [__ASSUME_32BITUIDS]: Make code unconditional.
60016         [!__ASSUME_32BITUIDS]: Remove conditional code.
60017         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
60018         <kernel-features.h>.
60019         [__ASSUME_32BITUIDS]: Make code unconditional.
60020         [!__ASSUME_32BITUIDS]: Remove conditional code.
60021         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
60022         <kernel-features.h>.
60023         [__ASSUME_32BITUIDS]: Make code unconditional.
60024         [!__ASSUME_32BITUIDS]: Remove conditional code.
60025         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
60026         <kernel-features.h>.
60027         [__ASSUME_32BITUIDS]: Make code unconditional.
60028         [!__ASSUME_32BITUIDS]: Remove conditional code.
60029         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
60030         <kernel-features.h>.
60031         [__ASSUME_32BITUIDS]: Make code unconditional.
60032         [!__ASSUME_32BITUIDS]: Remove conditional code.
60033         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
60034         <kernel-features.h>.
60035         [__ASSUME_32BITUIDS]: Make code unconditional.
60036         [!__ASSUME_32BITUIDS]: Remove conditional code.
60037         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
60038         <kernel-features.h>.
60039         [__ASSUME_32BITUIDS]: Make code unconditional.
60040         [!__ASSUME_32BITUIDS]: Remove conditional code.
60041         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
60042         <kernel-features.h>.
60043         [__ASSUME_32BITUIDS]: Make code unconditional.
60044         [!__ASSUME_32BITUIDS]: Remove conditional code.
60045         * sysdeps/unix/sysv/linux/kernel-features.h
60046         (__ASSUME_SETRESUID_SYSCALL): Remove.
60047         (__ASSUME_SETRESGID_SYSCALL): Likewise.
60048         (__ASSUME_32BITUIDS): Likewise.
60049         (__ASSUME_LDT_WORKS): Likewise.
60050         (__ASSUME_O_DIRECTORY): Likewise.
60051         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
60052         architecture but not kernel version.
60053         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
60054         (__ASSUME_MMAP2_SYSCALL): Likewise.
60055         (__ASSUME_STAT64_SYSCALL): Likewise.
60056         (__ASSUME_IPC64): Likewise.
60057         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
60058         <kernel-features.h>.
60059         [__ASSUME_32BITUIDS]: Make code unconditional.
60060         [!__ASSUME_32BITUIDS]: Remove conditional code.
60061         * sysdeps/unix/sysv/linux/opendir.c: Do not include
60062         <kernel-features.h>.
60063         [__ASSUME_O_DIRECTORY]: Make code unconditional.
60064         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
60065         132096]: Remove conditional code.
60066         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
60067         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
60068         <kernel-features.h>.
60069         [__ASSUME_32BITUIDS]: Make code unconditional.
60070         [!__ASSUME_32BITUIDS]: Remove conditional code.
60071         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
60072         <kernel-features.h>.
60073         [__ASSUME_32BITUIDS]: Make code unconditional.
60074         [!__ASSUME_32BITUIDS]: Remove conditional code.
60075         * sysdeps/unix/sysv/linux/setegid.c: Do not include
60076         <kernel-features.h>.
60077         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
60078         unconditional.
60079         (__setresgid): Do not declare.
60080         [__ASSUME_32BITUIDS]: Make code unconditional.
60081         [!__ASSUME_32BITUIDS]: Remove conditional code.
60082         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
60083         <kernel-features.h>.
60084         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
60085         unconditional.
60086         (__setresuid): Do not declare.
60087         [__ASSUME_32BITUIDS]: Make code unconditional.
60088         [!__ASSUME_32BITUIDS]: Remove conditional code.
60089         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
60090         <kernel-features.h>.
60091         [__ASSUME_32BITUIDS]: Make code unconditional.
60092         [!__ASSUME_32BITUIDS]: Remove conditional code.
60093         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
60094         <kernel-features.h>.
60095         [__ASSUME_32BITUIDS]: Make code unconditional.
60096         [!__ASSUME_32BITUIDS]: Remove conditional code.
60098 2012-05-25  Richard Henderson  <rth@twiddle.net>
60100         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
60101         dl_hwcap to ifunc resolver.
60102         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
60103         elf_ifunc_invoke.
60104         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
60105         dl_hwcap to ifunc resolver.
60106         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
60108 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60110         [BZ #14153]
60111         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
60112         for |x| <= 2**-26, not 2**-57.
60113         * math/libm-test.inc (acos_test): Do not allow spurious underflow
60114         exception.
60116 2012-05-24  Jeff Law  <law@redhat.com>
60118         * stdio-common/Makefile (tests): Add bug25.
60119         * stdio-common/bug25.c: New test.
60121 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60123         [BZ #13576]
60124         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
60125         multiple of MALLOC_ALIGNMENT in size.
60126         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
60128 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60130         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
60131         Require >= 256.
60132         (FILENAME_MAX): Use macro-int-constant.
60133         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
60134         (_IOFBF): Use macro-int-constant.
60135         (_IOLBF): Likewise.
60136         (_IONBF): Likewise.
60137         (SEEK_CUR): Likewise.
60138         (SEEK_END): Likewise.
60139         (SEEK_SET): Likewise.
60140         (TMP_MAX): Likewise.
60141         (EOF): Use macro-int-constant.  Require < 0.
60142         (NULL): Use macro-constant.  Require == 0.
60143         (stdin): Require type to be FILE *.
60144         (stdout): Likewise.
60145         (stderr): Likewise.
60146         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
60147         macro-int-constant.
60148         (EXIT_SUCCESS): Likewise.
60149         (NULL): Use macro-constant.  Require == 0.
60150         (RAND_MAX): Use macro-int-constant.
60151         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
60152         [C99-based standards] (strtof): Require function.
60153         [C99-based standards] (strtold): Likewise.
60154         [C99-based standards] (strtoll): Likewise.
60155         [C99-based standards] (strtoull): Likewise.
60156         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
60157         [ISO || ISO99 || ISO11] (limits.h): Likewise.
60158         [ISO || ISO99 || ISO11] (math.h): Likewise.
60159         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
60160         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
60161         [ISO || ISO99 || ISO11] (*_t): Do not allow.
60163 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
60165         [BZ #14132]
60166         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
60167         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
60168         * intl/dgettext.c (DCGETTEXT): Likewise.
60169         * intl/gettext.c (DCGETTEXT): Likewise.
60170         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
60171         * posix/regex_internal.h (gettext): Likewise.
60172         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
60173         Remove declaration.
60174         * include/argz.h (__argz_count_internal)
60175         (__argz_stringify_internal): Remove declaration.
60176         (__argz_count, __argz_stringify): Declare hidden proto.
60177         * intl/dcgettext.c: Remove use of INTDEF.
60178         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
60179         * string/argz-stringify.c: Likewise.
60180         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60181         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60182         Declare hidden proto.
60183         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
60184         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
60185         Declare hidden proto.
60186         * include/stdio.h (__asprintf_internal): Don't declare.
60187         (__asprintf): Don't define as macro.  Declare hidden proto.
60188         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
60189         (__fsetlocking): Declare hidden proto.
60190         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
60191         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
60192         hidden proto.
60193         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
60194         (_IO_setlinebuf): Remove use of INTUSE.
60195         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
60196         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
60197         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
60198         Remove declaration.
60199         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
60200         (_IO_do_flush): Remove use of INTUSE.
60201         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
60202         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
60203         (_IO_adjust_column, _IO_least_wmarker)
60204         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
60205         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
60206         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
60207         (_IO_default_doallocate, _IO_wdefault_doallocate)
60208         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
60209         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
60210         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
60211         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
60212         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
60213         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
60214         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
60215         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
60216         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
60217         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
60218         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
60219         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
60220         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
60221         proto.
60222         (_IO_flush_all_internal, _IO_adjust_column_internal)
60223         (_IO_default_uflow_internal, _IO_default_finish_internal)
60224         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
60225         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
60226         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
60227         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
60228         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
60229         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
60230         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
60231         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
60232         (_IO_file_close_internal, _IO_file_close_it_internal)
60233         (_IO_file_underflow_internal, _IO_file_overflow_internal)
60234         (_IO_file_init_internal, _IO_file_attach_internal)
60235         (_IO_file_fopen_internal, _IO_file_read_internal)
60236         (_IO_file_sync_internal, _IO_file_seek_internal)
60237         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
60238         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
60239         (_IO_str_underflow_internal, _IO_str_overflow_internal)
60240         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
60241         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
60242         (_IO_list_all_internal, _IO_link_in_internal)
60243         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
60244         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
60245         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
60246         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
60247         (_IO_do_write_internal, _IO_padn_internal)
60248         (_IO_getline_info_internal, _IO_getline_internal)
60249         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
60250         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
60251         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
60252         (_IO_vfscanf_internal, _IO_vfprintf_internal)
60253         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
60254         (_IO_init_internal, _IO_un_link_internal): Don't declare.
60255         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
60256         with libc_hidden_ver, remove use of INTUSE.
60257         * libio/genops.c: Likewise.
60258         * libio/freopen.c: Likewise.
60259         * libio/freopen64.c: Likewise.
60260         * libio/iofclose.c: Likewise.
60261         * libio/iofdopen.c: Likewise.
60262         * libio/iofflush.c: Likewise.
60263         * libio/iofflush_u.c: Likewise.
60264         * libio/iofgets.c: Likewise.
60265         * libio/iofgets_u.c: Likewise.
60266         * libio/iofopen.c: Likewise.
60267         * libio/iofopncook.c: Likewise.
60268         * libio/iofread.c: Likewise.
60269         * libio/iofread_u.c: Likewise.
60270         * libio/ioftell.c: Likewise.
60271         * libio/iofwrite.c: Likewise.
60272         * libio/iogetline.c: Likewise.
60273         * libio/iogets.c: Likewise.
60274         * libio/iogetwline.c: Likewise.
60275         * libio/iopadn.c: Likewise.
60276         * libio/iopopen.c: Likewise.
60277         * libio/ioseekoff.c: Likewise.
60278         * libio/ioseekpos.c: Likewise.
60279         * libio/iosetbuffer.c: Likewise.
60280         * libio/iosetvbuf.c: Likewise.
60281         * libio/ioungetc.c: Likewise.
60282         * libio/ioungetwc.c: Likewise.
60283         * libio/iovdprintf.c: Likewise.
60284         * libio/iovsprintf.c: Likewise.
60285         * libio/iovsscanf.c: Likewise.
60286         * libio/memstream.c: Likewise.
60287         * libio/obprintf.c: Likewise.
60288         * libio/oldfileops.c: Likewise.
60289         * libio/oldiofclose.c: Likewise.
60290         * libio/oldiofdopen.c: Likewise.
60291         * libio/oldiofopen.c: Likewise.
60292         * libio/oldiopopen.c: Likewise.
60293         * libio/oldstdfiles.c: Likewise.
60294         * libio/putc.c: Likewise.
60295         * libio/setbuf.c: Likewise.
60296         * libio/setlinebuf.c: Likewise.
60297         * libio/stdfiles.c: Likewise.
60298         * libio/strops.c: Likewise.
60299         * libio/vasprintf.c: Likewise.
60300         * libio/vscanf.c: Likewise.
60301         * libio/vsnprintf.c: Likewise.
60302         * libio/vswprintf.c: Likewise.
60303         * libio/wfiledoalloc.c: Likewise.
60304         * libio/wfileops.c: Likewise.
60305         * libio/wgenops.c: Likewise.
60306         * libio/wmemstream.c: Likewise.
60307         * libio/wstrops.c: Likewise.
60308         * libio/__fpurge.c: Likewise.
60309         * libio/__fsetlocking.c: Likewise.
60310         * assert/assert.c: Likewise.
60311         * debug/fgets_chk.c: Likewise.
60312         * debug/fgets_u_chk.c: Likewise.
60313         * debug/fread_chk.c: Likewise.
60314         * debug/fread_u_chk.c: Likewise.
60315         * debug/gets_chk.c: Likewise.
60316         * debug/obprintf_chk.c: Likewise.
60317         * debug/vasprintf_chk.c: Likewise.
60318         * debug/vdprintf_chk.c: Likewise.
60319         * debug/vsnprintf_chk.c: Likewise.
60320         * debug/vsprintf_chk.c: Likewise.
60321         * malloc/mtrace.c: Likewise.
60322         * misc/error.c: Likewise.
60323         * misc/syslog.c: Likewise.
60324         * stdio-common/asprintf.c: Likewise.
60325         * stdio-common/fxprintf.c: Likewise.
60326         * stdio-common/getw.c: Likewise.
60327         * stdio-common/isoc99_fscanf.c: Likewise.
60328         * stdio-common/isoc99_scanf.c: Likewise.
60329         * stdio-common/isoc99_vfscanf.c: Likewise.
60330         * stdio-common/isoc99_vscanf.c: Likewise.
60331         * stdio-common/isoc99_vsscanf.c: Likewise.
60332         * stdio-common/printf-prs.c: Likewise.
60333         * stdio-common/printf_fp.c: Likewise.
60334         * stdio-common/printf_fphex.c: Likewise.
60335         * stdio-common/printf_size.c: Likewise.
60336         * stdio-common/putw.c: Likewise.
60337         * stdio-common/scanf.c: Likewise.
60338         * stdio-common/sprintf.c: Likewise.
60339         * stdio-common/tmpfile.c: Likewise.
60340         * stdio-common/vfprintf.c: Likewise.
60341         * stdio-common/vfscanf.c: Likewise.
60342         * stdlib/strfmon_l.c: Likewise.
60343         * sunrpc/openchild.c: Likewise.
60344         * sunrpc/xdr_stdio.c: Likewise.
60345         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
60346         * sysdeps/mach/hurd/tmpfile.c: Likewise.
60348 2012-05-24  Roland McGrath  <roland@hack.frob.com>
60350         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60352         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
60353         in the third column, to generate for the shared library an IFUNC
60354         that uses _dl_vdso_vsym.
60355         * Makerules (COMPILE.c, compile-stdin.c): New variables.
60356         * Makeconfig (object-suffixes-noshared): New variable.
60358         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
60359         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
60360         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
60361         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
60363         [BZ #14132]
60364         * include/sys/time.h (__gettimeofday): Remove macro.
60365         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
60366         * time/gettimeofday.c (__gettimeofday): Remove #undef.
60367         Remove INTDEF.
60368         (__gettimeofday): Add libc_hidden_def.
60369         (gettimeofday): Add libc_hidden_weak.
60370         * sysdeps/mach/gettimeofday.c: Likewise.
60371         * sysdeps/posix/gettimeofday.c: Likewise.
60372         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
60373         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
60374         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
60375         (__gettimeofday_internal): Remove strong_alias.
60376         (__gettimeofday): Add libc_hidden_def.
60377         (gettimeofday): Add libc_hidden_weak.
60378         * sysdeps/unix/syscalls.list (gettimeofday):
60379         Remove __gettimeofday_internal alias.
60381 2012-05-24  Daniel Jacobowitz  <drow@false.org>
60382             H.J. Lu  <hongjiu.lu@intel.com>
60384         [BZ #12495]
60385         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
60386         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
60387         (largebin_index_32_big): New.
60388         (largebin_index): Use it for 16-byte alignment.
60389         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
60390         correction with front_misalign.
60392 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
60394         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
60395         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
60396         Likewise.
60397         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
60398         Likewise.
60399         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60400         Likewise.
60401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
60402         Likewise.
60403         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
60404         Likewise.
60405         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
60406         Likewise.
60407         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
60408         Likewise.
60409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
60410         Likewise.
60411         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
60412         Likewise.
60413         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
60414         Likewise.
60415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
60416         Likewise.
60417         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
60418         Likewise.
60420         * scripts/data/c++-types-x32-linux-gnu.data: New file.
60421         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
60423 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
60425         [BZ #10846]
60426         [BZ #14036]
60427         * math/libm-test.inc (exp_test): Add test from bug 14036.
60428         (pow_test): Add test from bug 10846.
60430         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
60431         and other flags.
60432         (special_function): Do not include flags in test name.
60433         (parse_args): Likewise.
60434         * sysdeps/i386/fpu/libm-test-ulps: Update.
60435         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
60436         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
60437         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
60438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60440         * math/gen-libm-test.pl (%beautify): Add entries for underflow
60441         exceptions.
60442         * math/libm-test.inc ("Philosophy"): Update comment about
60443         exception testing.
60444         (UNDERFLOW_EXCEPTION): New macro.
60445         (UNDERFLOW_EXCEPTION_OK): Likewise.
60446         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
60447         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
60448         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
60449         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
60450         (INVALID_EXCEPTION_OK): Update value.
60451         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
60452         (OVERFLOW_EXCEPTION_OK): Likewise.
60453         (IGNORE_ZERO_INF_SIGN): Likewise.
60454         (test_exceptions): Handle underflow exceptions.
60455         (acos_test): Update for underflow exception expectations.
60456         (cexp_test): Likewise.
60457         (clog_test): Likewise.
60458         (clog10_test): Likewise.
60459         (csqrt_test): Likewise.
60460         (ctan_test): Likewise.
60461         (ctanh_test): Likewise.
60462         (exp_test): Likewise.
60463         (exp10_test): Likewise.
60464         (exp2_test): Likewise.
60465         (expm1_test): Likewise.
60466         (fma_test): Likewise.
60467         (j0_test): Likewise.
60468         (jn_test): Likewise.
60469         (nexttoward_test): Likewise.
60470         (pow_test): Likewise.
60471         (scalbn_test): Likewise.
60472         (scalbln_test): Likewise.
60473         (tan_test): Likewise.
60474         (y1_test): Likewise.
60475         * sysdeps/i386/fpu/libm-test-ulps: Update.
60476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60478 2012-05-23  David S. Miller  <davem@davemloft.net>
60480         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
60481         (__libc_sigaction): Remove unused local variables.
60483 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60485         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
60487 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
60489         mktime: avoid signed integer overflow
60490         * time/mktime.c (__mktime_internal): Do not mishandle the case
60491         where diff == INT_MIN.
60493         mktime: simplify computation of average
60494         * time/mktime.c (ranged_convert): Use new time_t_avg function
60495         instead of rolling our own (probably-slower) code.
60497         mktime: do not assume signed right shift propagates sign bit
60498         * time/mktime.c (isdst_differ): New static function.
60499         (__mktime_internal): No need to normalize tm_isdst now.
60500         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
60501         tm_isdst values.
60503         mktime: merge another wrapv change from gnulib
60504         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
60505         from some compilers.
60507         mktime: remove incorrect attempt at unusual arithmetics
60508         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
60509         The code didn't really work on such machines anyway.
60510         (TYPE_MINIMUM): Assume two's complement.
60511         (twos_complement_arithmetic): Verify that long_int and time_t
60512         are two's complement (or unsigned, in the latter case).
60514         mktime: check signed shifts on long_int and time_t, too
60515         * time/mktime.c (SHR): Check that shifts work as desired
60516         on the types long_int and time_t too, as SHR is used on
60517         such types.
60519         mktime: do not assume 'long' is wide enough
60520         * time/mktime.c (verify): Move decl up.
60521         (long_int): New type.
60522         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
60523         to remove assumption in the code that 'long' is wide enough to
60524         store year values.  This assumption is not true on x32 and on
60525         some non-glibc platforms.
60527         mktime: merge wrapv change from gnulib
60528         * time/mktime.c (WRAPV): New macro.
60529         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
60530         (guess_time_tm, __mktime_internal): Do not assume that signed
60531         integer overflow wraps around; modern compilers generate code
60532         where this assumption is no longer valid.
60534 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60536         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60537         Replace "jmp L(pseudo_end)" with "ret".
60538         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
60539         Likewise.
60541 2012-05-23  Andreas Jaeger  <aj@suse.de>
60543         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
60544         * sysdeps/unix/sysv/linux/poll.c: Remove file.
60546 2012-05-23  Andreas Jaeger  <aj@suse.de>
60547             Maximilian Attems  <max@stro.at>
60549         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
60550         New macros.
60552 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
60554         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
60555         code so that pseudo_end is just ret and the stack pointer is
60556         correct also for static library in error case.
60558 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
60560         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
60561         move to syscalls.list.
60562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
60563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
60564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
60565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
60567         * manual/install.texi (Running make install): Do not mention Linux
60568         kernel version for which pt_chown is not needed.
60569         (Linux): Do not mention problems with nscd with 2.0 kernels.
60570         * INSTALL: Regenerated.
60572 2012-05-23  Andreas Jaeger  <aj@suse.de>
60574         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
60575         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
60576         macro.
60577         * sysdeps/unix/sysv/linux/s390/bits/mman.h
60578         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60579         * sysdeps/unix/sysv/linux/sh/bits/mman.h
60580         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60581         * sysdeps/unix/sysv/linux/i386/bits/mman.h
60582         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60583         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
60584         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60585         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
60586         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
60587         * sysdeps/unix/sysv/linux/bits/in.h
60588         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
60590 2012-05-22  Roland McGrath  <roland@hack.frob.com>
60592         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
60593         (PREPARE_VERSION): Just use assert instead, it will be elided
60594         under [NDEBUG] anyway.
60596 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60598         * sysdeps/unix/sysv/linux/Makefile: Include
60599         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
60600         (sysdep_routines): Remove sysctl.
60601         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
60602         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
60603         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
60604         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
60605         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
60607 2012-05-22  Andreas Jaeger  <aj@suse.de>
60609         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
60610         that pseudo_end is just ret and the stack pointer is correct also
60611         for static library in error case.
60613 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
60615         [BZ #14122]
60616         * nss/nsswitch.c (defconfig_entries): New variable.
60617         (__nss_database_lookup): Don't leak defconfig entries.
60618         (nss_parse_service_list): Don't leak on error paths.
60619         (free_database_entries): New function.
60620         (free_defconfig): New function.
60621         (free_mem): Move common code to free_database_entries.
60623 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60625         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
60626         Add arch_prctl.
60627         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
60629         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
60630         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
60631         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
60632         New macro.
60633         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
60634         (INTERNAL_SYSCALL_TYPES): Likewise.
60635         (LOAD_ARGS_TYPES_[1-6]): Likewise.
60636         (LOAD_REGS_TYPES_[1-6]): Likewise.
60637         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
60638         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
60640 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60642         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
60643         copysignl for GLIBC_2_0.
60644         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
60645         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
60646         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
60647         logbl for GLIBC_2_0.
60648         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
60649         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
60651 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60653         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
60654         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
60656         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
60657         Use "neg %eax".
60659         * time/mktime.c: Update copyright years.
60661 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
60663         mktime: merge comment-quoting-style change from gnulib
60664         * time/mktime.c: Quote 'like this' in comments.
60665         The GNU coding standards suggest that we no longer quote `like this',
60666         as "`" and "'" are typically rendered asymmetrically nowadays.
60667         The typical gnulib style is to quote 'like this' when quoting
60668         code, and "like this" when quoting English.
60670         * time/mktime.c (compile-command): Add "-I.".
60672         mktime: merge mktime-internal.h change from gnulib
60673         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
60675         mktime: merge time_r change from gnulib
60676         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
60678         mktime: merge DEBUG change from gnulib
60679         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
60680         case system <time.h> has a #define.
60682         mktime: merge <sys/types.h> change from gnulib
60683         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
60684         since <time.t> is now guaranteed to define time_t.
60686         mktime: merge HAVE_CONFIG_H change from gnulib
60687         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
60689 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
60691         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60692         Use "neg %eax".
60694         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
60695         __rlim_t cast.
60696         (struct rusage): Use anonymous union to pad each field to
60697         __syscall_slong_t.
60699 2012-05-21  David S. Miller  <davem@davemloft.net>
60701         * Makefules (o-iterator): Remove .s cases.
60702         (compile-command.s): Delete.
60703         (COMPILE.s): Delete.
60704         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
60706 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
60708         * configure.in (libc_cv_predef_stack_protector): Only consider
60709         "foobar" and "__stack_chk_fail" lines in libc_undefs.
60710         * configure: Regenerated.
60712 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60714         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
60715         New macro.  Use R*LP on int and pointer.
60716         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
60717         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
60718         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
60719         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
60721         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
60722         [__WORDSIZE_TIME64_COMPAT32] instead of
60723         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
60724         (struct utmp): Likewise.
60725         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
60726         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
60727         Renamed to ...
60728         (__WORDSIZE_TIME64_COMPAT32): This.
60729         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
60730         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
60731         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
60732         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
60733         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
60734         (__WORDSIZE_TIME64_COMPAT32): New macro.
60736 2012-05-21  Andreas Jaeger  <aj@suse.de>
60738         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
60739         only if [SHARED]. Add prototype for __wcschr_ia32.
60741 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60743         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
60744         of %rbp unmolested in the jmp_buf while mangling the low bits.
60745         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
60746         unmolested high bits of %rbp while demangling the low bits.
60747         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
60749 2012-05-21  Andreas Jaeger  <aj@suse.de>
60751         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
60752         * sunrpc/svc_simple.c: Use it for registerrpc.
60753         * sunrpc/xcrypt.c: Use it for passwd2des.
60755         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
60757 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60759         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
60760         Don't define if [__SYSCALL_WORDSIZE != 32].
60761         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
60762         New macro.
60764 2012-05-21  Bruno Haible  <bruno@clisp.org>
60765             Andreas Jaeger  <aj@suse.de>
60767         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
60768         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
60769         inptr and inend for must_buffer_ch.
60770         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
60771         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
60772         * stdio-common/Makefile (tests): Remove bug15.
60773         (bug15-ENV): Remove macro.
60774         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
60775         anymore.
60777 2012-05-19  Andreas Jaeger  <aj@suse.de>
60778             Roland McGrath  <roland@hack.frob.com>
60780         * manual/contrib.texi: Completely rewritten. It contains now an
60781         alphabetical list of contributors and their contributions.
60783 2012-05-21  Richard Henderson  <rth@twiddle.net>
60785         * misc/getauxval.c (__getauxval): Use unsigned long int.
60786         * misc/sys/auxv.h: Include <sys/cdefs.h>.
60787         (getauxval): Use unsigned long int.
60789 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
60791         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
60793 2012-05-21  Roland McGrath  <roland@hack.frob.com>
60795         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
60796         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
60797         __alignof__ (long double).
60799 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60801         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60803 2012-05-20  Richard Henderson  <rth@twiddle.net>
60805         * misc/getauxval.c: New file.
60806         * misc/sys/auxv.h: New file.
60807         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
60808         (routines): Add getauxval.
60809         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
60810         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
60811         * elf/dl-sysdep.c (_dl_auxv): Remove.
60812         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
60813         * elf/dl-support.c (_dl_auxv): New variable.
60814         (_dl_aux_init): Initialize it.
60815         * manual/startup.texi (Auxiliary Vector): New node.
60816         * sysdeps/generic/bits/hwcap.h: New file.
60817         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
60818         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
60819         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
60820         * sysdeps/sparc/sysdep.h: ... here.  Include it.
60821         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
60822         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
60823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60824         Update.
60825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
60826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
60827         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
60828         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
60829         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
60831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
60832         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
60834 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60836         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60838 2012-05-19  David S. Miller  <davem@davemloft.net>
60840         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60842 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60844         [BZ #14123]
60845         * math/s_ccosh.c: Include <float.h>
60846         (__ccosh): Avoid internal overflow calculating sinh and cosh
60847         values before multiplying by sin and cos values.
60848         * math/s_ccoshf.c: Likewise.
60849         * math/s_ccoshl.c: Likewise.
60850         * math/s_csin.c: Likewise.
60851         * math/s_csinf.c: Likewise.
60852         * math/s_csinl.c: Likewise.
60853         * math/s_csinh.c: Likewise.
60854         * math/s_csinhf.c: Likewise.
60855         * math/s_csinhl.c: Likewise.
60856         * math/libm-test.inc (ccos_test): Add more tests.
60857         (ccosh_test): Likewise.
60858         (csin_test): Likewise.
60859         (csinh_test): Likewise.
60860         * sysdeps/i386/fpu/libm-test-ulps: Update.
60861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60863 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
60865         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
60866         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
60868         * sysdeps/x86_64/x32/_itoa.h: Add comment.
60870 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
60872         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
60873         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
60874         * sysdeps/powerpc/soft-fp/Versions: Likewise.
60875         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
60876         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
60877         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
60878         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
60879         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
60880         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
60881         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
60882         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
60883         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
60884         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
60885         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
60886         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
60887         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
60888         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
60889         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
60890         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
60891         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
60892         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
60893         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
60894         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
60895         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
60896         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
60897         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
60898         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
60899         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
60900         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
60901         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
60902         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
60904 2012-05-18  Andreas Jaeger  <aj@suse.de>
60906         * csu/.gitignore: Delete.
60908 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60910         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
60911         (timex): Use __syscall_slong_t.
60913 2012-05-18  Andreas Jaeger  <aj@suse.de>
60914             Carlos O'Donell  <carlos_odonell@mentor.com>
60916         * manual/install.texi (Configuring and compiling): Update
60917         description about files modified in the source directory.
60918         * INSTALL: Regenerated.
60920 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60922         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
60923         value.  Use "or" to set return value to -1.
60924         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
60925         negate return value.
60927 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60929         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
60930         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
60931         failure if the compiler has Graphite support disabled.
60932         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
60933         Likewise.
60934         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
60935         (CFLAGS-memmove.c): Likewise.
60936         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
60937         Likewise.
60939 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
60941         * sysdeps/x86_64/x32/_itoa.h: New file.
60943         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
60944         getdents system call only if kernel and user dirents have the
60945         same d_ino and d_off.
60947         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
60948         LLONG_MAX != LONG_MAX.
60949         (_itoa_word): Use _ITOA_WORD_TYPE on value.
60950         (_fitoa_word): Likewise.
60952         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
60953         years.
60954         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
60955         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
60956         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
60958         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
60959         include <bits/wordsize.h>.  Check __x86_64__ instead of
60960         __WORDSIZE.
60961         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
60962         if __x86_64__ is defined.  Use anonymous union on fpstate.
60964         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
60965         anonymous union.
60967 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
60969         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
60970         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
60971         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
60972         Refer to _rtld_local_ro instead of _rtld_global_ro.
60973         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
60974         Likewise.
60975         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
60976         Likewise.
60977         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
60978         Likewise.
60979         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
60980         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
60981         of _rtld_global, and rtld_progname instead of _dl_argv[0].
60983         [BZ #10882]
60984         * sysdeps/powerpc/powerpc32/dl-machine.c
60985         (__elf_machine_runtime_setup) [PROF]: Don't reference
60986         _dl_prof_resolve.
60988 2012-05-18  Andreas Jaeger  <aj@suse.de>
60990         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
60991         function only available for GCCs before 3.4 since GCC 3.4
60992         introduced a builtin.
60993         (lrint): Likewise.
60994         (llrintf): Likewise.
60995         (llrint): Likewise.
60996         (fmaxf): Likewise.
60997         (fmax): Likewise.
60998         (fminf): Likewise.
60999         (fmin): Likewise.
61000         (rint): Likewise.
61001         (rintf): Likewise.
61002         (nearbyint): Likewise.
61003         (nearbyintf): Likewise.
61004         (ceil): Likewise.
61005         (ceilf): Likewise.
61006         (floor): Likewise.
61007         (floorf): Likewise.
61009 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61011         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
61012         on both fields and cast pointer to __syscall_ulong_t.
61014         * bits/types.h (__fsword_t): New type.
61015         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
61016         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
61017         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61018         (__FSWORD_T_TYPE): Likewise.
61019         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61020         (__FSWORD_T_TYPE): Likewise.
61021         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61022         (__FSWORD_T_TYPE): Likewise.
61023         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
61024         (__FSWORD_T_TYPE): Likewise.
61025         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
61026         __SWORD_TYPE with __fsword_t.
61027         (statfs64): Likewise.
61029 2012-05-17  David S. Miller  <davem@davemloft.net>
61031         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
61033 2012-05-17  Andreas Jaeger  <aj@suse.de>
61035         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
61036         warning.
61038 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61040         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
61042 2012-05-17  Andreas Jaeger  <aj@suse.de>
61044         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
61045         when it is used.
61047 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61049         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
61051 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
61053         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
61054         * sysdeps/x86_64/tst-mallocalign1.c: New file.
61056 2012-05-17  Andreas Jaeger  <aj@suse.de>
61057             Carlos O'Donell  <carlos_odonell@mentor.com>
61059         [BZ #14059]
61060         * sysdeps/x86_64/multiarch/init-arch.h
61061         (bit_YMM_Usable): Rename to...
61062         (bit_AVX_Usable): ... this.
61063         (bit_FMA4_Usable): New macro.
61064         (bit_XMM_state): New macro.
61065         (bit_YMM_state): New macro.
61066         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
61067         [__ASSEMBLER__] (index_AVX_Usable): ... this.
61068         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
61069         (CPUID_OSXSAVE): New macro.
61070         (CPUID_AVX): New macro.
61071         (CPUID_FMA4): New macro.
61072         (index_YMM_Usable): Rename to...
61073         (index_AVX_Usable): ... this.
61074         (HAS_AVX): Use HAS_ARCH_FEATURE.
61075         (HAS_FMA4): Likewise.
61076         (HAS_YMM_USABLE): Remove.
61077         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61078         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
61079         are present.
61080         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
61081         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
61082         * sysdeps/x86_64/multiarch/Makefile: Likewise.
61083         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
61084         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
61086 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
61088         * math/libm-test.c: Support platforms without multiple rounding modes.
61089         * math/bug-nextafter.c: Support platforms without FP exceptions.
61090         * math/bug-nexttoward.c: Likewise.
61091         * math/test-fenv.c: Likewise.
61092         * math/test-misc.c: Likewise.
61093         * stdlib/bug-getcontext.c: Likewise.
61095 2012-05-17  Andreas Jaeger  <aj@suse.de>
61097         * manual/examples/search.c (critter_cmp): Change signature to
61098         avoid warnings.
61099         * manual/string.texi (Collation Functions): Likewise.
61101 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61103         * bits/types.h: Fold copyright years.
61104         * bits/typesizes.h: Likewise.
61105         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
61106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
61107         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
61108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
61109         * time/time.h: Likewise.
61111 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
61113         [BZ #208]
61114         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
61115         in instead of returning them.  Return void.
61116         (__libc_mallinfo): Accumulate over all arenas.
61117         (__malloc_stats): Adjust for change in int_mallinfo interface.
61119 2012-05-16  Roland McGrath  <roland@hack.frob.com>
61121         [BZ #10375]
61122         * configure.in (NM): Add AC_CHECK_TOOL for it.
61123         (libc_extra_cflags): New substituted variable.
61124         Check for -fstack-protector being used implicitly.
61125         * configure: Regenerated.
61126         * config.make.in (config-extra-cflags): New variable,
61127         gets @libc_extra_cflags@.
61128         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
61130         [BZ #10375]
61131         * configure.in: Check for _FORTIFY_SOURCE being predefined.
61132         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
61133         * configure: Regenerated.
61134         * config.make.in (CPPUNDEFS): New substituted variable.
61135         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
61136         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
61137         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
61139 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61141         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
61142         (mq_attr): Use __syscall_slong_t.
61144 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61146         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
61147         Check __x86_64__ instead of __WORDSIZE.
61148         (_STAT_VER_LINUX): Likewise.
61149         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
61150         __syscall_ulong_t and __syscall_slong_t.
61151         (stat64): Likewise.
61153 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61155         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
61157 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61159         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
61161 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61163         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
61164         __syscall_ulong_t.
61166         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
61167         include <bits/wordsize.h>.  Check __x86_64__ instead of
61168         __WORDSIZE.
61169         (greg_t): Use "__extension__ long long int" if __x86_64__ is
61170         defined.
61171         (mcontext_t): Replace "unsigned long" with "unsigned long long".
61173         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
61174         include <bits/wordsize.h>.  Check __x86_64__ instead of
61175         __WORDSIZE.
61176         (user_regs_struct): Use "__extension__ unsigned long long"
61177         instead of "unsigned long" if __x86_64__ is defined.
61178         (user): Likewise.  Pad after pointer field if __ILP32__ is
61179         defined.
61181 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
61183         * configure.in (makeinfo): Require version 4.5 or later.  Allow
61184         versions 5 to 9.
61185         * configure: Regenerated.
61186         * manual/install.texi (texinfo): Increase version requirement to
61187         4.5 or later.
61188         * INSTALL: Regenerated.
61190         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
61192 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
61194         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
61196         * sysdeps/x86_64/x32/ffs.c: New file.
61198         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
61199         __syscall_ulong_t.
61200         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
61201         defined.  Use __syscall_ulong_t.
61202         (shminfo): Use __syscall_ulong_t.
61203         (shm_info): Likewise.
61205         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
61206         __syscall_ulong_t.
61208         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
61209         <bits/wordsize.h>.
61210         (msgqnum_t): Use __syscall_ulong_t.
61211         (msglen_t): Likewise.
61212         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
61213         __syscall_ulong_t.
61215         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
61216         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61218         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
61220         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
61221         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
61223         * sysvipc/sys/msg.h (msgbuf): Replace long int with
61224         __syscall_slong_t.
61226         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
61227         include <bits/wordsize.h>.  Check __x86_64__ instead of
61228         __WORDSIZE.
61230         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
61231         "unsigned long long int" if __x86_64__ is defined.
61232         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
61234         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
61235         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
61236         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
61238         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
61239         <stdint.h>.
61240         (GET_PC): Cast to uintptr_t first.
61241         (GET_FRAME): Likewise.
61242         (GET_STACK): Likewise.
61244         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
61245         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
61246         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
61247         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
61248         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
61249         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
61250         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
61251         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
61252         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
61253         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
61254         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
61255         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
61256         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61257         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
61258         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
61259         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
61260         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
61261         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
61262         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
61263         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
61264         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
61265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
61266         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
61267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
61268         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
61269         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
61270         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
61271         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
61272         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
61274 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
61276         * Makerules (+depfiles): Also collect depfiles from .oS in
61277         $(extra-objs).
61278         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
61279         .oS, $(libnldbl-routines)).
61281         * Makerules (native-compile-mkdep-flags): Define.
61282         * sunrpc/Makefile (extra-objs): Add $(addprefix
61283         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
61284         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
61285         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
61286         calling $(make-target-directory).
61288 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61290         * bits/types.h (__snseconds_t): Removed.
61291         * time/time.h (struct timespec): Replace __snseconds_t with
61292         __syscall_slong_t.
61293         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
61294         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
61295         Likewise.
61296         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61297         (__SNSECONDS_T_TYPE): Likewise.
61298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61299         (__SNSECONDS_T_TYPE): Likewise.
61300         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61301         (__SNSECONDS_T_TYPE): Likewise.
61303 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61305         * sysdeps/mach/hurd/bits/typesizes.h
61306         (__SYSCALL_SLONG_TYPE): New macro.
61307         (__SYSCALL_ULONG_TYPE): Likewise.
61309 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61311         * bits/types.h (__syscall_slong_t): New type.
61312         (__syscall_ulong_t): Likewise.
61314         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
61315         (__SYSCALL_ULONG_TYPE): Likewise.
61316         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61317         (__SYSCALL_SLONG_TYPE): Likewise.
61318         (__SYSCALL_ULONG_TYPE): Likewise.
61319         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61320         (__SYSCALL_SLONG_TYPE): Likewise.
61321         (__SYSCALL_ULONG_TYPE): Likewise.
61322         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61323         (__SYSCALL_SLONG_TYPE): Likewise.
61324         (__SYSCALL_ULONG_TYPE): Likewise.
61326 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61328         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
61329         Add sigaltstack-offsets.sym.
61330         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
61331         <sigaltstack-offsets.h>.
61332         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
61333         longjmp_msg pointer.
61334         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
61335         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
61336         signal stack.
61337         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
61339 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61341         * elf/stackguard-macros.h: Remove file.
61342         * sysdeps/generic/stackguard-macros.h: New file.
61343         * sysdeps/i386/stackguard-macros.h: Likewise.
61344         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
61345         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
61346         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
61347         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
61348         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
61349         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
61350         * sysdeps/x86_64/stackguard-macros.h: Likewise.
61351         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
61352         <elf/stackguard-macros.h>.
61354         [BZ #14109]
61355         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
61356         __aligned__ in attribute.
61357         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
61358         (gregset_t): Likewise.
61360 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61362         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
61363         * sysdeps/x86_64/64/Implies-after: Here.  New file.
61364         * sysdeps/x86_64/x32/Implies-after: New file.
61366 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61368         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
61369         and access return value for _dl_profile_fixup.  Use R10_LP to
61370         load frame size.
61372 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61374         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
61376 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61378         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
61379         * sysdeps/x86_64/x32/sysdep.h: New file.
61381 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61383         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
61384         * sysdeps/x86_64/setjmp.S: Likewise.
61386 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61388         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
61389         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
61390         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
61391         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
61392         remove unused global constant.
61394 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
61396         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
61397         include of <not-cancel.h>.
61399 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61401         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
61403 2012-05-15  Jeff Law  <law@redhat.com>
61404             Andreas Jaeger  <aj@suse.de>
61406         [BZ #13594]
61407         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
61408         out from...
61409         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
61410         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
61411         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
61412         code changing __hst_map_handle.map.
61414 2012-05-15  Roland McGrath  <roland@hack.frob.com>
61416         * configure.in (sysnames): Look for Implies-before and Implies-after
61417         files.
61418         * configure: Regenerated.
61420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61422         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
61423         8-byte data alignment with LP_SIZE alignment.
61425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61427         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
61428         into R10_LP.
61430 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61432         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
61434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61436         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
61437         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
61438         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
61439         Likewise.
61440         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61442 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61444         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
61445         (stackinfo_sub_sp): Likewise.
61447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61449         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
61450         RAX_LP.
61452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61454         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
61455         into R*_LP.
61457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61459         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
61460         sizes into R*_LP.
61462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61464         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
61466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61468         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
61469         into R11_LP and load __x86_64_shared_cache_size_half into
61470         R8_LP.
61472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
61474         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
61475         R8_LP.
61477 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61479         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
61480         logb for POWER7.
61481         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
61482         logbf for POWER7.
61483         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
61484         logbl for POWER7.
61485         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
61486         powerpc32/power7/fpu/s_logb.c via #include.
61487         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
61488         powerpc32/power7/fpu/s_logbf.c via #include.
61489         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
61490         powerpc32/power7/fpu/s_logbl.c via #include.
61492 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
61494         * README.libm: Remove file.
61496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61498         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
61499         count for x32.  Use R*_LP and omit operand-size suffix.
61501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61503         * shlib-versions: Move x86_64-.*-linux.* entries to ...
61504         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
61505         * sysdeps/x86_64/x32/shlib-versions: New file.
61507 2012-05-14  Roland McGrath  <roland@hack.frob.com>
61509         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
61510         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
61511         Use _dl_fatal_printf instead.
61513 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61515         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
61516         set if not set by the user.  Do not allow for being unset.
61517         * sysdeps/unix/sysv/linux/configure: Regenerated.
61519 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61521         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61522         the `q' suffix from lea and replace .quad with ASM_ADDR.
61524 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
61527         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
61528         instead of $17.
61529         (PTR_DEMANGLE): Likewise.
61531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61533         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
61534         (LP_OP): Likewise.
61535         (ASM_ADDR): Likewise.
61536         (RAX_LP): Likewise.
61537         (RBP_LP): Likewise.
61538         (RBX_LP): Likewise.
61539         (RCX_LP): Likewise.
61540         (RDI_LP): Likewise.
61541         (RSI_LP): Likewise.
61542         (RSP_LP): Likewise.
61543         (R8_LP): Likewise.
61544         (R9_LP): Likewise.
61545         (R10_LP): Likewise.
61546         (R10_LP): Likewise.
61547         (R11_LP): Likewise.
61548         (R12_LP): Likewise.
61549         (R13_LP): Likewise.
61550         (R14_LP): Likewise.
61551         (R15_LP): Likewise.
61553 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61555         * sysdeps/x86_64/x32/dl-machine.h: New file.
61557 2012-05-14  Andreas Jaeger  <aj@suse.de>
61559         * manual/Makefile (subdir): Remove export of subdir.
61560         (all): Remove target.
61561         (.PHONY): Remove all from list.
61562         (mkinstalldirs): Remove.
61563         (.PHONY): Remove installdirs from list.
61564         ($(inst_infodir)/libc.info): Use make-target-directory.
61565         (installdirs): Remove.
61566         (subdir_%): Remove.
61567         (glibc-targets): Remove.
61568         (lib): Remove.
61569         (stubs): Remove.
61570         ($(objpfx)stubs ../po/manual.pot): Remove.
61571         ($(objpfx)stamp%): Remove.
61572         (make-target-directory): Remove.
61573         (subdir_install): Remove.
61574         (routines): Remove.
61575         (aux): Remove.
61576         (sources): Remove.
61577         (objects): Remove.
61578         (headers): Remove.
61580         [BZ #13750]
61581         * manual/.gitignore: Remove, it's not needed anymore.
61582         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
61583         all files in it.
61584         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
61585         directory.
61586         (texis): Renamed to $(objpfx)texis.
61587         (texis-path): New, contains path to generated files.
61588         (chapters.%): Use texis-path for complete path, add extra argument
61589         libc-texinfo.sh.
61590         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61591         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
61592         (summary,texi, stamp-summary): Use complete path of
61593         files. Generate files in build dir.
61594         (dir-add.texi): Build in build dir.
61595         (libm-err.texi,stamp-libm-err): Likewise.
61596         (version.texi, stamp-version): Likewise.
61597         (.%c.texi): Likewise.
61598         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
61599         (mostlyclean): Remove target.
61600         (realclean): Remove target.
61601         (generated): Add new variable with contents from mostlyclean and
61602         realclean, remove entries duplicated in common-mostlyclean, add
61603         stamp-libm-err and stamp-version.
61604         (generated-dirs): Add libc directory.
61605         ($(inst_infodir)/libc.info): Install files from build dir.
61607         * manual/install.texi (Configuring and compiling): Adjust since
61608         the info files are not part of the tar ball anymore.
61610 2012-05-14  Andreas Jaeger  <aj@suse.de>
61612         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
61613         variable.
61615 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
61617         [BZ #13717]
61618         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
61619         to 2.2.0 where earlier.
61620         * sysdeps/unix/sysv/linux/configure: Regenerated.
61621         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
61622         Remove conditional code.
61623         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
61624         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
61625         Remove conditional code.
61626         [!__NR_lchown]: Likewise.
61627         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61628         [__NR_lchown]: Likewise.
61629         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
61630         comment referencing __ASSUME_LCHOWN_SYSCALL.
61631         * sysdeps/unix/sysv/linux/i386/sigaction.c
61632         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61633         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61634         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
61635         Remove conditional code.
61636         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
61637         (__protocol_available): Remove #if 0 code.
61638         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
61639         conditional code.
61640         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
61641         * sysdeps/unix/sysv/linux/kernel-features.h
61642         (__ASSUME_GETCWD_SYSCALL): Don't define.
61643         (__ASSUME_REALTIME_SIGNALS): Likewise.
61644         (__ASSUME_PREAD_SYSCALL): Likewise.
61645         (__ASSUME_PWRITE_SYSCALL): Likewise.
61646         (__ASSUME_POLL_SYSCALL): Likewise.
61647         (__ASSUME_LCHOWN_SYSCALL): Likewise.
61648         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
61649         non-SPARC.
61650         (__ASSUME_SIOCGIFNAME): Don't define.
61651         (__ASSUME_MSG_NOSIGNAL): Likewise.
61652         (__ASSUME_SENDFILE): Define unconditionally.
61653         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
61654         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
61655         conditional code.
61656         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
61657         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
61658         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61659         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61660         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
61661         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
61662         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
61663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
61664         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61665         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
61667         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61668         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
61670         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61671         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
61673         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61674         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
61676         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61677         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
61679         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
61680         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
61682         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61683         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
61685         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61686         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61687         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
61688         Remove conditional code.
61689         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61690         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61691         Remove conditional code.
61692         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61693         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
61694         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
61695         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61696         Remove conditional code.
61697         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61698         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
61699         Remove conditional code.
61700         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61701         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
61702         Remove conditional code.
61703         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61704         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
61705         Remove conditional code.
61706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
61707         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
61708         Remove conditional code.
61709         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61710         * sysdeps/unix/sysv/linux/sh/pwrite64.c
61711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
61712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
61713         * sysdeps/unix/sysv/linux/sigaction.c
61714         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61715         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61716         * sysdeps/unix/sysv/linux/sigpending.c
61717         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61718         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61719         * sysdeps/unix/sysv/linux/sigprocmask.c
61720         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61721         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61722         * sysdeps/unix/sysv/linux/sigsuspend.c
61723         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
61724         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
61725         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
61726         (__libc_missing_rt_sigs): Remove.
61727         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
61728         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
61729         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
61730         Remove conditional code.
61731         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
61732         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
61733         return 1.
61734         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
61735         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
61736         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
61737         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
61739 2012-05-14  Andreas Jaeger  <aj@suse.de>
61741         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
61742         it's not used in glibc.
61743         (__coshm1): Likewise.
61744         (__acosh1p): Likewise.
61745         (__sgn): Likewise.
61747         * manual/string.texi (Copying and Concatenation): Add missing
61748         variable in concat example.
61749         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
61751 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61753         [BZ #14103]
61754         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
61755         __builtin_clzl with __builtin_clzll.
61757 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
61759         [BZ #14104]
61760         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
61761         libc_freeres_ptr.
61763 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61765         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
61766         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
61767         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
61768         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
61770 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
61772         * NEWS: Update ia64 info.
61774 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
61776         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
61777         used as bcopy.
61779 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
61781         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
61782         * sysdeps/unix/syscalls.list (dup3): Likewise.
61783         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
61784         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
61786 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61788         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
61789         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
61791 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
61793         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
61794         thread pointer.
61795         (TLS_IE): Use mov/add instead of movq/addq to load thread
61796         pointer.
61797         (TLS_GD_PREFIX): New.
61798         (TLS_GD): Use it.
61800 2012-05-11  David S. Miller  <davem@davemloft.net>
61802         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
61803         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
61804         (_FPU_SETCW): Likewise.
61806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61808         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
61809         is 32-byte aligned.
61811 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
61813         [BZ #11837]
61814         * iconvdata/gb18030.c: Update tables.
61815         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
61816         characters specially.
61817         (BODY for TO_LOOP): Add encoding of missing ranges.
61819 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
61821         [BZ #13673]
61822         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
61823         * sysdeps/mach/hurd/dup3.c: Likewise.
61824         * sysdeps/mach/hurd/readlinkat.c: Likewise.
61825         * sysdeps/powerpc/memmove.c:: Likewise.
61827 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61829         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
61830         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
61832 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
61834         * elf/elf.h (R_X86_64_RELATIVE64): New.
61835         (R_X86_64_NUM): Updated.
61836         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61837         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
61838         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
61839         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
61840         tst-quad1pie tst-quad2pie
61841         (modules-names): Add tst-quadmod1 tst-quadmod2.
61842         ($(objpfx)tst-quad1): New dependency.
61843         ($(objpfx)tst-quad2): Likewise.
61844         ($(objpfx)tst-quad1pie): Likewise.
61845         ($(objpfx)tst-quad2pie): Likewise.
61846         * sysdeps/x86_64/tst-quad1.c: New file.
61847         * sysdeps/x86_64/tst-quad1pie.c: New file.
61848         * sysdeps/x86_64/tst-quad2.c: Likewise.
61849         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
61850         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
61851         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
61852         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
61853         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
61855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61857         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
61858         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
61859         * streams/stropts.h (t_scalar_t): Define type.
61861         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
61862         (_PATH_PRESERVE): Set to "/var/lib".
61863         (_PATH_RWHODIR): Set to "/var/spool/rwho".
61865         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
61866         instead of int.
61868         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
61869         if __dir_mkfile succeeded.
61871         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
61872         checking for _hurd_dtablesize.  Unlock it right after having
61873         finished _hurd_dtable allocation.
61875 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61877         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
61878         * sysdeps/mach/hurd/configure: Regenerated.
61879         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
61880         special-casing to...
61881         * sysdeps/gnu/configure.in: ... this new file.
61882         * sysdeps/unix/sysv/linux/configure: Regenerated.
61883         * sysdeps/gnu/configure: New generated file.
61885         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
61886         for Linux: use nsec instead of usec, as well as:
61887         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
61888         members of type struct timespec.
61889         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
61890         New macros.
61891         (struct stat64): Likewise.
61892         (_STATBUF_ST_NSEC): New macro.
61893         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
61895         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61896         __strtoul_internal rather than strtoul.
61898 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61900         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
61901         and reject them.
61903 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61905         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
61906         which preserves existing values.
61907         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
61909 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61911         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
61912         TIMEOUT values.  Return EINVAL for NFDS values either negative or
61913         greater than FD_SETSIZE.
61915 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61917         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
61918         allocated, call __vm_protect to finish enabling the existing space, and
61919         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
61920         allocate the remainder.
61922 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61924         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
61925         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
61927 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61929         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
61930         sysdeps/mach/hurd/readlink.c.
61932         * posix/tst-sysconf.c (posix_options): Only use
61933         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
61934         _POSIX_SYNCHRONIZED_IO when they are defined
61935         * sysdeps/mach/hurd/bits/posix_opt.h:
61936         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
61937         (_XOPEN_REALTIME): Undefine macro.
61938         (_XOPEN_REALTIME_THREADS): Undefine macro.
61939         (_XOPEN_SHM): Undefine macro.
61940         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
61941         macro to -1.
61942         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
61943         macro to -1.
61944         (_POSIX_ASYNC_IO): Undefine macro.
61945         (_POSIX_PRIORITIZED_IO): Undefine macro.
61946         (_POSIX_SPIN_LOCKS): Define macro to -1.
61948         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
61949         SA_NODEFER, SA_RESETHAND.
61950         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
61951         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
61952         F_DUPFD_CLOEXEC.
61954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61956         * elf/Makefile (pldd-modules): Define unconditionally.
61958 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61960         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
61962 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61964         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
61965         Return ENOENT when name is empty.
61966         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
61968 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61970         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
61972         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
61974 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61976         Fix mlock in all cases except non-readable pages.
61977         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
61978         instead of VM_PROT_ALL as parameter to __vm_wire function.
61980         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
61981         (__mkdir): When path is `/', just fail with EEXIST.
61982         * sysdeps/mach/hurd/mkdirat.c: Likewise.
61984 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61986         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
61987         <sys/uio.h> (for writev).
61988         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
61989         and <sys/param.h> (for MIN).
61991 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
61993         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
61994         REQUESTED_TIME.  Properly set the remaining time and return EINTR
61995         if interrupted.
61997 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
61999         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
62000         Depend on against $(link-rpcuserlibs).
62002 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62004         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
62005         (__libc_stack_end): Do not use attribute_relro.
62006         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
62007         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
62008         to libthread-provided value.
62009         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
62010         attribute_relro.
62012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62014         [BZ #3748]
62015         * bits/libc-lock.h (__libc_once_get): New macro.
62016         * sysdeps/mach/bits/libc-lock.h: Likewise.
62017         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
62018         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
62019         instead of using implementation details.
62021         * libio/fileops.c: Unconditionally include <kernel-features.h>.
62022         * libio/freopen.c: Likewise.
62023         * libio/freopen64.c: Likewise.
62024         * misc/syslog.c: Likewise.
62025         * nscd/connections.c: Likewise.
62026         * nscd/netgroupcache.c: Likewise.
62027         * sysdeps/posix/getcwd.c: Likewise.
62029 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62031         * math/w_ilogbf.c: Add #include <limits.h>.
62033 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62035         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
62036         path instead of returning without unlocking.
62038         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
62039         immediate-write ioctls.
62040         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
62042 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62044         * sysdeps/mach/hurd/i386/init-first.c (init): Use
62045         __builtin_frame_address instead of making assumptions about the
62046         location of the return address relative to DATA.  Force early load of
62047         the return address.
62048         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
62049         __builtin_frame_address.
62051         dup3 for GNU Hurd.
62052         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
62053         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
62054         implement dup3 and do some further code clean-ups.
62055         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
62056         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
62058 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62060         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
62062         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
62063         HURD_CRITICAL_END around holding _hurd_dtable_lock.
62064         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
62065         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
62066         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
62067         d->port.lock.
62069         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
62070         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
62071         when handler == SIG_ERR, not when handler != SIG_ERR.
62073 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62075         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
62076         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
62077         definitions.
62079         accept4 for GNU Hurd.
62080         * include/sys/socket.h (__libc_accept4): New prototype.
62081         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
62082         to implement __libc_accept4.
62083         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
62084         __libc_accept4.
62085         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
62087         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
62088         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
62089         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
62090         signal-defines.sym.
62092 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62094         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
62096 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
62098         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
62099         assertion on O_CLOEXEC flag.
62100         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
62101         * hurd/intern-fd.c: Likewise.
62102         * hurd/port2fd.c: Likewise.
62104 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62106         [BZ #3906]
62107         * bits/in.h (IPV6_PKTINFO): Define new macro.
62108         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
62110 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62112         [BZ #13954]
62113         [BZ #13955]
62114         [BZ #13956]
62115         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
62116         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62117         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
62118         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62120         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62121         * math/libm-test.inc (logb_test) : Additional logb tests.
62123 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
62124             Andreas Jaeger  <aj@suse.de>
62126         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
62127         * configure: Regenerated.
62128         * config.h.in (LINK_OBSOLETE_RPC): New macro.
62129         * config.make.in (link-obsolete-rpc): New substituted variable.
62130         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
62131         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
62132         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62133         (shared-only-routines): Don't set it under [link-obsolete-rpc],
62134         so that libc.a contains the symbols.
62135         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
62136         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
62137         * sunrpc/auth_none.c: Likewise.
62138         * sunrpc/auth_unix.c: Likewise.
62139         * sunrpc/authdes_prot.c: Likewise.
62140         * sunrpc/authuxprot.c: Likewise.
62141         * sunrpc/clnt_gen.c: Likewise.
62142         * sunrpc/clnt_perr.c: Likewise.
62143         * sunrpc/clnt_raw.c: Likewise.
62144         * sunrpc/clnt_simp.c: Likewise.
62145         * sunrpc/clnt_tcp.c: Likewise.
62146         * sunrpc/clnt_udp.c: Likewise.
62147         * sunrpc/clnt_unix.c: Likewise.
62148         * sunrpc/des_crypt.c: Likewise.
62149         * sunrpc/des_soft.c: Likewise.
62150         * sunrpc/get_myaddr.c: Likewise.
62151         * sunrpc/key_call.c: Likewise.
62152         * sunrpc/key_prot.c: Likewise.
62153         * sunrpc/netname.c: Likewise.
62154         * sunrpc/pm_getmaps.c: Likewise.
62155         * sunrpc/pm_getport.c: Likewise.
62156         * sunrpc/pmap_clnt.c: Likewise.
62157         * sunrpc/pmap_prot.c: Likewise.
62158         * sunrpc/pmap_prot2.c: Likewise.
62159         * sunrpc/pmap_rmt.c: Likewise.
62160         * sunrpc/publickey.c: Likewise.
62161         * sunrpc/rpc_cmsg.c: Likewise.
62162         * sunrpc/rpc_common.c: Likewise.
62163         * sunrpc/rpc_dtable.c: Likewise.
62164         * sunrpc/rpc_prot.c: Likewise.
62165         * sunrpc/rpc_thread.c: Likewise.
62166         * sunrpc/rtime.c: Likewise.
62167         * sunrpc/svc.c: Likewise.
62168         * sunrpc/svc_auth.c: Likewise.
62169         * sunrpc/svc_raw.c: Likewise.
62170         * sunrpc/svc_run.c: Likewise.
62171         * sunrpc/svc_tcp.c: Likewise.
62172         * sunrpc/svc_udp.c: Likewise.
62173         * sunrpc/svc_unix.c: Likewise.
62174         * sunrpc/svcauth_des.c: Likewise.
62175         * sunrpc/xcrypt.c: Likewise.
62176         * sunrpc/xdr.c: Likewise.
62177         * sunrpc/xdr_array.c: Likewise.
62178         * sunrpc/xdr_float.c: Likewise.
62179         * sunrpc/xdr_intXX_t.c: Likewise.
62180         * sunrpc/xdr_mem.c: Likewise.
62181         * sunrpc/xdr_rec.c: Likewise.
62182         * sunrpc/xdr_ref.c: Likewise.
62183         * sunrpc/xdr_sizeof.c: Likewise.
62184         * sunrpc/xdr_stdio.c: Likewise.
62186 2012-05-10  Roland McGrath  <roland@hack.frob.com>
62188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
62189         change.  Update copyright years.
62191 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62193         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
62195 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
62196             Joseph Myers  <joseph@codesourcery.com>
62197             Paul Pluzhnikov  <ppluzhnikov@google.com>
62199         [BZ #14012]
62200         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
62201         requiring rpcgen.
62202         [cross-compiling] (extra-libs): Likewise.
62203         [cross-compiling] (extra-libs-others): Likewise.
62204         [cross-compiling] (librpcsvc-routines): Likewise.
62205         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
62206         [cross-compiling] (omit-deps): Likewise.
62207         (sunrpc-CPPFLAGS): New variable.
62208         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
62209         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
62210         (cross-rpcgen-objs): New variable.
62211         (extra-objs): Append $(cross-rpcgen-objs).
62212         ($(cross-rpcgen-objs)): New rule.
62213         ($(objpfx)cross-rpcgen): Likewise.
62214         (rpcgen-cmd): Define to use $(built-program-file).  Expand
62215         comment.
62216         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
62217         ($(objpfx)x%.stmp): Likewise.
62218         * sunrpc/proto.h [IS_IN_build] (_): Define.
62219         [IS_IN_build] (_libc_intl_domainname): Likewise.
62221 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
62223         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
62224         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
62225         and R_X86_64_TPOFF64.
62227 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
62229         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
62230         sysdeps/unix/sysv/syscalls.list.
62231         (stime): Likewise.
62232         (utime): Likewise.
62233         * sysdeps/unix/sysv/syscalls.list: Remove file.
62235 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
62237         [BZ #3440]
62238         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
62239         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
62240         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
62241         (__LC_IDENTIFICATION): Make these macros useful in #if
62242         expressions, as required by C99.
62244 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
62246         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
62247         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
62248         after this.
62250 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
62252         * stdlib/longlong.h: Updated from GCC.
62254 2012-05-09  Andreas Jaeger  <aj@suse.de>
62256         * nscd/nscd.c (run_modes): Make named enum, reorder so that
62257         default is first entry.
62258         (run_mode): Set type.
62259         (main): Remove informal message about syslog.
62260         (options): Fix typo.
62262         [BZ #14053]
62263         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
62264         to asm.
62265         (lrint): Likewise.
62266         (llrintf): Likewise.
62267         (llrint): Likewise.
62268         (rint): Likewise.
62269         (rintf): Likewise.
62270         (nearbyint): Likewise.
62271         (nearbyintf): Likewise.
62273 2012-05-09  Andreas Jaeger  <aj@suse.de>
62274             Pedro Alves  <palves@redhat.com>
62276         * nscd/nscd.c (run_mode): Use enum.
62277         (main): Cleanup coding style issue.
62279 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
62280             Andreas Jaeger  <aj@suse.de>
62282         * nscd/nscd.c (go_background): Replaced with...
62283         (run_mode): ... this.
62284         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
62285         (options): Add -F --foreground.
62286         (main): Implement it.
62287         (parse_opt): Parse it.
62289 2012-05-09  Andreas Jaeger  <aj@suse.de>
62291         [BZ #14083]
62292         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
62293         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
62294         -Wconversion warning.
62295         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
62296         Likewise.
62298 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
62300         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
62301         == 0.
62302         (LC_ALL): Use macro-int-constant.
62303         (LC_COLLATE): Likewise.
62304         (LC_CTYPE): Likewise.
62305         (LC_MESSAGES): Likewise.
62306         (LC_MONETARY): Likewise.
62307         (LC_NUMERIC): Likewise.
62308         (LC_TIME): Likewise.
62309         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
62310         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62312         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
62313         Specify type.
62314         [C99-based standards] (float_t): Expect type.
62315         [C99-based standards] (double_t): Expect type.
62316         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
62317         type.
62318         [C99-based standards] (HUGE_VALL): Likewise.
62319         [C99-based standards] (INFINITY): Likewise.
62320         [C99-based standards] (NAN): Likewise.
62321         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
62322         [C99-based standards] (FP_NAN): Likewise.
62323         [C99-based standards] (FP_NORMAL): Likewise.
62324         [C99-based standards] (FP_SUBNORMAL): Likewise.
62325         [C99-based standards] (FP_ZERO): Likewise.
62326         [C99-based standards] (FP_FAST_FMA): Use
62327         optional-macro-int-constant.  Specify type.  Require == 1.
62328         [C99-based standards] (FP_FAST_FMAF): Likewise.
62329         [C99-based standards] (FP_FAST_FMAL): Likewise.
62330         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
62331         [C99-based standards] (FP_ILOGBNAN): Likewise.
62332         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
62333         Specify type.
62334         [C99-based standards] (MATH_ERREXCEPT): Likewise.
62335         [C99-based standards] (math_errhandling): Specify type.
62336         [ISO99 || ISO11] (signgam): Do not allow.
62337         [non-C99-based standards] (copysignf): Do not allow.
62338         [non-C99-based standards] (exp2f): Likewise.
62339         [non-C99-based standards] (log2f): Likewise.
62340         [non-C99-based standards] (modff): Allow.
62341         [non-C99-based standards] (erff): Do not allow.
62342         [non-C99-based standards] (erfcf): Likewise.
62343         [non-C99-based standards] (gammaf): Likewise.
62344         [non-C99-based standards] (hypotf): Likewise.
62345         [non-C99-based standards] (j0f): Likewise.
62346         [non-C99-based standards] (j1f): Likewise.
62347         [non-C99-based standards] (jnf): Likewise.
62348         [non-C99-based standards] (lgammaf): Likewise.
62349         [non-C99-based standards] (tgammaf): Likewise.
62350         [non-C99-based standards] (y0f): Likewise.
62351         [non-C99-based standards] (y1f): Likewise.
62352         [non-C99-based standards] (ynf): Likewise.
62353         [non-C99-based standards] (isnanf): Likewise.
62354         [non-C99-based standards] (acoshf): Likewise.
62355         [non-C99-based standards] (asinhf): Likewise.
62356         [non-C99-based standards] (atanhf): Likewise.
62357         [non-C99-based standards] (cbrtf): Likewise.
62358         [non-C99-based standards] (expm1f): Likewise.
62359         [non-C99-based standards] (ilogbf): Likewise.
62360         [non-C99-based standards] (log1pf): Likewise.
62361         [non-C99-based standards] (logbf): Likewise.
62362         [non-C99-based standards] (nextafterf): Likewise.
62363         [non-C99-based standards] (remainderf): Likewise.
62364         [non-C99-based standards] (rintf): Likewise.
62365         [non-C99-based standards] (scalbf): Likewise.
62366         [non-C99-based standards] (copysignl): Likewise.
62367         [non-C99-based standards] (exp2l): Likewise.
62368         [non-C99-based standards] (log2l): Likewise.
62369         [non-C99-based standards] (modfl): Allow.
62370         [non-C99-based standards] (erfl): Do not allow.
62371         [non-C99-based standards] (erfcl): Likewise.
62372         [non-C99-based standards] (gammal): Likewise.
62373         [non-C99-based standards] (hypotl): Likewise.
62374         [non-C99-based standards] (j0l): Likewise.
62375         [non-C99-based standards] (j1l): Likewise.
62376         [non-C99-based standards] (jnl): Likewise.
62377         [non-C99-based standards] (lgammal): Likewise.
62378         [non-C99-based standards] (tgammal): Likewise.
62379         [non-C99-based standards] (y0l): Likewise.
62380         [non-C99-based standards] (y1l): Likewise.
62381         [non-C99-based standards] (ynl): Likewise.
62382         [non-C99-based standards] (isnanl): Likewise.
62383         [non-C99-based standards] (acoshl): Likewise.
62384         [non-C99-based standards] (asinhl): Likewise.
62385         [non-C99-based standards] (atanhl): Likewise.
62386         [non-C99-based standards] (cbrtl): Likewise.
62387         [non-C99-based standards] (expm1l): Likewise.
62388         [non-C99-based standards] (ilogbl): Likewise.
62389         [non-C99-based standards] (log1pl): Likewise.
62390         [non-C99-based standards] (logbl): Likewise.
62391         [non-C99-based standards] (nextafterl): Likewise.
62392         [non-C99-based standards] (remainderl): Likewise.
62393         [non-C99-based standards] (rintl): Likewise.
62394         [non-C99-based standards] (scalbl): Likewise.
62395         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62396         [non-C99-based standards] (FP_*): Do not allow.
62397         [C99-based standards] (FP_*): Change to
62398         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
62399         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62400         allow.
62401         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
62402         (SIG_ERR): Likewise.
62403         [X/Open-based standards] (SIG_HOLD): Likewise.
62404         (SIG_IGN): Likewise.
62405         (SIGABRT): Use macro-int-constant.  Specify type.  Require
62406         positive value.
62407         (SIGFPE): Likewise.
62408         (SIGILL): Likewise.
62409         (SIGINT): Likewise.
62410         (SIGSEGV): Likewise.
62411         (SIGTER): Likewise.
62412         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
62413         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
62414         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
62415         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
62416         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
62417         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
62418         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
62419         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
62420         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
62421         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
62422         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
62423         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
62424         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
62425         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
62426         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
62427         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
62428         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
62429         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
62430         [X/Open-based standards] (SIGTRAP): Likewise.
62431         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
62432         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
62433         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
62434         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
62435         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62436         allow.
62438 2012-05-08  Ian Wienand  <ianw@vmware.com>
62440         [BZ #14080]
62441         * time/tzset.c (__tzset_parse_tz): Update default rules for
62442         daylight time changes in the Energy Policy Act of 2005.
62444 2012-05-09  Andreas Jaeger  <aj@suse.de>
62446         [BZ #13983]
62447         * elf/ldconfig.c (parse_conf): Change string to make clear that
62448         ldconfig only issued a warning if ld.so.conf does not exist.
62450 2012-05-08  David S. Miller  <davem@davemloft.net>
62452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
62453         movxtod instead of popping the value on the stack.
62455         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62457 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
62459         * config.h.in: Add HAVE_ARM_PCS_VFP.
62461 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
62463         [BZ #13979]
62464         * include/features.h: Warn if user requests __FORTIFY_SOURCE
62465         checking but the checks are disabled for any reason.
62467 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
62469         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
62470         and ELF64_R_TYPE with ELFW(R_TYPE).
62472 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
62474         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
62475         (ulimit): Likewise.
62477         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
62478         (settimeofday): Likewise.
62480 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
62482         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
62483         a struct th_u2 inside the union, and move tu_block/tu_code into
62484         a new th_u3 union of tu_block/tu_code inside of that.  Move
62485         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
62486         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
62487         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
62488         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
62489         (th_stuff): Change to th_u1.tu_stuff.
62490         (th_data): Define.
62491         (th_msg): Change to th_u1.th_u2.tu_data.
62493 2012-05-07  David S. Miller  <davem@davemloft.net>
62495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62497         [BZ #14074]
62498         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
62499         (SETUP_PIC_REG): Use it.
62500         (SETUP_PIC_REG_LEAF): Use it.
62502 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
62504         [BZ #13885]
62505         [BZ #13923]
62506         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62507         USE_AS_EXPM1L.
62508         (EXPL_FINITE): Likewise.
62509         (FLDLOG): Likewise.
62510         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62511         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62512         e_expl.S.
62513         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62514         USE_AS_EXPM1L.
62515         (EXPL_FINITE): Likewise.
62516         (FLDLOG): Likewise.
62517         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
62518         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
62519         e_expl.S.
62520         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
62521         test of -max_value argument for long double.
62522         * sysdeps/i386/fpu/libm-test-ulps: Update.
62523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62525 2012-05-06  David S. Miller  <davem@davemloft.net>
62527         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
62528         quad soft-float symbols whose references which are compiler
62529         generated.
62530         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
62532 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
62534         [BZ #13884]
62535         [BZ #13914]
62536         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62537         USE_AS_EXP10L.
62538         (EXPL_FINITE): Likewise.
62539         (FLDLOG): Likewise.
62540         (c0): Likewise.
62541         (c1): Likewise.
62542         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62543         Adjust comments for base varying.
62544         (__expl_finite): Change alias to EXPL_FINITE.
62545         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
62546         e_expl.S.
62547         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
62548         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
62549         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62550         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
62551         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
62552         USE_AS_EXP10L.
62553         (EXPL_FINITE): Likewise.
62554         (FLDLOG): Likewise.
62555         (c0): Likewise.
62556         (c1): Likewise.
62557         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
62558         Adjust comments for base varying.
62559         (__expl_finite): Change alias to EXPL_FINITE.
62560         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
62561         tests for bugs.
62562         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62564         [BZ #14064]
62565         * math/libm-test.inc (check_float_internal): Correct ulp
62566         calculation for subnormal expected results.
62568 2012-05-06  Andreas Jaeger  <aj@suse.de>
62570         * Makeconfig (+math-flags): New, set to -frounding-math.
62571         (+cflags): Add +math-flags so that all of glibc gets compiled with
62572         it.
62574         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
62576 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
62578         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
62579         Disable one test.
62581         [BZ #13787]
62582         [BZ #13922]
62583         [BZ #14036]
62584         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
62585         (__ieee754_expl): Allow for and saturate large arguments.
62586         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
62587         (u_threshold): Likewise.
62588         (__exp): Call __ieee754_exp before checking for overflow and
62589         underflow.
62590         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
62591         (u_threshold): Likewise.
62592         (__expf): Call __ieee754_expf before checking for overflow and
62593         underflow.
62594         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
62595         (u_threshold): Likewise.
62596         (__expl): Call __ieee754_expl before checking for overflow and
62597         underflow.
62598         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
62599         (__ieee754_expl): Allow for and saturate large arguments.
62600         * math/libm-test.inc (exp_test): Add another test.  Do not allow
62601         missing overflow exception on overflow.
62602         (expm1_test): Do not allow missing overflow exception on overflow.
62604         * sysdeps/i386/fpu/e_expl.c: Move to ...
62605         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
62606         rather than using inline asm.
62607         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
62608         * sysdeps/x86_64/fpu/e_expl.S: Copy from
62609         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
62611         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
62612         (nice): Likewise.
62613         (poll): Likewise.
62614         (signal): Likewise.
62615         (time): Likewise.
62616         (times): Likewise.
62618 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62620         * sysdeps/unix/syscalls.list (adjtime): Add entry from
62621         sysdeps/unix/common/syscalls.list.
62622         (fchmod): Likewise.
62623         (fchown): Likewise.
62624         (ftruncate): Likewise.
62625         (getrusage): Likewise.
62626         (gettimeofday): Likewise.
62627         (setpgid): Likewise.
62628         (setregid): Likewise.
62629         (setreuid): Likewise.
62630         (sigaction): Likewise.
62631         (truncate): Likewise.
62632         (vhangup): Likewise.
62633         * sysdeps/unix/common/syscalls.list: Remove file.
62634         * sysdeps/unix/bsd/Implies: Don't include unix/common.
62635         * sysdeps/unix/sysv/linux/Implies: Likewise.
62637 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
62639         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
62640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
62641         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
62642         Moved to ...
62643         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
62644         Here.
62645         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
62646         to ...
62647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
62648         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
62649         to ...
62650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
62651         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
62652         to ...
62653         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
62654         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
62655         to ...
62656         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
62657         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
62658         to ...
62659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
62660         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
62661         to ...
62662         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
62663         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
62664         to ...
62665         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
62666         Here.
62667         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
62668         to ...
62669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
62670         Here.
62671         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
62672         to ...
62673         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
62674         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
62675         Moved to ...
62676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
62677         Here.
62678         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
62679         to ...
62680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
62682 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62684         * sysdeps/unix/common/bits/dirent.h: Remove file.
62685         * sysdeps/unix/common/bits/fcntl.h: Likewise.
62687         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
62688         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
62689         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
62690         * sysdeps/unix/bsd/isatty.c: Likewise.
62691         * sysdeps/unix/bsd/tcdrain.c: Likewise.
62692         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
62693         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
62695 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62697         [BZ #13563]
62698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
62699         long double comparison inaccuracies.
62700         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62703 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
62705         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
62706         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
62708 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
62710         [BZ #14049]
62711         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
62712         nonzero digits before rounding a hex value.
62713         * stdlib/tst-strtod.c (tests): Add another test.
62715 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62717         * sysdeps/s390/fpu/libm-test-ulps: Update.
62719 2012-05-03  Andreas Jaeger  <aj@suse.de>
62721         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
62722         does not get optimized out.
62723         (malloc_opt_barrier): New.
62725 2012-05-03  Andreas Jaeger  <aj@suse.de>
62726             Roland McGrath  <roland@hack.frob.com>
62728         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
62729         intermediate file deletion.
62730         (generated): Add .symlist files.
62732 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
62734         [BZ #13775]
62735         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
62736         Redirect under this condition.
62737         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62738         [__USE_GNU] (__dprintf_chk): Not under this condition.
62739         [__USE_GNU] (__vdprintf_chk): Likewise.
62740         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
62741         under this condition.
62742         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
62743         [__USE_XOPEN2K8] (dprintf): Define under this condition.
62744         [__USE_XOPEN2K8] (vdprintf): Likewise.
62745         [__USE_GNU] (__dprintf_chk): Not under this condition.
62746         [__USE_GNU] (__vdprintf_chk): Likewise.
62747         [__USE_GNU] (dprintf): Likewise.
62748         [__USE_GNU] (vdprintf): Likewise.
62750 2012-05-03  Roland McGrath  <roland@hack.frob.com>
62752         * elf/Makefile (common-generated): Set this instead of generated for
62753         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
62754         $(all-built-dso)-derived lists.
62756 2012-05-03  Andreas Jaeger  <aj@suse.de>
62758         * sysdeps/i386/fpu/libm-test-ulps: Update.
62760         * FAQ: Removed.
62761         * FAQ.in: Likewise.
62762         * scripts/gen-FAQ.pl: Likewise.
62763         * manual/install.texi (Installation): Point to online location of
62764         FAQ.
62765         * Makefile (files-for-dist): Remove FAQ.
62766         (FAQ): Remove.
62768 2012-05-02  Allan McRae  <allan@archlinux.org>
62770         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
62771         (LDFLAGS-reldepmod5.so): Likewise.
62772         (LDFLAGS-reldep6mod1.so): Likewise.
62773         (LDFLAGS-reldep6mod4.so): Likewise.
62774         (LDFLAGS-reldep8mod3.so): Likewise.
62775         (LDFLAGS-unload4mod1.so): Likewise.
62776         (LDFLAGS-unload4mod2.so): Likewise.
62777         (LDFLAGS-tst-initorder): Likewise.
62778         (LDFLAGS-tst-initordera2.so): Likewise.
62779         (LDFLAGS-tst-initordera3.so): Likewise.
62780         (LDFLAGS-tst-initordera4.so): Likewise.
62781         (LDFLAGS-tst-initorderb2.so): Likewise.
62782         (LDFLAGS-noload): Likewise.
62783         (LDFLAGS-next): Likewise.
62784         (LDFLAGS-order2mod1.so): Likewise.
62785         (LDFLAGS-order2mod2.so): Likewise.
62786         (LDFLAGS-tst-initorder2): Likewise.
62787         (LDFLAGS-tst-initorder2a.so): Likewise.
62788         (LDFLAGS-tst-initorder2b.so): Likewise.
62789         (LDFLAGS-tst-initorder2c.so): Likewise.
62790         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
62792 2012-05-02  David S. Miller  <davem@davemloft.net>
62794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62796 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
62798         [BZ #14055]
62799         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
62801 2012-05-02  Andreas Jaeger  <aj@suse.de>
62803         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
62804         since we manipulate rounding mode.
62805         (CPPFLAGS-test-idouble.c): Likewise.
62806         (CPPFLAGS-test-ifloat.c): Likewise.
62807         (CFLAGS-test-ldouble.c): Likewise.
62808         (CFLAGS-test-double.c): Likewise.
62809         (CFLAGS-test-float.c): Likewise.
62810         (CFLAGS-test-misc.c): Likewise.
62811         (CFLAGS-test-test-fenv.c): Likewise.
62813 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62815         [BZ #2550]
62816         [BZ #2570]
62817         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
62818         comparisons to determine direction to adjust input.
62820 2012-05-01  Roland McGrath  <roland@hack.frob.com>
62822         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
62823         output to the target.
62825         * scripts/localplt.awk: New file.
62826         * elf/Makefile ($(objpfx)check-localplt): Target removed.
62827         (check-localplt-CFLAGS): Variable removed.
62828         ($(all-built-dso:=.jmprel)): New static pattern rule.
62829         (generated): Add those targets.
62830         (localplt-built-dso): New variable.
62831         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
62833         * elf/check-localplt.c: File removed.
62835         * scripts/check-execstack.awk: New file.
62836         * elf/Makefile ($(objpfx)check-execstack): Target removed.
62837         (check-execstack-CFLAGS): Variable removed.
62838         ($(objpfx)check-execstack.h): Target removed.
62839         ($(objpfx)execstack-default): New target.
62840         (generated): Add that instead of check-execstack.h.
62841         ($(all-built-dso:=.phdr)): New static pattern rule.
62842         (generated): Add those targets.
62843         * elf/check-execstack.c: File removed.
62845         * scripts/check-textrel.awk: New file.
62846         * elf/Makefile ($(objpfx)check-textrel): Target removed.
62847         (check-textrel-CFLAGS): Variable removed.
62848         (all-built-dso): Use := to define.o
62849         ($(all-built-dso:=.dyn)): New static pattern rule.
62850         (generated): Add those targets.
62851         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
62852         * config.make.in (READELF): New substituted variable.
62853         * elf/check-textrel.c: File removed.
62855 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
62857         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
62858         allow.
62859         * conform/data/ctype.h-data [C99-based standards] (isblank):
62860         Expect function.
62861         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
62862         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
62863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62864         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
62865         Specify type.  Require positive value.
62866         (EILSEQ): Likewise.
62867         (ERANGE): Likewise.
62868         [ISO || POSIX] (EILSEQ): Do not expect.
62869         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
62870         Specify type.  Require positive value.
62871         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
62872         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
62873         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
62874         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
62875         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
62876         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
62877         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
62878         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
62879         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
62880         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
62881         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
62882         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
62883         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
62884         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
62885         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
62886         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
62887         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
62888         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
62889         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
62890         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
62891         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
62892         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
62893         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
62894         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
62895         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
62896         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
62897         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
62898         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
62899         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
62900         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
62901         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
62902         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
62903         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
62904         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
62905         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
62906         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
62907         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
62908         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
62909         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
62910         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
62911         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
62912         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
62913         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
62914         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
62915         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
62916         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
62917         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
62918         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
62919         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
62920         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
62921         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
62922         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
62923         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
62924         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
62925         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
62926         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
62927         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
62928         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
62929         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
62930         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
62931         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
62932         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
62933         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
62934         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
62935         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
62936         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
62937         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
62938         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
62939         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
62940         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
62941         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
62942         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
62943         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
62944         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
62945         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
62946         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
62947         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
62948         Require >= 2.
62949         (FLT_ROUNDS): Expect as macro, not constant.
62950         (FLT_MANT_DIG): Use macro-int-constant.
62951         (DBL_MANT_DIG): Likewise.
62952         (LDBL_MANT_DIG): Likewise.
62953         (FLT_DIG): Likewise.
62954         (DBL_DIG): Likewise.
62955         (LDBL_DIG): Likewise.
62956         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
62957         (DBL_MIN_EXP): Likewise.
62958         (LDBL_MIN_EXP): Likewise.
62959         (FLT_MAX_EXP): Use macro-int-constant.
62960         (DBL_MAX_EXP): Likewise.
62961         (LDBL_MAX_EXP): Likewise.
62962         (FLT_MAX_10_EXP): Likewise.
62963         (DBL_MAX_10_EXP): Likewise.
62964         (LDBL_MAX_10_EXP): Likewise.
62965         (FLT_MAX): Use macro-constant.
62966         (DBL_MAX): Likewise.
62967         (LDBL_MAX): Likewise.
62968         (FLT_EPSILON): Use macro-constant.  Give upper bound.
62969         (DBL_EPSILON): Likewise.
62970         (LDBL_EPSILON): Likewise.
62971         (FLT_MIN): Likewise.
62972         (DBL_MIN): Likewise.
62973         (LDBL_MIN): Likewise.
62974         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
62975         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
62976         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
62977         [ISO11] (FLT_HAS_SUBNORM): Likewise.
62978         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
62979         [ISO11] (DBL_DECIMAL_DIG): Likewise.
62980         [ISO11] (FLT_DECIMAL_DIG): Likewise.
62981         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
62982         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
62983         [ISO11] (FLT_TRUE_MIN): Likewise.
62984         [ISO11] (LDBL_TRUE_MIN): Likewise.
62985         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62986         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
62987         (SCHAR_MIN): Use macro-int-constant.  Specify type.
62988         (SCHAR_MAX): Likewise.
62989         (UCHAR_MAX): Likewise.
62990         (CHAR_MIN): Likewise.
62991         (CHAR_MAX): Likewise.
62992         (MB_LEN_MAX): Use macro-int-constant.
62993         (SHRT_MIN): Use macro-int-constant.  Specify type.
62994         (SHRT_MAX): Likewise.
62995         (USHRT_MAX): Likewise.
62996         (INT_MAX): Likewise.
62997         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
62998         bound negative.
62999         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63000         bound with "U".
63001         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63002         bound with "L".
63003         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
63004         bound negative.  Suffix upper bound with "L".
63005         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
63006         bound with "UL".
63007         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
63008         Specify type.
63009         [C99-based standards] (LLONG_MAX): Likewise.
63010         [C99-based standards] (ULLONG_MAX): Likewise.
63011         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
63012         == 0.
63013         [ISO11] (max_align_t): Require type.
63014         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63016         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
63017         from $CFLAGS, without defining away __attribute__ calls.
63018         (checknamespace): Use $CFLAGS_namespace.
63020         * conform/conformtest.pl (@keywords): Only include C99 keywords
63021         for standards based on C99 or C11.
63023         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
63024         Disable tests.
63025         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
63026         UNIX98]: Likewise.
63028         * conform/conformtest.pl: Handle "macro-int-constant" and test for
63029         usability of symbols in #if.
63031         * conform/conformtest.pl: If macro or constant types start
63032         "promoted:", expect the symbol to be of the following type
63033         promoted by the integer promotions.
63035         * conform/conformtest.pl: Parse all "constant" and "macro" lines
63036         in one place.  Also handle "macro-constant".
63038         * conform/conformtest.pl: Only accept expected macro values with
63039         "==".  Parse all "macro" lines in one place.
63040         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
63042         * conform/conformtest.pl: Handle braced types on "constant" lines
63043         instead of handling "typed-constant".
63044         * conform/data/signal.h-data: Use "constant" instead of
63045         "typed-constant".
63047         * conform/conformtest.pl: Handle "optional-" at start of lines in
63048         one place rather than duplicating several cases.  Handle each
63049         format of "macro" line with initial "optional-".
63051         * conform/conformtest.pl: Only accept expected constant or
63052         optional-constant values with "==".  Parse all "constant" lines in
63053         one place.  Parse all "optional-constant" lines in one place.
63054         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
63055         * conform/data/fmtmsg.h-data: Likewise.
63056         * conform/data/netinet/in.h-data: Likewise.
63057         * conform/data/tar.h-data: Likewise.
63058         * conform/data/limits.h-data: Use "==" form on "constant" and
63059         "optional-constant" lines.
63061         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
63062         Use -std=c99 for XOPEN2K.
63063         (@knownproblems): Remove.
63064         (newtoken): Don't check %isknown.
63066         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
63067         Do not expect macro.
63068         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
63069         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
63070         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
63071         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
63072         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
63073         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
63074         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
63075         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
63076         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
63077         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
63078         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
63079         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
63080         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
63081         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
63082         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
63083         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
63084         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
63085         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
63086         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
63087         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
63088         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
63089         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
63090         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
63091         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
63092         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
63093         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
63094         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
63095         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
63096         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
63097         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
63098         [XPG3] (acosh): Likewise.
63099         [XPG3] (asinh): Likewise.
63100         [XPG3] (atanh): Likewise.
63101         [XPG3] (cbrt): Likewise.
63102         [XPG3] (expm1): Likewise.
63103         [XPG3] (ilogb): Likewise.
63104         [XPG3] (log1p): Likewise.
63105         [XPG3] (logb): Likewise.
63106         [XPG3] (nextafter): Likewise.
63107         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
63108         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
63109         [XPG3] (remainder): Likewise.
63110         [XPG3] (rint): Likewise.
63111         [XPG3 || XPG4 || UNIX98] (round): Likewise.
63112         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
63113         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
63114         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
63115         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
63116         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
63117         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
63118         [UNIX98 || XOPEN2K] (scalb): Expect.
63119         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
63120         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
63121         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
63122         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
63123         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
63124         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
63125         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
63126         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
63127         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
63128         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
63129         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
63130         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
63131         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
63132         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
63133         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
63134         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
63135         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
63136         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
63137         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
63138         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
63139         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
63140         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
63141         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
63142         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
63143         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
63144         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
63145         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
63146         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
63147         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
63148         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
63149         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
63150         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
63151         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
63152         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
63153         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
63154         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
63155         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
63156         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
63157         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
63158         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
63159         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
63160         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
63161         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
63162         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
63163         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
63164         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
63165         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
63166         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
63167         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
63168         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
63169         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
63170         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
63171         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
63172         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
63173         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
63174         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
63175         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
63176         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
63177         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
63178         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
63179         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
63180         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
63181         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
63182         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
63183         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
63184         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
63185         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
63186         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
63187         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
63188         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
63189         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
63190         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
63191         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
63192         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
63193         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
63194         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
63195         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
63196         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
63197         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
63198         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
63199         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
63200         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
63201         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
63202         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
63203         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
63204         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
63205         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
63206         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
63207         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
63208         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
63209         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
63210         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
63211         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
63212         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
63213         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
63214         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
63215         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
63216         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
63217         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
63218         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
63219         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
63220         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
63221         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
63222         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
63223         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
63224         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
63225         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
63226         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
63227         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
63228         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
63229         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
63230         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
63231         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
63232         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
63233         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
63234         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
63235         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
63236         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
63237         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
63238         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
63239         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
63240         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
63241         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
63242         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
63243         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
63244         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
63245         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
63246         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
63247         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
63248         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
63249         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
63250         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
63251         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
63252         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
63253         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
63254         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
63255         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
63257         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
63258         _XOPEN_SOURCE_EXTENDED for XPG4.
63260         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
63262         * Makeconfig (localtime): Remove variable.
63263         (inst_localtime-file): Likewise.
63265 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
63268         Update.
63269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63270         Update.
63271         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
63272         Update.
63273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
63274         Update.
63275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
63276         Update.
63277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
63278         Update.
63279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
63280         Update.
63281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
63282         Update.
63283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63284         Update.
63286 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
63288         [BZ #2550]
63289         [BZ #2570]
63290         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
63291         comparisons to determine direction to adjust input.
63292         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
63293         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
63294         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
63295         Likewise.
63296         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
63297         Likewise.
63298         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63299         Likewise.
63300         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
63301         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
63302         Likewise.
63303         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
63304         Likewise.
63305         * math/libm-test.inc (nexttoward_test): Add more tests.
63307 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
63309         [BZ #14040]
63310         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
63311         in version GLIBC_2.1, not GLIBC_2.0.
63312         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
63313         Likewise.
63315 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
63317         [BZ #13942]
63318         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
63319         (1 - x) * (1 + x).
63320         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63321         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
63322         * math/libm-test.inc (acos_test): Add more tests.
63323         (asin_test): Likewise.
63324         * sysdeps/i386/fpu/libm-test-ulps: Update.
63325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63327         [BZ #14034]
63328         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
63329         of square root.
63330         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
63331         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
63332         * math/libm-test.inc (acos_test_tonearest): New function.
63333         (acos_test_towardzero): Likewise.
63334         (acos_test_downward): Likewise.
63335         (acos_test_upward): Likewise.
63336         (asin_test_tonearest): Likewise.
63337         (asin_test_towardzero): Likewise.
63338         (asin_test_downward): Likewise.
63339         (asin_test_upward): Likewise.
63340         (main): Call the new functions.
63341         * sysdeps/i386/fpu/libm-test-ulps: Update.
63342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63344         [BZ #13884]
63345         [BZ #13924]
63346         * math/e_exp10.c: Include <float.h>.
63347         (__ieee754_exp10): Handle underflow here rather than multiplying
63348         large negative argument by M_LN10.
63349         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
63350         of __ieee754_expf.
63351         * math/e_exp10l.c: Include <float.h>.
63352         (__ieee754_exp10l): Handle underflow here rather than multiplying
63353         large negative argument by M_LN10l.
63354         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
63355         spurious overflow exception on underflow.
63357 2012-04-29  Marek Polacek  <polacek@redhat.com>
63359         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
63360         (__fortify_function): New macro.
63361         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
63362         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
63363         __extern_always_inline.
63364         * libio/bits/stdio2.h: Likewise.
63365         * libio/bits/stdio.h: Likewise.
63366         * string/string.h: Likewise.
63367         * string/bits/string3.h: Likewise.
63368         * include/stdio.h: Likewise.
63369         * stdlib/bits/stdlib.h: Likewise.
63370         * stdlib/stdlib.h: Likewise.
63371         * rt/bits/mqueue2.h: Likewise.
63372         * rt/mqueue.h: Likewise.
63373         * posix/bits/unistd.h: Likewise.
63374         * posix/unistd.h: Likewise.
63375         * io/bits/poll2.h: Likewise.
63376         * io/bits/fcntl2.h: Likewise.
63377         * io/fcntl.h: Likewise.
63378         * io/sys/poll.h: Likewise.
63379         * misc/bits/syslog.h: Likewise.
63380         * misc/bits/syslog-ldbl.h: Likewise.
63381         * misc/sys/syslog.h: Likewise.
63382         * socket/bits/socket2.h: Likewise.
63383         * socket/sys/socket.h: Likewise.
63384         * debug/tst-chk1.c: Likewise.
63385         * wcsmbs/bits/wchar2.h: Likewise.
63386         * wcsmbs/bits/wchar-ldbl.h: Likewise.
63387         * wcsmbs/wchar.h: Likewise.
63389 2012-04-29  Andreas Jaeger  <aj@suse.de>
63391         * Makerules (tests): Remove enable-check-abi protection.
63392         (check-abi-warn): Remove.
63393         (check-abi-%): Remove check-abi-warn usage.
63395         * configure.in: Remove check-abi configure option.
63396         * configure: Regenerated.
63397         * config.make.in (enable-check-abi): Remove.
63399 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
63401         [BZ #14033]
63402         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
63403         double functions to double *_finite functions.
63405         [BZ #13941]
63406         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
63407         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
63408         LDBL_MIN_EXP.
63409         * stdio-common/Makefile (tests): Add tst-sprintf3.
63410         * stdio-common/tst-sprintf3.c: New file.
63412         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
63413         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
63415 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63417         * conform/conformtest.pl: Remove duplicate typed-constant
63418         handling.
63420 2012-04-28  David S. Miller  <davem@davemloft.net>
63422         * Makerules (%.abilist): Add vpath on sysdep_dirs.
63423         (check-abi-%): Remove AWK script prerequisite and explicit
63424         abilist directory.
63425         (check-abi): Rewrite to just diff the symlist with the abilist.
63426         (config-tls, config-abi-config): Delete, no longer used.
63427         (update-abi-%): Remove AWK script and explicit abilist directory.
63428         (update-abi): Rewrite to simply compare and conditionally copy the
63429         symlist and the sysdep abilist file.  Remove update-abi-config
63430         checks.
63431         * abilist/ld.abilist: Remove.
63432         * abilist/libBrokenLocale.abilist: Remove.
63433         * abilist/libanl.abilist: Remove.
63434         * abilist/libcrypt.abilist: Remove.
63435         * abilist/libdl.abilist: Remove.
63436         * abilist/librt.abilist: Remove.
63437         * abilist/libthread_db.abilist: Remove.
63438         * abilist/libutil.abilist: Remove.
63439         * scripts/extract-abilist.awk: Remove.
63440         * scripts/merge-abilist.awk: Remove.
63441         * sysdeps/generic/libcidn.abilist: New file.
63442         * sysdeps/generic/libnss_compat.abilist: New file.
63443         * sysdeps/generic/libnss_db.abilist: New file.
63444         * sysdeps/generic/libnss_dns.abilist: New file.
63445         * sysdeps/generic/libnss_files.abilist: New file.
63446         * sysdeps/generic/libnss_hesiod.abilist: New file.
63447         * sysdeps/generic/libnss_nis.abilist: New file.
63448         * sysdeps/generic/libnss_nisplus.abilist: New file.
63449         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
63450         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
63451         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
63452         file.
63453         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
63454         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
63455         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
63456         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
63457         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
63458         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
63459         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
63460         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
63461         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
63462         file.
63463         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
63464         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
63465         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
63466         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
63467         file.
63468         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
63469         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
63470         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
63471         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
63472         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
63473         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
63474         file.
63475         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
63476         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
63477         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
63478         file.
63479         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
63480         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
63481         New file.
63482         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
63483         New file.
63484         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
63485         New file.
63486         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
63487         New file.
63488         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
63489         New file.
63490         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
63491         New file.
63492         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
63493         New file.
63494         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
63495         New file.
63496         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
63497         New file.
63498         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
63499         New file.
63500         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
63501         New file.
63502         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
63503         New file.
63504         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
63505         New file.
63506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
63507         file.
63508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
63509         New file.
63510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
63511         New file.
63512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
63513         file.
63514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
63515         New file.
63516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
63517         New file.
63518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
63519         file.
63520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
63521         New file.
63522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
63523         New file.
63524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
63525         New file.
63526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
63527         New file.
63528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
63529         New file.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
63531         New file.
63532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
63533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
63534         file.
63535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
63536         New file.
63537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
63538         file.
63539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
63540         file.
63541         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
63542         file.
63543         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
63544         file.
63545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
63546         file.
63547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63548         New file.
63549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
63550         file.
63551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
63552         file.
63553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
63554         New file.
63555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
63556         file.
63557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
63558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
63559         file.
63560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
63561         New file.
63562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
63563         file.
63564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
63565         file.
63566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
63567         file.
63568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
63569         file.
63570         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
63571         file.
63572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63573         New file.
63574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
63575         file.
63576         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
63577         file.
63578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
63579         New file.
63580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
63581         file.
63582         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63583         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
63584         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
63585         file.
63586         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
63587         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
63588         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
63589         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
63590         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
63591         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
63592         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
63593         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
63594         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
63595         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
63596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
63597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
63598         file.
63599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
63600         New file.
63601         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
63602         file.
63603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
63604         file.
63605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
63606         file.
63607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
63608         file.
63609         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
63610         file.
63611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
63612         New file.
63613         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
63614         New file.
63615         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
63616         file.
63617         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
63618         New file.
63619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
63620         file.
63621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
63622         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
63623         file.
63624         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
63625         New file.
63626         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
63627         file.
63628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
63629         file.
63630         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
63631         file.
63632         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
63633         file.
63634         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
63635         file.
63636         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
63637         New file.
63638         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
63639         New file.
63640         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
63641         file.
63642         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
63643         New file.
63644         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
63645         file.
63647 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
63649         * conform/conformtest.pl: Fix typo in handling typed-constant from
63650         allow-header.
63652 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63654         * README: Cut down references to pre-2.6 Linux kernels and
63655         Linuxthreads.  Update lists of configurations in libc and ports
63656         and sort alphabetically.  Say "or newer" with Linux kernel version
63657         requirements.
63659         * config.h.in [IS_IN_build]: Allow compiling without optimization.
63661 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63663         [BZ #887]
63664         * math/libm-test.inc (logb_test_downward): New test to expose
63665         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
63666         rounding mode.
63668 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
63670         [BZ #14027]
63671         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
63672         to be done.
63673         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
63674         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
63676 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
63678         * sysdeps/unix/i386/brk.S: Remove file.
63679         * sysdeps/unix/i386/dl-brk.S: Likewise.
63680         * sysdeps/unix/i386/pipe.S: Likewise.
63681         * sysdeps/unix/i386/sigreturn.S: Likewise.
63682         * sysdeps/unix/i386/syscall.S: Likewise.
63683         * sysdeps/unix/i386/vfork.S: Likewise.
63684         * sysdeps/unix/i386/wait.S: Likewise.
63686         * sysdeps/unix/common/tcsendbrk.c: Move to ...
63687         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
63689         * configure.in (arm*-none*): Do not allow without
63690         --enable-hacker-mode.
63691         (netbsd*): Remove case setting base_os.
63692         (386bsd*): Likewise.
63693         (freebsd*): Likewise.
63694         (bsdi*): Likewise.
63695         (osf*): Likewise.
63696         (sunos*): Likewise.
63697         (ultrix*): Likewise.
63698         (newsos*): Likewise.
63699         (dynix*): Likewise.
63700         (*bsd*): Likewise.
63701         (sysv*): Likewise.
63702         (isc*): Likewise.
63703         (esix*): Likewise.
63704         (sco*): Likewise.
63705         (minix*): Likewise.
63706         (irix4*): Likewise.
63707         (irix6*): Likewise.
63708         (solaris[2-9]*): Likewise.
63709         (none): Likewise.
63710         * configure: Regenerated.
63712 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63714         [BZ #11521]
63715         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
63716         overflow or cancellation in calculating denominator.
63717         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
63718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
63719         down expression to avoid unexpected rounding in newer GCCs.
63720         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
63722 2012-04-26  David S. Miller  <davem@davemloft.net>
63724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
63725         long-double compat symbols.
63726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
63727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
63728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
63729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
63730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
63731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
63732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
63733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
63734         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
63735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
63736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
63737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
63738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
63740 2012-04-25  David S. Miller  <davem@davemloft.net>
63742         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
63743         HWCAP_* values only after the memory barriers have been defined.
63744         (atomic_full_barrier): Define.
63745         (atomic_read_barrier): Define.
63746         (atomic_write_barrier): Define.
63748 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63750         * shlib-versions: Add libgcc_s version information.
63751         * sysdeps/generic/libgcc_s.h: Remove.
63752         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
63753         libgcc_s.h.
63754         * sysdeps/gnu/unwind-resume.c: Likewise.
63755         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
63757 2012-04-25  David S. Miller  <davem@davemloft.net>
63759         * sysdeps/unix/sparc/brk.S: Delete.
63760         * sysdeps/unix/sparc/dl-brk.S: Delete.
63761         * sysdeps/unix/sparc/pipe.S: Delete.
63762         * sysdeps/unix/sparc/sysdep.S: Delete.
63763         * sysdeps/unix/sparc/sysdep.h: Delete.
63764         * sysdeps/unix/sparc/vfork.S: Delete.
63765         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
63766         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
63767         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
63768         (ret_ERRVAL, r0, r1, MOVE): Define.
63769         (JUMPTARGET): Remove.
63770         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
63771         sysdeps/unix/sparc/sysdep.h
63772         (ENTRY, END): Remove.
63773         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
63775 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
63777         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
63778         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
63779         -DIS_IN_build.
63781         * timezone/README: Update upstream location and email address for
63782         tzcode and tzdata.
63783         * timezone/zdump.c: Update from tzcode 2012b.
63784         * timezone/zic.c: Likewise.
63786         * configure.in (libc_cv_as_needed): Remove test.
63787         * configure: Regenerated.
63788         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
63789         conditional definition.
63790         [$(have-as-needed) != yes] (no-as-needed): Likewise.
63791         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
63792         * config.make.in (have-as-needed): Remove variable.
63794 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63795             Paul Pluzhnikov  <ppluzhnikov@google.com>
63797         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
63798         strings correctly.
63800 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
63802         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
63803         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
63804         * sysdeps/sh/strlen.S: Likewise.
63806 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63808         * sysdeps/unix/fork.S: Remove file.
63809         * sysdeps/unix/i386/fork.S: Likewise.
63810         * sysdeps/unix/sparc/fork.S: Likewise.
63812         * sysdeps/unix/system.c: Remove file.
63813         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
63815         * sysdeps/unix/getegid.S: Remove file.
63816         * sysdeps/unix/geteuid.S: Likewise.
63818 2012-04-24  Roland McGrath  <roland@hack.frob.com>
63820         * scripts/check-localplt.awk: New file.
63821         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
63822         of diff.
63823         * scripts/data/localplt-generic.data: Add a comment.
63825         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
63826         NODE when __dir_mkfile failed.
63827         * sysdeps/mach/hurd/symlinkat.c: Likewise.
63828         Reported by Ludovic Courtès <ludo@gnu.org>.
63830 2012-04-24  Andreas Jaeger  <aj@suse.de>
63832         * Makerules (common-clean): Also remove gen-as-const-headers
63833         files.
63835 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63837         * Makerules (native-compile): Do not change working directory for
63838         build.  Use $(OUTPUT_OPTION) in command.
63839         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
63841 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63843         [BZ #13886]
63844         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
63845         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
63846         * math/libm-test.inc (floor_test): Add more tests.
63847         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
63849 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
63851         * sysdeps/unix/getdents.c: Remove file.
63852         * sysdeps/unix/sysv/getdents.c: Likewise.
63853         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
63855         * sysdeps/unix/syscalls.list (madvise): Add syscall from
63856         sysdeps/unix/mman/syscalls.list.
63857         (mmap): Likewise.
63858         (mprotect): Likewise.
63859         (msync): Likewise.
63860         (munmap): Likewise.
63861         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
63862         * sysdeps/unix/mman/syscalls.list: Remove.
63863         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
63865         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
63866         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
63867         * configure: Regenerated.
63868         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
63869         $(libgcc_s_suffix).
63870         * config.make.in (libgcc_s_suffix): Remove variable.
63872 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
63874         * sysdeps/unix/sysv/gethostname.c: Move to ...
63875         * sysdeps/posix/gethostname.c: ... here.
63877         * sysdeps/unix/execve.S: Remove file.
63879         * sysdeps/unix/_exit.S: Remove file.
63881 2012-04-23  Andreas Jaeger  <aj@suse.de>
63883         [BZ #13739]
63884         * manual/Makefile: Remove make dist support, there's no
63885         need for a stand-alone documentation tar ball.
63886         (TEXI2DVI): Define always, it's not in Makeconfig.
63887         (dist): Removed.
63888         (tar-it): Removed.
63889         (edition): Removed.
63890         (glibc-doc-$(edition).tar): Removed
63891         (%.Z): Removed.
63892         (%.gz): Removed.
63893         (%.uu): Removed.
63894         (ETAGS): Remove, it's in Makeconfig.
63895         (move-if-change): Remove, it's in Makeconfig.
63897 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
63899         [BZ #13970]
63900         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
63901         (strtod, strtof, strtold, strtol, strtoul, strtoq)
63902         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
63903         (strtod_l, strtof_l, strtold_l): Remove __wur.
63904         It is not necessarily an error to ignore strtol's return value.
63905         One can reliably look at the stored endptr to decide whether
63906         the number had valid syntax.
63908 2012-04-21  Andreas Jaeger  <aj@suse.de>
63910         [BZ #13739]
63911         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
63913 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
63915         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
63916         * sysdeps/unix/sysv/Versions: Remove file.
63918 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
63920         [BZ #13927]
63921         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63923 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
63925         [BZ #7064]
63926         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
63927         version from __vm86.
63929 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
63931         * sysdeps/unix/common/lxstat.c: Remove file.
63932         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
63934         * sysdeps/unix/sysv/Makefile: Remove file.
63936         * sysdeps/unix/sysv/direct.h: Remove file.
63938         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
63939         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
63940         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
63941         * sysdeps/unix/sysv/bits/signum.h: Likewise.
63942         * sysdeps/unix/sysv/bits/stat.h: Likewise.
63943         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
63944         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
63946         * sysdeps/unix/sysv/setrlimit.c: Remove file.
63948         * sysdeps/unix/xmknod.c: Remove file.
63949         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
63951         * sysdeps/unix/sysv/settimeofday.c: Remove file.
63953         * sysdeps/unix/sysv/i386/time.S: Remove file.
63955         * sysdeps/unix/fxstat.c: Remove file.
63956         * sysdeps/unix/xstat.c: Likewise.
63957         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
63959         * sysdeps/unix/sysv/sigaction.c: Remove file.
63961         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
63962         (sysdep_headers): Remove variable.
63963         [termio.h not in sysdep_headers] (generated): Likewise.
63964         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
63965         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
63966         * sysdeps/unix/sysv/tcdrain.c: Likewise.
63967         * sysdeps/unix/sysv/tcflow.c: Likewise.
63968         * sysdeps/unix/sysv/tcflush.c: Likewise.
63969         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
63970         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
63971         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
63972         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
63973         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
63975         * sysdeps/unix/siglist.c: Remove file.
63977         * sysdeps/unix/getppid.S: Remove file.
63979         * sysdeps/unix/mkdir.c: Remove file.
63980         * sysdeps/unix/rmdir.c: Likewise.
63982 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
63984         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
63985         ERR_MAX value.
63986         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
63987         errlist-compat value.
63989 2012-04-18  David S. Miller  <davem@davemloft.net>
63991         * sysdeps/generic/memcopy.h (reg_char): Delete.
63992         * debug/strcat_chk.c: Use char, not reg_char.
63993         * debug/strcpy_chk.c: Likewise.
63994         * debug/strncat_chk.c: Likewise.
63995         * debug/strncpy_chk.c: Likewise.
63996         * string/memchr.c: Likewise.
63997         * string/memrchr.c: Likewise.
63998         * string/rawmemchr.c: Likewise.
63999         * string/strcat.c: Likewise.
64000         * string/strchr.c: Likewise.
64001         * string/strchrnul.c: Likewise.
64002         * string/strcmp.c: Likewise.
64003         * string/strcpy.c: Likewise.
64004         * string/strncat.c: Likewise.
64005         * string/strncmp.c: Likewise.
64006         * string/strncpy.c: Likewise.
64008 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64010         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
64011         __builtin_memcopy is called when src and dest ranges are known to not
64012         overlap.
64014 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64016         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
64017         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
64018         fwd_align_merge macro call.
64019         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
64020         bwd_align_merge macro call.
64021         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64023 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
64025         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
64026         bwd_align_merge macros.
64027         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
64028         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
64029         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
64031 2012-04-18  David S. Miller  <davem@davemloft.net>
64033         * sysdeps/sparc/sparc64/memcopy.h: Delete.
64035 2012-04-18  Andreas Jaeger  <aj@suse.de>
64037         [BZ# 6794]
64038         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
64039         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
64040         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64042         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
64043         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
64044         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64046         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
64047         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
64048         Adjust for changed ldbl-128 files.
64050         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
64051         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
64052         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
64054 2012-04-17  David S. Miller  <davem@davemloft.net>
64056         * sysdeps/sparc/sparc32/memcopy.h: Delete.
64058 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
64060         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
64061         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
64062         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
64063         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
64064         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
64065         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
64067 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64069         [BZ #6794]
64070         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
64071         * math/libm-test.inc: Add ilogb errno and exception tests.
64072         * math/w_ilogb.c: New file: ilogb wrapper.
64073         * math/w_ilogbf.c: New file: ilogbf wrapper.
64074         * math/w_ilogbl.c: New file: ilogbl wrapper.
64075         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
64076         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
64077         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
64078         exception being thrown with 0.0 as argument.
64079         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
64080         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
64081         exception being thrown with 0.0 as argument.
64082         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
64083         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64084         exception being thrown with 0.0 as argument.
64085         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
64086         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
64087         exception being thrown with 0.0 as argument.
64088         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
64089         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
64090         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
64091         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
64092         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
64093         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
64094         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
64095         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
64096         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
64098 2012-04-17  Petr Baudis  <pasky@ucw.cz>
64100         * include/sys/uio.h: Change __vector to __iovec to avoid clash
64101         with altivec.
64103 2012-04-16  Marek Polacek  <polacek@redhat.com>
64105         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
64107 2012-04-16  Marek Polacek  <polacek@redhat.com>
64109         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
64110         operands of fdivp instruction.
64112 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64114         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
64115         * elf/tst-auditmod3b.c: Likewise.
64116         * elf/tst-auditmod4b.c: Likewise.
64117         * elf/tst-auditmod5b.c: Likewise.
64118         * elf/tst-auditmod6b.c: Likewise.
64119         * elf/tst-auditmod6c.c: Likewise.
64120         * elf/tst-auditmod7b.c: Likewise.
64121         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
64122         * sysdeps/x86_64/preconfigure.in: Likewise.
64123         * sysdeps/x86_64/preconfigure: Regenerated.
64125 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
64127         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
64128         __ILP32__.
64130 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
64132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
64133         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
64135 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
64137         [BZ #13973]
64138         * locale/iso-639.def: Fix gl language name. Spotted by
64139         Yaron Shahrabani.
64141 2012-04-12  Roland McGrath  <roland@hack.frob.com>
64143         [BZ #2074]
64144         * libio/libio.h (__io_write_fn): Update comment.
64146 2012-04-12  Petr Baudis  <pasky@ucw.cz>
64148         [BZ #2074]
64149         * stdio.texi (Hook Functions): The user provided writer function
64150         is not allowed to return -1.
64152 2012-04-11  David S. Miller  <davem@davemloft.net>
64154         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64156 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
64158         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
64159         Add a leading slash to rtkaio.
64161 2012-04-11  Jim Meyering  <meyering@redhat.com>
64163         [BZ #11959]
64164         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
64165         It is not necessarily an error to ignore fwrite's return
64166         value.  One can reliably use ferror to test for errors after
64167         the fact.
64169 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64171         * bits/types.h (__snseconds_t): New type.
64172         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
64174         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
64175         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64176         (__SNSECONDS_T_TYPE): Likewise.
64177         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64178         (__SNSECONDS_T_TYPE): Likewise.
64179         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64180         (__SNSECONDS_T_TYPE): Likewise.
64182 2012-04-10  Andreas Jaeger  <aj@suse.de>
64184         [BZ #2636]
64185         * manual/time.texi (Processor Time): Return type of times is
64186         elapsed real time since an arbitrary point in the past.
64187         (CPU Time): Move CLK_TCK from here...
64188         (Processor Time): ...to here.  Correct description.
64189         * manual/conf.texi (Constants for Sysconf): Correct description of
64190         _SC_CLK_TCK.
64192 2012-04-10  David S. Miller  <davem@davemloft.net>
64194         [BZ #13967]
64195         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
64196         where the is a gap between DT_REL(A) and DT_JMPREL.
64198 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
64200         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
64201         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64202         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64204 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64206         * elf/dl-support.c (_dl_inhibit_cache): New variable.
64207         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
64208         (dl_main): Handle --inhibit-cache.
64209         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
64210         _dl_inhibit_cache.
64211         * elf/dl-load.c (_dl_map_object): Use it.
64212         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
64214 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64216         [BZ #13872]
64217         * sysdeps/i386/fpu/e_powl.S (p78): New object.
64218         (__ieee754_powl): Saturate large exponents rather than testing for
64219         overflow of y*log2(x).
64220         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
64221         * math/libm-test.inc (pow_test): Do not permit spurious overflow
64222         exceptions.
64224         [BZ #11521]
64225         * math/s_ctan.c: Include <float.h>.
64226         (__ctan): Avoid internal overflow or cancellation in calculating
64227         denominator.
64228         * math/s_ctanf.c: Likewise.
64229         * math/s_ctanl.c: Likewise.
64230         * math/s_ctanh.c: Likewise.
64231         * math/s_ctanhf.c: Likewise.
64232         * math/s_ctanhl.c: Likewise.
64233         * math/libm-test.inc (ctan_test): Add more tests.
64234         (ctanh_test): Likewise.
64235         * sysdeps/i386/fpu/libm-test-ulps: Update.
64236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64238 2012-04-09  Andreas Jaeger  <aj@suse.de>
64240         [BZ #6894]
64241         * manual/filesys.texi (Directory Entries): Mention that d_namlen
64242         is an optional BSD extension.
64244         [BZ #10254]
64245         * manual/stdio.texi (Opening Streams): Document additional fopen
64246         parameters.
64248 2012-04-09  Roland McGrath  <roland@hack.frob.com>
64250         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
64251         %eax without telling the compiler.
64253 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
64255         [BZ # 13963]
64256         * manual/install.texi: Use sourceware.org.
64258 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
64260         [BZ #13873]
64261         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
64262         (__ieee754_pow): Generate overflow and underflow using huge*huge
64263         and tiny*tiny rather than just returning constant infinity or zero
64264         for large exponents.
64265         * math/libm-test.inc (pow_test): Require overflow exceptions for
64266         applicable cases of large exponents.
64268         [BZ #706]
64269         * sysdeps/i386/fpu/e_pow.S (p10): New object.
64270         (__ieee754_pow): Use iterative multiplication algorithm only for
64271         integer exponents with absolute value below 1024.  Check for odd
64272         integer exponents when using algorithm for real exponents.
64273         * math/libm-test.inc (pow_test): Add more tests.
64274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64276 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
64278         [BZ #13705]
64279         * math/libm-test.inc (exp_test): Do not allow overflow exception
64280         on underflow test.
64282 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
64284         [BZ #13705]
64285         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
64286         instead of __kernel_standard_f.
64288 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
64290         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
64291         * sysdeps/x86_64/memset_chk.S: Likewise.
64293 2012-04-08  Andreas Jaeger  <aj@suse.de>
64295         [BZ #10153]
64296         * manual/startup.texi (Environment Access): Describe return value
64297         for putenv and setenv.
64299         [BZ #6895]
64300         * manual/filesys.texi (Directory Entries): Add description for
64301         DT_LNK.
64303         [BZ #6890]
64304         * manual/filesys.texi (Directory Entries): Clarify that it's file
64305         system not operating system in the description of DT_UNKNOWN.
64307         [BZ #6578]
64308         * manual/syslog.texi (closelog): Fix reference, it's openlog.
64310 2012-04-08  Stephen Compall  <s11@member.fsf.org>
64312         [BZ #6649]
64313         * manual/llio.texi (Opening and Closing Files): Add cross
64314         reference to explain mode argument.
64316 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
64318         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
64319         * sysdeps/x86_64/memset_chk.S: Likewise.
64321 2012-04-07  David S. Miller  <davem@davemloft.net>
64323         * elf/elf.h (R_SPARC_WDISP10): Define.
64324         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
64325         R_SPARC_SIZE32.
64326         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
64327         R_SPARC_SIZE64 and R_SPARC_H34.
64329 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
64331         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
64332         conditions and remove no longer applicable assertion.
64334 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64336         * bits/byteswap.h: Include <features.h>.
64337         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
64338         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
64340 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
64342         * bits/byteswap.h (__bswap_16): Removed.
64343         Include <bits/byteswap-16.h> to get __bswap_16.
64344         * sysdeps/i386/bits/byteswap.h: Likewise.
64345         * sysdeps/s390/bits/byteswap.h: Likewise.
64346         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64347         * bits/byteswap-16.h: New file.
64348         * sysdeps/i386/bits/byteswap-16.h: Likewise.
64349         * sysdeps/s390/bits/byteswap-16.h: Likewise.
64350         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
64351         * string/Makefile (headers): Add bits/byteswap-16.h.
64353 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
64355         [BZ #13895]
64356         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
64357         extra indirection.
64358         * nss/Makefile (tests-static, tests): Add tst-nss-static.
64359         * nss/tst-nss-static.c: New.
64361 2012-04-06  Robert Millan  <rmh@gnu.org>
64363         [BZ #6486]
64364         * manual/llio.texi (File Position Primitive): lseek
64365         refers to WHENCE when it really means OFFSET.
64367 2012-04-06  Andreas Jaeger  <aj@suse.de>
64369         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
64370         strncmp declarations.
64372         * abilist/libc.abilist: Add __poll and __ppoll.
64374 2012-04-05  David S. Miller  <davem@davemloft.net>
64376         * scripts/check-local-headers.sh: Accept a host triplet in the
64377         path matched by the exclude regexp.
64379         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
64380         definition.
64381         * sysdeps/powerpc/powerpc32/dl-machine.h
64382         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
64383         * sysdeps/s390/s390-32/dl-machine.h
64384         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64385         * sysdeps/sparc/sparc32/dl-machine.h
64386         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64387         * sysdeps/sparc/sparc64/dl-machine.h
64388         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
64390         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
64391         lazy binding.
64392         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
64393         undefined symbol errors.
64395         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
64396         DT_NEEDED entries.
64398 2012-04-05  Michael Matz  <matz@suse.de>
64400         [BZ #13592]
64401         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
64403 2012-04-05  Andreas Jaeger  <aj@suse.de>
64405         [BZ #13908]
64406         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
64407         comment.
64409 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64411         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
64412         which ROUND is no valid rounding mode.
64414 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64416         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
64417         read again.
64418         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
64420 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64422         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
64423         an exception using FPU order intentionally.
64425 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64427         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
64428         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
64429         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
64430         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
64432 2012-04-05  Simon Josefsson  <simon@josefsson.org>
64434         [BZ #12340]
64435         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
64436         EINVAL when BUFLEN is too smal.
64438 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
64440         [BZ #13553]
64441         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
64442         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
64444 2012-04-03  Andreas Jaeger  <aj@suse.de>
64446         [BZ #13938]
64447         * manual/setjmp.texi (System V contexts): Fix sentence.
64449         [BZ #13926]
64450         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
64451         New macro for this case.
64452         [!__GNUC__] (__bswap_64): New inline function for this case.
64453         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64454         * bits/byteswap.h: Likewise.
64455         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
64456         ull, guard with __GLIBC_HAVE_LONG_LONG.
64458         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
64459         __GLIBC_HAVE_LONG_LONG.
64461         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
64462         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
64464 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
64466         [BZ #13691]
64467         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
64468         inptr and inend, rather than using last_ch.
64470 2012-04-02  David S. Miller  <davem@davemloft.net>
64472         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
64473         * stdio-common/printf-parse.h (read_int): Change return type to
64474         'int', return -1 on INT_MAX overflow.
64475         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
64476         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
64477         overflows INT_MAX.  Check for overflow of in-format-string precision
64478         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
64479         SIZE_MAX not INT_MAX for integer overflow test.
64480         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
64481         skip the construct in the format string but do not record anything.
64482         * stdio-common/bug22.c: Adjust to test both width/prevision
64483         INT_MAX overflow as well as total length INT_MAX overflow.  Check
64484         explicitly for proper errno values.
64486 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
64488         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
64489         CHAR_MAX.
64490         * string/test-strcmp.c [! WIDE]: Likewise.
64491         * time/tst-mktime2.c: Likewise for INT_MAX.
64492         * string/test-string.h: #include <sys/param.h> for MIN.
64494         * csu/init-first.c (__libc_init_first): Call __ctype_init.
64495         * sysdeps/i386/init-first.c (init): Likewise.
64496         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
64497         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
64498         * sysdeps/sh/init-first.c (init): Likewise.
64500 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
64502         * po/ru.po: Update from translation team.
64503         * po/vi.po: Likewise.
64505 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
64507         * resolv/nss_dns/dns-host.c: Merge copyright years.
64509 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64511         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
64512         Optimize memcpy with prefetch if
64513         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
64514         src, dst pointers have unequal 16 byte alignments.
64516 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
64518         [BZ #13928]
64519         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
64520         from a CNAME entry and return the minimum ttl for the query.
64521         (gaih_getanswer_slice): Likewise.
64523 2012-03-30  Jeff Law  <law@redhat.com>
64525         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
64526         due to long keys.
64527         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
64528         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
64530         * resolv/nss_dns/dns-host.c: Update copyright year.
64532 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
64534         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
64535         requests to save a system call.  Fix check that all bytes are sent.
64537         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
64538         comments for sendmmsg.
64540 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64542         [BZ #13691]
64543         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
64544         with only 1 character between 0x0041 and 0x01b0.
64545         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
64546         * wcsmbs/tst-mbsnrtowcs.c: New file.
64548 2012-03-29  David S. Miller  <davem@davemloft.net>
64550         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
64551         small copies by hand.
64553 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64555         [BZ #13761]
64556         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
64557         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
64558         group memberships.
64560 2012-03-28  David S. Miller  <davem@davemloft.net>
64562         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
64563         that branches into memcpy.
64564         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
64565         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
64566         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
64567         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
64568         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
64569         bits.
64570         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
64571         implementation too.
64572         * sysdeps/sparc/mempcpy.S: New file.
64574         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
64575         the IFUNC routine in the libc case.
64576         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
64578         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
64579         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
64580         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
64581         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
64582         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
64583         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
64584         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
64585         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
64587         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
64588         loop to 256 bytes instead of 64 bytes and fix test signedness.
64590         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
64591         * sysdeps/sparc/sparc32/Makefile: rather than here...
64592         * sysdeps/sparc/sparc64/Makefile: and here.
64594 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
64596         * malloc/mallocbug.c: Avoid warnings about unused variables.
64598 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
64600         [BZ #13760]
64601         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
64602         in the right place. Discard and retry query if response is
64603         larger than input buffer size.
64605 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
64607         [BZ #369]
64608         [BZ #2678]
64609         [BZ #3866]
64610         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
64611         x for large integer exponent.
64612         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
64613         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
64614         sign of result as needed afterwards.
64615         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
64616         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
64617         result for underflowing pow the same as for overflow.
64618         (__kernel_standard_l): Handle powl overflow and underflow here
64619         rather than calling __kernel_standard.
64620         * math/libm-test.inc (pow_test): Add more tests.
64622         [BZ #3868]
64623         [BZ #13879]
64624         [BZ #13910]
64625         [BZ #13911]
64626         [BZ #13912]
64627         [BZ #13913]
64628         [BZ #13915]
64629         [BZ #13916]
64630         [BZ #13917]
64631         [BZ #13918]
64632         [BZ #13919]
64633         [BZ #13920]
64634         [BZ #13921]
64635         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
64636         * sysdeps/ieee754/k_standard.c: Include <float.h>.
64637         (__kernel_standard_l): New function.
64638         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
64639         __kernel_standard.
64640         * math/w_acosl.c (__acosl): Likewise.
64641         * math/w_asinl.c (__asinl): Likewise.
64642         * math/w_atan2l.c (__atan2l): Likewise.
64643         * math/w_atanhl.c (__atanhl): Likewise.
64644         * math/w_coshl.c (__coshl): Likewise.
64645         * math/w_exp10l.c (__exp10l): Likewise.
64646         * math/w_exp2l.c (__exp2l): Likewise.
64647         * math/w_fmodl.c (__fmodl): Likewise.
64648         * math/w_hypotl.c (__hypotl): Likewise.
64649         * math/w_j0l.c (__j0l, __y0l): Likewise.
64650         * math/w_j1l.c (__j1l, __y1l): Likewise.
64651         * math/w_jnl.c (__jnl, __ynl): Likewise.
64652         * math/w_lgammal.c (__lgammal): Likewise.
64653         * math/w_log10l.c (__log10l): Likewise.
64654         * math/w_log2l.c (__log2l): Likewise.
64655         * math/w_logl.c (__logl): Likewise.
64656         * math/w_powl.c (__powl): Likewise.
64657         * math/w_remainderl.c (__remainderl): Likewise.
64658         * math/w_scalbl.c (sysv_scalbl): Likewise.
64659         * math/w_sinhl.c (__sinhl): Likewise.
64660         * math/w_sqrtl.c (__sqrtl): Likewise.
64661         * math/w_tgammal.c (__tgammal): Likewise.
64662         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
64663         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
64664         * math/libm-test.inc (acos_test): Add more tests.
64665         (acosh_test): Likewise.
64666         (asin_test): Likewise.
64667         (atanh_test): Likewise.
64668         (exp_test): Likewise.
64669         (exp10_test): Likewise.
64670         (exp2_test): Likewise.
64671         (expm1_test): Likewise.
64672         (lgamma_test): Likewise.
64673         (log_test): Likewise.
64674         (log10_test): Likewise.
64675         (log1p_test): Likewise.
64676         (log2_test): Likewise.
64677         (pow_test): Do not allow some spurious overflow exceptions.
64678         (sqrt_test): Add more tests.
64679         (tgamma_test): Likewise.
64680         (y0_test): Likewise.
64681         (y1_test): Likewise.
64682         (yn_test): Likewise.
64684 2012-03-27  Anton Blanchard  <anton@samba.org>
64686         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
64687         MAP_HUGETLB.
64688         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
64689         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
64690         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
64692 2012-03-27  David S. Miller  <davem@davemloft.net>
64694         * conform/Makefile: Run run-conformtest.sh using $(BASH).
64696         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
64697         have-as-vis3 check.
64699 2012-03-27  Andreas Jaeger  <aj@suse.de>
64701         * sysdeps/x86_64/elf/configure.in: Moved to ...
64702         * sysdeps/x86_64/configure.in: ... here.
64703         * sysdeps/x86_64/elf/start.S: Moved to ...
64704         * sysdeps/x86_64/start.S: ... here.
64705         * sysdeps/x86_64/elf/configure: Delete.
64707         * sysdeps/x86_64/configure.in: Merge contents from
64708         sysdeps/i386/configure.in (without i686 check).
64710         * sysdeps/i386/elf/Versions: Merge into ...
64711         * sysdeps/i386/Versions: ... this.
64712         * sysdeps/i386/elf/Versions: Delete file.
64713         * sysdeps/i386/elf/start.S: Moved to ...
64714         * sysdeps/i386/start.S: ...here.
64715         * sysdeps/i386/elf/configure.in: Merge into...
64716         * sysdeps/i386/configure.in: ...here.
64717         * sysdeps/i386/elf/configure.in: Delete file.
64718         * sysdeps/i386/elf/configure: Delete file.
64720         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
64721         * debug/backtracesyms.c: ... here.
64722         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
64723         * debug/backtracesymsfd.c: ... here.
64724         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
64725         * sysdeps/generic/ifunc-sel.h: ... here.
64727         * sysdeps/unix/i386/start.c: Delete file.
64728         * sysdeps/unix/sparc/start.c: Delete file.
64729         * sysdeps/unix/start.c: Delete file.
64731         * sysdeps/sh/elf/configure.in: Moved to ...
64732         * sysdeps/sh/configure.in: ... here.
64733         * sysdeps/sh/elf/start.S: Moved to ...
64734         * sysdeps/sh/start.S: ... here.
64735         * sysdeps/sh/elf/configure: Delete file.
64737         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
64738         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
64739         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
64740         * sysdeps/powerpc/powerpc64/entry.h: ... here.
64741         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
64742         * sysdeps/powerpc/powerpc64/start.S: here.
64743         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
64744         * sysdeps/powerpc/powerpc64/Makefile: ... this.
64745         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
64746         * sysdeps/powerpc/powerpc64/configure.in: ... this.
64747         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
64749         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
64750         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
64751         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
64752         * sysdeps/powerpc/powerpc32/start.S: ... here.
64753         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
64754         * sysdeps/powerpc/powerpc32/configure.in: ... this.
64755         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
64757         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
64758         * sysdeps/powerpc/ifunc-sel.h: ... here.
64759         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
64760         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
64762         * sysdeps/sparc/elf/configure.in: Moved to ...
64763         * sysdeps/sparc/configure.in: ... here.
64764         * sysdeps/sparc/elf/configure: Delete file.
64765         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
64766         * sysdeps/sparc/sparc32/start.S: ... here.
64767         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
64768         * sysdeps/sparc/sparc64/start.S: ... here.
64769         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
64770         * sysdeps/sparc/sparc32/Makefile: ... this.
64771         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
64772         * sysdeps/sparc/sparc64/Makefile: ... this.
64774         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
64775         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
64776         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
64777         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
64778         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
64779         * sysdeps/s390/s390-32/setjmp.S: ... here.
64780         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
64781         * sysdeps/s390/s390-32/configure.in: ... here.
64782         * sysdeps/s390/s390-32/elf/configure: Delete file.
64783         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
64784         * sysdeps/s390/s390-32/start.S: ... here.
64786         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
64787         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
64788         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
64789         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
64790         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
64791         * sysdeps/s390/s390-64/setjmp.S: ... here.
64792         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
64793         * sysdeps/s390/s390-64/configure.in: ... here
64794         * sysdeps/s390/s390-64/elf/configure: Delete file.
64795         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
64796         * sysdeps/s390/s390-64/start.S: ... here.
64797         * sysdeps/s390/s390-64/elf/configure: Delete.
64799         * configure.in: Remove support for elf directories in sysdeps.
64801         * configure: Regenerated.
64802         * sysdeps/i386/configure: Regenerated.
64803         * sysdeps/powerpc/powerpc32/configure: Regenerated.
64804         * sysdeps/powerpc/powerpc64/configure: Regenerated.
64805         * sysdeps/s390/s390-32/configure: Regenerated.
64806         * sysdeps/s390/s390-64/configure: Regenerated.
64807         * sysdeps/sh/configure: Regenerated.
64808         * sysdeps/sparc/configure: Regenerated.
64809         * sysdeps/x86_64/configure: Regenerated.
64811 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
64813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64815         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
64816         denormal result into account.
64818 2012-03-25  Roland McGrath  <roland@hack.frob.com>
64820         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
64821         Reported by Allan McRae <allan@archlinux.org>.
64823 2012-03-23  Jeff Law  <law@redhat.com>
64825         * nss/getnssent.c (__nss_getent): Fix typo.
64827 2012-03-23  David S. Miller  <davem@davemloft.net>
64829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64831 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
64833         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
64834         to pad to uint64_t for each field.
64835         (dl_tls_index): Replace unsigned long with uint64_t.
64837 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
64838         Paul Pluzhnikov  <ppluzhnikov@google.com>
64840         [BZ #6528]
64841         * grp/Makefile (otherlibs): Don't set it.
64842         * inet/Makefile (otherlibs): Likewise.
64843         * login/Makefile (otherlibs): Likewise.
64844         * nscd/Makefile (otherlibs): Likewise.
64845         * posix/Makefile (otherlibs): Likewise.
64846         * pwd/Makefile (otherlibs): Likewise.
64847         * rt/Makefile (otherlibs): Likewise.
64848         * sunrpc/Makefile (otherlibs): Likewise.
64849         * nss/Makefile (otherlibs): Likewise.
64850         Add libnss_files to routines and static-only-routines.
64851         ($(objpfx)getent): Remove rule.
64852         * resolv/Makefile: Add libnss_dns and libresolv to routines and
64853         static-only-routines.
64855 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64857         [BZ #13892]
64858         * math/s_cexp.c: Include <float.h>.
64859         (__cexp): Handle exp result overflowing not necessarily
64860         overflowing both real and imaginary parts of result.
64861         * math/s_cexpf.c: Likewise.
64862         * math/s_cexpl.c: Likewise.
64863         * math/libm-test.inc (cexp_test): Add more tests.
64864         * sysdeps/i386/fpu/libm-test-ulps: Update.
64865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64867 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64869         * include/link.h (ELFW): New macro.
64870         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
64871         Replace ELF64_R_TYPE with ELFW(R_TYPE).
64873 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64875         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
64876         with uint64_t.
64878 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64880         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
64881         declaration.
64882         (struct La_x32_retval): Likewise.
64884 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
64886         * sysdeps/x86_64/preconfigure.in: New file.
64887         * sysdeps/x86_64/preconfigure: New generated file.
64889 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
64891         [BZ #13824]
64892         * math/e_exp2l.c: Include <float.h>.
64893         (__ieee754_exp2l): Handle overflow and underflow cases
64894         separately.  Only pass fractional part of argument to
64895         __ieee754_expl.
64896         * math/libm-test.inc (exp2_test): Add more tests.
64898         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
64899         negating x to take absolute value.
64900         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
64901         Likewise.
64902         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
64903         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
64904         Likewise.
64905         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
64906         computing low part if x was negated.
64907         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
64909 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64911         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
64912         la_x32_gnu_pltexit.
64913         (pltexit): Cast int_retval to ptrdiff_t.
64914         * elf/tst-auditmod3b.c: Likewise.
64915         * elf/tst-auditmod4b.c: Likewise.
64916         * elf/tst-auditmod5b.c: Likewise.
64917         * elf/tst-auditmod6b.c: Likewise.
64918         * elf/tst-auditmod6c.c: Likewise.
64919         * elf/tst-auditmod7b.c: Likewise.
64921         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
64922         and x32_gnu_pltexit.
64924         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
64925         __ELF_NATIVE_CLASS.
64926         (La_x32_regs): New macro.
64927         (La_x32_retval): Likewise.
64928         (la_x32_gnu_pltenter): New function prototype.
64929         (la_x32_gnu_pltexit): Likewise.
64931 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
64933         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
64934         exponent.
64936         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64938         * configure.in (libc_cv_cc_nofma): Check for option to disable
64939         generation of FMA instructions.
64940         * configure: Regenerate.
64941         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
64942         * sysdeps/ieee754/dbl-64/Makefile: New file.
64943         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
64944         Remove brandred-fma4.
64945         (CFLAGS-brandred-fma4.c): Remove.
64946         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
64947         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
64948         define.
64949         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
64950         define.
64952 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64954         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64955         LLONG_MAX != LONG_MAX.
64956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64957         (_fitoa_word): Likewise.
64958         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
64959         LLONG_MAX != LONG_MAX.
64960         * stdio-common/_itowa.h: Include <_itoa.h>.
64961         (_itowa_word): Use _ITOA_WORD_TYPE on value.
64962         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
64963         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
64964         only if not defined.
64965         (_ITOA_WORD_TYPE): Likewise.
64966         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64967         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
64969 2012-03-21  David S. Miller  <davem@davemloft.net>
64971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64973 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
64975         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
64976         of x86_64 when setting libc_cv_slibdir, libdir and
64977         libc_cv_localedir.
64978         * sysdeps/unix/sysv/linux/configure: Regenerated.
64980 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
64982         * manual/lang.texi (Old Varargs): Remove section.
64983         (How Variadic): Update menu.
64984         (va_start): Do not mention varargs.h.
64986 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64987             Joseph Myers  <joseph@codesourcery.com>
64989         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
64990         link test.
64991         * configure: Regenerated.
64993 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
64995         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
64996         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
64997         conformtest.pl
64999 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65001         * NOTES: Remove.
65002         * Makefile (files-for-dist): Remove NOTES.
65003         (NOTES): Remove rule.
65004         * README: Don't refer to NOTES.
65005         * manual/creature.texi: Don't include macros.texi.
65006         * manual/intro.texi (creature.texi): Remove comment referring to
65007         NOTES.
65009         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
65010         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
65011         * configure: Regenerated.
65012         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
65013         LIBC_TRY_CC_OPTION.
65014         (libc_cv_as_i686): Likewise.
65015         (libc_cv_cc_avx): Likewise.
65016         (libc_cv_cc_sse2avx): Likewise.
65017         (libc_cv_cc_fma4): Likewise.
65018         (libc_cv_cc_novzeroupper): Likewise.
65019         * sysdeps/i386/configure: Regenerated.
65021         [BZ #13883]
65022         * sysdeps/i386/fpu/s_cexp.S: Remove.
65023         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
65024         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
65025         * math/libm-test.inc (cexp_test): Add more tests.
65026         * sysdeps/i386/fpu/libm-test-ulps: Update.
65027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65029 2012-03-21  Allan McRae  <allan@archlinux.org>
65031         * timezone/Makefile: Do not install iso3166.tab and zone.tab
65033 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
65035         [BZ #13871]
65036         * math/w_exp2.c: Do not include <float.h>.
65037         (o_threshold, u_threshold): Remove.
65038         (__exp2): Calculate result before checking finiteness and calling
65039         __kernel_standard.
65040         * math/w_exp2f.c: Likewise.
65041         * math/w_exp2l.c: Likewise.
65042         * math/libm-test.inc (exp2_test): Require overflow exception for
65043         1e6 input.
65045         [BZ #3866]
65046         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
65047         range of signed 64-bit integers before using fistpll.  Remove
65048         checks for whether integers fit in mantissa bits.
65049         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
65050         the range of signed 32-bit integers before using fistpl.  Remove
65051         checks for whether integers fit in mantissa bits.
65052         * sysdeps/i386/fpu/e_powl.S (p64): New object.
65053         (__ieee754_powl): Test for y outside the range of signed 64-bit
65054         integers before using fistpll.  Reduce 64-bit values to 63-bit
65055         ones as needed.
65056         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
65057         divide-by-zero is raised for zero to large negative powers.
65058         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
65059         (__ieee754_powl): Test for y outside the range of signed 64-bit
65060         integers before using fistpll.  Reduce 64-bit values to 63-bit
65061         ones as needed.
65062         * math/libm-test.inc (pow_test): Add more tests.
65064 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65066         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
65067         <stdio-common/_itoa.h>.
65068         * debug/segfault.c: Likewise.
65069         * elf/dl-cache.c: Likewise.
65070         * elf/dl-minimal.c: Likewise.
65071         * elf/dl-misc.c: Likewise.
65072         * elf/dl-sysdep.c: Likewise.
65073         * elf/dl-version.c: Likewise.
65074         * elf/rtld.c: Likewise.
65075         * hurd/hurdsock.c: Likewise.
65076         * hurd/lookup-retry.c: Likewise.
65077         * malloc/malloc.c: Likewise.
65078         * malloc/mtrace.c: Likewise.
65079         * nscd/nscd_getgr_r.c: Likewise.
65080         * nscd/nscd_getpw_r.c: Likewise.
65081         * nscd/nscd_getserv_r.c: Likewise.
65082         * posix/getopt_init.c: Likewise.
65083         * posix/wordexp.c: Likewise.
65084         * stdio-common/_itoa.c: Likewise.
65085         * stdio-common/printf_fphex.c: Likewise.
65086         * stdio-common/vfprintf.c: Likewise.
65087         * string/_strerror.c: Likewise.
65088         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
65089         * sysdeps/i386/i686/hp-timing.h: Likewise.
65090         * sysdeps/mach/_strerror.c: Likewise.
65091         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
65092         * sysdeps/mach/hurd/sethostid.c: Likewise.
65093         * sysdeps/mach/hurd/xmknodat.c: Likewise.
65094         * sysdeps/mach/xpg-strerror.c: Likewise.
65095         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
65097         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
65098         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
65099         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
65100         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
65101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
65102         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
65103         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
65104         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
65105         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
65106         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
65107         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
65108         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65109         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65110         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
65111         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
65112         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
65113         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
65114         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
65115         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
65117         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
65119         * stdio-common/_itoa.h: Moved to ...
65120         * sysdeps/generic/_itoa.h: Here.
65122         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
65124         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
65125         instead of "_itoa.h" and "_itowa.h".
65126         * stdio-common/vfprintf.: Likewise.
65128 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65130         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
65131         <bits/wordsize.h>.
65132         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
65133         (__signbit): Likwise.
65134         (llrintf): Likwise.
65135         (llrint): Likwise.
65137 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
65139         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
65140         __WORDSIZE != 64.
65142 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
65144         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
65145         OVERFLOW_EXCEPTION_OK.
65146         * math/libm-test.inc ("Philosophy"): Update comment about
65147         exception testing.
65148         (OVERFLOW_EXCEPTION): Define.
65149         (OVERFLOW_EXCEPTION_OK): Likewise.
65150         (INVALID_EXCEPTION_OK): Renumber.
65151         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
65152         (IGNORE_ZERO_INF_SIGN): Likewise.
65153         (test_exceptions): Handle FE_OVERFLOW.
65154         (exp10_test): Expect overflow exceptions.
65155         (exp2_test): Likewise.
65156         (expm1_test): Likewise.
65157         (nextafter_test): Likewise.
65158         (pow_test): Likewise.
65159         (scalbn_test): Likewise.
65160         (scalbln_test): Likewise.
65162 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65164         * sysdeps/x86_64/bits/atomic.h
65165         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
65166         64bit integer.
65167         (atomic_exchange_acq): Likewise.
65168         (__arch_exchange_and_add_body): Likewise.
65169         (__arch_add_body): Likewise.
65170         (atomic_add_negative): Likewise.
65171         (atomic_add_zero): Likewise.
65173 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65175         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
65176         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
65178 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65180         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
65181         Check __x86_64__ instead of __WORDSIZE.
65183 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65185         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
65187 2012-03-19  David S. Miller  <davem@davemloft.net>
65189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65191         * sysdeps/sparc/fpu/fenv_private.h: New file.
65192         * sysdeps/sparc/fpu/math_private.h: Use it.
65193         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
65194         Remove.
65195         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
65196         (libc_feholdexcept_setroundl): Remove.
65197         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
65198         Remove.
65199         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
65200         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
65202 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65204         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
65205         int64_t instead of long int.
65206         (INSERT_WORDS64): Likwise.
65208 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
65210         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
65211         _Unwind_GetCFA return to _Unwind_Ptr first.
65213 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
65215         [BZ #13629]
65216         * math/s_clog.c: Include <float.h>.
65217         (__clog): Scale large or subnormal inputs.
65218         * math/s_clogf.c: Likewise.
65219         * math/s_clogl.c: Likewise.
65220         * math/s_clog10.c: Include <float.h>.
65221         (M_LOG10_2): Define.
65222         (__clog10): Scale large or subnormal inputs.
65223         * math/s_clog10f.c: Likewise.
65224         * math/s_clog10l.c: Likewise.
65225         * math/libm-test.inc (clog_test): Add more tests.
65226         (clog10_test): Likewise.
65227         * sysdeps/i386/fpu/libm-test-ulps: Update.
65228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65230         [BZ #11451]
65231         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
65232         x and y.
65233         * math/libm-test.inc (atan2_test): Add another test.
65235         * Makerules (common-objdir-compile): Remove.
65236         * sysdeps/unix/Makefile (config-generated): Do not add
65237         $(unix-generated) to variable.
65238         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
65239         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
65240         Remove rule.
65241         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
65242         Likewise.
65243         [generic bits/local_lim.h] (before-compile): Do not append to
65244         variable.
65245         [generic bits/local_lim.h] (common-generated): Likewise.
65246         [generic sys/param.h] (before-compile): Do not append to variable.
65247         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
65248         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
65249         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
65250         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
65251         include.
65252         [generic sys/param.h] (sys/param.h-includes): Remove variable.
65253         [generic sys/param.h] (sys/param.h-includes): Remove rule.
65254         [generic sys/param.h] ($(addprefix
65255         $(common-objpfx),$(sys/param.h-includes))): Likewise.
65256         [generic sys/param.h] (common-generated): Do not append to
65257         variable.
65258         [generic sys/param.h] (sysdep_headers): Likewise.
65259         [generic bits/errno.h] (before-compile): Do not append to
65260         variable.
65261         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
65262         rule.
65263         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
65264         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
65265         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
65266         [generic bits/errno.h] (common-generated): Do not append to
65267         variable.
65268         [generic bits/ioctls.h] (before-compile): Do not append to
65269         variable.
65270         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
65271         rule.
65272         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
65273         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
65274         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
65275         rule.
65276         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
65277         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
65278         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
65279         [generic bits/ioctls.h] (common-generated): Do not append to
65280         variable.
65281         [generic sys/syscall.h] (syscall.h): Remove variable.
65282         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
65283         rule.
65284         [generic sys/syscall.h] (before-compile): Do not append to
65285         variable.
65286         [generic sys/syscall.h] (common-generated): Likewise.
65287         * sysdeps/unix/errnos-tmpl.c: Remove file.
65288         * sysdeps/unix/errnos.awk: Likewise.
65289         * sysdeps/unix/ioctls-tmpl.c: Likewise.
65290         * sysdeps/unix/ioctls.awk: Likewise.
65291         * sysdeps/unix/mk-local_lim.c: Likewise.
65292         * sysdeps/unix/snarf-ioctls: Likewise.
65294 2012-03-19  Richard Henderson  <rth@twiddle.net>
65296         * sysdeps/i386/fpu/fenv_private.h: New file.
65297         * sysdeps/i386/fpu/math_private.h: Use it.
65298         (math_opt_barrier, math_force_eval): Remove.
65299         (libc_feholdexcept_setround_53bit): Remove.
65300         (libc_feupdateenv_53bit): Remove.
65301         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65302         (math_opt_barrier, math_force_eval): Remove.
65303         (libc_feholdexcept): Remove.
65304         (libc_feholdexcept_setround): Remove.
65305         (libc_fetestexcept, libc_fesetenv): Remove.
65306         (libc_feupdateenv_test): Remove.
65307         (libc_feupdateenv, libc_feholdsetround): Remove.
65308         (libc_feresetround): Remove.
65310         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
65311         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
65313         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
65314         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
65315         (libc_feupdateenv_testl): New.
65316         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
65317         (libc_feupdateenv_testf): New.
65318         (libc_feupdateenv): Use libc_feupdateenv_test.
65319         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
65320         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
65322         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
65323         (libc_feholdsetroundf, libc_feholdsetroundl): New.
65324         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
65325         (libc_feresetround_noex): New.
65326         (libc_feresetround_noexf): New.
65327         (libc_feresetround_noexl): New.
65328         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
65329         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
65330         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
65331         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
65332         SET_RESTORE_ROUND.
65333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
65334         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
65335         (__cos): Likewise.
65336         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
65337         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
65338         SET_RESTORE_ROUND_NOEX.
65339         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
65340         SET_RESTORE_ROUND_NOEXF.
65341         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
65342         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
65343         (libc_feholdsetroundf): New.
65344         (libc_feresetround, libc_feresetroundf): New.
65346         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
65347         (libc_feholdexcept_setround_53bit): Convert from macro to function.
65348         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
65350         * sysdeps/generic/math_private.h: Include <fenv.h>.
65351         (default_libc_feholdexcept): New.
65352         (default_libc_feholdexcept_setround): New.
65353         (default_libc_fesetenv, default_libc_feupdateenv): New.
65354         (libc_feholdexcept): Only define if undefined.
65355         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
65356         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
65357         (libc_feholdexcept_setroundl): Likewise.
65358         (libc_feholdexcept_setround_53bit): Likewise.
65359         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
65360         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
65361         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
65362         (libc_feupdateenv_53bit): Likewise.
65363         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
65364         (libc_feholdexcept): Convert from macro to inline function.
65365         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
65366         (libc_fesetenv, libc_feupdateenv): Likewise.
65368         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
65369         not previously defined.
65370         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
65371         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
65372         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
65373         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
65374         * sysdeps/ieee754/flt-32/math_private.h: New file.
65375         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
65376         math_private.h below SET_FLOAT_WORD.
65377         (__isnan, __isinf_ns, __finite): Remove.
65378         (__isnanf, __isinf_nsf, __finitef): Remove.
65380 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
65382         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65384 2012-03-17  David S. Miller  <davem@davemloft.net>
65386         [BZ #6471]
65387         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
65388         for 2.16.
65390 2012-03-16  David S. Miller  <davem@davemloft.net>
65392         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
65393         warnings.
65395         [BZ #6471]
65396         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
65397         properly.
65398         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
65399         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
65400         sysdep_routines when subdir is sysvipc.
65401         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
65402         __getshmlba helper.
65404         * sysdeps/sparc/fpu/libm-test/ulps: Update.
65406 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65408         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
65409         [__LP64__].
65411 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65413         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
65414         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
65415         (__lround): Renamed to ...
65416         (__llround): This.  Replace long int with long long int.
65417         Define lround functions as aliases of llround functions.
65418         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
65420 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65422         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
65423         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
65424         adresses to uintptr_t.  Replace "long int" and "unsigned long
65425         int" with "greg_t" on va_arg.
65427 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65429         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
65430         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
65432         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
65433         Move e_machine check before EI_CLASS check.  Handle x32
65434         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
65435         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
65436         SKIP_EM_IA_64 and include
65437         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
65439         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
65440         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
65441         (add_system_dir): New macro.
65443         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
65444         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
65446 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65448         [BZ #2551]
65449         [BZ #2552]
65450         [BZ #2553]
65451         [BZ #2554]
65452         [BZ #2562]
65453         [BZ #2563]
65454         [BZ #2565]
65455         [BZ #2566]
65456         [BZ #2576]
65457         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
65458         (y0): Likewise.
65459         * math/w_j0f.c (j0f): Likewise.
65460         (y0f): Likewise.
65461         * math/w_j0l.c (__j0l): Likewise.
65462         (__y0l): Likewise.
65463         * math/w_j1.c (j1): Likewise.
65464         (y1): Likewise.
65465         * math/w_j1f.c (j1f): Likewise.
65466         (y1f): Likewise.
65467         * math/w_j1l.c (__j1l): Likewise.
65468         (__y1l): Likewise.
65469         * math/w_jn.c (jn): Likewise.
65470         (yn): Likewise.
65471         * math/w_jnf.c (jnf): Likewise.
65472         (ynf): Likewise.
65473         * math/w_jnl.c (__jnl): Likewise.
65474         (__ynl): Likewise.
65475         * math/libm-test.inc (j0_test): Add more tests.
65476         (j1_test): Likewise.
65477         (jn_test): Likewise.  Add trailing semicolon to existing test.
65478         (y0_test): Likewise.
65479         (y1_test): Likewise.
65480         * sysdeps/i386/fpu/libm-test-ulps: Update.
65481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65483         [BZ #13851]
65484         [BZ #13854]
65485         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
65486         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
65487         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
65488         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
65489         (__tanl): Set errno for infinite argument.
65490         * sysdeps/i386/fpu/mptan.c: Remove.
65491         * sysdeps/i386/fpu/s_tan.S: Likewise.
65492         * sysdeps/i386/fpu/s_tanl.S: Likewise.
65493         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
65494         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
65495         * math/libm-test.inc (tan_test): Add more tests and enable more
65496         tests for double and long double.
65497         * sysdeps/i386/fpu/libm-test-ulps: Update.
65498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65500 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
65502         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
65503         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
65505 2012-03-16  Roland McGrath  <roland@hack.frob.com>
65507         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
65508         * configure.in: Use it for both main tree and add-ons.
65509         * configure: Regenerated.
65511 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
65513         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
65515 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
65517         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
65518         in comment.
65520         [BZ #13851]
65521         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
65522         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
65523         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
65524         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
65525         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
65526         infinite argument.
65527         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
65528         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
65529         != 0 for prec == 2.
65530         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
65531         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
65532         * sysdeps/i386/fpu/s_cosl.S: Likewise.
65533         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
65534         * sysdeps/i386/fpu/s_sinl.S: Likewise.
65535         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
65536         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
65537         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
65538         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
65539         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
65540         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
65541         * math/libm-test.inc (cos_test): Add more tests and enable more
65542         tests for long double.
65543         (sin_test): Likewise.
65544         (sincos_test): Likewise.
65545         * sysdeps/i386/fpu/libm-test-ulps: Update.
65546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65548 2012-03-16  David S. Miller  <davem@davemloft.net>
65550         * sysdeps/sparc/fpu/math_private.h: New file.
65552 2012-03-15  David S. Miller  <davem@davemloft.net>
65554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
65555         file.
65556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
65557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
65558         file.
65559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
65560         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
65561         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
65562         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
65563         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
65564         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
65565         sysdep routines.
65566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65568         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
65569         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
65571         * sysdeps/sparc/sparc-ifunc.h: New file.
65572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
65573         sparc-ifunc.h
65574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
65575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
65576         Likewise.
65577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
65578         Likewise.
65579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
65580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
65581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
65582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
65583         Likewise.
65584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
65585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
65586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
65587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
65588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
65589         Likewise.
65590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
65591         Likewise.
65592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
65593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
65594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
65595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
65596         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
65597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
65598         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
65599         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
65600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
65601         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
65602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
65603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
65604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
65605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
65606         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
65607         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
65608         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
65609         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
65610         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
65611         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
65612         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
65613         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
65614         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
65615         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
65617 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65619         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
65620         scaling.
65621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65623 2012-03-15  Andreas Jaeger  <aj@suse.de>
65625         [BZ #13852]
65626         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
65627         ieee754/flt-32 implementation for sin, cos and sincos.
65628         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
65629         * sysdeps/i386/fpu/s_cosf.S: Likewise.
65630         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
65631         * sysdeps/i386/fpu/s_sinf.S: Likewise.
65632         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
65633         ieee754/flt-32 implementation for tan.
65635         * math/libm-test.inc (cos_test): Enable some large input tests for
65636         float as well
65637         (sin_test): Likewise.
65638         (sincos_test): Likewise.
65639         (tan_test): Add tests for large input.
65641         * sysdeps/i386/fpu/libm-test-ulps: Update.
65643 2012-03-15  Andreas Jaeger  <aj@suse.de>
65645         [BZ #13658]
65646         * math/libm-test.inc (cos_test): Add more test cases.
65647         (sin_test): Likewise.
65648         (sincos_test): Likewise.
65650 2012-03-15  Andreas Jaeger  <aj@suse.de>
65652         [BZ #13837]
65653         * math/libm-test.inc (cos_test): Add a test case for large input
65654         value.
65655         (sin_test): Likewise.
65656         (sincos_test): Likewise.
65658 2012-03-15  Andreas Jaeger  <aj@suse.de>
65659             Joseph Myers  <joseph@codesourcery.com>
65661         [BZ #13658]
65662         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
65663         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
65664         * sysdeps/i386/fpu/branred.c: Likewise.
65665         * sysdeps/i386/fpu/dosincos.c: Likewise.
65666         * sysdeps/i386/fpu/mpa.c: Likewise.
65667         * sysdeps/i386/fpu/s_cos.S: Likewise.
65668         * sysdeps/i386/fpu/s_sin.S: Likewise.
65669         * sysdeps/i386/fpu/s_sincos.S: Likewise.
65670         * sysdeps/i386/fpu/sincos32.c: Likewise.
65672         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
65673         Define.
65674         (libc_feupdateenv_53bit): Define.
65675         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
65676         Define.
65677         (libc_feupdateenv_53bit): Define.
65679         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
65680         53 bit (without extend i386 double precision).
65682         * math/libm-test.inc (sincos_test): Add tests for large input.
65683         (sin): Likewise.
65684         (cos): Likewise.
65686         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
65688 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
65690         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65692 2012-03-15  David S. Miller  <davem@davemloft.net>
65694         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
65695         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
65696         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
65697         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
65698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
65699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
65700         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
65701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
65702         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
65703         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
65704         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
65705         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
65706         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
65707         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
65708         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
65709         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
65710         file.
65711         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
65712         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
65713         file.
65714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
65715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
65716         file.
65717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
65718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
65719         file.
65720         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
65721         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
65722         fmin/fmax sysdep routines.
65723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
65725 2012-03-14  David S. Miller  <davem@davemloft.net>
65727         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
65728         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
65729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
65730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
65731         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
65732         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
65733         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
65734         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
65735         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
65736         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
65737         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
65738         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
65739         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
65740         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
65741         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
65742         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
65743         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
65744         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
65745         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
65746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
65747         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
65748         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
65749         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
65750         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
65751         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
65752         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
65753         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
65754         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
65755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
65756         routines.
65757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
65758         file.
65759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
65760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
65761         file.
65762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
65763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
65764         file.
65765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
65766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
65767         file.
65768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
65769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
65770         file.
65771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
65772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
65773         file.
65774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
65775         file.
65776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
65777         file.
65778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
65779         file.
65780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
65781         New file.
65782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
65783         file.
65784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
65785         file.
65786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
65787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
65788         file.
65789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
65790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
65791         file.
65792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
65793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
65794         file.
65795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
65796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
65797         VIS3 routines.
65799         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
65800         New file.
65802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65804         * sysdeps/sparc/configure.in: New file.
65805         * sysdeps/sparc/configure: Generate.
65806         * configure.in (libc_cv_sparc_as_vis3): Substitute.
65807         * configure: Regenerate.
65808         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
65809         * config.make.in (have-as-vis3): New.
65810         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
65811         available use -Av9d instead of -Av9a.
65812         * sysdeps/sparc/sparc64/Makefile: Likewise.
65813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
65814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
65815         New file.
65816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
65817         file.
65818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
65819         New file.
65820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
65821         file.
65822         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
65823         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
65824         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
65825         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
65826         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
65828         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
65829         fzeros/fnegs to load 0x80000000 into a float register instead of
65830         using the stack.
65831         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
65833 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65835         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65836         bits/syscall.h.
65837         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
65838         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
65839         ($(inst_includedir)/bits/syscall.h): Remove rule.
65840         ($(objpfx)bits/syscall.d): Include instead of
65841         $(objpfx)syscall-list.d.
65842         (generated): Change syscall-list.h and syscall-list.d to
65843         bits/syscall.h and bits/syscall.d.
65845 2012-03-14  Roland McGrath  <roland@hack.frob.com>
65847         [BZ #13846]
65848         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
65850 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
65852         [BZ #13841]
65853         * math/s_csqrt.c: Include <float.h>.
65854         (__csqrt): Scale large or subnormal inputs.
65855         * math/s_csqrtf.c: Likewise.
65856         * math/s_csqrtl.c: Likewise.
65857         * math/libm-test.inc (csqrt_test): Add more tests.
65858         * sysdeps/i386/fpu/libm-test-ulps: Update.
65859         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65861         [BZ #13840]
65862         * math/libm-test.inc (hypot_test): Add more tests.
65864 2012-03-13  David S. Miller  <davem@davemloft.net>
65866         [BZ #13840]
65867         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
65868         double-precision for the calculation instead of scaling.
65870 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
65872         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
65873         manipulate bits before adding and subtracting TWO52[sx].
65874         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
65875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
65876         Likewise.
65877         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
65879 2012-03-13  David S. Miller  <davem@davemloft.net>
65881         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
65882         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
65883         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
65884         rtld-global-offsets.h
65885         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65887         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
65888         large parameters.
65890         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
65892         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
65893         'err' in the ifdef scope in which it is actually used.
65895         * nss/nss_db/db-init.c: Include string.h
65897 2012-03-12  David S. Miller  <davem@davemloft.net>
65899         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
65900         masking out of the most significant byte of random value used.
65901         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65902         Fix coding style in previous change.
65904         * sysdeps/unix/sysv/linux/kernel-features.h
65905         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
65906         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
65907         expression.
65908         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
65909         later.
65911 2012-03-11  David S. Miller  <davem@davemloft.net>
65913         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
65914         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
65915         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
65916         for 'resultvar' otherwise things get truncated on 64-bit.
65918         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
65919         Fix masking out of the most significant byte of random value used.
65921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65923 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
65925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65927 2012-03-09  David S. Miller  <davem@davemloft.net>
65929         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
65930         variables with appropriate CPP guards.
65931         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
65932         from the frame pointer, not the stack pointer.  Correct layout
65933         comments.  Fix test on resulting framesize and the management of
65934         the outregs buffer for pltexit.  Preserve floating point return
65935         values across _dl_call_pltexit call.
65936         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
65937         framesize and the management of the outregs buffer for pltexit.
65938         Preserve floating point return values across _dl_call_pltexit
65939         call.
65940         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
65941         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
65942         (la_sparc64_gnu_pltexit): New functions.
65943         (print_exit): Fix format string for return register value.
65945 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
65947         * sunrpc/Makefile (others): Add rpcgen.
65948         ($(objpfx)rpcgen): Remove special build rule and dependency on
65949         libc.
65950         * sunrpc/rpcgen.c: New file.
65952 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
65954         [BZ #13673]
65955         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
65956         * stdio-common/bug-vfprintf-nargs.c: Likewise.
65957         * sysdeps/i386/crti.S: Likewise.
65958         * sysdeps/i386/crtn.S: Likewise.
65959         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
65960         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
65961         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
65962         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
65963         * sysdeps/sh/crti.S: Likewise.
65964         * sysdeps/sh/crtn.S: Likewise.
65965         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65967         [BZ #13673]
65968         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
65969         with URL.
65970         * locale/programs/locfile-kw.gperf: Likewise.
65971         * locale/programs/charmap-kw.h: Regenerated.
65972         * locale/programs/locfile-kw.h: Likewise.
65974         [BZ #13673]
65975         * intl/plural.y: Replace FSF snail mail address with URL.
65976         * intl/plural.c: Regenerated.
65978 2012-03-09  Richard Henderson  <rth@twiddle.net>
65980         * include/math_private.h: Remove file.
65981         * math/math_private.h: Move file ...
65982         * sysdeps/generic/math_private.h: ... here.
65984         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
65985         * sysdeps/powerpc/fpu/math_private.h: Likewise.
65986         * sysdeps/x86_64/fpu/math_private.h: Likewise.
65988         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
65989         and <math_private.h>.
65990         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
65991         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
65992         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
65993         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
65994         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
65995         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
65996         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
65997         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
65998         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
65999         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
66000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
66001         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
66002         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
66003         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
66004         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
66005         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
66006         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
66007         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
66008         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
66009         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
66010         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
66011         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
66012         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
66013         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
66014         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
66015         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
66016         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
66017         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
66018         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
66019         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
66020         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
66021         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
66022         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
66023         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
66024         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
66025         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
66026         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
66027         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
66028         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
66029         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
66030         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
66031         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
66032         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
66033         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
66034         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
66035         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
66036         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
66037         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
66038         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
66039         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
66040         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
66041         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
66042         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
66043         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
66044         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
66045         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
66046         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
66047         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
66048         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
66049         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
66050         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
66051         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
66052         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
66053         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
66054         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
66055         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
66056         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
66057         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
66058         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
66059         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
66060         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66061         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
66062         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66063         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66064         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
66065         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
66066         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
66067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66068         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
66069         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
66070         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66071         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
66072         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66073         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
66074         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
66076         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
66077         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
66078         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
66079         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
66080         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
66081         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
66082         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
66083         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
66084         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
66085         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
66086         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
66087         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
66088         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
66089         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
66090         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
66091         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
66092         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
66093         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
66094         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
66095         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
66096         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
66097         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
66098         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
66099         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
66100         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
66101         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
66102         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
66103         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
66104         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
66105         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
66106         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
66107         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
66108         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
66109         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
66110         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
66111         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
66112         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
66113         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
66114         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
66115         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
66116         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
66117         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
66118         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
66119         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
66120         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
66121         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
66122         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
66123         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
66124         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
66125         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
66126         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
66127         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
66128         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
66129         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
66130         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
66131         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
66132         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
66133         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
66134         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
66135         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
66136         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
66137         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
66138         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
66139         * sysdeps/ieee754/k_standard.c: Likewise.
66140         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
66141         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
66142         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
66143         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
66144         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
66145         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
66146         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
66147         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
66148         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
66149         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
66150         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
66151         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
66152         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
66153         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
66154         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
66155         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
66156         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
66157         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
66158         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
66159         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
66160         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
66161         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
66162         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
66163         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
66164         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
66165         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
66166         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
66167         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
66168         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
66169         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
66170         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
66171         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
66172         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
66173         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
66174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
66175         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
66176         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
66177         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
66178         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
66179         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
66180         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
66181         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
66182         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
66183         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
66184         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
66185         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
66186         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
66187         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
66188         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
66189         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
66190         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
66191         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
66192         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
66193         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
66194         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
66195         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
66196         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
66197         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
66198         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
66199         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
66200         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
66201         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
66202         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
66203         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
66204         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
66205         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
66206         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
66207         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
66208         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
66209         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
66210         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
66211         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
66212         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
66213         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
66214         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
66215         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
66216         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
66217         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
66218         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66219         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
66220         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
66221         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
66222         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
66223         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
66224         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
66225         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
66226         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
66227         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
66228         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
66230         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
66231         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
66232         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
66233         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
66234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
66235         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
66236         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
66237         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
66238         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
66239         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
66240         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
66241         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
66242         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
66243         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
66244         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
66245         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
66246         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
66247         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
66248         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
66249         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
66250         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
66251         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
66252         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
66253         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
66254         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
66255         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
66256         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
66257         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
66258         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
66259         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
66260         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
66261         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
66262         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
66263         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
66264         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
66265         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
66266         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
66267         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
66268         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
66269         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
66270         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
66271         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
66272         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
66273         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
66274         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
66275         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
66276         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
66277         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
66278         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
66279         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
66280         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
66281         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
66282         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
66283         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
66284         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
66285         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
66286         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
66287         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
66288         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
66289         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
66290         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
66291         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
66292         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
66293         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
66294         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
66295         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
66296         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
66297         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
66298         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
66299         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
66300         * sysdeps/ieee754/s_lib_version.c: Likewise.
66301         * sysdeps/ieee754/s_matherr.c: Likewise.
66302         * sysdeps/ieee754/s_signgam.c: Likewise.
66303         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66304         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66305         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
66306         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
66307         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
66308         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66309         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
66310         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
66311         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
66312         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
66313         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
66314         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
66315         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
66316         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
66317         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
66318         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
66319         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
66320         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
66321         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
66322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
66323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
66325 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66327         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
66328         * sunrpc/rpc_main.c: Likewise.
66329         * sunrpc/rpc_svcout.c: Likewise.
66331 2012-03-09  David S. Miller  <davem@davemloft.net>
66333         * include/math_private.h: New file.
66335 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
66337         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
66338         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
66339         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
66340         from <bits/socket_type.h>.
66341         (enum __socket_type): Don't define here.
66342         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
66343         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66344         bits/socket_type.h.
66346         [BZ #13566]
66347         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
66348         checking __USE_GNU.
66350         * Makerules ($(inst_includedir)/%.h): New rule.
66351         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
66352         (install-others): Remove variable setting.
66353         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
66355 2012-03-08  Richard Henderson  <rth@twiddle.net>
66357         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
66358         from macro to inline function; merge with the
66359         !__LIBC_INTERNAL_MATH_INLINES version.
66360         (__ieee754_sqrtf): Likewise.
66362         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
66363         to inline function.
66364         (__rintf, __floor, __floorf): Likewise.
66366         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
66367         macro to inline function.
66368         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
66370         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
66371         not <math/math_private.h>.
66373 2012-03-08  David S. Miller  <davem@davemloft.net>
66375         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
66376         copyright year.
66377         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
66379 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
66381         * resolv/gai_misc.c (handle_requests): Fix struct timespec
66382         normalization.
66383         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
66384         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
66386 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
66388         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
66389         be defined individually, they must be defined as a block.  Define
66390         S for printing a string instead of hidint the different by using a
66391         macro for adding the 'l'.
66392         * stdio-common/tst-fphex-wide.c: Adjust.
66394 2012-03-07  Marek Polacek  <polacek@redhat.com>
66396         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
66398 2012-03-08  Marek Polacek  <polacek@redhat.com>
66400         [BZ #13806]
66401         * stdio-common/Makefile (tests): Add tst-fphex-wide.
66402         * stdio-common/tst-fphex.c: Define a few macros to make the
66403         test reusable.  Use them.
66404         * stdio-common/tst-fphex-wide.c: New file.
66406 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
66408         [BZ #6911]
66409         * manual/macros.texi (gnusystems): New macro.
66410         (nongnusystems): Likewise.
66411         (gnulinuxhurdsystems): Likewise.
66412         (gnuhurdsystems): Likewise..
66413         (gnulinuxsystems): Likewise.
66414         * manual/charset.texi: Use new macros or @theglibc{} to refer to
66415         variants of the GNU system, not "GNU system".
66416         * manual/conf.texi: Likewise.
66417         * manual/errno.texi: Likewise.  Update example of errno macro
66418         expansion.
66419         * manual/filesys.texi: Likewise.
66420         (getumask): Document as specific to GNU/Hurd.
66421         * manual/install.texi: Likewise.  Reword some references to
66422         GNU/Linux.
66423         * manual/intro.texi: Likewise.
66424         * manual/io.texi: Likewise.
66425         (File Name Portability): Detail which constraints are inapplicable
66426         to all GNU systems and which are only inapplicable to GNU/Hurd.
66427         * manual/job.texi: Likewise.
66428         * manual/llio.texi: Likewise.
66429         (O_NOCTTY): Document as present on GNU/Linux.
66430         * manual/maint.texi: Likewise.
66431         * manual/memory.texi: Likewise.
66432         * manual/pattern.texi: Likewise.
66433         * manual/pipe.texi: Likewise.
66434         * manual/process.texi: Likewise.
66435         * manual/resource.texi: Likewise.
66436         (RUSAGE_CHILDREN): Remove statement about specifying a particular
66437         child on GNU/Hurd.
66438         * manual/setjmp.texi: Likewise.
66439         * manual/signal.texi: Likewise.
66440         * manual/startup.texi: Likewise.
66441         * manual/stdio.texi: Likewise.
66442         * manual/terminal.texi: Likewise.
66443         (ONLCR): Document as POSIX.
66444         (OXTABS): Document availability on GNU/Linux as XTABS.
66445         (ONOEOT): Document availability separately from other bits.
66446         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
66447         * manual/time.texi: Likewise.
66448         * manual/users.texi: Likewise.
66449         * INSTALL: Regenerated.
66450         * sysdeps/gnu/errlist.c: Regenerated.
66452         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
66453         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
66454         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
66455         puts.
66456         * configure: Regenerated.
66458 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
66460         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
66461         default includes instead of AC_HEADER_CHECK.
66462         * sysdeps/i386/configure: Regenerated.
66464         [BZ #10716]
66465         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
66466         * math/s_cacoshf.c (__cacoshf): Likewise.
66467         * math/s_cacoshl.c (__cacoshl): Likewise.
66468         * math/s_casinh.c (__casinh): Set signs of result from argument.
66469         * math/s_casinhf.c (__casinhf): Likewise.
66470         * math/s_casinhl.c (__casinhl): Likewise.
66471         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
66472         (casinh_test): Add more tests.
66473         * sysdeps/i386/fpu/libm-test-ulps: Update.
66474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66476 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
66478         * po/zh_TW.po: Update from translation team.
66480         * login/Makefile (distribute): Remove variable.
66481         * catgets/Makefile: Likewise.
66482         * mach/Makefile: Likewise.
66483         * malloc/Makefile: Likewise.
66484         * misc/Makefile: Likewise.
66485         * iconv/Makefile: Likewise.
66486         * nscd/Makefile: Likewise.
66487         * hurd/Makefile: Likewise.
66488         * manual/Makefile: Likewise.
66489         * locale/Makefile: Likewise.
66490         * intl/Makefile: Likewise.
66491         * conform/Makefile: Likewise.
66492         * nss/Makefile: Likewise.
66493         * time/Makefile: Likewise.
66494         * soft-fp/Makefile: Likewise.
66495         * dirent/Makefile: Likewise.
66496         * gmon/Makefile: Likewise.
66497         * po/Makefile: Likewise.
66498         * rt/Makefile: Likewise.
66499         * socket/Makefile: Likewise.
66500         * math/Makefile: Likewise.
66501         * signal/Makefile: Likewise.
66502         * debug/Makefile: Likewise.
66503         * elf/Makefile: Likewise.
66504         * timezone/Makefile: Likewise.
66505         * stdlib/Makefile: Likewise.
66506         * iconvdata/Makefile: Likewise.
66507         * sunrpc/Makefile: Likewise.
66508         * io/Makefile: Likewise.
66509         * argp/Makefile: Likewise.
66510         * inet/Makefile: Likewise.
66511         * hesiod/Makefile: Likewise.
66512         * grp/Makefile: Likewise.
66513         * csu/Makefile: Likewise.
66514         * wctype/Makefile: Likewise.
66515         * crypt/Makefile: Likewise.
66516         * libio/Makefile: Likewise.
66517         * string/Makefile: Likewise.
66518         * nis/Makefile: Likewise.
66519         * resolv/Makefile: Likewise.
66520         * stdio-common/Makefile: Likewise.
66521         * wcsmbs/Makefile: Likewise.
66522         * dlfcn/Makefile: Likewise.
66523         * posix/Makefile: Likewise.
66525         [BZ #6959]
66526         * timezone/Makefile: Don't install timezone files, just the programs
66527         and scripts.
66529 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
66531         * nss/databases.def: Add missing gshadow entry.
66533         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
66535 2012-03-06  Marek Polacek  <polacek@redhat.com>
66537         [BZ #13726]
66538         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
66539         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
66540         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
66541         * stdio-common/tst-long-dbl-fphex.c: New file.
66543 2012-03-06  David S. Miller  <davem@davemloft.net>
66545         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
66546         (set_obp_int): New function.
66547         (get_obp_int): New function.
66548         (__get_clockfreq_via_dev_openprom): Likewise.
66549         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
66550         Avoid unused variable warnings on 'val' and use builtin_expect.
66551         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
66552         __builtin_expect.
66553         (INLINE_CLONE_SYSCALL): Likewise.
66555 2012-03-05  David S. Miller  <davem@davemloft.net>
66557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66559 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
66561         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66563         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
66564         only for |x| >= 40.
66565         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
66567 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
66569         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
66570         Replace gettimeofday with __vdso_gettimeofday.
66572         * sysdeps/unix/sysv/linux/x86_64/init-first.c
66573         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
66574         __vdso_clock_gettime and __vdso_getcpu.
66576         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
66577         time with __vdso_time.
66579 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66581         * manual/lang.texi (size_t): Note types to which size_t may be
66582         equivalent with the GNU C Library, but do not describe when
66583         differences between them are significant.
66585 2012-03-05  Andreas Jaeger  <aj@suse.de>
66587         * sysdeps/i386/fpu/libm-test-ulps: Update.
66589 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #3976]
66592         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
66593         (__ieee754_pow): Save and restore rounding mode and use
66594         round-to-nearest for main computations.
66595         * math/libm-test.inc (pow_test_tonearest): New function.
66596         (pow_test_towardzero): Likewise.
66597         (pow_test_downward): Likewise.
66598         (pow_test_upward): Likewise.
66599         (main): Call the new functions.
66600         * sysdeps/i386/fpu/libm-test-ulps: Update.
66601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66603         [BZ #3976]
66604         * math/libm-test.inc (cosh_test_tonearest): New function.
66605         (cosh_test_towardzero): Likewise.
66606         (cosh_test_downward): Likewise.
66607         (cosh_test_upward): Likewise.
66608         (sinh_test_tonearest): Likewise.
66609         (sinh_test_towardzero): Likewise.
66610         (sinh_test_downward): Likewise.
66611         (sinh_test_upward): Likewise.
66612         (main): Call the new functions.
66613         * sysdeps/i386/fpu/libm-test-ulps: Update.
66614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66616 2012-03-05  Tom de Vries  <tom@codesourcery.com>
66618         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
66619         default stack guard is set in last bytes.
66620         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
66622 2012-03-05  Kees Cook  <keescook@chromium.org>
66624         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
66626         [BZ #13656]
66627         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
66628         possibly allocate from heap instead of stack.
66629         * stdio-common/bug-vfprintf-nargs.c: New file.
66630         * stdio-common/Makefile (tests): Add nargs overflow test.
66632 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
66634         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66636 2012-03-03  Marek Polacek  <polacek@redhat.com>
66638         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
66639         * math/math_private.h: Likewise.
66640         * stdlib/tst-strtod.c: Likewise.
66641         * sysdeps/i386/i486/bits/atomic.h: Likewise.
66642         * sysdeps/x86_64/bits/atomic.h: Likewise.
66644 2012-03-02  David S. Miller  <davem@davemloft.net>
66646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
66647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
66648         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
66649         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
66650         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
66651         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
66652         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
66653         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
66655 2012-03-02  Roland McGrath  <roland@hack.frob.com>
66657         [BZ #13792]
66658         * manual/examples/README: New file, says the example source files
66659         can be used under GPL>=2.
66660         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
66661         line containing just "*/".
66662         * manual/examples/add.c: Add copyright header (GPL>=2).
66663         * manual/examples/argp-ex1.c: Likewise.
66664         * manual/examples/argp-ex2.c: Likewise.
66665         * manual/examples/argp-ex3.c: Likewise.
66666         * manual/examples/argp-ex4.c: Likewise.
66667         * manual/examples/atexit.c: Likewise.
66668         * manual/examples/db.c: Likewise.
66669         * manual/examples/dir.c: Likewise.
66670         * manual/examples/dir2.c: Likewise.
66671         * manual/examples/execinfo.c: Likewise.
66672         * manual/examples/filecli.c: Likewise.
66673         * manual/examples/filesrv.c: Likewise.
66674         * manual/examples/fmtmsgexpl.c: Likewise.
66675         * manual/examples/genpass.c: Likewise.
66676         * manual/examples/inetcli.c: Likewise.
66677         * manual/examples/inetsrv.c: Likewise.
66678         * manual/examples/isockad.c: Likewise.
66679         * manual/examples/longopt.c: Likewise.
66680         * manual/examples/memopen.c: Likewise.
66681         * manual/examples/memstrm.c: Likewise.
66682         * manual/examples/mkfsock.c: Likewise.
66683         * manual/examples/mkisock.c: Likewise.
66684         * manual/examples/mygetpass.c: Likewise.
66685         * manual/examples/pipe.c: Likewise.
66686         * manual/examples/popen.c: Likewise.
66687         * manual/examples/rprintf.c: Likewise.
66688         * manual/examples/search.c: Likewise.
66689         * manual/examples/select.c: Likewise.
66690         * manual/examples/setjmp.c: Likewise.
66691         * manual/examples/sigh1.c: Likewise.
66692         * manual/examples/sigusr.c: Likewise.
66693         * manual/examples/stpcpy.c: Likewise.
66694         * manual/examples/strdupa.c: Likewise.
66695         * manual/examples/strftim.c: Likewise.
66696         * manual/examples/strncat.c: Likewise.
66697         * manual/examples/subopt.c: Likewise.
66698         * manual/examples/swapcontext.c: Likewise.
66699         * manual/examples/termios.c: Likewise.
66700         * manual/examples/testopt.c: Likewise.
66701         * manual/examples/testpass.c: Likewise.
66702         * manual/examples/timeval_subtract.c: Likewise.
66704         [BZ #13792]
66705         * manual/time.texi (Elapsed Time): Move timeval_subtract example
66706         function to ...
66707         * manual/timeval_subtract.c.texi: ... here, new file.
66709 2012-03-02  David S. Miller  <davem@davemloft.net>
66711         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
66713 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
66715         [BZ #3976]
66716         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
66717         (__sin): Save and restore rounding mode and use round-to-nearest
66718         for all computations.
66719         (__cos): Save and restore rounding mode and use round-to-nearest
66720         for all computations.
66721         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
66722         <fenv.h>.
66723         (tan): Save and restore rounding mode and use round-to-nearest for
66724         all computations.
66725         * math/libm-test.inc (cos_test_tonearest): New function.
66726         (cos_test_towardzero): Likewise.
66727         (cos_test_downward): Likewise.
66728         (cos_test_upward): Likewise.
66729         (sin_test_tonearest): Likewise.
66730         (sin_test_towardzero): Likewise.
66731         (sin_test_downward): Likewise.
66732         (sin_test_upward): Likewise.
66733         (tan_test_tonearest): Likewise.
66734         (tan_test_towardzero): Likewise.
66735         (tan_test_downward): Likewise.
66736         (tan_test_upward): Likewise.
66737         (main): Call the new functions.
66738         * sysdeps/i386/fpu/libm-test-ulps: Update.
66739         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66741         [BZ #10135]
66742         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
66743         small n, then large n, before computing and testing k+n.
66744         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
66745         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
66746         Likewise.
66747         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
66748         Likewise.
66749         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
66750         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
66751         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
66752         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
66753         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
66754         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
66755         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
66756         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
66757         * math/libm-test.inc (scalbn_test): Add more tests.
66758         (scalbln_test): Likewise.
66760         * manual/filesys.texi (mode_t): Describe constraints on size and
66761         signedness, not exact equivalence to a particular type.
66762         (ino_t): Likewise.
66763         (ino64_t): Likewise.
66764         (dev_t): Likewise.
66765         (nlink_t): Likewise.
66766         (blkcnt_t): Likewise.
66767         (blkcnt64_t): Likewise.
66768         * manual/llio.texi (off_t): Likewise.
66770         [BZ #3976]
66771         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
66772         (__ieee754_exp): Save and restore rounding mode and use
66773         round-to-nearest for all computations.
66774         * math/libm-test.inc (exp_test_tonearest): New function.
66775         (exp_test_towardzero): Likewise.
66776         (exp_test_downward): Likewise.
66777         (exp_test_upward): Likewise.
66778         (main): Call the new functions.
66779         * sysdeps/i386/fpu/libm-test-ulps: Update.
66780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66782 2012-03-01  Chris Demetriou  <cgd@google.com>
66784         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
66785         have predictable order.
66787 2012-03-01  David S. Miller  <davem@davemloft.net>
66789         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
66791         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
66792         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
66793         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
66794         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
66796         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
66797         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
66798         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
66799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
66800         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
66801         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
66802         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
66803         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
66804         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
66806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66808         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
66809         * sysdeps/sparc/fpu/libm-test-ulps: to here.
66810         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
66812         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
66813         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
66814         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
66815         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
66816         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
66817         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
66818         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
66819         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
66820         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
66821         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
66822         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
66823         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
66824         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
66825         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
66826         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66827         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66828         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
66829         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
66830         * sysdeps/sparc/elf/configure: Regenerated.
66832 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
66834         * configure.in (AS, LD): Require binutils 2.20 or later.
66835         * configure: Regenerated.
66836         * manual/install.texi (Tools for Compilation): Give binutils 2.20
66837         as required minimum version.
66838         * INSTALL: Regenerated.
66840         [BZ #2541]
66841         [BZ #4108]
66842         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
66843         before squaring exponent.
66844         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
66845         bottom long double and 27 bits of top long double before squaring
66846         exponent.
66847         * math/libm-test.inc (erfc_test): Add more tests.
66848         * sysdeps/i386/fpu/libm-test-ulps: Update.
66849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66852 2012-03-01  Kai Tietz  <ktietz@redhat.com>
66854         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
66855         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
66856         containing bit-fields.
66857         * soft-fp/extended.h (_FP_UNION_E): Likewise.
66858         * soft-fp/single.h (_FP_UNION_S): Likewise.
66859         * soft-fp/double.h (_FP_UNION_D): Likewise.
66861 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66863         [BZ #13786]
66864         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
66865         not include ../strcmp.S.
66866         [USE_AS_STRNCASECMP_L]: Likewise.
66867         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
66868         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
66869         * sysdeps/i386/i686/multiarch/strncase_l-c.c
66870         (__strncasecmp_l_ia32): Define as alias to
66871         __strncasecmp_l_nonascii.
66873         [BZ #5794]
66874         * math/libm-test.inc (expm1_test): Add test for bug 5794.
66875         * sysdeps/i386/fpu/libm-test-ulps: Update.
66876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66878         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
66879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66881 2012-02-29  Jeff Law  <law@redhat.com>
66883         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
66884         out of bounds read.
66886 2012-02-29  Marek Polacek  <polacek@redhat.com>
66888         [BZ #13706]
66889         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
66890         * elf/Makefile: Add rules to run tst-unused-dep.out.
66892 2012-02-28  David S. Miller  <davem@davemloft.net>
66894         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
66895         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
66896         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
66897         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
66898         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
66899         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
66901 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
66903         * math/libm-test.inc (llround_test): Move one test from
66904         lround_test.  Use TEST_f_L in moved test.
66905         (lround_test): Move misplaced test to llround_test.  Add testcase
66906         from bug 2561.
66908 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
66910         * sysdeps/x86_64/fpu/e_expf.S: New file.
66911         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
66913 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
66915         [BZ #13637]
66916         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
66917         of remain_len that may cause incomplete multi-byte character and
66918         false match.
66919         * posix/bug-regex33.c: New file.
66920         * posix/Makefile (tests): Add bug-regex33.
66922 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
66924         * manual/macros.texi: New file.
66925         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
66926         * manual/libc.texinfo: Include macros.texi.
66927         * manual/creatute.texi: Likewise.
66928         * manual/install.texi: Likewise.
66929         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
66930         @glibcadj{} in references to the GNU C Library.
66931         * manual/charset.texi: Likewise.
66932         * manual/conf.texi: Likewise.
66933         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
66934         when not using those macros.
66935         * manual/creature.texi: Likewise.
66936         * manual/crypt.texi: Likewise.
66937         * manual/errno.texi: Likewise.
66938         * manual/filesys.texi: Likewise.
66939         * manual/header.texi: Likewise.
66940         * manual/install.texi: Likewise.
66941         * manual/intro.texi: Likewise.
66942         * manual/io.texi: Likewise.
66943         * manual/job.texi: Likewise.
66944         * manual/lang.texi: Likewise.
66945         * manual/libc.texiinfo: Likewise.
66946         * manual/llio.texi: Likewise.
66947         * manual/locale.texi: Likewise.
66948         * manual/maint.texi: Likewise.
66949         * manual/math.texi: Likewise.
66950         * manual/memory.texi: Likewise.
66951         * manual/message.texi: Likewise.
66952         * manual/nss.texi: Likewise.
66953         * manual/pattern.texi: Likewise.
66954         * manual/process.texi: Likewise.
66955         * manual/resource.texi: Likewise.
66956         * manual/search.texi: Likewise.
66957         * manual/setjmp.texi: Likewise.
66958         * manual/signal.texi: Likewise.
66959         * manual/socket.texi: Likewise.
66960         * manual/startup.texi: Likewise.
66961         * manual/stdio.texi: Likewise.
66962         * manual/string.texi: Likewise.
66963         * manual/sysinfo.texi: Likewise.
66964         * manual/syslog.texi: Likewise.
66965         * manual/terminal.texi: Likewise.
66966         * manual/time.texi: Likewise.
66967         * manual/users.texi: Likewise.
66968         * INSTALL: Regenerated.
66969         * NOTES: Regenerated.
66970         * sysdeps/gnu/errlist.c: Regenerated.
66972 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
66974         * include/dirent.h: Include <dirstream.h> before
66975         <dirent/dirent.h>.
66977 2012-02-28  David S. Miller  <davem@davemloft.net>
66979         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
66980         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
66981         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
66982         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
66984 2012-02-27  David S. Miller  <davem@davemloft.net>
66986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
66987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
66988         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
66989         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
66991         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
66992         frame pointer instead of stack pointer relative arg slot.
66993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
66994         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
66995         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
66997 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
66999         [BZ #3992]
67000         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
67002 2012-02-27  David S. Miller  <davem@davemloft.net>
67004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
67005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
67006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
67008         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
67009         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
67010         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
67011         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
67013 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67015         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
67016         later.  Allow versions 5-9.
67017         * configure: Regenerated.
67018         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
67019         required minimum version and 4.6 as recommended version.  Do not
67020         mention bugs in GCC 2.7 and 2.8.
67021         * INSTALL: Regenerated.
67023 2012-02-27  David S. Miller  <davem@davemloft.net>
67025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
67026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
67027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
67028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
67029         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
67030         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
67031         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
67032         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
67034         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
67035         manipulate bits before adding and subtracting TWO112[sx].
67036         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
67038 2012-02-27  Roland McGrath  <roland@hack.frob.com>
67040         [BZ #13775]
67041         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
67042         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
67043         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
67044         being in POSIX, because they are in 1003.1-2008.
67046         * rt/tst-aio.c: Include <fcntl.h>.
67047         * rt/tst-aio7.c: Likewise.
67048         * rt/tst-aio64.c: Likewise.
67050         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
67052 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
67054         * manual/install.texi (--with-headers): Describe headers as
67055         interface headers, not private headers.
67056         (Specific advice for GNU/Linux systems): Describe use of headers
67057         from "make headers_install", not private headers from older
67058         kernels.
67059         * INSTALL: Regenerated.
67060         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
67061         Change to 2.6.19.
67062         * sysdeps/unix/sysv/linux/configure: Regenerated.
67064         * manual/llio.texi (fclean): Remove documentation.
67066         * manual/Makefile (libc-texi-generated): New variable.  Include
67067         version.texi.
67068         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
67069         $(libc-texi-generated), not duplicated list of files.
67070         (version.texi, stamp-version): New rules.
67071         (realclean): Remove $(libc-texi-generated), not individual files
67072         from that list.  Do not remove dir-add.texinfo.
67073         * manual/libc.texinfo: Comment out uses of edition numbers and
67074         references to printed manual.  Remove last-updated dates.
67075         (EDITION): Comment out.
67076         (ISBN): Likewise.
67077         (VERSION, UPDATED): Remove.
67078         (version.texi): Include.
67080 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
67082         * sysdeps/posix/spawni.c: Include <signal.h>.
67083         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
67084         * sysdeps/pthread/aio_fsync.c: Likewise.
67086 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
67088         * conform/Makefile (tests): Run only when not cross-compiling and
67089         when fast-check is not defined.
67091         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
67092         * conform/data/limits.h-data: Fixes for POSIX2008.
67093         * conform/run-conformtest.sh: Run all tests.
67094         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
67095         headers.
67096         * include/bits/dlfcn.h: Likewise.
67097         * include/langinfo.h: Likewise.
67098         * include/monetary.h: Likewise.
67099         * include/sys/poll.h: Likewise.
67101         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
67102         for __USE_GNU.
67103         * posix/spawn.h: Define __need_sigset_t.
67104         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
67105         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
67106         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
67107         to get sigevent_t only.
67108         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
67109         only for __USE_GNU.
67110         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
67111         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
67112         process_vm_writev only for __USE_GNU.
67113         * termios/termios.h: Declare tcgetsid also for POSIX2008.
67115         * conform/Makefile: For now ignore errors from run-conformtest.
67116         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
67117         POSIX to avoid namespace pollution.  Don't prepend headers.
67118         * conform/data/aio.h-data: Fixes for POSIX testing.
67119         * conform/data/fcntl.h-data: Likewise.
67120         * conform/data/glob.h-data: Likewise.
67121         * conform/data/grp.h-data: Likewise.
67122         * conform/data/pthread.h-data: Likewise.
67123         * conform/data/pwd.h-data: Likewise.
67124         * conform/data/signal.h-data: Likewise.
67125         * conform/data/spawn.h-data: Likewise.
67126         * conform/data/stdio.h-data: Likewise.
67127         * conform/data/stdlib.h-data: Likewise.
67128         * conform/data/stropts.h-data: Likewise.
67129         * conform/data/sys/mman.h-data: Likewise.
67130         * conform/data/sys/stat.h-data: Likewise.
67131         * conform/data/sys/types.h-data: Likewise.
67132         * conform/data/sys/wait.h-data: Likewise.
67133         * conform/data/time.h-data: Likewise.
67134         * conform/data/unistd.h-data: Likewise.
67135         * conform/data/utime.h-data: Likewise.
67137         * io/sys/stat.h: fchmod was always in POSIX.
67138         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
67139         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
67140         * rt/aio.h: Define __need_timespec before including <time.h>.
67141         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
67142         struct.  Add forward declaration of pthread_attr_t and use it in
67143         sigevent.
67144         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
67145         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
67146         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
67147         always remove CLK_TCK definition.
67149 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
67151         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
67153 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
67155         * conform/run-conformtest.sh: New file.
67156         * conform/Makefile: Run run-conformtest for tests.
67157         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
67158         support.
67160         * conform/data/uchar.h-data: New file.
67161         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
67162         * conform/data/arpa/inet.h-data: Likewise.
67163         * conform/data/assert.h-data: Likewise.
67164         * conform/data/complex.h-data: Likewise.
67165         * conform/data/cpio.h-data: Likewise.
67166         * conform/data/ctype.h-data: Likewise.
67167         * conform/data/dirent.h-data: Likewise.
67168         * conform/data/dlfcn.h-data: Likewise.
67169         * conform/data/errno.h-data: Likewise.
67170         * conform/data/fcntl.h-data: Likewise.
67171         * conform/data/float.h-data: Likewise.
67172         * conform/data/fmtmsg.h-data: Likewise.
67173         * conform/data/fnmatch.h-data: Likewise.
67174         * conform/data/ftw.h-data: Likewise.
67175         * conform/data/glob.h-data: Likewise.
67176         * conform/data/grp.h-data: Likewise.
67177         * conform/data/iconv.h-data: Likewise.
67178         * conform/data/inttypes.h-data: Likewise.
67179         * conform/data/langinfo.h-data: Likewise.
67180         * conform/data/libgen.h-data: Likewise.
67181         * conform/data/limits.h-data: Likewise.
67182         * conform/data/locale.h-data: Likewise.
67183         * conform/data/math.h-data: Likewise.
67184         * conform/data/monetary.h-data: Likewise.
67185         * conform/data/mqueue.h-data: Likewise.
67186         * conform/data/ndbm.h-data: Likewise.
67187         * conform/data/net/if.h-data: Likewise.
67188         * conform/data/netdb.h-data: Likewise.
67189         * conform/data/netinet/in.h-data: Likewise.
67190         * conform/data/nl_types.h-data: Likewise.
67191         * conform/data/poll.h-data: Likewise.
67192         * conform/data/pthread.h-data: Likewise.
67193         * conform/data/pwd.h-data: Likewise.
67194         * conform/data/regex.h-data: Likewise.
67195         * conform/data/sched.h-data: Likewise.
67196         * conform/data/search.h-data: Likewise.
67197         * conform/data/semaphore.h-data: Likewise.
67198         * conform/data/setjmp.h-data: Likewise.
67199         * conform/data/signal.h-data: Likewise.
67200         * conform/data/spawn.h-data: Likewise.
67201         * conform/data/stdarg.h-data: Likewise.
67202         * conform/data/stdio.h-data: Likewise.
67203         * conform/data/stdlib.h-data: Likewise.
67204         * conform/data/string.h-data: Likewise.
67205         * conform/data/strings.h-data: Likewise.
67206         * conform/data/stropts.h-data: Likewise.
67207         * conform/data/sys/ipc.h-data: Likewise.
67208         * conform/data/sys/mman.h-data: Likewise.
67209         * conform/data/sys/msg.h-data: Likewise.
67210         * conform/data/sys/resource.h-data: Likewise.
67211         * conform/data/sys/select.h-data: Likewise.
67212         * conform/data/sys/sem.h-data: Likewise.
67213         * conform/data/sys/shm.h-data: Likewise.
67214         * conform/data/sys/socket.h-data: Likewise.
67215         * conform/data/sys/stat.h-data: Likewise.
67216         * conform/data/sys/statvfs.h-data: Likewise.
67217         * conform/data/sys/time.h-data: Likewise.
67218         * conform/data/sys/timeb.h-data: Likewise.
67219         * conform/data/sys/times.h-data: Likewise.
67220         * conform/data/sys/types.h-data: Likewise.
67221         * conform/data/sys/uio.h-data: Likewise.
67222         * conform/data/sys/un.h-data: Likewise.
67223         * conform/data/sys/utsname.h-data: Likewise.
67224         * conform/data/sys/wait.h-data: Likewise.
67225         * conform/data/syslog.h-data: Likewise.
67226         * conform/data/tar.h-data: Likewise.
67227         * conform/data/termios.h-data: Likewise.
67228         * conform/data/utime.h-data: Likewise.
67229         * conform/data/utmpx.h-data: Likewise.
67230         * conform/data/varargs.h-data: Likewise.
67231         * conform/data/wchar.h-data: Likewise.
67232         * conform/data/wctype.h-data: Likewise.
67233         * conform/data/wordexp.h-data: Likewise.
67235         * include/stropts.h: New file.
67236         * include/uchar.h: New file.
67237         * include/aio.h: Changes to allow conformtest.pl to use the headers.
67238         * include/assert.h: Likewise.
67239         * include/ctype.h: Likewise.
67240         * include/dirent.h: Likewise.
67241         * include/dlfcn.h: Likewise.
67242         * include/fcntl.h: Likewise.
67243         * include/fnmatch.h: Likewise.
67244         * include/glob.h: Likewise.
67245         * include/grp.h: Likewise.
67246         * include/libio.h: Likewise.
67247         * include/locale.h: Likewise.
67248         * include/math.h: Likewise.
67249         * include/net/if.h: Likewise.
67250         * include/netdb.h: Likewise.
67251         * include/netinet/in.h: Likewise.
67252         * include/pthread.h: Likewise.
67253         * include/pwd.h: Likewise.
67254         * include/regex.h: Likewise.
67255         * include/sched.h: Likewise.
67256         * include/search.h: Likewise.
67257         * include/setjmp.h: Likewise.
67258         * include/signal.h: Likewise.
67259         * include/stdio.h: Likewise.
67260         * include/stdlib.h: Likewise.
67261         * include/string.h: Likewise.
67262         * include/sys/cdefs.h: Likewise.
67263         * include/sys/mman.h: Likewise.
67264         * include/sys/msg.h: Likewise.
67265         * include/sys/resource.h: Likewise.
67266         * include/sys/select.h: Likewise.
67267         * include/sys/socket.h: Likewise.
67268         * include/sys/stat.h: Likewise.
67269         * include/sys/statvfs.h: Likewise.
67270         * include/sys/time.h: Likewise.
67271         * include/sys/times.h: Likewise.
67272         * include/sys/uio.h: Likewise.
67273         * include/sys/utsname.h: Likewise.
67274         * include/sys/wait.h: Likewise.
67275         * include/termios.h: Likewise.
67276         * include/time.h: Likewise.
67277         * include/ulimit.h: Likewise.
67278         * include/unistd.h: Likewise.
67279         * include/utime.h: Likewise.
67280         * include/wchar.h: Likewise.
67281         * include/wctype.h: Likewise.
67282         * include/wordexp.h: Likewise.
67284         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
67286         * time/time.h: TIME_UTC must be a macro.
67287         Make timespec_get available for ISO C11 only as well.
67289 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
67291         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
67292         Reported by Peng Haitao <penght@cn.fujitsu.com>.
67294 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67296         * configure.in: Use -o not -a in test for unsupported multi-arch.
67298 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67300         * manual/texinfo.tex: Update to version 2012-01-19.16.
67302 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
67304         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
67306 2012-02-24  Roland McGrath  <roland@hack.frob.com>
67308         [BZ #13738]
67309         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
67310         * manual/fdl-1.3.texi: New file.
67311         * manual/fdl-1.1.texi: File removed.
67313         [BZ #13738]
67314         * manual/libc.texinfo (FDL_VERSION): New @set.
67315         Use it for mention of FDL in cover text.
67316         (Documentation License): Use it in @include file name.
67318 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67319             Roland McGrath  <roland@hack.frob.com>
67321         [BZ #5461]
67322         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
67323         (not LONG_LONG_MAX and LONG_LONG_MIN.
67324         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
67325         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
67326         name.
67327         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
67329 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67331         [BZ #2547]
67332         [BZ #11365]
67333         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
67334         manipulate bits before adding and subtracting TWO23[sx].
67335         * math/libm-test.inc (nearbyint_test): Add more tests.
67337 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67339         [BZ #2548]
67340         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
67341         bits before adding and subtracting TWO23[sx].
67342         * math/libm-test.inc (rint_test): Add more tests.
67343         (rint_test_tonearest): Likewise.
67344         (rint_test_towardzero): Likewise.
67345         (rint_test_downward): Likewise.
67346         (rint_test_upward: Likewise.
67348 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67350         [BZ #10110]
67351         * include/stdc-predef.h: New file.  Extracted from features.h.
67352         * include/features.h: Include stdc-predef.h.
67353         * Makefile (headers): Add stdc-predef.h.
67354         * CONFORMANCE (Compiler limitations): Update.
67356 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
67358         * manual/libc.texinfo (VERSION, UPDATED): Revert.
67360 2012-02-21  David S. Miller  <davem@davemloft.net>
67362         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
67363         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67365 2012-02-20  David S. Miller  <davem@davemloft.net>
67367         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
67368         using a normal save/restore sequence, rather than allocating a
67369         dummy stack frame just to store a frame pointer and restore.
67370         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67372 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67374         * manual/install.texi: Fix stray word in line-wrapped comment.
67376 2012-02-20  David S. Miller  <davem@davemloft.net>
67378         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
67379         both binutils and gcc support GOTDATA.
67381         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
67382         "rd %pc" in the PIC register setup sequences.
67384         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
67385         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
67386         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
67387         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
67388         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
67389         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67390         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
67391         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
67392         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
67393         (SYSCALL_ERROR_HANDLER): Likewise.
67394         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
67395         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
67396         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
67397         (SYSCALL_ERROR_HANDLER): Likewise.
67399         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
67400         (HAVE_GCC_GOTDATA): New.
67401         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
67402         relocation support in both binutils and gcc.
67403         * sysdeps/sparc/elf/configure: Regenerate.
67405         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
67406         * sysdeps/sparc/sparc32/elf/configure: Delete.
67407         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
67408         * sysdeps/sparc/sparc64/elf/configure: Delete.
67409         * sysdeps/sparc/elf/configure.in: New file.
67410         * sysdeps/sparc/elf/configure: Generate.
67412         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
67413         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
67414         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
67415         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
67416         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
67418 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67420         * manual/install.texi: Do not mention specific glibc version
67421         numbers.
67422         * manual/libc.texinfo (VERSION, UPDATED): Update.
67423         (@copying): Use @copyright{} and range of years.
67425 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
67427         [BZ #13695]
67428         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
67429         [crti.S not in sysdirs] (generated): Do not append.
67430         [crti.S not in sysdirs] (omit-deps): Likewise.
67431         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
67432         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
67433         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
67434         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
67435         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
67436         Likewise.
67437         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
67438         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
67439         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
67440         * csu/defs.awk: Remove file.
67441         * sysdeps/generic/initfini.c: Likewise.
67442         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
67443         variable.
67444         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
67445         Likewise.
67447 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67449         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
67450         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
67451         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
67452         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
67453         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
67454         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
67455         <bits/epoll.h>.
67456         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
67457         (__EPOLL_PACKED): Define to empty if not defined by
67458         <bits/epoll.h>.
67459         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
67460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67461         bits/epoll.h.
67463 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67465         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
67466         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
67467         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
67468         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
67469         <bits/timerfd.h>.
67470         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
67471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67472         bits/timerfd.h.
67474 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
67476         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
67477         in C locale.
67478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67479         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
67480         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
67481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67483 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
67485         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67486         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
67488 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
67490         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
67491         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
67492         defined.
67493         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
67494         Likewise.
67495         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
67496         entry for 2.16.
67498 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
67500         * math/w_acos.c: Use non-signaling floating-point comparisons.
67501         * math/w_acosf.c: Likewise.
67502         * math/w_acosh.c: Likewise.
67503         * math/w_acoshf.c: Likewise.
67504         * math/w_acoshl.c: Likewise.
67505         * math/w_acosl.c: Likewise.
67506         * math/w_asin.c: Likewise.
67507         * math/w_asinf.c: Likewise.
67508         * math/w_asinl.c: Likewise.
67509         * math/w_atanh.c: Likewise.
67510         * math/w_atanhf.c: Likewise.
67511         * math/w_atanhl.c: Likewise.
67512         * math/w_exp2.c: Likewise.
67513         * math/w_exp2f.c: Likewise.
67514         * math/w_exp2l.c: Likewise.
67515         * math/w_j0.c: Likewise.
67516         * math/w_j0f.c: Likewise.
67517         * math/w_j0l.c: Likewise.
67518         * math/w_j1.c: Likewise.
67519         * math/w_j1f.c: Likewise.
67520         * math/w_j1l.c: Likewise.
67521         * math/w_jn.c: Likewise.
67522         * math/w_jnf.c: Likewise.
67523         * math/w_log.c: Likewise.
67524         * math/w_log10.c: Likewise.
67525         * math/w_log10f.c: Likewise.
67526         * math/w_log10l.c: Likewise.
67527         * math/w_log2.c: Likewise.
67528         * math/w_log2f.c: Likewise.
67529         * math/w_log2l.c: Likewise.
67530         * math/w_logf.c: Likewise.
67531         * math/w_logl.c: Likewise.
67532         * math/w_sqrt.c: Likewise.
67533         * math/w_sqrtf.c: Likewise.
67534         * math/w_sqrtl.c: Likewise.
67535         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
67536         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
67537         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
67538         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
67539         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
67541 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67543         [BZ #9739]
67544         * manual/string.texi (strnlen): Use correct parameter name in
67545         equivalent expression.
67547 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67549         [BZ #11174]
67550         * manual/users.texi (seteuid): Consistently use neweuid for
67551         argument name.
67553 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
67555         [BZ #13704]
67556         * manual/nss.texi (Services in the NSS configuration): Correct
67557         list of services in example configuration file.
67559 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
67561         [BZ #11322]
67562         * manual/arith.texi: Remove statements about negative zero
67563         behaving identically to zero.
67565 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67567         [BZ #5993]
67568         * manual/install.texi: Do not document upgrading from libc5.
67570 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
67572         [BZ #4596]
67573         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
67575 2012-02-18  David S. Miller  <davem@davemloft.net>
67577         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
67578         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
67579         %o7 across the call.
67580         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
67581         instead.
67582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
67583         SETUP_PIC_REG_LEAF.
67584         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67585         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
67586         * sysdeps/sparc/crtn.S: Likewise.
67588 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
67590         * aout/Makefile: Remove.
67592 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
67594         [BZ #13058]
67595         * manual/examples/argp-ex1.c (main): Format definition in GNU
67596         style.
67597         * manual/examples/argp-ex2.c (main): Likewise.
67598         * manual/examples/argp-ex3.c (main): Likewise.
67599         * manual/examples/argp-ex4.c (main): Likewise.
67600         * manual/examples/longopt.c (main): Use new-style prototype
67601         definition.
67602         * manual/examples/strncat.c (main): Specify return type and use
67603         (void) for arguments.
67604         * manual/examples/subopt.c (main): Use char **argv argument.
67606 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67608         [BZ #5077]
67609         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
67610         rounding modes.
67612 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
67614         [BZ #6907]
67615         * manual/string.texi (strchr): Change when strchrnul is
67616         recommended.
67618 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
67620         [BZ #174]
67621         * manual/locale.texi (setlocale): Document LOCPATH.
67623 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67625         [BZ #10210]
67626         * manual/process.texi (execle): Move @dots{} before last argument.
67628 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
67630         [BZ #12047]
67631         * manual/charset.texi (Generic Charset Conversion): Fix typo
67632         (LC_TYPE -> LC_CTYPE).
67634 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
67636         [BZ #5805]
67637         * manual/arith.texi (scalbn): Use @var{} on parameter names.
67638         (scalbnf): Likewise.
67639         (scalbnl): Likewise.
67640         (scalbln): Likewise.
67641         (scalblnf): Likewise.
67642         (scalblnl): Likewise.
67643         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
67644         (vwarnx): Likewise.
67645         (verr): Likewise.
67646         (verrx): Likewise.
67647         * manual/filesys.texi (telldir): Use braces around return type.
67648         * manual/llio.texi (mmap): Add space after comma.
67649         (mmap64): Likewise.
67650         * manual/math.texi (jn): Use @var{} on parameter names.
67651         (jnf): Likewise.
67652         (jnl): Likewise.
67653         (yn): Likewise.
67654         (ynf): Likewise.
67655         (ynl): Likewise.
67656         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
67657         line.
67658         * manual/resource.texi (ulimit): Use @dots{} instead of literal
67659         "...".
67660         (sched_get_priority_min): Remove semicolon on @deftypefun line.
67661         (sched_get_priority_max): Likewise.
67662         * manual/signal.texi (sigvec): Add space after comma.
67663         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
67664         names.
67665         (if_indextoname): Likewise.
67666         (if_freenameindex): Likewise.
67667         (sendto): Use ',' instead of '.' in prototype.
67668         * manual/startup.texi (syscall): Use @dots{} instead of literal
67669         "...".
67670         * manual/stdio.texi (__fpending): Separate initial words of
67671         paragraph from @deftypefun line.
67672         * manual/syslog.texi (syslog): Use @dots{} instead of literal
67673         "...".
67674         (vsyslog): Use @var{} on parameter names.
67675         * manual/terminal.texi (stty): Use @var{} on parameter names.
67676         * manual/users.texi (getutmp): Use @var{} on parameter names.
67677         (getutmpx): Likewise.
67679 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67681         [BZ #6884]
67682         * manual/stdio.texi (fopen): Fix typos in description of
67683         ",ccs=STRING".
67685 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
67687         [BZ #4026]
67688         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
67689         get clock_id definition.
67691 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
67693         [BZ #4822]
67694         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
67695         (madvise): Cast every argument to void on its own.
67697 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67699         [BZ #9902]
67700         * manual/startup.texi (Exit Status): Fix typo.
67702 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
67704         [BZ #10140]
67705         * manual/examples/argp-ex1.c: Include <stdlib.h>.
67706         * manual/examples/argp-ex2.c: Likewise.
67707         * manual/examples/argp-ex3.c: Likewise.
67709 2012-02-16  Richard Henderson  <rth@redhat.com>
67711         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
67712         * sysdeps/s390/s390-32/initfini.c: Remove.
67713         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
67714         * sysdeps/s390/s390-64/initfini.c: Remove.
67716 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67718         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
67719         compiler output for sysdeps/generic/initfini.c.
67720         * sysdeps/sh/elf/initfini.c: Remove file.
67722 2012-02-16  David S. Miller  <davem@davemloft.net>
67724         [BZ #11494]
67725         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
67727         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
67728         * sysdeps/sparc/crti.S: New file.
67729         * sysdeps/sparc/crtn.S: New file.
67730         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
67731         * sysdeps/sparc/sparc64/Makefile: Likewise.
67733 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
67735         [BZ #3335]
67736         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
67738 2012-02-15  Roland McGrath  <roland@hack.frob.com>
67740         [BZ #4822]
67741         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
67743         * mach/devstream.c (cookie_io_functions_t): Macro removed.
67744         (write, read, close): Likewise.
67745         Patch by Aurelien Jarno <aurelien@aurel32.net>.
67747 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
67749         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
67750         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
67751         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
67752         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
67753         <bits/signalfd.h>.
67754         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
67755         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67756         bits/signalfd.h.
67758 2012-02-14  Marek Polacek  <polacek@redhat.com>
67760         * sysdeps/x86_64/crti.S: New file.
67761         * sysdeps/x86_64/crtn.S: New file.
67762         * sysdeps/x86_64/elf/initfini.c: Remove file.
67764 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67766         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
67767         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
67768         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
67769         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
67770         <bits/inotify.h>.
67771         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
67772         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67773         bits/inotify.h.
67775 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
67777         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
67778         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
67779         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
67780         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
67781         <bits/eventfd.h>.
67782         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
67783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
67784         bits/eventfd.h.
67786 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
67788         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
67789         __feraiseexcept instead of feraiseexcept.
67791         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
67792         nanosleep invocations.
67793         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
67794         strings, and add error checking for a nanosleep invocations.
67796 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
67798         Replace FSF snail mail address with URLs, as per GNU coding standards.
67799         Most of the snail mail addresses were wrong anyway, and omitting
67800         them makes the source code easier to maintain.  Almost all of the
67801         changes are to license notices and to locale LC_IDENTIFICATION
67802         addresses, except for this one:
67803         * manual/libc.texinfo: In "Published by", give the FSF's URL,
67804         not its snail mail address.
67806 2012-02-09  Richard Henderson  <rth@twiddle.net>
67808         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
67809         of kernel-features.h.
67811         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
67813 2012-02-08  Marek Polacek  <polacek@redhat.com>
67815         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
67816         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
67817         * sysdeps/gnu/_G_config.h: Likewise.
67818         * sysdeps/generic/_G_config.h: Likewise.
67820 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
67822         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
67823         tests.
67824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67826         * sysdeps/powerpc/powerpc32/crti.S: New file.
67827         * sysdeps/powerpc/powerpc32/crtn.S: New file.
67828         * sysdeps/powerpc/powerpc64/crti.S: New file.
67829         * sysdeps/powerpc/powerpc64/crtn.S: New file.
67831         * Makeconfig (have-initfini): Don't set.
67832         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
67833         * configure.in (nopic_initfini): Don't substitute.
67834         * config.h.in (HAVE_INITFINI): Don't #undef.
67835         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
67836         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
67838 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
67840         Support crti.S and crtn.S provided directly by architectures.
67841         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
67842         [crti.S in sysdirs] (omit-deps): Likewise.
67843         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
67844         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
67845         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
67846         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
67847         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
67848         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
67849         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
67850         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
67851         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
67852         compiler output for sysdeps/generic/initfini.c.
67853         * sysdeps/i386/elf/Makefile: Remove file.
67854         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
67856 2012-02-07  Marek Polacek  <polacek@redhat.com>
67858         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
67859         * sysdeps/gnu/_G_config.h: Likewise.
67860         * sysdeps/mach/hurd/_G_config.h: Likewise.
67862 2012-02-07  Marek Polacek  <polacek@redhat.com>
67864         * math/Makefile (tests): Add tst-CMPLX2.
67865         * math/tst-CMPLX2.c: New file.
67867 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
67869         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
67871         * math/libm-test.inc (jn_test): Add missing L suffix.
67873 2012-02-06  Marek Polacek  <polacek@redhat.com>
67875         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
67876         * sysdeps/i386/fpu/e_powf.S: Likewise.
67877         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
67878         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
67879         * sysdeps/i386/fpu/e_acosh.S: Likewise.
67880         * sysdeps/i386/fpu/e_pow.S: Likewise.
67881         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
67882         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
67883         * sysdeps/i386/fpu/s_expm1.S: Likewise.
67884         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
67885         * sysdeps/i386/fpu/e_log2.S: Likewise.
67886         * sysdeps/i386/fpu/e_log2l.S: Likewise.
67887         * sysdeps/i386/fpu/e_scalb.S: Likewise.
67888         * sysdeps/i386/fpu/e_powl.S: Likewise.
67889         * sysdeps/i386/fpu/s_log1p.S: Likewise.
67890         * sysdeps/i386/fpu/e_log10f.S: Likewise.
67891         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
67892         * sysdeps/i386/fpu/e_logl.S: Likewise.
67893         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
67894         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
67895         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
67896         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
67897         * sysdeps/i386/fpu/e_log2f.S: Likewise.
67898         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
67899         * sysdeps/i386/fpu/e_log.S: Likewise.
67900         * sysdeps/i386/fpu/s_cexp.S: Likewise.
67901         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
67902         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
67903         * sysdeps/i386/fpu/e_logf.S: Likewise.
67904         * sysdeps/i386/fpu/e_log10l.S: Likewise.
67905         * sysdeps/i386/fpu/e_atanh.S: Likewise.
67906         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
67907         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
67908         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
67909         * sysdeps/i386/fpu/e_log10.S: Likewise.
67910         * sysdeps/i386/fpu/s_frexp.S: Likewise.
67911         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
67912         * sysdeps/i386/fpu/s_asinh.S: Likewise.
67913         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
67914         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
67915         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
67916         * sysdeps/i386/asm-syntax.h: Likewise.
67917         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
67918         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67919         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
67920         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
67921         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
67922         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
67923         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
67924         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
67925         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
67926         * sysdeps/powerpc/sysdep.h: Likewise.
67927         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
67928         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
67930 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67932         [BZ #411]
67933         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
67935 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
67937         * sysdeps/i386/sysdep.h: Include <features.h>.
67938         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
67939         version.
67941 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
67943         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
67944         Define.
67945         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
67946         LOAD_PIC_REG_STR.
67948 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67950         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
67951         (SETUP_PIC_REG): Use GET_PC_THUNK.
67952         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
67953         macro.
67955 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
67957         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
67958         for non-PIC compilation.
67959         (SETUP_PIC_REG): Add .p2align directive.
67960         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
67961         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
67962         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
67963         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
67964         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
67965         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
67966         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
67967         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
67968         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
67969         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
67970         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
67971         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
67972         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
67973         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
67974         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
67975         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
67976         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
67977         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
67978         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
67979         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
67980         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
67981         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
67982         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
67983         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
67984         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
67985         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
67986         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
67987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
67988         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
67989         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
67990         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
67991         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
67992         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
67993         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
67994         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
67995         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
67996         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
67997         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
67998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
67999         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
68000         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
68002 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
68004         * math/tst-CMPLX.c: Include <stdio.h>.
68006 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
68008         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
68009         float.
68010         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68011         * sysdeps/sparc/bits/mathdef.h: Likewise.
68013 2012-01-31  Marek Polacek  <polacek@redhat.com>
68015         * libio/libio.h: Don't define _PARAMS.
68016         * locale/programs/config.h: Don't define PARAMS.
68017         * stdlib/strtol_l.c: Likewise.
68018         (__strtol_l): Remove PARAMS from the prototype.
68020 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
68022         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
68023         names.  Just use the correct names.  Remove unnecessary wrapper
68024         functions.
68025         * malloc/arena.c: Likewise.
68026         * malloc/hooks.c: Likewise.
68028         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
68029         ARENA_TEST says not to.  Simplify test for creation of a new arena.
68030         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
68032 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
68034         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
68035         into tail calls.
68036         (update_get_addr): New function.
68037         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
68038         GET_ADDR_MODULE parameter.
68040 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68042         * crypt/cert.c: Remove __STDC__ conditionals.
68043         * crypt/crypt-entry.c: Likewise.
68044         * crypt/crypt_util.c: Likewise.
68045         * libio/filedoalloc.c: Likewise.
68046         * libio/fileops.c: Likewise.
68047         * libio/genops.c: Likewise.
68048         * libio/iofclose.c: Likewise.
68049         * libio/iofdopen.c: Likewise.
68050         * libio/iofopen.c: Likewise.
68051         * libio/iofopen64.c: Likewise.
68052         * libio/iogetdelim.c: Likewise.
68053         * libio/iopopen.c: Likewise.
68054         * libio/obprintf.c: Likewise.
68055         * libio/oldfileops.c: Likewise.
68056         * libio/oldiofclose.c: Likewise.
68057         * libio/oldiofdopen.c: Likewise.
68058         * libio/oldiofopen.c: Likewise.
68059         * libio/oldiopopen.c: Likewise.
68060         * libio/wfiledoalloc.c: Likewise.
68061         * libio/wgenops.c: Likewise.
68062         * locale/programs/xmalloc.c: Likewise.
68063         * misc/syslog.c: Likewise.
68064         * stdio-common/xbug.c: Likewise.
68065         * string/memchr.c: Likewise.
68066         * string/memcmp.c: Likewise.
68067         * string/memrchr.c: Likewise.
68068         * string/rawmemchr.c: Likewise.
68069         * sysdeps/posix/getcwd.c: Likewise.
68070         * time/strftime_l.c: Likewise.
68072 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
68074         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
68075         * config.make.in (config-cflags-sse2avx): Define.
68076         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
68077         Fix typo.
68079 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
68081         * scripts/config.guess: Update from upstream config git repository.
68082         * scripts/config.sub: Likewise.
68084 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
68086         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
68087         (EM_NUM): Update.
68088         (R_TILEPRO_*, R_TILEGX_*): New macros.
68090         * scripts/firstversions.awk: Fix bug in version range handling.
68092         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
68094         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
68096         * include/sys/epoll.h: New file.
68097         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
68098         libc_hidden_def.
68100 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
68102         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
68103         Avoid unnecessary __WORDSIZE == 64 test.
68104         (fmaxf): Use VEX format if possible.
68105         (fmax): Likewise.
68106         (fminf): Likewise.
68107         (fmin): Likewise.
68109         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
68110         * math/math_private.h: Remove libc_fegetround* and
68111         libc_fesetround*.
68112         * sysdeps/i386/configure.in: Check for -msse2avx.
68113         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
68114         also if SSE2AVX is defined.
68115         Remove libc_fegetround* and libc_fesetround*.
68116         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
68117         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
68118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
68119         of HAS_YMM_USABLE.
68120         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68121         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68122         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68123         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68124         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68126         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
68128 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
68131         size is not set.
68132         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
68134 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
68136         [BZ #13618]
68137         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
68138         relocation.
68139         * Makeconfig (libm): Define.
68140         * elf/Makefile: Add rules to build and run tst-relsort1.
68141         * elf/tst-relsort1.c: New file.
68142         * elf/tst-relsort1mod1.c: New file.
68143         * elf/tst-relsort1mod2.c: New file.
68145 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
68147         * math/s_ldexp.c: Remove __STDC__ conditionals.
68148         * math/s_ldexpf.c: Likewise.
68149         * math/s_ldexpl.c: Likewise.
68150         * math/s_nextafter.c: Likewise.
68151         * math/s_nexttowardf.c: Likewise.
68152         * math/s_significand.c: Likewise.
68153         * math/s_significandf.c: Likewise.
68154         * math/s_significandl.c: Likewise.
68155         * math/w_jnl.c: Likewise.
68156         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
68157         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
68158         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
68159         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
68160         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
68161         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
68162         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
68163         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
68164         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
68165         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
68166         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
68167         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
68168         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
68169         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
68170         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
68171         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
68172         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
68173         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
68174         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
68175         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
68176         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
68177         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
68178         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
68179         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
68180         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
68181         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
68182         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
68183         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
68184         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
68185         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
68186         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
68187         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
68188         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
68189         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
68190         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
68191         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
68192         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
68193         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
68194         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
68195         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
68196         * sysdeps/ieee754/k_standard.c: Likewise.
68197         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
68198         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
68199         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
68200         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
68201         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
68202         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
68203         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
68204         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
68205         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
68206         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
68207         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
68208         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
68209         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
68210         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
68211         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
68212         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
68213         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
68214         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
68215         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
68216         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
68217         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
68218         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
68219         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
68220         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
68221         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
68222         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
68223         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
68224         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
68225         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
68226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
68227         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
68228         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
68229         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
68230         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
68231         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
68232         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
68233         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
68234         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
68235         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
68236         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
68237         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
68238         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
68239         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
68240         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
68241         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
68242         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
68243         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
68244         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
68245         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
68246         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
68247         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
68248         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
68249         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
68250         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
68251         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
68252         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
68253         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
68254         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
68255         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
68256         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
68257         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
68258         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
68259         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
68260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
68261         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
68262         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
68263         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
68264         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
68265         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
68266         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
68267         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
68268         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
68269         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
68270         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
68271         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
68272         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
68273         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
68274         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
68275         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
68276         * sysdeps/ieee754/s_matherr.c: Likewise.
68277         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
68278         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
68279         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
68280         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
68282 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68284         * crypt/md5.h: Remove __STDC__ conditionals.
68285         * libio/libioP.h: Likewise.
68286         * locale/programs/config.h: Likewise.
68287         * sysdeps/generic/sysdep.h: Likewise.
68288         * sysdeps/i386/asm-syntax.h: Likewise.
68289         * sysdeps/s390/asm-syntax.h: Likewise.
68290         * sysdeps/unix/sysdep.h: Likewise.
68291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
68292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
68294 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
68296         * libio/libio.h: Remove __STDC__ conditionals.
68297         * malloc/obstack.h: Likewise.
68298         * math/complex.h: Likewise.
68299         * math/math.h: Likewise.
68300         * sysdeps/generic/_G_config.h: Likewise.
68301         * sysdeps/gnu/_G_config.h: Likewise.
68302         * sysdeps/mach/hurd/_G_config.h: Likewise.
68303         * sysdeps/powerpc/bits/mathdef.h: Likewise.
68304         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
68305         * sysdeps/sparc/bits/mathdef.h: Likewise.
68307 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
68309         [BZ #13583]
68310         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
68311         Clean up HAS_* macros.
68312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
68313         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
68314         possible.
68315         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
68316         HAS_AVX.
68317         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
68318         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
68319         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
68320         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
68321         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
68323 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
68325         * elf/tst-unique3.cc (gets): Remove declaration.
68326         * elf/tst-unique3lib.cc (gets): Likewise.
68327         * elf/tst-unique3lib2.cc (gets): Likewise.
68328         * elf/tst-unique4.cc (gets): Likewise.
68330 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
68332         * include/stdio.h: Add C++ protection.  Add gets declarations and
68333         definitions.
68334         * debug/tst-chk1.c: Don't declare gets here.
68335         * stdio-common/tst-gets.c: Likewise.
68337 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68339         * posix/glob: Remove directory.
68341 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
68343         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
68345 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
68347         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
68348         of the non-standard EPFNOSUPPORT.
68350 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68352         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
68353         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
68354         ANYWHERE set to 1 only on KERN_NO_SPACE error.
68356 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
68358         * wcsmbs/uchar.h: Test __STDC_VERSION__.
68360 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
68362         * nscd/aicache.c (addhstaiX): Do not cache negative results of
68363         transient errors.
68364         * nscd/grpcache.c (cache_addgr): Likewise.
68365         * nscd/hstcache.c (cache_addhst): Likewise.
68366         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68367         * nscd/pwdcache.c (cache_addpw): Likewise.
68368         * nscd/servicescache.c (cache_addserv): Likewise.
68370 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
68372         * malloc/malloc.c: Various cleanups.
68373         * malloc/hooks.c: Likewise.
68375         * stdlib/Makefile (tests): Add bug-fmtmsg1.
68376         * stdlib/bug-fmtmsg1.c: New file.
68378         * stdlib/fmtmsg.c (init): Add missing unlock.
68379         Patch by Peng Haitao <penght@cn.fujitsu.com>.
68381 2012-01-12  Marek Polacek  <polacek@redhat.com>
68383         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
68384         and _GNU_SOURCE.
68386 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
68388         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
68389         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
68390         macro to ensure uniqueness of label name.
68391         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
68392         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
68394 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
68396         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
68398         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
68399         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
68400         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
68401         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
68403 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
68405         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
68407         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
68408         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
68409         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
68411         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
68413         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
68414         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
68415         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
68416         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
68418         * math/bits/math-finite.h: Add ldexp support.
68420 2012-01-10  Marek Polacek  <polacek@redhat.com>
68422         * locale/programs/localedef.h (show_archive_content): Add noreturn
68423         attribute.
68425 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
68427         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
68429 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68431         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
68433         * io/Makefile (headers): Add bits/poll2.h.
68435 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
68437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
68438         typo #include statement.
68440 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68442         * include/sys/cdefs.h: Define __attribute_alloc_size.
68443         * catgets/gencat.c: Add alloc_size attribute and apply consistently
68444         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
68445         * elf/pldd.c: Likewise.
68446         * iconv/iconv_charmap.c: Likewise.
68447         * iconv/iconvconfig.c: Likewise.
68448         * iconv/strtab.c: Likewise.
68449         * locale/programs/locale.c: Likewise.
68450         * locale/programs/localedef.h: Likewise.
68451         * locale/programs/simple-hash.c: Likewise.
68452         * nscd/nscd.h: Likewise.
68453         * nss/makedb.c: Likewise.
68454         * sysdeps/generic/ldconfig.h: Likewise.
68455         * locale/programs/localedef.c: Remove xmalloc prototype.
68456         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
68458 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
68460         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
68461         appropriate.
68463 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
68465         * math/Makefile (tests): Add tst-CMPLX.
68466         * math/tst-CMPLX.c: New file.
68468         * math/complex.h (CMPLXL): Fix typo.
68470         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
68471         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
68472         GLIBC_2.16.
68473         * debug/tst-chk1.c: Add poll and ppoll tests.
68474         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
68475         * include/sys/poll.h: Add hidden proto for ppoll.
68476         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
68477         * sysdeps/mach/hurd/ppoll.c: Likewise.
68478         * io/ppoll.c: Likewise.
68479         * debug/poll_chk.c: New file.
68480         * debug/ppoll_chk.c: New file.
68481         * include/bits/poll2.h: New file.
68482         * io/bits/poll2.h: New file.
68484         [BZ #1350]
68485         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
68487         * configure.in: static is always set to yes.  Remove.
68488         * config.make.in: Don't set build-static.
68489         * Makeconfig: Remove use of build-static.
68490         * dlfcn/Makefile: Likewise.
68491         * elf/Makefile: Likewise.
68492         * math/Makefile: Likewise.
68493         * misc/Makefile: Likewise.
68494         * nptl/Makefile: Likewise.
68495         * sysdeps/mach/hurd/Makefile: Likewise.
68497         * configure.in: PWD_P is not used anymore.
68498         * config.make.in: Remove PWD_P entry.
68500         * configure.in: Remove last remnants of RANLIB.
68501         No need to check for signed size_t anymore.
68502         Don't set libc_commonpagesize and libc_relro_required here for Alpha
68503         and IA-64.
68504         Remove __builtin_expect test because we require at least gcc 3.4.
68505         * aclocal.m4: Likewise.
68507         * wcsmbs/mbrtoc16.c: Implement using towc function.
68508         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
68509         * wcsmbs/wcsmbsload.c: Likewise.
68510         * iconv/gconv_simple.c: Likewise.
68511         * iconv/gconv_int.h: Likewise.
68512         * iconv/gconv_builtin.h: Likewise.
68513         * iconv/iconv_prog.c: Remove CHAR16 handling.
68515         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
68517         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
68519         * configure.in: Remove --with-elf and --enable-bounded options.
68520         Dont set base_machine for ia64.  More non-ELF conditions removed.
68521         Remove testing and setting of leading underscore information.
68522         * config.make.in (build-bounded): Set to no.
68523         * config.h.in: Remove NO_UNDERSCORES entry.
68524         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
68525         them.
68526         * csu/start.c: Remove !NO_UNDERSCORE code.
68527         * locale/localeinfo.h: Likewise.
68528         * sysdeps/generic/machine-gmon.h: Likewise.
68529         * sysdeps/generic/sysdep.h: Likewise.
68530         * sysdeps/i386/sysdep.h: Likewise.
68531         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68532         * sysdeps/mach/sysdep.h: Likewise.
68533         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68534         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68535         * sysdeps/sh/sysdep.h: Likewise.
68536         * sysdeps/sparc/sparc32/alloca.S: Likewise.
68537         * sysdeps/unix/i386/sysdep.S: Likewise.
68538         * sysdeps/unix/sparc/start.c: Likewise.
68539         * sysdeps/unix/sparc/sysdep.S: Likewise.
68540         * sysdeps/unix/sparc/sysdep.h: Likewise.
68541         * sysdeps/unix/start.c: Likewise.
68542         * sysdeps/unix/x86_64/sysdep.S: Likewise.
68543         * sysdeps/x86_64/sysdep.h: Likewise.
68545 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
68547         [BZ #13553]
68548         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
68549         for non-gcc.
68550         * argp/argp-fmtstream.h: Use const instead __const.
68551         * argp/argp.h: Likewise.
68552         * assert/assert.h: Likewise.
68553         * bits/fenv.h: Likewise.
68554         * bits/sched.h: Likewise.
68555         * bits/sigset.h: Likewise.
68556         * bits/sigthread.h: Likewise.
68557         * catgets/nl_types.h: Likewise.
68558         * conform/data/pthread.h-data: Likewise.
68559         * crypt/crypt-private.h: Likewise.
68560         * crypt/crypt.h: Likewise.
68561         * crypt/crypt_util.c: Likewise.
68562         * ctype/ctype.h: Likewise.
68563         * debug/execinfo.h: Likewise.
68564         * debug/mbsnrtowcs_chk.c: Likewise.
68565         * debug/mbsrtowcs_chk.c: Likewise.
68566         * debug/wcsnrtombs_chk.c: Likewise.
68567         * debug/wcsrtombs_chk.c: Likewise.
68568         * debug/wcstombs_chk.c: Likewise.
68569         * dirent/dirent.h: Likewise.
68570         * dlfcn/dlfcn.h: Likewise.
68571         * elf/neededtest4.c: Likewise.
68572         * grp/grp.h: Likewise.
68573         * gshadow/gshadow.h: Likewise.
68574         * iconv/gconv.h: Likewise.
68575         * iconv/gconv_int.h: Likewise.
68576         * iconv/gconv_simple.c: Likewise.
68577         * iconv/iconv.h: Likewise.
68578         * iconv/loop.c: Likewise.
68579         * iconv/skeleton.c: Likewise.
68580         * include/aio.h: Likewise.
68581         * include/aliases.h: Likewise.
68582         * include/argz.h: Likewise.
68583         * include/arpa/inet.h: Likewise.
68584         * include/assert.h: Likewise.
68585         * include/dirent.h: Likewise.
68586         * include/dlfcn.h: Likewise.
68587         * include/execinfo.h: Likewise.
68588         * include/fcntl.h: Likewise.
68589         * include/fenv.h: Likewise.
68590         * include/glob.h: Likewise.
68591         * include/grp.h: Likewise.
68592         * include/libintl.h: Likewise.
68593         * include/mntent.h: Likewise.
68594         * include/netdb.h: Likewise.
68595         * include/pwd.h: Likewise.
68596         * include/rpc/netdb.h: Likewise.
68597         * include/sched.h: Likewise.
68598         * include/search.h: Likewise.
68599         * include/shadow.h: Likewise.
68600         * include/signal.h: Likewise.
68601         * include/stdio.h: Likewise.
68602         * include/stdlib.h: Likewise.
68603         * include/string.h: Likewise.
68604         * include/sys/socket.h: Likewise.
68605         * include/sys/stat.h: Likewise.
68606         * include/sys/statfs.h: Likewise.
68607         * include/sys/statvfs.h: Likewise.
68608         * include/sys/syslog.h: Likewise.
68609         * include/sys/time.h: Likewise.
68610         * include/sys/uio.h: Likewise.
68611         * include/time.h: Likewise.
68612         * include/unistd.h: Likewise.
68613         * include/utmp.h: Likewise.
68614         * include/wchar.h: Likewise.
68615         * include/wctype.h: Likewise.
68616         * inet/aliases.h: Likewise.
68617         * inet/arpa/inet.h: Likewise.
68618         * inet/netinet/ether.h: Likewise.
68619         * inet/netinet/in.h: Likewise.
68620         * intl/libintl.h: Likewise.
68621         * io/bits/fcntl2.h: Likewise.
68622         * io/fcntl.h: Likewise.
68623         * io/ftw.h: Likewise.
68624         * io/sys/poll.h: Likewise.
68625         * io/sys/stat.h: Likewise.
68626         * io/sys/statfs.h: Likewise.
68627         * io/sys/statvfs.h: Likewise.
68628         * io/utime.h: Likewise.
68629         * libio/bits/stdio.h: Likewise.
68630         * libio/bits/stdio2.h: Likewise.
68631         * libio/libio.h: Likewise.
68632         * libio/libioP.h: Likewise.
68633         * libio/stdio.h: Likewise.
68634         * locale/lc-ctype.c: Likewise.
68635         * locale/locale.h: Likewise.
68636         * login/utmp.h: Likewise.
68637         * malloc/arena.c: Likewise.
68638         * malloc/malloc.c: Likewise.
68639         * malloc/malloc.h: Likewise.
68640         * malloc/mcheck.c: Likewise.
68641         * malloc/mtrace.c: Likewise.
68642         * math/bits/mathcalls.h: Likewise.
68643         * math/fenv.h: Likewise.
68644         * math/math_private.h: Likewise.
68645         * misc/bits/error.h: Likewise.
68646         * misc/bits/syslog.h: Likewise.
68647         * misc/err.h: Likewise.
68648         * misc/error.h: Likewise.
68649         * misc/fstab.h: Likewise.
68650         * misc/mntent.h: Likewise.
68651         * misc/regexp.h: Likewise.
68652         * misc/search.h: Likewise.
68653         * misc/sgtty.h: Likewise.
68654         * misc/sys/mman.h: Likewise.
68655         * misc/sys/syslog.h: Likewise.
68656         * misc/sys/uio.h: Likewise.
68657         * misc/sys/xattr.h: Likewise.
68658         * misc/ttyent.h: Likewise.
68659         * nis/rpcsvc/ypclnt.h: Likewise.
68660         * nss/nss.h: Likewise.
68661         * posix/bits/unistd.h: Likewise.
68662         * posix/fnmatch.h: Likewise.
68663         * posix/glob.h: Likewise.
68664         * posix/sched.h: Likewise.
68665         * posix/spawn.h: Likewise.
68666         * posix/sys/wait.h: Likewise.
68667         * posix/unistd.h: Likewise.
68668         * posix/wordexp.h: Likewise.
68669         * pwd/pwd.h: Likewise.
68670         * resolv/netdb.h: Likewise.
68671         * resource/sys/resource.h: Likewise.
68672         * rt/aio.h: Likewise.
68673         * rt/bits/mqueue2.h: Likewise.
68674         * rt/mqueue.h: Likewise.
68675         * shadow/shadow.h: Likewise.
68676         * signal/signal.h: Likewise.
68677         * socket/send.c: Likewise.
68678         * socket/sendto.c: Likewise.
68679         * socket/sys/socket.h: Likewise.
68680         * stdio-common/printf.h: Likewise.
68681         * stdlib/bits/stdlib.h: Likewise.
68682         * stdlib/fmtmsg.h: Likewise.
68683         * stdlib/monetary.h: Likewise.
68684         * stdlib/stdlib.h: Likewise.
68685         * stdlib/ucontext.h: Likewise.
68686         * streams/stropts.h: Likewise.
68687         * string/argz.h: Likewise.
68688         * string/bits/string2.h: Likewise.
68689         * string/string.h: Likewise.
68690         * string/strings.h: Likewise.
68691         * sunrpc/rpc/auth.h: Likewise.
68692         * sunrpc/rpc/auth_des.h: Likewise.
68693         * sunrpc/rpc/clnt.h: Likewise.
68694         * sunrpc/rpc/netdb.h: Likewise.
68695         * sunrpc/rpc/pmap_clnt.h: Likewise.
68696         * sunrpc/rpc/xdr.h: Likewise.
68697         * sysdeps/generic/inttypes.h: Likewise.
68698         * sysdeps/generic/net/if.h: Likewise.
68699         * sysdeps/generic/sys/swap.h: Likewise.
68700         * sysdeps/gnu/net/if.h: Likewise.
68701         * sysdeps/gnu/utmpx.h: Likewise.
68702         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
68703         * sysdeps/i386/i486/bits/string.h: Likewise.
68704         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
68705         * sysdeps/s390/bits/string.h: Likewise.
68706         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
68707         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
68708         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
68709         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
68710         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
68711         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
68712         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
68713         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
68714         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
68715         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
68716         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
68717         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
68718         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
68719         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
68720         * sysdeps/unix/sysv/linux/readv.c: Likewise.
68721         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
68722         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
68723         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
68724         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
68725         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
68726         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
68727         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
68728         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
68729         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
68730         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
68731         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
68732         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
68733         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
68734         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
68735         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
68736         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
68737         * sysvipc/sys/ipc.h: Likewise.
68738         * sysvipc/sys/msg.h: Likewise.
68739         * sysvipc/sys/sem.h: Likewise.
68740         * sysvipc/sys/shm.h: Likewise.
68741         * termios/termios.h: Likewise.
68742         * time/sys/time.h: Likewise.
68743         * time/time.h: Likewise.
68744         * wcsmbs/bits/wchar2.h: Likewise.
68745         * wcsmbs/uchar.h: Likewise.
68746         * wcsmbs/wchar.h: Likewise.
68747         * wctype/wctype.h: Likewise.
68749         [BZ #13551]
68750         * Makeconfig: Remove all but ELF support including AIX support.
68751         * Makerules: Likewise.
68752         * config.h.in: Likewise.
68753         * config.make.in: Likewise.
68754         * configure: Likewise.
68755         * configure.in: Likewise.
68756         * csu/Makefile: Likewise.
68757         * csu/version.c: Likewise.
68758         * debug/Makefile: Likewise.
68759         * dlfcn/Makefile: Likewise.
68760         * elf/Makefile: Likewise.
68761         * extra-lib.mk: Likewise.
68762         * iconv/Makefile: Likewise.
68763         * include/libc-symbols.h: Likewise.
68764         * include/shlib-compat.h: Likewise.
68765         * resolv/Makefile: Likewise.
68766         * resolv/res_libc.c: Likewise.
68767         * rt/Makefile: Likewise.
68768         * sysdeps/i386/asm-syntax.h: Likewise.
68769         * sysdeps/i386/sysdep.h: Likewise.
68770         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
68771         * sysdeps/mach/sysdep.h: Likewise.
68772         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
68773         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
68774         * sysdeps/s390/asm-syntax.h: Likewise.
68775         * sysdeps/s390/s390-32/sysdep.h: Likewise.
68776         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68777         * sysdeps/sh/sysdep.h: Likewise.
68778         * sysdeps/unix/sparc/sysdep.h: Likewise.
68779         * sysdeps/wordsize-32/divdi3.c: Likewise.
68780         * sysdeps/x86_64/sysdep.h: Likewise.
68782         * argp/Versions: Remove _argp_unlock_xxx.
68784         [BZ #13559]
68785         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
68786         * abilist/libBrokenLocale.abilist: Likewise.
68787         * abilist/libanl.abilist: Likewise.
68788         * abilist/libc.abilist: Likewise.
68789         * abilist/libcrypt.abilist: Likewise.
68790         * abilist/libdl.abilist: Likewise.
68791         * abilist/libm.abilist: Likewise.
68792         * abilist/libnsl.abilist: Likewise.
68793         * abilist/libpthread.abilist: Likewise.
68794         * abilist/libresolv.abilist: Likewise.
68795         * abilist/librt.abilist: Likewise.
68796         * abilist/libthread_db.abilist: Likewise.
68797         * abilist/libutil.abilist: Likewise.
68798         * abilist/libnss_db.abilist: New file.
68800         * scripts/abilist.awk: Add support for indirect functions.
68802         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
68804         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
68806         * shlib-versions: Remove entries for ports architectures.
68808         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
68809         files in ports.
68810         * elf/stackguard-macros.h: Remove support for IA-64.
68811         * elf/tst-auditmod1.c: Likewise.
68812         * sysdeps/generic/ldsodefs.h: Likewise.
68814         * sysdeps/unix/sysv/linux/configure.in: Ports should define
68815         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
68816         configure files.
68818         [BZ #13552]
68819         * configure.in: Remove --enable-omitfp support.
68820         * FAQ.in: Adjust.
68821         * config.make.in: Likewise.
68822         * Makeconfig: Likewise.
68823         * manual/install.texi: Likewise.
68825         In case anyone cares, the IA-64 architecture could move to ports.
68826         * sysdeps/ia64/*: Removed.
68827         * sysdeps/unix/sysv/linux/ia64/*: Removed.
68828         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
68830         [BZ #13555]
68831         * configure.in: Remove entries for unsupported architectures.
68833         [BZ #13533]
68834         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
68835         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
68836         routines.
68837         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
68838         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
68839         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
68840         fall back to using wcrtomb.
68841         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
68842         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
68843         renaming.
68844         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
68845         * wcsmbs/tst-c16c32-1.c: New file.
68847         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
68848         local variable.
68850         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
68852         * elf/tst-unique3.cc: Add explicit declaration of gets.
68853         * elf/tst-unique3lib.cc: Likewise.
68854         * elf/tst-unique3lib2.cc: Likewise.
68855         * elf/tst-unique4.cc: Likewise.
68857         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
68859 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
68861         [BZ #13566]
68862         * assert/assert.h (static_assert): Don't define for C++.
68863         * libio/stdio.h (gets): Do declare for C++ <= C++11.
68864         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
68866 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
68868         * iconv/loop.c (single loop): Fix assertion in storing of
68869         remaining bytes.
68871         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
68873 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
68875         * posix/getconf.c: Update copyright year.
68876         * nss/getent.c: Likewise.
68877         * nss/makedb.c: Likewise.
68878         * iconv/iconvconfig.c: Likewise.
68879         * iconv/iconv_prog.c: Likewise.
68880         * elf/ldconfig.c: Likewise.
68881         * elf/pldd.c: Likewise.
68882         * elf/sotruss.ksh: Likewise.
68883         * catgets/gencat.c: Likewise.
68884         * csu/version.c: Likewise.
68885         * elf/ldd.bash.in: Likewise.
68886         * elf/sprof.c (print_version): Likewise.
68887         * locale/programs/locale.c: Likewise.
68888         * locale/programs/localedef.c: Likewise.
68889         * login/programs/pt_chown.c: Likewise.
68890         * nscd/nscd.c (print_version): Likewise.
68891         * debug/xtrace.sh: Likewise.
68892         * malloc/memusage.sh: Likewise.
68893         * malloc/mtrace.pl: Likewise.
68894         * debug/catchsegv.sh: Likewise.
68896 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
68898         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
68899         pure attribute.
68901 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
68903         [BZ #13533]
68904         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
68905         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
68906         transformations.
68907         * iconv/gconv_int.h: Likewise.
68908         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
68909         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
68910         from libc for GLIBC_2.16.
68911         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
68912         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
68913         * wcsmbs/uchar.h: Really define mbstate_t.
68914         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
68915         * wcsmbs/c16rtomb.c: New file.
68916         * wcsmbs/mbrtoc16.c: New file.
68917         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
68918         for C/POSIX locale.
68919         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
68920         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
68922         * wcsmbs/wchar.h: Add missing __restrict.
68924 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68926         [BZ #13532]
68927         * time/Makefile (routines): Add timespec_get.
68928         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
68929         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
68930         timespec for ISO C11.
68931         * time/timespec_get.c: New file.
68932         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
68933         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
68935         [BZ #13531]
68936         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
68937         * stdlib/stdlib.h: Declare aligned_alloc.
68938         * Versions.def: Add GLIBC_2.16 for libc.
68939         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
68941         [BZ 13527]
68942         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
68943         ISO C11.
68945         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
68946         code.
68948         [BZ #13528]
68949         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
68951         [BZ #13529]
68952         * assert/assert.h (static_assert): Define.
68954         * version.h: Update for 2.16 development version.
68956         [BZ #13526]
68957         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
68958         _ISOC11_SOURCE.
68960         * version.h (RELEASE): Bump for 2.15 release.
68961         * include/features.h (__GLIBC_MINOR__): Bump to 15.
68963         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
68964         Patch by Marek Polacek <mpolacek@redhat.com>.
68966         * bits/byteswap.h: Protect long long constants with __extension__.
68967         * sysdeps/i386/bits/byteswap.h: Likewise.
68968         * sysdeps/ia64/bits/byteswap.h: Likewise.
68969         * sysdeps/s390/bits/byteswap.h: Likewise.
68970         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68972 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68974         [BZ #13540]
68975         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
68976         destination buffer.
68977         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
68979 2011-12-23  Marek Polacek  <polacek@redhat.com>
68981         * elf/dl-addr.c (determine_info): Add inline keyword.
68982         * elf/tst-auditmod4b.c (check_avx): Likewise.
68983         * elf/tst-auditmod6b.c (check_avx): Likewise.
68984         * elf/tst-auditmod6c.c (check_avx): Likewise.
68985         * elf/tst-auditmod7b.c (check_avx): Likewise.
68987 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
68989         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
68990         !__SSE_MATH__.
68992 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68994         [BZ #13540]
68995         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
68996         processing for last bytes.
68998 2011-08-06  Bruno Haible  <bruno@clisp.org>
69000         [BZ #13061]
69001         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
69002         U+0385, not to U+1FEE.
69004         [BZ #13062]
69005         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
69006         entry for U+00A5 U+0301.
69008 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69010         [BZ #13166]
69011         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
69012         buffer for the output is too small.
69014         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
69015         optimization.
69017         [BZ #13185]
69018         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
69019         SSE flags if possible.
69021 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69023         [BZ #13540]
69024         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
69025         processing for last bytes.
69027 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
69029         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
69030         (syscall-list-default-options, syscall-list-default-condition)
69031         (syscall-list-includes): Define.
69032         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
69033         list of ABIs and options and #if conditions for each ABI.  Do not
69034         handle common syscalls between ABIs specially.
69035         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
69036         Remove.
69037         (syscall-list-variants, syscall-list-32bit-options)
69038         (syscall-list-32bit-condition, syscall-list-64bit-options)
69039         (syscall-list-64bit-condition): Define.
69040         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
69041         (syscall-list-variants, syscall-list-32bit-options)
69042         (syscall-list-32bit-condition, syscall-list-64bit-options)
69043         (syscall-list-64bit-condition): Define.
69044         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
69045         Remove.
69046         (syscall-list-variants, syscall-list-32bit-options)
69047         (syscall-list-32bit-condition, syscall-list-64bit-options)
69048         (syscall-list-64bit-condition): Define.
69049         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
69050         Remove.
69051         (syscall-list-variants, syscall-list-32bit-options)
69052         (syscall-list-32bit-condition, syscall-list-64bit-options)
69053         (syscall-list-64bit-condition): Define.
69055 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
69057         * locale/iso-639.def: Add brx entry.
69059         [BZ #13328]
69060         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
69061         Proposed by Mariusz_Cukr <marcukr@op.pl>.
69063         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
69064         __feraiseexcept_renamed.
69066 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69068         [BZ #13538]
69069         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
69070         EPOLLET with unsigned values.
69071         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
69072         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
69074         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
69075         to large cancellation.
69076         * math/s_cacoshf.c: Likewise.
69077         * math/s_cacoshl.c: Likewise.
69079 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
69081         [BZ #13305]
69082         [BZ #12786]
69083         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
69084         * math/s_cacoshf.c: Likewise.
69085         * math/s_cacoshl.c: Likewise.
69087 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
69089         [BZ #13439]
69090         * iconv/gconv.h: Define __GCONV_SWAP.
69091         * iconvdata/unicode.c: The swap bit must be stored in __flags.
69092         * iconvdata/utf-16.c: Likewise.
69093         * iconvdata/utf-32.c: Likewise.
69095 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
69097         [BZ #13524]
69098         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
69099         numerator after shifting it by one limb.
69101 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
69103         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
69104         under [__USE_EXTERN_INLINES].
69106 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69108         [BZ #13446]
69109         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
69111 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69113         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
69114         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
69115         optimized code.
69116         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
69117         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
69118         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
69119         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
69120         for strncasecmp/strncasecmp_l compilation.
69121         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
69122         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
69124 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
69126         [BZ #13484]
69127         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
69128         of __asm__.
69130 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
69132         [BZ #13506]
69133         * time/tzfile.c (__tzfile_read): Check values from file header.
69135 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
69137         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
69138         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
69139         * powerpc/powerpc32/dl-start.S: Likewise.
69140         * powerpc/powerpc32/elf/start.S: Likewise.
69141         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
69142         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
69143         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
69144         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
69145         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
69146         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
69147         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
69148         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69149         * powerpc/powerpc32/fpu/s_round.S: Likewise.
69150         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
69151         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
69152         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
69153         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
69154         * powerpc/powerpc32/memset.S: Likewise.
69155         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
69156         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69157         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69158         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69159         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69160         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
69161         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
69162         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
69163         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
69164         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
69165         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
69166         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
69167         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
69169 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69171         * math/libm-test.inc: Added more nearbyint tests.
69172         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
69173         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
69174         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
69175         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
69177 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
69179         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
69180         FD_CLOEXEC.
69182 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69184         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
69185         Add wcscpy-ssse3 wcscpy-c.
69186         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
69187         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
69188         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
69189         * sysdeps/x86_64/wcschr.S: New file.
69190         * sysdeps/x86_64/wcsrchr.S: New file.
69191         * string/test-strcmp.c: Remove checking of wcscmp function for
69192         wrong alignments.
69193         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
69194         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
69195         wcsrchr-sse2 wcsrchr-c.
69196         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
69197         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
69198         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
69199         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
69200         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
69201         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
69202         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
69203         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
69204         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
69205         * wcsmbc/wcschr.c (WCSCHR): New macro.
69207 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69209         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
69210         * wcsmbs/test-wcsrchr.c: New file.
69211         * string/test-strrchr.c: Add wcsrchr support.
69212         (WIDE): New macro.
69213         * wcsmbs/test-wcscpy.c: New file.
69214         * string/test-strcpy.c: Add wcscpy support.
69215         (WIDE): New macro.
69217 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
69219         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
69220         the inner loop.
69222 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
69224         [BZ #13472]
69225         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
69227 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
69229         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
69230         Minor optimizations.
69232         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
69233         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
69234         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
69236 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
69238         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
69239         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
69240         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
69241         for gcc to avoid warnings.
69242         * inet/Makefile (tests): Add tst-checks.
69243         * inet/tst-checks.c: New file.
69245         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
69246         warning.
69248         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
69249         __wmemcmp_sse2.
69251         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
69252         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
69254         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
69256 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
69258         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
69259         problem.
69261         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
69263 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
69265         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
69266         conditional on GCC version.
69267         (__arch_compare_and_exchange_val_8_acq)
69268         (__arch_compare_and_exchange_val_16_acq)
69269         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
69270         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
69271         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
69273 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
69275         * sysdeps/sh/backtrace.c: New file.
69277 2011-12-02  Andreas Schwab  <schwab@redhat.com>
69279         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
69280         parenthesis.
69282 2011-12-01  Andreas Schwab  <schwab@redhat.com>
69284         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
69285         falling back to utime.
69287 2011-11-30  Andreas Schwab  <schwab@redhat.com>
69289         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
69290         expectations for float.
69292 2011-11-29  Andreas Schwab  <schwab@redhat.com>
69294         * locale/weight.h (findidx): Add parameter len.
69295         * locale/weightwc.h (findidx): Likewise.
69296         * posix/fnmatch_loop.c (FCT): Adjust caller.
69297         * posix/regcomp.c (build_equiv_class): Likewise.
69298         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
69299         * posix/regexec.c (check_node_accept_bytes): Likewise.
69300         * string/strcoll_l.c (STRCOLL): Likewise.
69301         * string/strxfrm_l.c (STRXFRM): Likewise.
69303 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
69305         * Makefile.in: Remove CVSOPT handling.
69306         * configure.in: Remove use of AC_REVISION.
69307         * iconvdata/Makefile (distribute): No need to filter out CVS.
69308         * scripts/list-sources.sh: Remove CVS, subversion and monotone
69309         handling.
69311 2011-11-16  Andreas Schwab  <schwab@redhat.com>
69313         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
69314         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
69315         [USE_AS_STRNCASECMP_L]: Likewise.
69316         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
69317         NO_TLS_DIRECT_SEG_REFS.
69318         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
69319         Fix argument offsets for non-PIC.
69320         [USE_AS_STRNCASECMP_L]: Likewise.
69321         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
69322         NO_TLS_DIRECT_SEG_REFS.
69324 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69326         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
69327         O_CLOEXEC.
69328         * locale/loadlocale.c (_nl_load_locale): Likewise.
69330 2011-11-15  Andreas Schwab  <schwab@redhat.com>
69332         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
69333         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
69334         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
69335         (SYSCALL_GETTIME): Set errno on error.
69337         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
69338         count references to noai6ai_cached.
69340 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
69342         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
69344         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
69345         FD_CLOEXEC for /proc/self/maps.
69347         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
69348         FD_CLOEXEC for /proc/meminfo.
69350         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
69351         gai.conf.
69353         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
69354         FD_CLOEXEC for given file.
69356         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
69358         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
69359         FD_CLOEXEC for /etc/hosts.
69360         (_gethtent): Likewise.
69362         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
69364         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
69365         cancellation and set FD_CLOEXEC for /etc/netgroup.
69367         * nss/nss_files/files-key.c (search): Don't allow cancellation when
69368         reading /etc/publickey.
69370         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
69371         allow cancellation when reading /etc/group.
69373         * nss/nss_files/files-alias.c (internal_setent): Don't allow
69374         cancellation.
69375         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
69377         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
69378         when using data file.
69380         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
69382         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
69383         (write_nis_obj): Use "c" and "e" in fopen.
69385         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
69387         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
69389         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
69391         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
69393         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
69394         locale.alias.
69396         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
69398         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
69400         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
69402         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
69403         file parsing and set FD_CLOEXEC.
69405 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69407         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
69409 2011-11-14  Andreas Schwab  <schwab@redhat.com>
69411         * malloc/arena.c (arena_get2): Don't call reused_arena when
69412         _int_new_arena failed.
69414 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
69416         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
69417         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
69418         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
69419         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
69420         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
69421         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
69422         to compile strcasecmp and strncasecmp.
69423         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
69424         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
69426         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
69428 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
69430         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
69431         locale-defines.sym to gen-as-const-headers.
69432         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
69433         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
69434         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
69435         to compile strcasecmp and strncasecmp.
69436         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
69437         strcasecmp_l and strncasecmp_l.
69438         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
69439         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
69440         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
69441         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
69442         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
69443         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
69444         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
69445         * sysdeps/i386/i686/multiarch/strncase.S: New file.
69446         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
69447         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
69448         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
69450 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
69452         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
69453         result of SYSDEP_GETTIME_CPU to retval.
69454         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
69455         parameter list to macro.  Remove trailing semicolon.  Adjust users.
69457         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
69458         variable.
69460         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
69461         mantissa words.
69462         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
69464         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
69465         from unused variable.
69467         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
69468         DWARF definitions.
69469         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
69470         for assembling.
69472         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
69473         over namespaces.
69475         * sunrpc/rpc_prot.c (rejected): Fix case value.
69477         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
69478         unsigned long long int to avoid warnings in shift.
69480         * posix/regex_internal.c (re_string_reconstruct): Actually use result
69481         of use of trans.
69482         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
69483         variable tmp.
69485         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
69486         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
69487         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
69489         * nis/nis_table.c (nis_list): Use variable of correct type for
69490         result of __follow_path call.
69492 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69494         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
69495         of math functions ceil, trunc, floor, round, and sqrt, when
69496         avaliable on the platform.
69497         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
69498         name clash.
69499         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
69500         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
69501         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
69503 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
69505         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
69506         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
69508 2011-11-11  Roland McGrath  <roland@hack.frob.com>
69510         * include/unistd.h: Fix __readlink return type.
69511         Reported by Chris Metcalf <cmetcalf@tilera.com>.
69513 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
69515         * stdlib/ucontext.h: Undo last change for makecontext.
69517 2011-11-11  Andreas Schwab  <schwab@redhat.com>
69519         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
69521         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
69522         * setjmp/setjmp.h: Mark functions as non-leaf.
69523         * setjmp/bits/setjmp2.h: Likewise.
69524         * stdlib/ucontext.h: Likewise.
69526 2011-11-10  Andreas Schwab  <schwab@redhat.com>
69528         * malloc/arena.c (_int_new_arena): Don't increment narenas.
69529         (reused_arena): Don't check arena limit.
69530         (arena_get2): Atomically check arena limit.
69532 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
69534         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
69535         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
69537         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
69538         instructions.
69540 2011-11-07  Andreas Schwab  <schwab@redhat.com>
69542         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
69543         handler when locking.
69545         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
69546         Fix size of allocated buffer.
69548 2011-11-04  Andreas Schwab  <schwab@redhat.com>
69550         [BZ #10103]
69551         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
69552         declarations for long double functions.
69553         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
69555         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
69557 2011-11-03  Andreas Schwab  <schwab@redhat.com>
69559         * nscd/nscd.c (main): Don't start AVC thread until credentials are
69560         installed.
69562         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
69563         is disabled.
69565 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69567         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
69569 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
69571         * include/alloca.h (stackinfo_alloca_round): Define.
69572         (extend_alloca): Use it.
69573         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
69574         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
69575         here.
69577         * scripts/check-local-headers.sh: Ignore libaudit.h.
69579         * nscd/Makefile (extra-objs): Make recursively expanded.
69581 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
69583         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
69584         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
69586         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
69587         * posix/tst-rfc3484-2.c: Likewise.
69588         * posix/tst-rfc3484-3.c: Likewise.
69590         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
69591         process_vm_writev.
69592         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
69593         process_vm_writev.
69594         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
69595         process_vm_writev from libc using GLIBC_2.15 version.
69597         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
69599 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
69601         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
69602         stack usage.
69604 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
69606         [BZ #13367]
69607         * nss/getent.c (initgroups_keys): Show error message in case no group
69608         names are given.
69610         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
69611         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
69612         __bump_nl_timestamp.
69613         * nscd/connections (nscd_init): When host database is served open
69614         netlink socket and request notification about configuration changes.
69615         (main_loop_poll): Track netlink file descriptor and bump timestamp
69616         in case data becomes available.
69617         (main_loop_epoll): Likewise.
69618         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
69619         (database_pers_head): Add extra_data fileds.
69620         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
69621         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
69622         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
69623         Adjust caller.
69624         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
69625         in6ai data, call __free_in6ai.
69626         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
69627         Add -DHAVE_NETLINK.
69628         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
69629         interface information.  Reuse previous data if netlink timestamp
69630         is not changed.
69631         (__bump_nl_timestamp): New function.
69632         (__free_in6ai): New function.
69634 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
69636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
69637         close_not_cancel_no_status here.
69638         (__check_pf): Reorganize code a bit to not call close twice if OOM.
69640 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69642         [BZ #13276]
69643         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
69644         return value.
69646         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
69647         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
69648         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
69650 2011-07-03  Andreas Jaeger  <aj@suse.de>
69652         [BZ #10709]
69653         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
69654         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
69655         * math/libm-test.inc (sin_test): Add test case.
69657 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
69659         [BZ #13337]
69660         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
69661         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69663         * elf/chroot_canon.c (chroot_canon): Cleanups.
69665         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
69667         [BZ #13335]
69668         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
69669         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
69671         * string/test-strchr.c: Make usable for strchrnul testing.
69672         * string/test-strchrnul.c: New file.
69673         * string/Makefile (strop-tests): Add strchrnul.
69675         * po/it.po: Update from translation team.
69676         * po/es.po: Likewise.
69678 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
69680         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
69681         the three constants needed as parameters.  Drop the others.
69682         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
69683         __m128i_strloadu_tolower.
69684         Create and initialize variable zero and use it in all the places
69685         where _mm_setzero_si128 was used.
69687         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
69688         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
69689         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
69690         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
69691         anymore.
69692         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
69693         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
69694         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
69695         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
69696         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
69697         __mpranred, __mptan.
69698         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
69699         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
69700         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
69701         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
69702         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
69703         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
69704         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
69705         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
69706         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
69708 2011-10-28  Andreas Schwab  <schwab@redhat.com>
69710         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
69711         redefine if SHARED.
69712         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
69714         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
69715         wide char related routines to wcsmbs subdir.
69717 2011-10-27  Andreas Schwab  <schwab@redhat.com>
69719         [BZ #13344]
69720         * misc/sys/cdefs.h (__THROWNL): Define.
69721         * posix/unistd.h: Use __THREADNL instead of __THREAD
69722         for memory synchronization functions.
69724 2011-10-26  Roland McGrath  <roland@hack.frob.com>
69726         [BZ #13349]
69727         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
69728         doesn't exist.
69729         * manual/stdio.texi (Obstack Streams): Node removed.
69731 2011-10-26  Andreas Schwab  <schwab@redhat.com>
69733         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
69734         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69735         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69737         * math/math_private.h (math_force_eval): Allow non-addressable
69738         arguments.
69739         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
69741 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69743         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
69744         file is not needed.
69746         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
69747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
69748         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
69749         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
69750         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
69751         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
69752         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
69753         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
69754         Add AVX variants.
69755         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
69756         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
69757         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
69758         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
69759         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
69760         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
69761         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
69762         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
69763         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
69764         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
69765         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
69766         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
69767         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
69768         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
69769         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
69770         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
69771         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
69772         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
69773         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
69775         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
69776         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
69778         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
69779         place.  Use VEX encoding when compiling for AVX.
69781 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69783         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
69784         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
69786         * string/test-strchr.c (do_test): Don't generate NUL bytes.
69788 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69790         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
69791         useless if() expression.
69792         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69793         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69794         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69796         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69797         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69798         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69799         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69800         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69801         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69802         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69803         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69804         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69805         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69806         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69807         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69808         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69809         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69810         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69812         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
69814 2011-10-25  Andreas Schwab  <schwab@redhat.com>
69816         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
69817         condition.
69818         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69820 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
69822         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
69823         .text section.  Avoid duplicate constants.
69824         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69826         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69828         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69829         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69830         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69831         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69832         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
69833         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
69834         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
69835         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
69836         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
69837         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
69838         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
69839         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
69840         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
69841         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
69842         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69843         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69844         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69845         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69846         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69847         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
69848         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
69849         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
69850         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
69851         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
69852         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
69853         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
69854         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
69855         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
69856         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
69857         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
69858         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
69859         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
69860         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
69861         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
69862         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
69863         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
69864         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
69865         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
69866         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
69867         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
69868         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
69870 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
69872         * sysdeps/x86_64/dla.h: Move to ...
69873         * sysdeps/x86_64/fpu/dla.h: ...here.
69874         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
69875         situations.  Use __builtin_fma only for gcc 4.6 and up.
69877         * config.make.in: Add have-mfma4 entry.
69878         * configure.in: Substitute libc_cv_cc_fma4.
69879         * math/Makefile (dbl-only-routines): Add sincostab.
69880         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
69881         Use __sincostab not sincos.
69882         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
69883         name is a macro.
69884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69885         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69886         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
69888         using __copysign.
69889         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
69890         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
69891         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
69892         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
69893         and __inv.
69894         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
69895         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
69896         __copysign.
69897         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
69898         define aliases when function name is a macro.
69899         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
69900         sysdeps/ieee754/dbl-64/sincos.tbl.
69901         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
69902         fma4-enabled routines.
69903         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
69904         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
69905         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
69906         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
69907         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
69908         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
69909         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
69910         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
69911         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
69912         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
69913         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
69914         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
69915         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
69916         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
69917         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
69918         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
69919         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
69920         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
69921         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
69922         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
69923         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
69924         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
69925         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
69926         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
69927         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
69928         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
69929         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
69930         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
69931         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
69932         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
69934         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
69935         rename.
69936         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69937         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69938         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69939         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69940         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69941         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69942         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69943         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69945 2011-10-24  Andreas Schwab  <schwab@redhat.com>
69947         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
69949 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
69951         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
69953         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
69954         prediction.
69955         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
69957         * string/strnlen.c: Don't define STRNLEN, reverse logic.
69958         Remove unused variable magic_bits.
69959         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
69961         * string/strnlen.c: Define and use STRNLEN macro.
69962         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
69963         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
69964         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
69965         * wcsmbs/wcslen.c: Define and use WCSLEN.
69966         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
69967         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
69968         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
69969         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
69970         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
69971         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
69972         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
69974 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
69977         strnlen-sse2-no-bsf.
69978         Rename strlen-no-bsf to strlen-sse2-no-bsf.
69979         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
69980         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
69981         Add strnlen support.
69982         (USE_AS_STRNLEN): New macro.
69983         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
69984         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
69985         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
69986         * sysdeps/x86_64/wcslen.S: New file.
69988 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
69990         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
69991         XMM-moves are used for copying on small sizes.
69993 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69995         * wcsmbs/Makefile (strop-tests): Add wcschr.
69996         * wcsmbs/test-wcschr.c: New file.
69997         * string/test-strchr.c: Update.
69998         Add wcschr support.
69999         (WIDE): New macro.
70001 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70003         * wcsmbs/Makefile (strop-tests): Add wcslen.
70004         * wcsmbs/test-wcslen.c: New file.
70005         * string/test-strlen.c: Update.
70006         Add wcslen support.
70007         (WIDE): New macro.
70009 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70011         * po/it.po: Update from translation team.
70013 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70015         * sysdeps/x86_64/wcscmp.S: Update.
70016         Fix wrong comparison semantics.
70017         wcscmp shall use signed comparison not unsigned.
70018         Don't use substraction to avoid overflow bug.
70019         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
70020         * wcsmbc/wcscmp.c: Likewise.
70021         * string/test-strcmp.c: Likewise.
70022         Add new tests to check cases with negative values.
70024 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
70026         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
70027         * sysdeps/x86_64/dla.h: ...here.  New file.
70028         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
70029         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70030         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70031         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70032         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70033         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70034         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70035         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70036         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70038 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
70040         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
70041         __ynl_finite aliases.
70043 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70047         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
70048         define DLA_FMA.
70049         [DLA_FMA] (EMULV): Use DLA_FMA.
70050         [DLA_FMA] (MUL12): Use EMULV.
70051         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
70052         that are not needed.
70053         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
70054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70055         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70056         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70057         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70058         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70061 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
70063         * math/s_nan.c: Undef __nan.
70064         * math/s_nanf.c: Undef __nanf.
70065         * math/s_nanl.c: Undef __nanl.
70066         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
70067         "math_private.h".
70069 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
70071         * math/s_catan.c: Add branch predictions.
70072         * math/s_catanf.c: Likewise.
70073         * math/s_catanh.c: Likewise.
70074         * math/s_catanhf.c: Likewise.
70075         * math/s_catanhl.c: Likewise.
70076         * math/s_catanl.c: Likewise.
70077         * math/s_cexp.c: Likewise.
70078         * math/s_cexpf.c: Likewise.
70079         * math/s_cexpl.c: Likewise.
70080         * math/s_clog.c: Likewise.
70081         * math/s_clog10.c: Likewise.
70082         * math/s_clog10f.c: Likewise.
70083         * math/s_clog10l.c: Likewise.
70084         * math/s_clogf.c: Likewise.
70085         * math/s_clogl.c: Likewise.
70086         * math/s_csqrt.c: Likewise.
70087         * math/s_csqrtf.c: Likewise.
70088         * math/s_csqrtl.c: Likewise.
70089         * math/s_ctanf.c: Likewise.
70090         * math/s_ctanh.c: Likewise.
70091         * math/s_ctanhf.c: Likewise.
70092         * math/s_ctanhl.c: Likewise.
70093         * math/s_ctanl.c: Likewise.
70095         * math/math_private.h: Define __nan, __nanf, __nanl.
70096         * math/s_cacosh.c: Include <math_private.h>.
70097         * math/s_cacoshl.c: Likewise.
70098         * math/s_casinh.c: Likewise.
70099         * math/s_casinhf.c: Likewise.
70100         * math/s_casinhl.c: Likewise.
70101         * math/s_ccos.c: Rely entire on ccosh.
70102         * math/s_ccosf.c: Rely entire on ccoshf.
70103         * math/s_ccosl.c: Rely entirely on ccoshl.
70104         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
70105         Remove tests for FE_INVALID.
70106         * math/s_ccoshf.c: Likewise.
70107         * math/s_ccoshl.c: Likewise.
70108         * math/s_csin.c: Likewise.
70109         * math/s_csinf.c: Likewise.
70110         * math/s_csinh.c Likewise.
70111         * math/s_csinhf.c: Likewise.
70112         * math/s_csinhl.c: Likewise.
70113         * math/s_csinl.c: Likewise.
70114         * math/s_ctan.c: Likewise.
70115         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
70116         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
70117         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
70119 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
70121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
70122         compilation problems.
70124         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
70125         __builtin_expect.
70127 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
70129         * sysdeps/i386/configure.in: Test for -mfma4 option.
70130         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
70131         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
70132         COMMON_CPUID_INDEX_80000001.
70133         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
70134         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
70135         use it if FMA3 is not supported.
70136         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
70138         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
70139         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
70141 2011-10-20  Andreas Schwab  <schwab@redhat.com>
70143         [BZ #12892]
70144         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
70145         it would create a cycle with a link time dependency.
70147 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
70149         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
70150         instruction.
70151         * string/Makefile (strop-tests): Add rawmemchr.
70152         * string/test-rawmemchr.c: New file.
70154         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
70155         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
70156         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
70157         when compiling str{,n}casecmp and when AVX is available.  Hook up
70158         new optimized code in initializers.
70160 2011-10-19  Andreas Schwab  <schwab@redhat.com>
70162         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
70163         __feraiseexcept instead of feraiseexcept.
70165 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
70167         * math/math_private.h: Define defaults for libc_fetestexcept and
70168         libc_feupdateenv.
70169         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
70170         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
70171         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70172         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70173         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70174         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70175         libc_fetestexcept and libc_feupdateenv.
70177         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
70178         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
70179         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
70180         * sysdeps/x86_64/fpu/math_private.h: Define special version of
70181         libc_feholdexcept_setround.
70183         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
70184         Add s_nearbyint-c and s_nearbyintf-c.
70185         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
70186         nearbyintf inlines.
70187         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
70188         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
70189         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
70190         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
70192         * math/math_private.h: Define defaults for libc_fegetround,
70193         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
70194         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
70195         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
70196         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
70197         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
70198         standard functions.
70199         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70200         Remove comments and hacks for old compiler versions.
70201         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
70202         libc_fegetround, libc_fesetround, libc_feholdexcept, and
70203         libc_feholdexceptl.
70205 2011-10-18  Andreas Schwab  <schwab@redhat.com>
70207         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
70208         (__feraiseexcept_renamed): Add __NTH.
70209         (feraiseexcept): Add __NTH.  Rename local variables to fix
70210         namespace violations.
70212 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
70214         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
70216         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
70218         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
70219         recently added interfaces.
70220         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
70222         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
70223         about macro parameter expansion.
70225         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
70226         __NO_MATH_INLINES is defined.  Cleanups.
70228         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
70229         and __floorf is target has SSE4.1.
70230         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
70231         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
70232         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
70233         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
70235         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
70236         name.
70237         (floorf): Likewise.
70239         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
70241 2011-10-17  Andreas Schwab  <schwab@redhat.com>
70243         * misc/sys/cdefs.h: Fix last change.
70245         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
70246         database lookup.
70248 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
70250         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
70252         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
70253         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
70254         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
70255         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
70256         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
70257         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
70258         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
70259         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
70260         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70261         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
70262         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
70263         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
70264         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
70265         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
70266         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
70267         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
70268         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
70269         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
70270         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
70271         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
70272         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
70273         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
70275         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
70276         ceil, ceilf, floor, floorf.
70278         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
70279         Perform IRELATIVE relocations last.
70281         * elf/do-rel.h: Add another parameter nrelative, replacing the
70282         local variable with the same name.  Change name of the function
70283         to end in Rel or Rela (uppercase).
70284         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
70285         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
70286         elf_dynamic_do_##reloc function.
70288 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70290         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
70291         is sufficient, at least on modern CPUs.
70293         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
70295         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
70296         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
70298         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
70299         __expl_finite.
70300         * math/bits/math-finite.h: Add entries for exp.
70301         * math/e_expl.c: Add __*_finite alias.
70302         * sysdeps/i386/fpu/e_exp.S: Likewise.
70303         * sysdeps/i386/fpu/e_expf.S: Likewise.
70304         * sysdeps/i386/fpu/e_expl.c: Likewise.
70305         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70306         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
70307         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
70308         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
70309         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
70310         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70311         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70313         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
70314         is sufficient, at least on modern CPUs.
70316         * ctype/ctype-info.c (__ctype_init): Define.
70317         * include/ctype.h (__ctype_init): Declare.
70318         (__ctype_b_loc): The variable is always initialized.
70319         (__ctype_toupper_loc): Likewise.
70320         (__ctype_tolower_loc): Likewise.
70321         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
70322         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
70324 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
70326         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
70328         * configure.in: Also look in $cxxmachine/include for C++ system
70329         headers.
70331 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70333         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
70334         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
70335         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
70336         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
70337         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
70338         (USE_AS_WMEMCMP): New macro.
70339         Fixing indents.
70340         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
70341         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
70342         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
70343         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
70344         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70345         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
70346         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
70347         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
70348         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
70349         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
70350         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
70351         (USE_AS_WMEMCMP): New macro.
70352         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
70353         * sysdeps/string/test-memcmp.c: Update.
70354         Fix simple_wmemcmp.
70355         Add new tests.
70356         * wcsmbs/wmemcmp.c: Update.
70357         (WMEMCMP): New macro.
70358         Fix overflow bug.
70360 2011-10-12  Andreas Jaeger  <aj@suse.de>
70362         [BZ #13268]
70363         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
70365 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
70367         * libio/iofwide.c (do_length): Avoid warning.
70369         * ctype/ctype.h (__isctype_f): Add missing __THROW.
70371 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
70373         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
70375         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
70376         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
70377         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
70378         * sysdeps/i386/i686/fpu/e_log.S: New file.
70379         * sysdeps/i386/i686/fpu/e_logf.S: New file.
70380         * sysdeps/i386/i686/fpu/e_logl.S: New file.
70382         * ctype/ctype.h: Add support for inlined isXXX functions when
70383         compiling C++ code.
70385 2011-10-14  Andreas Schwab  <schwab@redhat.com>
70387         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70389         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
70391 2011-10-13  Roland McGrath  <roland@hack.frob.com>
70393         [BZ #13291]
70394         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
70396 2011-10-13  Andreas Schwab  <schwab@redhat.com>
70398         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
70399         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
70400         feraiseexcept.
70402         * sysdeps/x86_64/memrchr.S: Check for zero size.
70404         * string/stratcliff.c: Add memrchr tests.
70406 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70408         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
70409         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
70410         rawmemchr-sse2 rawmemchr-sse2-bsf.
70411         * sysdeps/i386/i686/multiarch/memchr.S: New file.
70412         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
70413         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
70414         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
70415         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
70416         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
70417         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
70418         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
70419         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
70420         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
70421         * string/memrchr.c (MEMRCHR): New macro.
70423 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
70425         Add integration with gcc's -ffinite-math-only and optimize wrapper
70426         functions in libm.
70427         * Versions.def: Define GLIBC_2.15 version for libm.
70428         * math/Makefile (headers): Add bits/math-finite.h.
70429         * math/bits/math-finite.h: New file.
70430         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
70431         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
70432         * math/e_acoshl.c: Add __*_finite alias.
70433         * math/e_acosl.c: Likewise.
70434         * math/e_asinl.c: Likewise.
70435         * math/e_atan2l.c: Likewise.
70436         * math/e_atanhl.c: Likewise.
70437         * math/e_coshl.c: Likewise.
70438         * math/e_exp10.c: Likewise.
70439         * math/e_exp10f.c: Likewise.
70440         * math/e_exp10l.c: Likewise.
70441         * math/e_exp2l.c: Likewise.
70442         * math/e_fmodl.c: Likewise.
70443         * math/e_gammal_r.c: Likewise.
70444         * math/e_hypotl.c: Likewise.
70445         * math/e_j0l.c: Likewise.
70446         * math/e_j1l.c: Likewise.
70447         * math/e_jnl.c: Likewise.
70448         * math/e_lgammal_r.c: Likewise.
70449         * math/e_log10l.c: Likewise.
70450         * math/e_log2l.c: Likewise.
70451         * math/e_logl.c: Likewise.
70452         * math/e_powl.c: Likewise.
70453         * math/e_sinhl.c: Likewise.
70454         * math/e_sqrtl.c: Likewise.
70455         * math/e_scalb.c: Completely rewritten and optimized.
70456         * math/e_scalbf.c: Likewise.
70457         * math/e_scalbl.c: Likewise.
70458         * math/w_acos.c: Likewise.
70459         * math/w_acosf.c: Likewise.
70460         * math/w_acosl.c: Likewise.
70461         * math/w_acosh.c: Likewise.
70462         * math/w_acoshf.c: Likewise.
70463         * math/w_acoshl.c: Likewise.
70464         * math/w_asin.c: Likewise.
70465         * math/w_asinf.c: Likewise.
70466         * math/w_asinl.c: Likewise.
70467         * math/w_atan2.c: Likewise.
70468         * math/w_atan2f.c: Likewise.
70469         * math/w_atan2l.c: Likewise.
70470         * math/w_atanh.c: Likewise.
70471         * math/w_atanhf.c: Likewise.
70472         * math/w_atanhl.c: Likewise.
70473         * math/w_exp10.c: Likewise.
70474         * math/w_exp10f.c: Likewise.
70475         * math/w_exp10l.c: Likewise.
70476         * math/w_fmod.c: Likewise.
70477         * math/w_fmodf.c: Likewise.
70478         * math/w_fmodl.c: Likewise.
70479         * math/w_j0.c: Likewise.
70480         * math/w_j0f.c: Likewise.
70481         * math/w_j0l.c: Likewise.
70482         * math/w_j1.c: Likewise.
70483         * math/w_j1f.c: Likewise.
70484         * math/w_j1l.c: Likewise.
70485         * math/w_jn.c: Likewise.
70486         * math/w_jnf.c: Likewise.
70487         * math/w_log.c: Likewise.
70488         * math/w_logf.c: Likewise.
70489         * math/w_logl.c: Likewise.
70490         * math/w_log10.c: Likewise.
70491         * math/w_log10f.c: Likewise.
70492         * math/w_log10l.c: Likewise.
70493         * math/w_log2.c: Likewise.
70494         * math/w_log2f.c: Likewise.
70495         * math/w_log2l.c: Likewise.
70496         * math/w_pow.c: Likewise.
70497         * math/w_powf.c: Likewise.
70498         * math/w_powl.c: Likewise.
70499         * math/w_remainder.c: Likewise.
70500         * math/w_remainderf.c: Likewise.
70501         * math/w_remainderl.c: Likewise.
70502         * math/w_scalb.c: Likewise.
70503         * math/w_scalbf.c: Likewise.
70504         * math/w_scalbl.c: Likewise.
70505         * math/w_sqrt.c: Likewise.
70506         * math/w_sqrtf.c: Likewise.
70507         * math/w_sqrtl.c: Likewise.
70508         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
70509         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
70510         used.
70511         * math/math_private.h: Declare __kernel_standard_f.
70512         * math/w_cosh.c: Remove cruft and optimize a bit.
70513         * math/w_coshf.c: Likewise.
70514         * math/w_coshl.c: Likewise.
70515         * math/w_exp2.c: Likewise.
70516         * math/w_exp2f.c: Likewise.
70517         * math/w_exp2l.c: Likewise.
70518         * math/w_hypot.c: Likewise.
70519         * math/w_hypotf.c: Likewise.
70520         * math/w_hypotl.c: Likewise.
70521         * math/w_lgamma.c: Likewise.
70522         * math/w_lgamma_r.c: Likewise.
70523         * math/w_lgammaf.c: Likewise.
70524         * math/w_lgammaf_r.c: Likewise.
70525         * math/w_lgammal.c: Likewise.
70526         * math/w_lgammal_r.c: Likewise.
70527         * math/w_sinh.c: Likewise.
70528         * math/w_sinhf.c: Likewise.
70529         * math/w_sinhl.c: Likewise.
70530         * math/w_tgamma.c: Likewise.
70531         * math/w_tgammaf.c: Likewise.
70532         * math/w_tgammal.c: Likewise.
70533         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70534         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70535         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
70536         Minor optimizations.  Pretty printing.  Remove cruft.
70537         * sysdeps/i386/fpu/e_acosf.S: Likewise.
70538         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70539         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70540         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70541         * sysdeps/i386/fpu/e_acosl.c: Likewise.
70542         * sysdeps/i386/fpu/e_asin.S: Likewise.
70543         * sysdeps/i386/fpu/e_asinf.S: Likewise.
70544         * sysdeps/i386/fpu/e_atan2.S: Likewise.
70545         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
70546         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
70547         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70548         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70549         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70550         * sysdeps/i386/fpu/e_exp10.S: Likewise.
70551         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
70552         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
70553         * sysdeps/i386/fpu/e_exp2.S: Likewise.
70554         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
70555         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
70556         * sysdeps/i386/fpu/e_fmod.S: Likewise.
70557         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
70558         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
70559         * sysdeps/i386/fpu/e_hypot.S: Likewise.
70560         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
70561         * sysdeps/i386/fpu/e_log.S: Likewise.
70562         * sysdeps/i386/fpu/e_log10.S: Likewise.
70563         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70564         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70565         * sysdeps/i386/fpu/e_log2.S: Likewise.
70566         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70567         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70568         * sysdeps/i386/fpu/e_logf.S: Likewise.
70569         * sysdeps/i386/fpu/e_logl.S: Likewise.
70570         * sysdeps/i386/fpu/e_pow.S: Likewise.
70571         * sysdeps/i386/fpu/e_powf.S: Likewise.
70572         * sysdeps/i386/fpu/e_powl.S: Likewise.
70573         * sysdeps/i386/fpu/e_remainder.S: Likewise.
70574         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
70575         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
70576         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70577         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70578         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70579         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
70580         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
70581         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
70582         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
70583         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
70584         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
70585         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
70586         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
70587         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
70588         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
70589         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
70590         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
70591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
70592         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
70593         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
70594         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70595         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
70596         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
70597         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70598         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70599         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
70600         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70601         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70602         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
70603         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
70604         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
70605         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
70606         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
70607         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
70608         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
70609         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
70610         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
70611         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
70612         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
70613         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
70614         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
70615         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
70616         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
70617         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
70618         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
70619         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
70620         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
70621         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
70622         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
70623         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
70624         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70625         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70626         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70627         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70628         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70629         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70630         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70631         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
70632         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70633         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70634         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70637         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70638         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70639         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70640         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70641         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70642         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70643         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70644         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70646         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70648         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70650         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
70651         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70652         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70656         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70657         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70658         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70659         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70660         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70661         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70662         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70663         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70664         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
70665         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70666         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70667         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70668         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70669         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70670         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70671         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70672         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70673         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70674         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70675         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
70676         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
70677         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
70678         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
70679         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
70680         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
70681         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
70682         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
70683         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
70684         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
70685         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
70686         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70687         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70688         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70689         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70690         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
70691         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70692         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
70693         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
70694         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
70695         (__isnanf): Likewise.
70696         (__isinf_ns): Likewise.
70697         (__isinf_nsf): Likewise.
70698         (__finite): Likewise.
70699         (__finitef): Likewise.
70700         (__ieee754_sqrt): Define as macro.
70701         (__ieee754_sqrtf): Define as macro.
70702         (__ieee754_sqrtl): Define as macro.
70703         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
70704         inlined copy.
70705         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
70706         __FINITE_MATH_ONLY__ consistent.
70707         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
70709 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
70711         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
70712         of rawmemchr.
70714         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
70716 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
70718         * po/ja.po: Update from translation team.
70720 2011-10-08  Roland McGrath  <roland@hack.frob.com>
70722         * locale/programs/locarchive.c (prepare_address_space): New function.
70723         (create_archive, enlarge_archive, open_archive): Use it.
70725         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
70726         inside [SHARED], where it is used.
70728         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
70730         * nss/getent.c (netgroup_keys): Remove unused variable.
70731         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
70733 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
70735         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
70736         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
70737         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
70738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
70739         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
70740         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
70741         * math/Makefile (libm-calls): Add s_isinf_ns.
70742         * math/divtc3.c: Use __isinf_nsl instead of isinf.
70743         * math/multc3.c: Likewise.
70744         * math/s_casin.c: Likewise.
70745         * math/s_casinf.c: Likewise.
70746         * math/s_casinl.c: Likewise.
70747         * math/s_ccos.c: Likewise.
70748         * math/s_ccosf.c: Likewise.
70749         * math/s_ccosl.c: Likewise.
70750         * math/s_ctan.c: Likewise.
70751         * math/s_ctanf.c: Likewise.
70752         * math/s_ctanh.c: Likewise.
70753         * math/s_ctanhf.c: Likewise.
70754         * math/s_ctanhl.c: Likewise.
70755         * math/s_ctanl.c: Likewise.
70756         * math/w_fmod.c: Likewise.
70757         * math/w_fmodf.c: Likewise.
70758         * math/w_fmodl.c: Likewise.
70759         * math/w_remainder.c: Likewise.
70760         * math/w_remainderf.c: Likewise.
70761         * math/w_remainderl.c: Likewise.
70762         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
70763         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
70764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
70765         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
70766         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
70767         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
70768         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
70769         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
70771         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
70772         of the number.
70773         * stdio-common/printf_fphex.c: Likewise.
70774         * stdio-common/printf_size.c: Likewise.
70776         * math/e_exp10.c: Include math_private.h using <...> not "...".
70777         * math/e_exp10f.c: Likewise.
70778         * math/e_exp10l.c: Likewise.
70779         * math/e_exp2l.c: Likewise.
70780         * math/e_j0l.c: Likewise.
70781         * math/e_j1l.c: Likewise.
70782         * math/e_jnl.c: Likewise.
70783         * math/e_lgammal_r.c: Likewise.
70784         * math/e_rem_pio2l.c: Likewise.
70785         * math/e_scalb.c: Likewise.
70786         * math/e_scalbf.c: Likewise.
70787         * math/e_scalbl.c: Likewise.
70788         * math/k_cosl.c: Likewise.
70789         * math/k_sinl.c: Likewise.
70790         * math/k_tanl.c: Likewise.
70791         * math/s_cacoshf.c: Likewise.
70792         * math/s_catan.c: Likewise.
70793         * math/s_catanf.c: Likewise.
70794         * math/s_catanh.c: Likewise.
70795         * math/s_catanhf.c: Likewise.
70796         * math/s_catanhl.c: Likewise.
70797         * math/s_catanl.c: Likewise.
70798         * math/s_ccosh.c: Likewise.
70799         * math/s_ccoshf.c: Likewise.
70800         * math/s_ccoshl.c: Likewise.
70801         * math/s_cexp.c: Likewise.
70802         * math/s_cexpf.c: Likewise.
70803         * math/s_cexpl.c: Likewise.
70804         * math/s_clog.c: Likewise.
70805         * math/s_clog10.c: Likewise.
70806         * math/s_clog10f.c: Likewise.
70807         * math/s_clog10l.c: Likewise.
70808         * math/s_clogf.c: Likewise.
70809         * math/s_clogl.c: Likewise.
70810         * math/s_csin.c: Likewise.
70811         * math/s_csinf.c: Likewise.
70812         * math/s_csinh.c: Likewise.
70813         * math/s_csinhf.c: Likewise.
70814         * math/s_csinhl.c: Likewise.
70815         * math/s_csinl.c: Likewise.
70816         * math/s_csqrt.c: Likewise.
70817         * math/s_csqrtf.c: Likewise.
70818         * math/s_csqrtl.c: Likewise.
70819         * math/s_ctan.c: Likewise.
70820         * math/s_ctanf.c: Likewise.
70821         * math/s_ctanh.c: Likewise.
70822         * math/s_ctanhf.c: Likewise.
70823         * math/s_ctanhl.c: Likewise.
70824         * math/s_ctanl.c: Likewise.
70825         * math/s_ldexp.c: Likewise.
70826         * math/s_ldexpf.c: Likewise.
70827         * math/s_ldexpl.c: Likewise.
70828         * math/s_significand.c: Likewise.
70829         * math/s_significandf.c: Likewise.
70830         * math/s_significandl.c: Likewise.
70831         * math/w_acos.c: Likewise.
70832         * math/w_acosf.c: Likewise.
70833         * math/w_acosh.c: Likewise.
70834         * math/w_acoshf.c: Likewise.
70835         * math/w_acoshl.c: Likewise.
70836         * math/w_acosl.c: Likewise.
70837         * math/w_asin.c: Likewise.
70838         * math/w_asinf.c: Likewise.
70839         * math/w_asinl.c: Likewise.
70840         * math/w_atan2.c: Likewise.
70841         * math/w_atan2f.c: Likewise.
70842         * math/w_atan2l.c: Likewise.
70843         * math/w_atanh.c: Likewise.
70844         * math/w_atanhf.c: Likewise.
70845         * math/w_atanhl.c: Likewise.
70846         * math/w_cosh.c: Likewise.
70847         * math/w_coshf.c: Likewise.
70848         * math/w_coshl.c: Likewise.
70849         * math/w_dremf.c: Likewise.
70850         * math/w_exp10.c: Likewise.
70851         * math/w_exp10f.c: Likewise.
70852         * math/w_exp10l.c: Likewise.
70853         * math/w_exp2.c: Likewise.
70854         * math/w_exp2f.c: Likewise.
70855         * math/w_fmod.c: Likewise.
70856         * math/w_fmodf.c: Likewise.
70857         * math/w_fmodl.c: Likewise.
70858         * math/w_hypot.c: Likewise.
70859         * math/w_hypotf.c: Likewise.
70860         * math/w_hypotl.c: Likewise.
70861         * math/w_j0.c: Likewise.
70862         * math/w_j0f.c: Likewise.
70863         * math/w_j0l.c: Likewise.
70864         * math/w_j1.c: Likewise.
70865         * math/w_j1f.c: Likewise.
70866         * math/w_j1l.c: Likewise.
70867         * math/w_jn.c: Likewise.
70868         * math/w_jnf.c: Likewise.
70869         * math/w_jnl.c: Likewise.
70870         * math/w_lgamma.c: Likewise.
70871         * math/w_lgamma_r.c: Likewise.
70872         * math/w_lgammaf.c: Likewise.
70873         * math/w_lgammaf_r.c: Likewise.
70874         * math/w_lgammal.c: Likewise.
70875         * math/w_lgammal_r.c: Likewise.
70876         * math/w_log.c: Likewise.
70877         * math/w_log10.c: Likewise.
70878         * math/w_log10f.c: Likewise.
70879         * math/w_log10l.c: Likewise.
70880         * math/w_log2.c: Likewise.
70881         * math/w_log2f.c: Likewise.
70882         * math/w_log2l.c: Likewise.
70883         * math/w_logf.c: Likewise.
70884         * math/w_logl.c: Likewise.
70885         * math/w_pow.c: Likewise.
70886         * math/w_powf.c: Likewise.
70887         * math/w_powl.c: Likewise.
70888         * math/w_remainder.c: Likewise.
70889         * math/w_remainderf.c: Likewise.
70890         * math/w_remainderl.c: Likewise.
70891         * math/w_scalb.c: Likewise.
70892         * math/w_scalbf.c: Likewise.
70893         * math/w_scalbl.c: Likewise.
70894         * math/w_sinh.c: Likewise.
70895         * math/w_sinhf.c: Likewise.
70896         * math/w_sinhl.c: Likewise.
70897         * math/w_sqrt.c: Likewise.
70898         * math/w_sqrtf.c: Likewise.
70899         * math/w_sqrtl.c: Likewise.
70900         * math/w_tgamma.c: Likewise.
70901         * math/w_tgammaf.c: Likewise.
70902         * math/w_tgammal.c: Likewise.
70904         * po/ja.po: Update from translation team.
70906 2011-09-29  Andreas Jaeger  <aj@suse.de>
70908         [BZ #13179]
70909         * sunrpc/netname.c (netname2host): Fix logic.
70911         [BZ #6779]
70912         [BZ #6783]
70913         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
70914         correctly.
70915         * math/w_remainder.c (__remainder): Likewise.
70916         * math/w_remainderf.c (__remainderf): Likewise.
70917         * math/libm-test.inc (remainder_test): Add test cases.
70919 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70921         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
70922         sdiv_qrnnd.
70924 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70926         * string/test-memcmp.c: Avoid unncessary #defines.
70927         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
70929 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70931         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
70932         Use new sse2 version for core i3 - i7 as it's faster
70933         than sse42 version.
70934         (bit_Prefer_PMINUB_for_stringop): New.
70935         * sysdeps/x86_64/rawmemchr.S: Update.
70936         Replace with faster SSE2 version.
70937         * sysdeps/x86_64/memrchr.S: New file.
70938         * sysdeps/x86_64/memchr.S: Update.
70939         Replace with faster SSE2 version.
70941 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
70943         * elf/dl-load.c (lose): Add cast to avoid warning.
70945 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
70947         * po/ca.po: Update from translation team.
70949         * inet/getnetgrent_r.c: Hook up nscd.
70950         * nscd/Makefile (routines): Add nscd_netgroup.
70951         (nscd-modules): Add netgroupcache.
70952         (CFLAGS-netgroupcache.c): Define.
70953         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
70954         (cache_search): Add const to second parameter.
70955         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
70956         INNETGR.
70957         (dbs): Add netgrdb entry.
70958         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
70959         (verify_persistent_db): Handle netgrdb.
70960         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
70961         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
70962         GETFDNETGR.
70963         (netgroup_response_header): Define.
70964         (innetgroup_response_header): Define.
70965         (datahead): Add netgroup_response_header and innetgroup_response_header
70966         elements.
70967         * nscd/nscd.conf: Add entries for netgroup cache.
70968         * nscd/nscd.h (dbtype): Add netgrdb.
70969         (_PATH_NSCD_NETGROUP_DB): Define.
70970         (netgroup_iov_disabled): Declare.
70971         (xmalloc, xcalloc, xrealloc): Move declarations here.
70972         (cache_search): Adjust prototype.
70973         Add netgroup-related prototypes.
70974         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
70975         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
70976         (__nscd_innetgr): Declare.
70977         * nscd/selinux.c (perms): Use access_vector_t as element type and
70978         add netgroup-related initializers.
70979         * nscd/netgroupcache.c: New file.
70980         * nscd/nscd_netgroup.c: New file.
70981         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
70982         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
70983         For four parameters use innetgr.
70984         * nss/nss_files/files-init.c: Add definition and callback for netgr.
70985         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
70986         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
70987         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
70989         * nscd/connections.c (register_traced_file): Don't register file
70990         for disabled databases.
70992 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
70994         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
70996         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
70997         from tree and freeing node.
70999 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
71001         * nss/nsswitch.c (__nss_database_lookup): Handle
71002         nss_parse_service_list out of memory case.
71004 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
71006         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
71007         out of memory case.
71009 2011-10-04  Andreas Schwab  <schwab@redhat.com>
71011         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
71012         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
71013         pass it down.
71014         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
71015         elf_machine_rela, elf_machine_lazy_rel.
71016         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
71017         (ELF_DYNAMIC_DO_REL): Likewise.
71018         (ELF_DYNAMIC_DO_RELA): Likewise.
71019         (ELF_DYNAMIC_RELOCATE): Likewise.
71020         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
71021         to ELF_DYNAMIC_DO_REL.
71022         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
71023         (dl_main): In trace mode always set __RTLD_NOIFUNC.
71024         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
71025         elf_machine_rela.
71026         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
71027         skip_ifunc, don't call ifunc function if non-zero.
71028         (elf_machine_rela): Likewise.
71029         (elf_machine_lazy_rel): Likewise.
71030         (elf_machine_lazy_rela): Likewise.
71031         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
71032         (elf_machine_lazy_rel): Likewise.
71033         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
71034         Likewise.
71035         (elf_machine_lazy_rel): Likewise.
71036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71037         Likewise.
71038         (elf_machine_lazy_rel): Likewise.
71039         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
71040         (elf_machine_lazy_rel): Likewise.
71041         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
71042         (elf_machine_lazy_rel): Likewise.
71043         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
71044         (elf_machine_lazy_rel): Likewise.
71045         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
71046         (elf_machine_lazy_rel): Likewise.
71047         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
71048         (elf_machine_lazy_rel): Likewise.
71049         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
71050         (elf_machine_lazy_rel): Likewise.
71052 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
71054         * nss/nss_files/files-init.c (_nss_files_init): Use static
71055         initialization for all the *_traced_file variables.
71057 2011-09-28  Andreas Schwab  <schwab@redhat.com>
71059         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71061 2011-09-27  Roland McGrath  <roland@hack.frob.com>
71063         [BZ #13226]
71064         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
71066 2011-09-27  Andreas Schwab  <schwab@redhat.com>
71068         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
71069         Reread the line before reparsing it.
71071 2011-09-26  Andreas Schwab  <schwab@redhat.com>
71073         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
71075 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
71076             Maxim Kuvyrkov  <maxim@codesourcery.com>
71077             Joseph Myers  <joseph@codesourcery.com>
71079         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
71080         if needed for __stack_chk_guard.
71082 2011-09-19  Roland McGrath  <roland@hack.frob.com>
71084         * sysdeps/posix/spawni.c (script_execute): Always define it.
71085         It will be optimized away if unused.
71086         (maybe_script_execute): New function.
71087         (__spawni): Call it.
71089         * Makerules: Don't include tls.make.
71090         (config-tls): Always set to thread.
71091         * tls.make.c: File removed.
71093 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
71095         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
71096         * config.make.in (CPPFLAGS-config): New substituted variable.
71098 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71100         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
71102         [BZ #13192]
71103         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
71104         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
71106 2011-09-15  Roland McGrath  <roland@hack.frob.com>
71108         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
71109         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
71110         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
71111         (CALL_FAIL): Likewise.
71112         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
71113         (CALL_FAIL): Macro removed.
71114         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
71116 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
71118         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
71119         for __FINITE_MATH_ONLY__ == 1.
71121 2011-09-15  Andreas Schwab  <schwab@redhat.com>
71123         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
71124         __ieee754_sqrt instead of sqrt.
71125         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
71126         __ieee754_sqrtf instead of sqrtf.
71127         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
71128         __floorf instead of floorf.
71129         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
71130         __floorf, __truncf instead of floorf, truncf.
71132 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
71134         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
71136         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
71137         __extern_always_inline.
71138         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
71139         32-bit.
71141 2011-09-14  Andreas Schwab  <schwab@redhat.com>
71143         * elf/rtld.c (dl_main): Also relocate in dependency order when
71144         doing symbol dependency testing.
71146 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
71148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
71149         Always define `refsym'.
71151 2011-09-13  Andreas Schwab  <schwab@redhat.com>
71153         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
71154         (__FD_ELT): Renamed from __FDELT.
71155         * misc/bits/select2.h (__FD_ELT): Likewise.
71156         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
71157         __FD_MASK instead of __FDELT, __FDMASK.
71158         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71159         Likewise.
71160         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
71161         Likewise.
71163         * elf/Makefile (gen-ldd): Fix pattern.
71165         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
71166         (init_tls): Likewise.
71168 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
71170         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
71172 2011-09-12  Andreas Schwab  <schwab@redhat.com>
71174         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
71175         `struct cmsghdr *' instead of `void *'.
71176         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
71177         Likewise.
71179 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
71181         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
71182         if non-absolute.
71183         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
71184         ldd_rewrite_script.
71186 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
71188         * configure.in: Remove --with-tls option.
71189         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
71190         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
71191         out in case it is missing.
71192         * sysdeps/ia64/elf/configure.in: Likewise.
71193         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
71194         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
71195         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
71196         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
71197         * sysdeps/sh/elf/configure.in: Likewise.
71198         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
71199         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71200         * sysdeps/x86_64/elf/configure.in: Likewise.
71201         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
71202         * sysdeps/mach/hurd/tls.h: Likewise.
71204         [BZ #13067]
71205         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
71207         [BZ #13090]
71208         * configure.in: Fix use of AC_INIT.
71210         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
71212 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
71214         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
71215         __set_errno.
71216         * malloc/hooks.c: Likewise.
71218         [BZ #11929]
71219         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
71220         variables statically.
71221         (narenas): Initialize.
71222         (list_lock): Initialize.
71223         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
71224         initializtion of main_arena and list_lock.  Small cleanups.
71225         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
71226         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
71227         Add initializers to main_arena and mp_.
71228         (malloc_state): Remove pagesize member.  Change all users to use
71229         GLRO(dl_pagesize).
71231         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
71232         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
71233         is always initialized.
71235         * malloc/malloc.c: Removed unused configurations and dead code.
71236         * malloc/arena.c: Likewise.
71237         * malloc/hooks.c: Likewise.
71238         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
71240         * include/tls.h: Removed.  USE___THREAD must always be defined.
71241         * bits/libc-tsd.h: Don't handle !USE___THREAD.
71242         * elf/dl-libc.c: Likewise.
71243         * elf/dl-tsd.c: Likewise.
71244         * include/errno.h: Likewise.
71245         * include/netdb.h: Likewise.
71246         * include/resolv.h: Likewise.
71247         * inet/herrno-loc.c: Likewise.
71248         * inet/herrno.c: Likewise.
71249         * malloc/arena.c: Likewise.
71250         * malloc/hooks.c: Likewise.
71251         * malloc/malloc.c: Likewise.
71252         * resolv/res-state.c: Likewise.
71253         * resolv/res_libc.c: Likewise.
71254         * sysdeps/i386/dl-machine.h: Likewise.
71255         * sysdeps/ia64/dl-machine.h: Likewise.
71256         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
71257         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
71258         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
71259         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
71260         * sysdeps/sh/dl-machine.h: Likewise.
71261         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
71262         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
71263         * sysdeps/unix/i386/sysdep.S: Likewise.
71264         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
71265         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
71266         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
71267         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
71268         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
71269         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
71270         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
71271         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
71272         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71273         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
71274         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71275         * sysdeps/x86_64/dl-machine.h: Likewise.
71276         * tls.make.c: Likewise.
71278         * configure.in: Remove --with-__thread option.  Make tests for
71279         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
71280         tls_model attribute fail if no support is available.  Remove
71281         USE_IN_LIBIO.
71282         * Makeconfig: Adjust for dropped configure option.  All features are
71283         now mandatory.
71284         * Makerules: Likewise.
71285         * Versions.def: Likewise.
71286         * argp/argp-fmtstream.c: Likewise.
71287         * argp/argp-fmtstream.h: Likewise.
71288         * argp/argp-help.c: Likewise.
71289         * assert/assert.c: Likewise.
71290         * config.h.in: Likewise.
71291         * config.make.in: Likewise.
71292         * configure: Likewise.
71293         * configure.in: Likewise.
71294         * csu/Versions: Likewise.
71295         * csu/init.c: Likewise.
71296         * elf/tst-audit2.c: Likewise.
71297         * elf/tst-tls10.c: Likewise.
71298         * elf/tst-tls10.h: Likewise.
71299         * elf/tst-tls11.c: Likewise.
71300         * elf/tst-tls12.c: Likewise.
71301         * elf/tst-tls14.c: Likewise.
71302         * elf/tst-tlsmod11.c: Likewise.
71303         * elf/tst-tlsmod12.c: Likewise.
71304         * elf/tst-tlsmod13.c: Likewise.
71305         * elf/tst-tlsmod13a.c: Likewise.
71306         * elf/tst-tlsmod14a.c: Likewise.
71307         * elf/tst-tlsmod15b.c: Likewise.
71308         * elf/tst-tlsmod16a.c: Likewise.
71309         * elf/tst-tlsmod16b.c: Likewise.
71310         * elf/tst-tlsmod7.c: Likewise.
71311         * elf/tst-tlsmod8.c: Likewise.
71312         * elf/tst-tlsmod9.c: Likewise.
71313         * gmon/gmon.c: Likewise.
71314         * grp/fgetgrent_r.c: Likewise.
71315         * grp/putgrent.c: Likewise.
71316         * hurd/fopenport.c: Likewise.
71317         * include/libc-symbols.h: Likewise.
71318         * include/tls.h: Likewise.
71319         * intl/gettextP.h: Likewise.
71320         * intl/loadinfo.h: Likewise.
71321         * locale/global-locale.c: Likewise.
71322         * locale/localeinfo.h: Likewise.
71323         * mach/devstream.c: Likewise.
71324         * malloc/arena.c: Likewise.
71325         * malloc/set-freeres.c: Likewise.
71326         * misc/err.c: Likewise.
71327         * misc/getttyent.c: Likewise.
71328         * misc/mntent_r.c: Likewise.
71329         * posix/getopt.c: Likewise.
71330         * posix/wordexp.c: Likewise.
71331         * pwd/fgetpwent_r.c: Likewise.
71332         * resolv/Versions: Likewise.
71333         * resolv/res_hconf.c: Likewise.
71334         * shadow/fgetspent_r.c: Likewise.
71335         * shadow/putspent.c: Likewise.
71336         * stdio-common/printf_fphex.c: Likewise.
71337         * stdio-common/tmpfile.c: Likewise.
71338         * stdlib/abort.c: Likewise.
71339         * stdlib/fmtmsg.c: Likewise.
71340         * sunrpc/auth_unix.c: Likewise.
71341         * sunrpc/clnt_perr.c: Likewise.
71342         * sunrpc/clnt_tcp.c: Likewise.
71343         * sunrpc/clnt_udp.c: Likewise.
71344         * sunrpc/clnt_unix.c: Likewise.
71345         * sunrpc/openchild.c: Likewise.
71346         * sunrpc/svc_simple.c: Likewise.
71347         * sunrpc/svc_tcp.c: Likewise.
71348         * sunrpc/svc_udp.c: Likewise.
71349         * sunrpc/svc_unix.c: Likewise.
71350         * sunrpc/xdr.c: Likewise.
71351         * sunrpc/xdr_array.c: Likewise.
71352         * sunrpc/xdr_rec.c: Likewise.
71353         * sunrpc/xdr_ref.c: Likewise.
71354         * sunrpc/xdr_stdio.c: Likewise.
71356 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71358         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71360 2011-07-03  Andreas Jaeger  <aj@suse.de>
71362         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
71363         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
71364         regenerate with gen-libm-tests.pl.
71366 2010-05-12  Petr Baudis  <pasky@suse.cz>
71368         [BZ #11589]
71369         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
71370         around j0() zero points by switching to j1().
71371         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
71372         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
71373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71374         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
71376 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71378         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
71379         instead of 0.
71380         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
71381         instead of 0.
71382         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71383         Patch in part by Pavel Roskin <proski@gnu.org>.
71385         [BZ #13138]
71386         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
71387         realloc.
71388         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
71389         Free memory block if necessary.
71391         [BZ #12847]
71392         * libio/genops.c (INTDEF): For string streams the _lock pointer can
71393         be NULL.  Don't lock in this case.
71395 2011-09-09  Roland McGrath  <roland@hack.frob.com>
71397         * elf/elf.h (ELFOSABI_GNU): New macro.
71398         (ELFOSABI_LINUX): Define to that.
71400 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
71402         * string/strncat.c (strncat): Undef the symbol in case it has been
71403         defined in bits/string.h.
71405 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
71407         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
71409         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
71410         link map.
71412 2011-08-17  Andreas Jaeger  <aj@suse.de>
71414         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
71416 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
71417             Ian Lance Taylor  <iant@google.com>
71419         * math/libm-test.inc (lround_test): New testcase.
71420         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
71422 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
71424         * Makefile: Remove support for automatic cvs check-ins.
71425         * Makerules: Likewise.
71426         * config.make.in: Likewise.
71427         * configure.in: Likewise.
71428         * intl/Makefile: Likewise.
71429         * locale/Makefile: Likewise.
71430         * po/Makefile: Likewise.
71431         * posix/Makefile: Likewise.
71432         * sysdeps/gnu/Makefile: Likewise.
71433         * sysdeps/mach/hurd/Makefile: Likewise.
71434         * sysdeps/sparc/sparc32/Makefile: Likewise.
71436         [BZ #13118]
71437         * posix/Makefile (bug-regex32-ENV): Define.
71438         Patch by John Stanley <jpsinthemix@verizon.net>.
71440         * misc/Makefile (headers): Add bits/select2.h.
71441         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
71442         * misc/bits/select2.h: New file.
71443         * include/bits/select2.h: New file.
71444         * debug/Makefile (routines): Add fdelt_chk.
71445         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
71446         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
71447         FD_ISSET.
71448         * debug/fdelt_chk.c: New file.
71450         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
71451         * wcsmbs/test-wmemcmp.c: Likewise.
71452         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
71453         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
71455 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71457         * string/Makefile (strop-tests): Add memcmp.
71458         * string/test-wmemcmp.c: New file.
71459         * string/test-memcmp.c: Add wmemcmp support.
71461 2011-09-08  Roland McGrath  <roland@hack.frob.com>
71463         [BZ #13153]
71464         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
71465         2011-07-19 change.
71467         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
71468         garbage value in a __mach_port_mod_refs call in the cases of the
71469         task-self and thread-self ports.
71471 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71473         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
71475 2011-09-08  Andreas Schwab  <schwab@redhat.com>
71477         * elf/dl-load.c (lose): Check for non-null L.
71479 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71481         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
71483         * elf/dl-libc.c (dlerror_run): Pass back error code from
71484         dl_catch_error.
71486         [BZ #13123]
71487         * elf/dl-load.c (lose): Free l_origin if it is valid.
71489         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
71490         names.
71491         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
71492         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71493         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
71494         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71495         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
71496         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
71498 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71500         * sysdeps/powerpc/fpu/e_hypot.c: New file.
71501         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
71502         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
71503         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
71504         * sysdeps/powerpc/fpu/k_cosf.c: New file.
71505         * sysdeps/powerpc/fpu/k_sinf.c: New file.
71506         * sysdeps/powerpc/fpu/s_cosf.c: New file.
71507         * sysdeps/powerpc/fpu/s_sinf.c: New file.
71508         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
71509         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
71511 2011-08-15  Alan Modra  <amodra@gmail.com>
71513         [BZ #13092]
71514         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
71515         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
71516         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
71517         ppc_mcount to static-only-routines.
71518         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
71519         __mcount_internal.
71520         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
71521         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
71523 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
71525         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
71526         for finite and infinity parameters.
71528 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71530         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
71531         and add nop instructions for throughput optimization.
71532         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
71534 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
71536         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
71537         aligned copy for power7 with vector-scalar instructions.
71538         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
71540 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
71542         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
71543         AVX check.
71545 2011-09-07  Andreas Schwab  <schwab@redhat.com>
71547         [BZ #13144]
71548         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
71549         last change.
71551 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
71553         * sysdeps/unix/sysv/linux/x86_64/init-first.c
71554         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
71555         syscall wrapper around clock_gettime in __vdso_clock_gettime.
71556         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
71557         clock_gettime.
71559 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71561         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
71562         Forgot to demangle the pointer.
71564         * sysdeps/i386/sysdep.h: Define atom_text_section.
71565         * sysdeps/x86_64/sysdep.h: Likewise.
71566         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
71567         section with atom_text_section.
71568         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
71569         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
71570         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
71571         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
71572         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
71574         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
71575         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
71576         already be defined.  Change to take two parameters and don't assign
71577         result to variable.  Adjust all users.
71578         Define INTERNAL_GETTIME if not already defined.
71579         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
71580         call.
71581         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
71582         HAVE_CLOCK_GETTIME_VSYSCALL.
71583         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
71585         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
71586         gettimeofday vsyscall, just use time.
71588 2011-09-06  Andreas Schwab  <schwab@redhat.com>
71590         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
71591         <errno.h>.
71593 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
71595         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
71596         syscall on x86-64.
71597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
71598         syscall.
71599         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
71600         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
71601         syscall if possible.
71603 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71605         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
71606         e_ident.  Don't pass to find_mapsXX.
71607         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
71609 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71611         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
71612         strchr-sse2-no-bsf strrchr-sse2-no-bsf
71613         * sysdeps/x86_64/multiarch/strchr.S: Update.
71614         Check bit_slow_BSF bit.
71615         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
71616         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
71617         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
71619 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71621         [BZ #13134]
71622         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
71623         before glibc 2.15.
71624         (tryshell): Define.
71625         (__spawni): Change last parameter to be flag.  Test
71626         SPAWN_XFLAGS_USE_PATH flag to use path or not.
71627         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
71628         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
71629         * posix/spawni.c: Likewise.
71630         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
71631         * posix/spawnp.c: Likewise.  Change normal version to use
71632         SPAWN_XFLAGS_USE_PATH.
71633         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
71634         SPAWN_XFLAGS_TRY_SHELL.
71636         [BZ #13150]
71637         * posix/glob.h: Remove gcc 1.x support.
71639         [BZ #13068]
71640         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
71642 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
71644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
71645         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
71646         strrchr-sse2-bsf
71647         * sysdeps/i386/i686/multiarch/strchr.S: New file.
71648         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
71649         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
71650         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
71651         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
71652         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
71654 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71656         * sysdeps/x86_64/wcscmp.S: New file.
71658         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
71659         wcscmp-c wcscmp-sse2
71660         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
71661         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
71662         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
71663         * wcsmbs/wcscmp.c: Allow renaming.
71665 2011-09-05  David S. Miller  <davem@davemloft.net>
71667         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
71668         stack slot, rather than the struct return pointer slot.
71669         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
71670         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
71671         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
71672         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
71674 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
71676         * po/ja.po: Update from translation team.
71678         [BZ #13144]
71679         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
71680         kernel in 64-bit binaries.
71682 2011-09-01  David S. Miller  <davem@davemloft.net>
71684         * elf/elf.h (HWCAP_SPARC_*): Move to..
71685         * sysdeps/sparc/sysdep.h: this new file and add new values.
71686         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
71687         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
71688         _DL_HWCAP_COUNT to 24.
71689         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
71690         entries.
71691         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
71692         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
71693         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
71694         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
71695         instead of magic constants.
71696         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71698 2011-08-31  David S. Miller  <davem@davemloft.net>
71700         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
71701         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
71702         Reimplement to do errno handling inline.
71703         (SYSCALL_ERROR_HANDLER): New macro.
71704         (__SYSCALL_STRING): Do not do errno handling in asm.
71705         (__CLONE_SYSCALL_STRING): Delete.
71706         (__INTERNAL_SYSCALL_STRING): Delete.
71707         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
71708         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
71709         (PSEUDO): Reimplement to do errno handling inline.
71710         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
71711         (SYSCALL_ERROR_HANDLER): New macro.
71712         (__SYSCALL_STRING): Do not do errno handling in asm.
71713         (__CLONE_SYSCALL_STRING): Delete.
71714         (__INTERNAL_SYSCALL_STRING): Delete.
71715         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
71716         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
71717         i386.
71718         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
71719         (inline_syscall*): Add 'err' argument.
71720         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
71721         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
71722         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
71723         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
71725         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
71726         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
71728 2011-08-30  Andreas Schwab  <schwab@redhat.com>
71730         * elf/rtld.c (dl_main): Relocate objects in dependency order.
71732 2011-08-29  Jiri Olsa <jolsa@redhat.com>
71734         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
71735         directive.
71737 2011-08-24  David S. Miller  <davem@davemloft.net>
71739         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
71741 2011-08-24  Andreas Schwab  <schwab@redhat.com>
71743         * elf/Makefile: Add rules to build and run unload8 test.
71744         * elf/unload8.c: New file.
71745         * elf/unload8mod1.c: New file.
71746         * elf/unload8mod1x.c: New file.
71747         * elf/unload8mod2.c: New file.
71748         * elf/unload8mod3.c: New file.
71750         * elf/dl-close.c (_dl_close_worker): Reset private search list if
71751         it wasn't used.
71753 2011-08-23  David S. Miller  <davem@davemloft.net>
71755         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
71756         subtract stack bias.
71757         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
71758         %sp not %fp in calculations.
71759         (_JMPBUF_UNWINDS_ADJ): Likewise.
71761         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
71762         (aio_suspend): Call it to force an exception region around the
71763         AIO_MISC_WAIT() invocation.
71765 2011-08-23  Andreas Schwab  <schwab@redhat.com>
71767         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
71768         backslash.
71770 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
71772         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
71773         protection macro.
71774         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
71775         and <dl-machine.h>.
71776         (Elf64_FuncDesc): Remove.
71778 2011-08-22  David S. Miller  <davem@davemloft.net>
71780         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
71781         sigaltstack check, add missing cfi directives.
71782         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
71783         missing cfi directives, and sigaltstack handling.
71785 2011-08-16  Andreas Schwab  <schwab@redhat.com>
71787         [BZ #11724]
71788         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
71789         object is seen twice.
71790         * elf/dl-fini.c (_dl_sort_fini): Likewise.
71792         * elf/Makefile (distribute): Add tst-initorder2.c.
71793         (tests): Add tst-initorder2.
71794         (modules-names): Add tst-initorder2a tst-initorder2b
71795         tst-initorder2c tst-initorder2d.  Add rules to build them.
71796         ($(objpfx)tst-initorder2.out): New rule.
71797         * elf/tst-initorder2.c: New file.
71798         * elf/tst-initorder2.exp: New file.
71800 2011-08-22  Andreas Schwab  <schwab@redhat.com>
71802         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
71804         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
71805         dependencies back to end of function.
71807         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
71808         $(elfobjdir)/ld.so.
71810 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
71812         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
71813         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
71814         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
71815         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
71816         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
71817         of __vdso_gettimeofday.
71818         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
71819         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
71820         attribute_hidden.
71821         (_libc_vdso_platform_setup): Remove initialization of
71822         __vdso_gettimeofday and __vdso_time.
71824 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71826         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
71827         and fgetc_unlocked.
71828         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
71829         getc_unlocked.
71831         * elf/dl-open.c (add_to_global): Report additions to the global scope
71832         for LD_DEBUG=scopes.
71833         (dl_open_worker): Also print scope of newly loaded dependencies.
71834         (_dl_show_scope): Indicate if there is no scope.
71836         [BZ #13114]
71837         * stdio-common/Makefile (tests): Add bug24.
71838         * stdio-common/bug24.c: New file.
71840 2011-08-19  Andreas Jaeger  <aj@suse.de>
71842         [BZ #13114]
71843         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
71844         non-existant file when using close-on-exec mode.
71846 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
71848         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
71849         the very first instruction.
71851         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
71852         the CFI state in the end.
71853         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
71854         inclusion of dl-trampoline.h.
71855         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
71857 2011-08-19  Andreas Schwab  <schwab@redhat.com>
71859         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
71860         expectations for long double.
71862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
71863         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
71865 2011-08-14  David S. Miller  <davem@davemloft.net>
71867         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
71868         artificual limit depends upon the system page size.
71870 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71872         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
71873         * resolv/Makefile: Define CFLAGS-libresolv.
71875 2011-08-17  Andreas Schwab  <schwab@redhat.com>
71877         * nss/makedb.c (compute_tables): Make variables used in nested
71878         function static.
71880 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
71882         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
71883         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
71884         if buffer was too small.
71886         * elf/pldd.c (main): Attach to all threads in the process.
71887         Rewrite /proc handling to use *at functions.
71889 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
71891         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
71892         specifies first scope to show.
71893         (dl_open_worker): Update callers.  Move printing scope of new
71894         object to before the relocation.
71895         * elf/rtld.c (dl_main): Update _dl_show_scope call.
71896         * sysdeps/generic/ldsodefs.h: Update declaration.
71898         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
71899         string for the scope number.
71901 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
71903         * nscd/servicescache.c (cache_addserv): Make sure written is always
71904         initialized.
71906 2011-08-14  Roland McGrath  <roland@hack.frob.com>
71908         * sysdeps/i386/i486/bits/atomic.h
71909         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
71910         statement expression, so as to suppress "set but not used" warning.
71911         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
71913         * string/strncat.c (STRNCAT): Use prototype definition.
71915         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
71916         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
71917         -Iprograms here.
71918         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
71919         (localedef-modules): Add localedef.
71920         (locale-modules): Add locale.
71922         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
71923         * elf/rtld.c (dl_main): Invert order of assignment in last change,
71924         to avoid a warning.
71926 2011-08-14  David S. Miller  <davem@davemloft.net>
71928         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
71929         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
71931 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
71933         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
71934         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
71935         * elf/rtld.c (dl_main): Set l_name of vDSO.
71936         Call _dl_show_scope when DL_DEBUG_SCOPES.
71937         (process_dl_debug): Recognize scopes flag and also set it for all.
71938         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
71939         Declare _dl_show_scope.
71941         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
71942         (do_dlopen): Pass caller_dlopen to dl_open.
71943         (__libc_dlopen_mode): Initialize caller_dlopen.
71945         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
71946         of libc.  Make tolower call locale-independent.  Optimize a bit by
71947         using isdigit instead of isalnum.
71948         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
71950 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
71952         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
71953         was a dependency or dynamically loaded.
71955 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
71957         * intl/l10nflist.c: Allow architecture-specific pop function.
71958         * sysdeps/x86_64/l10nflist.c: New file.
71960         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
71961         classification.
71963 2011-08-10  Andreas Schwab  <schwab@redhat.com>
71965         * include/dirent.h: Add libc_hidden_proto for scandirat and
71966         scandirat64.  Don't declare __scandirat64.
71967         * dirent/scandirat.c: Add libc_hidden_def.
71968         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
71969         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
71971 2011-08-10  David S. Miller  <davem@davemloft.net>
71973         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
71974         enum.
71975         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
71976         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
71977         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
71979 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
71981         * Versions.def [libc]: Add GLIBC_2.15.
71982         * dirent/Makefile (routines): Add scandirat and scandirat64.
71983         * dirent/Versions [libc]: Export scandirat and scandirat64 for
71984         GLIBC_2.15.
71985         * dirent/dirent.h: Declare scandirat and scandirat64.
71986         * dirent/scandirat.c: New file.
71987         * dirent/scandirat64.c: New file.
71988         * sysdeps/wordsize-64/scandirat.c: New file.
71989         * sysdeps/wordsize-64/scandirat64.c: New file.
71990         * dirent/opendir.c: Define opendirat.
71991         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
71992         using scandirat.
71993         * dirent/scandir64.c: Adjust for scandir.c change.
71994         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
71995         __scandirat64, and __scandir_cancel_handler.
71996         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
71997         additional parameter and use openat instead of open (outside of ld.so).
71998         Add new __opendir as wrapper around __opendirat.
71999         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
72000         here without requiring old scandirat implementation.
72002 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
72004         * dirent/scandir.c (cancel_handler): Renamed to
72005         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
72006         defined.  Adjust users.
72007         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
72008         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
72010 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
72012         * string/test-string.h (IMPL): Use __STRING to expand name and then
72013         stringify it.
72015         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
72016         of cleanups.
72018 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72020         * string/Makefile: Update.
72021         (strop-tests): Append strncat.
72022         * string/test-wcscmp.c: New file.
72023         New comprehensive test for wcscmp.
72024         * string/test-strcmp.c: Update.
72025         (WIDE): New define.
72027 2011-07-22  Andreas Schwab  <schwab@redhat.com>
72029         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
72030         line.
72032 2011-07-26  Andreas Schwab  <schwab@redhat.com>
72034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
72035         encoding to ACE if AI_IDN.
72037 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
72039         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
72040         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
72042 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72044         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
72045         Fix overflow bug in strncat.
72046         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
72048         * string/test-strncat.c: Update.
72049         Add new tests for checking overflow bugs.
72051 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72053         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72054         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
72055         * sysdeps/i386/i686/multiarch/strcat.S: New file.
72056         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
72057         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
72058         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
72059         * sysdeps/i386/i686/multiarch/strncat.S: New file.
72060         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
72061         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
72063         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
72064         (USE_AS_STRCAT): Define.
72065         Add strcat and strncat support.
72066         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
72068 2011-07-25  Andreas Schwab  <schwab@redhat.com>
72070         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
72071         __n bigger than INT_MAX+1.
72072         (__strncmp_g): Likewise.
72074 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
72076         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
72077         * libio/stido.h: Likewise.
72079         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
72080         (AF_NFC): Define.
72081         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
72082         (AF_NFC): Define.
72084         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
72085         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
72086         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
72087         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
72088         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
72090         [BZ #13021]
72091         * scripts/test-installation.pl: Don't expect libnss_test1 to be
72092         installed.
72094         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
72095         typo.
72096         (_dl_x86_64_save_sse): Likewise.
72098 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
72100         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
72101         OSXSAVE.
72102         (_dl_x86_64_save_sse): Likewise.
72104         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
72106         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
72108 2011-07-21  Andreas Schwab  <schwab@redhat.com>
72110         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
72111         change.
72112         (_dl_x86_64_save_sse): Use correct AVX check.
72114 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72116         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
72117         bug in strncpy/strncat.
72118         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
72120 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
72122         * string/tester.c (test_strcat): Add tests for different alignments
72123         of source and destination.
72124         (test_strncat): Likewise.
72126 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72128         [BZ #12852]
72129         * posix/glob.c (glob): Check passed in values before using them in
72130         expressions to avoid some overflows.
72131         (glob_in_dir): Likewise.
72133         [BZ #13007]
72134         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
72135         check for AVX enablement so that we don't crash with old kernels and
72136         new hardware.
72137         * elf/tst-audit4.c: Add same checks here.
72138         * elf/tst-audit6.c: Likewise.
72140         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
72142 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
72144         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
72146 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
72148         * po/cs.po: Update from translation team.
72149         * po/bg.po: Likewise.
72151 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
72153         * misc/sys/cdefs.h: Add support for const attribute.
72154         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
72155         to gnu_dev_{major,minor,makedev} functions.
72157 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
72159         * intl/dcigettext.c (get_output_charset): Add missing bracket.
72161 2011-07-20  Andreas Schwab  <schwab@redhat.com>
72163         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
72164         strlen results.
72166 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72168         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
72169         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
72170         register in order to avoid conflicts with the soft frame pointer
72171         being held in r11 when necessary.
72172         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
72173         (INTERNAL_VSYSCALL_NCS): Likewise.
72175 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
72177         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
72178         * elf/dl-fini.c (_dl_fini): Adjust caller.
72179         * elf/dl-close.c (_dl_close_worker): Likewise.
72180         * sysdeps/generic/ldsodefs.h: Adjust declaration.
72182 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72184         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
72185         "aux_cache->nlibs < 0".
72187         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
72188         in the reload-count case.
72190 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
72192         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72193         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
72194         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
72195         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
72196         * sysdeps/x86_64/multiarch/strcat.S: New file.
72197         * sysdeps/x86_64/multiarch/strncat.S: New file.
72198         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
72199         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
72200         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
72201         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
72202         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
72203         (USE_AS_STRCAT): Define.
72204         Add strcat and strncat support.
72205         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
72206         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
72207         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
72208         * string/strncat.c: Update.
72209         (USE_AS_STRNCAT): Define.
72210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72211         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
72212         and i7.
72213         * sysdeps/x86_64/multiarch/init-arch.h
72214         (bit_Prefer_PMINUB_for_stringop): New.
72215         (index_Prefer_PMINUB_for_stringop): Likewise.
72216         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
72217         bit_Prefer_PMINUB_for_stringop.
72219 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72221         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
72222         buffer64.
72223         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
72224         of casting of buffer.
72225         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
72226         buffer32 and buffer64.
72227         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
72228         writes instead of casting of buffer.
72229         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
72230         buffer32.
72231         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
72232         casting of buffer.
72234 2011-07-19  Andreas Schwab  <schwab@redhat.com>
72236         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
72238 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
72240         * nscd/nscd.c (termination_handler): Don't do anything for a database
72241         if it has not yet been initialized.
72243 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72245         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72247 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
72249         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
72251 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
72253         * po/nl.po: Update from translation team.
72254         * po/sv.po: Likewise.
72256 2011-07-16  Roland McGrath  <roland@hack.frob.com>
72258         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
72259         now disallowed by GCC.
72261         * configure.in (use-default-link): Default to yes if a test -shared
72262         link meets our qualifications.
72263         * configure: Regenerated.
72265         * config.make.in (output-format): New variable.
72266         * configure.in: Check for ld --print-output-format support.
72267         * configure: Regenerated.
72268         * Makerules ($(common-objpfx)format.lds)
72269         [$(output-format) != unknown]: Just use $(output-format),
72270         instead of the linker-script munging.
72272 2011-07-14  Roland McGrath  <roland@hack.frob.com>
72274         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
72275         of $(common-objpfx)shlib.lds.
72276         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
72278         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
72279         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
72281         * configure.in (-z relro check): Adjust test code to add a large
72282         writable data section after it.
72283         * configure: Regenerated.
72285 2011-07-11  Roland McGrath  <roland@hack.frob.com>
72287         * configure.in (-z relro check): Fix test code to make the variable
72288         truly const.
72289         * configure: Regenerated.
72291 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
72293         * nscd/nscd.h (struct traced_file): Define.
72294         (struct database_dyn): Remove inotify_descr, reset_res, and filename
72295         elements.  Add traced_files.
72296         (inotify_fd): Declare.
72297         (register_traced_file): Declare.
72298         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
72299         (inotify_fd): Export.
72300         (resolv_conf_descr): Remove.
72301         (nscd_init): Move inotify descriptor creation to main.
72302         Don't register files for notification here.
72303         (register_traced_file): New function.
72304         (invalidate_cache): Don't use reset_res to determine whether to call
72305         res_init, go through the list of registered files.
72306         (main_loop_poll): The inotify descriptors are now stored in the
72307         structures for the traced files.
72308         (main_loop_epoll): Likewise.
72309         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
72310         to __nss_disable_nscd.
72311         * nscd/cache.c (prune_cache): There is no single inotify descriptor
72312         for a database anymore.  Check the records for all the registered
72313         files instead.
72314         * nss/Makefile (libnss_files-routines): Add files-init.
72315         (libnss_db-routines): Add db-init.
72316         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
72317         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
72318         * nss/nss_db/db-init.c: New file.
72319         * nss/nss_files/files-init.c: New file.
72320         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
72321         __nss_lookup_function.
72322         (__nss_lookup_function): Call nss_load_library.
72323         (nss_load_all_libraries): New function.
72324         (__nss_disable_nscd): Take parameter with callback function for files
72325         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
72326         used for the cached services.
72327         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
72328         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
72329         options for features to all the files in nscd.
72331         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
72333 2011-07-10  Roland McGrath  <roland@hack.frob.com>
72335         * csu/elf-init.c (__libc_csu_init): Comment typo.
72337 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
72339         * po/pl.po: Update from translation team.
72340         * po/ja.po: Likewise.
72341         * po/ru.po: Likewise.
72342         * po/ko.po: Likewise.
72343         * po/fr.po: Likewise.
72345 2011-07-09  Roland McGrath  <roland@hack.frob.com>
72347         * configure.in (.ctors/.dtors header and trailer check):
72348         Use an empirical test on a built program.
72349         * configure: Regenerated.
72351         * configure.in (-z relro check): Use an empirical test on a built DSO.
72352         Detect, but do not require, on ia64.
72353         * configure: Regenerated.
72355         * configure.in (READELF): Find it with AC_CHECK_TOOL.
72356         Update tests that use readelf to use $READELF instead.
72357         * configure: Regenerated.
72359 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
72361         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
72362         if the result is not used.
72364 2011-07-05  Andreas Jaeger  <aj@suse.de>
72366         [BZ#9696]
72367         * stdlib/tst-strtod.c: Add testcase.
72369 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
72371         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
72372         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
72373         The latter has a higher limit.  Take additional parameter to pass to
72374         the new function.
72375         (__pathconf): Pass file to __statfs_link_max.
72376         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
72377         __statfs_link_max.
72378         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
72379         __statfs_link_max.
72381         [BZ #12868]
72382         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
72383         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
72384         Handle Lustre.
72385         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
72386         (__statfs_filesize_max): Likewise.
72387         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
72389 2011-07-05  Andreas Jaeger  <aj@suse.de>
72391         * resolv/res_comp.c (dn_skipname): Remove unused variable.
72393 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
72395         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
72396         `status' variable.
72397         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
72398         Likewise.
72400 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
72402         * Makefile (strop-tests): Add strncat.
72403         * string/test-strncat.c: New file.
72405 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
72407         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
72409 2011-06-21  Andreas Jaeger  <aj@suse.de>
72411         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
72412         Copy rule from iconvdata/Makefile.
72414 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72416         [BZ #12922]
72417         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
72418         but no long options are defined, just return 'W'.
72420 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
72422         [BZ #9696]
72423         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
72425 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
72427         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
72428         netgroups to read.
72429         (innetgr): Likewise.
72431 2011-07-05  Roland McGrath  <roland@hack.frob.com>
72433         * config.make.in (install_root): Default to $(DESTDIR).
72435 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
72437         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
72439 2011-07-02  Roland McGrath  <roland@hack.frob.com>
72441         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
72443         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
72444         containing directory rather than embedding absolute directory names.
72446         * scripts/check-local-headers.sh: Rewritten using awk.
72447         Match by word, not by line.  Print error messages for matches.
72448         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
72450         * Makerules [shlib-lds-flags empty]:
72451         ($(common-objpfx)libc_pic.opts): New target.
72452         ($(common-objpfx)libc_pic.os.clean): New target.
72453         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
72455         * config.make.in (OBJCOPY): New variable.
72456         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
72457         * configure: Regenerated.
72459         * config.make.in (use-default-link): New variable.
72460         * configure.in (use_default_link): Grok --with-default-link to set it.
72461         * configure: Regenerated.
72462         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
72463         (shlib-lds, shlib-lds-flags): Define to empty.
72465         * Makerules (shlib-lds): New variable.
72466         (shlib-lds-flags): New variable.
72467         (build-shlib, build-moduile, build-module-asneeded): Use it.
72468         ($(common-objpfx)libc.so): Use $(shlib-lds).
72469         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
72470         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
72472         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
72473         DT_FLAGS/DT_FLAGS_1 with zero flags.
72475         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
72476         linker script munging.
72478 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
72480         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
72481         as 128-bit value.
72482         * crypt/sha512.c (sha512_process_block): Perform total addition using
72483         128-bit if possible.
72484         (__sha512_finish_ctx): Likewise.
72485         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
72486         as 64-bit value.
72487         * crypt/sha256.c (SWAP64): Define.
72488         (sha256_process_block): Perform total addition using 64-bit if
72489         possible.
72490         (__sha256_finish_ctx): Likewise.
72492 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
72494         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
72495         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72496         * nscd/hstcache.c (cache_addhst): Likewise.
72497         * nscd/grpcache.c (cache_addgr): Likewise.
72498         * nscd/aicache.c (addhstaiX): Likewise.
72499         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
72501 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
72503         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
72504         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72505         * nscd/hstcache.c (cache_addhst): Likewise.
72506         * nscd/grpcache.c (cache_addgr): Likewise.
72507         * nscd/aicache.c (addhstaiX): Likewise.
72509 2011-07-01  Andreas Schwab  <schwab@redhat.com>
72511         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
72512         domain only when needed.
72514 2011-06-30  Andreas Schwab  <schwab@redhat.com>
72516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
72517         is always restored.
72519 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
72521         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
72522         are re-adding the entry.
72523         * nscd/servicescache.c (cache_addserv): Likewise.
72525 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
72527         * sysdeps/generic/dl-irel.h: fix protection against multiple
72528         inclusions.
72529         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
72531 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
72533         [BZ #12935]
72534         * malloc/memusage.sh: Fix quoting in message.
72535         * debug/xtrace.sh: Likewise.
72537         * configure.in: Remove support for --experimental-malloc option, make
72538         it the default.
72539         * config.make.in: Likewise.
72540         * malloc/Makefile: Likewise.
72542 2011-06-27  Andreas Schwab  <schwab@redhat.com>
72544         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
72545         two-byte characters.
72547 2011-06-27  Roland McGrath  <roland@hack.frob.com>
72549         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
72550         AC_CACHE_CHECK invocation.
72551         * configure: Regenerated.
72553         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
72555 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
72557         [BZ #12350]
72558         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
72559         bit from old_res_options.
72561         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
72563         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
72564         value type for setfct.
72566 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
72568         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72569         __gettimeofday instead of gettimeofday.
72571 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
72573         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
72575 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
72577         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
72579         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
72580         info.
72582 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72584         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
72585         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72586         strcpy-sse2-unaligned strncpy-sse2-unaligned
72587         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
72588         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
72589         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
72590         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
72591         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
72592         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
72593         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
72594         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
72595         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
72596         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
72597         (STRCPY): Support SSE2 and SSSE3 versions.
72599 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
72601         [BZ #12874]
72602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
72603         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
72604         kernels which artificially limit size of requests.
72606 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
72608         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
72609         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
72610         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
72611         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
72612         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
72613         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
72614         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
72615         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
72616         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
72617         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
72618         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
72619         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
72620         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
72621         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
72622         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
72623         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72624         Enable unaligned load optimization for Intel Core i3, i5 and i7
72625         processors.
72626         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
72627         Define.
72628         (index_Fast_Unaligned_Load): Define.
72629         (HAS_FAST_UNALIGNED_LOAD): Define.
72631 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
72633         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
72635 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72637         [BZ #12907]
72638         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
72639         until it is clear that the information is realy needed.
72640         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
72642 2011-06-22  Andreas Schwab  <schwab@redhat.com>
72644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
72646 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
72648         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
72649         /sys/devices/system/cpu/online if it is usable.
72651         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
72652         reading the information from the /proc filesystem to once a second.
72654 2011-06-21  Andreas Jaeger  <aj@suse.de>
72656         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
72657         NULL after inclusion of kernel headers.
72659 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
72661         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
72662         calls to internal_setent.
72664         [BZ #12885]
72665         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
72666         addresses using gethostbyname4_r ignore IPv4 addresses.
72668         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
72669         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
72671         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
72673 2011-06-20  David S. Miller  <davem@davemloft.net>
72675         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
72676         inclusions.
72677         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
72679         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
72680         (elf_irel): Use it.
72681         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
72682         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
72683         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
72684         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
72685         * sysdeps/x86_64/dl-irel.h: Likewise.
72687         * elf/dl-runtime.c: Use elf_ifunc_invoke.
72688         * elf/dl-sym.c: Likewise.
72690 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72692         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
72693         need to dereference resplen2.
72695 2011-06-14  Andreas Schwab  <schwab@redhat.com>
72697         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
72699 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
72701         * Makeconfig: Define vardbdir and inst_vardbdir.
72702         * nss/Makefile: Add rules to install db-Makefile.
72704         * nss/nss_db/db-XXX.c: Cleanup.
72706         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
72707         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
72708         GLIBC_PRIVATE.
72709         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
72710         * nss/makedb.c: Implement -g option to specify that value strings
72711         are generated and should not be added to table iterated over for
72712         get*ent calls.
72713         * nss/nss_db/db-initgroups.c: New file.
72715         * nss/getent.c: Add support for initgroups lookups through getgrouplist
72716         interface.
72718         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
72719         (internal_getgrouplist): Adjust to name change.
72720         Update use_initgroups_entry if this is not the first call.
72721         * nss/databases.def: Add initgroups entry.
72723         * nss/makedb.c (compute_tables): Check result of multiple hash table
72724         sizes to minimize maximum chain length.
72726 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
72728         * Versions.def: Add entry for libnss_db.
72729         * shlib-versions: Likewise.
72730         * nss/Makefile: Add rules to build libnss_db.
72731         * nss/Versions: Add libnss_db information.  Organize libnss_files
72732         entries better.
72733         * nss/db-Makefile: Add gshadow support.  Change rules for the new
72734         makedb progra.  Some minor improvements to generate smaller files.
72735         * nss/nss_db/nss_db.h: Move NSS database header data structures to
72736         here from...
72737         * nss/makedb.c: ...here.
72738         Improve database format to be smaller and require less memory at
72739         runtime.
72740         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
72741         db anymore.
72742         * nss/nss_db/db-netgrp.c: Likewise.
72743         * nss/nss_db/db-open.c: Likewise.
72744         * nss/nss_files/flies-XXX.x: Adjust comments.
72745         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
72746         * nss/nss_files/files-grp.c: Likewise.
72747         * nss/nss_files/files-hosts.c: Likewise.
72748         * nss/nss_files/files-network.c: Likewise.
72749         * nss/nss_files/files-proto.c: Likewise.
72750         * nss/nss_files/files-pwd.c: Likewise.
72751         * nss/nss_files/files-rpc.c: Likewise.
72752         * nss/nss_files/files-service.c: Likewise.
72753         * nss/nss_files/files-sgrp.c: Likewise.
72754         * nss/nss_files/files-spwd.c: Likewise.
72755         * nss/nss_db/db-alias.c: Removed.
72756         * nss/nss_db/dummy-db.h: Removed.
72758 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
72760         * nss/makedb.c: Rewritten to not use database library.
72761         * nss/Makefile: Update to build new makedb program.
72763 2011-06-14  Andreas Jaeger  <aj@suse.de>
72765         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
72766         memset declaration.
72768 2011-06-10  Andreas Schwab  <schwab@redhat.com>
72770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
72771         tmpbuf.
72773 2011-06-10  Roland McGrath  <roland@hack.frob.com>
72775         * Makerules (shlib.lds): Fail if the linker script comes out empty.
72776         * elf/Makefile ($(objpfx)ld.so): Likewise.
72778         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
72779         Don't list ld.so twice in dependencies.
72781         * posix/bug-regex31.c: Include <stdlib.h>.
72783         * nscd/hstcache.c (cache_addhst): Remove unused variable.
72785         * nis/nss_compat/compat-spwd.c
72786         (getspent_next_nss_netgr): Remove unused variable.
72787         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
72789         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
72790         nonmembers" output to use the right array.
72792         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
72794         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
72796         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
72797         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
72798         * catgets/gencat.c (read_input_file): Likewise.
72799         * locale/programs/locarchive.c (enlarge_archive): Likewise.
72801         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
72802         variable definition inside #if's controlling its use.
72804         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
72806         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
72808         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
72810         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
72811         unreachable code.
72813         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
72815         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
72816         * configure: Regenerated.
72818         * Makerules: Revert last change.
72819         * elf/Makefile: Likewise.
72821 2011-06-09  Roland McGrath  <roland@hack.frob.com>
72823         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
72824         * elf/Makefile ($(objpfx)librtld.os): Likewise.
72825         (reloc-link): Likewise.
72827 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
72829         * elf/Makefile: Add rules to build pldd.
72830         * elf/pldd.c: New file.
72831         * elf/pldd-xx.c: New file.
72833 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
72835         * version.h: Update for 2.15 development version.
72837 2011-06-07  David S. Miller  <davem@davemloft.net>
72839         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
72840         ifuncs.
72841         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
72842         elf_machine_lazy_rel): Likewise.
72843         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
72844         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
72845         elf_machine_lazy_rel): Likewise.
72846         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
72847         dl_hwcap via passed in argument.
72848         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
72849         Likewise.
72851 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72853         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
72855 2011-06-06  Roland McGrath  <roland@hack.frob.com>
72857         [BZ #12849]
72858         * manual/fdl-1.1.texi: New file, verbatim from:
72859         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
72860         * manual/lgpl-2.1.texi: New file, verbatim from:
72861         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
72862         * manual/Makefile (licenses): New variable, list those new file names.
72863         (texis): Use it.
72864         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
72866         * manual/fdl.texi: File removed.
72867         * manual/lesser.texi: File removed.
72868         * manual/libc.texinfo (Copying, Documentation License):
72869         Use new @include file names, put @appendix directive before @include.
72871 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
72873         [BZ #12841]
72874         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
72875         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
72876         (mq_open): Add __NTH.
72878 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
72880         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72881         Assume Intel Core i3/i5/i7 processor if AVX is available.
72883 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72885         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
72886         typo.
72888 2011-05-31  Andreas Schwab  <schwab@redhat.com>
72890         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
72891         memory.  Use alloca_account.  Fix memory leak when retrying.
72893 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
72895         * version.h (RELEASE): Bump for 2.14 release.
72896         * include/features.h (__GLIBC_MINOR__): Bump to 14.
72898         * config.make.in (RANLIB): Remove entry.
72900 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
72902         * po/Makefile (po-sed-cmd): Add ksh to extensions.
72903         (libc.pot): Work around missing support for .ksh extension in xgettext.
72905         [BZ #12684]
72906         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
72907         if both request failed.
72908         (send_dg): In case of server errors clear resplen or *resplen2.
72910         [BZ #12454]
72911         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
72912         when there are multiple maps.
72913         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
72914         (_dl_fini): Remove test here.
72916         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
72918 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
72920         [BZ #12350]
72921         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
72922         bit from old_res_options.
72923         (gaih_inet): Likewise.
72925         [BZ #11099]
72926         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
72927         as signed.
72929         * resolv/res_init.c (res_setoptions): Make the code more compact.
72931         [BZ #11558]
72932         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
72933         set RES_USEVC.
72935         [BZ #11634]
72936         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
72938         * malloc/malloc.h: Mark malloc hook variables as deprecated.
72940         [BZ #11781]
72941         * malloc/malloc.h: Declare malloc hook variables as volatile.
72943         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
72944         in last patch.
72946         [BZ #11799]
72947         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
72948         raise in the comment.
72949         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
72950         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
72951         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
72953 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
72955         [BZ #12811]
72956         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
72957         grow the buffers more if it already has to be sufficient.
72958         (build_wcs_upper_buffer): Likewise.
72959         * posix/regexec.c (check_matching): Likewise.
72960         (clean_state_log_if_needed): Likewise.
72961         (extend_buffers): Don't enlarge buffers beyond size of the input
72962         buffer.
72963         Patches mostly by Emil Wojak <emil@wojak.eu>.
72964         * posix/bug-regex32.c: New file.
72965         * posix/Makefile (tests): Add bug-regex32.
72967         * locale/findlocale.c (_nl_find_locale): Return right away if
72968         _nl_explode_name failed.
72969         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
72971         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
72973         * debug/xtrace.sh: Unify messages.
72974         * malloc/memusage.sh: Likewise.
72976         [BZ #12813]
72977         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
72978         time symbol from vDSO.  Substitute with vsyscall if not available.
72979         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
72980         __vdso_time.
72982         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
72983         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
72984         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
72985         Add sendmmsg and internal_sendmmsg.
72986         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
72987         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
72988         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
72990         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
72991         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
72992         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
72994 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
72996         [BZ #12813]
72997         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
72998         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
72999         available.
73000         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
73001         __vdso_getcpu.
73003         [BZ #12814]
73004         * iconvdata/Makefile (tests): Add bug-iconv9.
73005         * iconvdata/bug-iconv9.c: New file.
73007 2011-05-27  Andreas Schwab  <schwab@redhat.com>
73009         [BZ #12814]
73010         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
73012 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
73014         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73015         (struct user_regs_struct): Change intcs field back to cs.
73017 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
73019         * po/ja.po: Update from translation team.
73021 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
73023         [BZ #12795]
73024         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
73025         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
73027 2011-05-20  Andreas Schwab  <schwab@redhat.com>
73029         * stdlib/longlong.h: Update from GCC.
73031 2011-05-23  Andreas Schwab  <schwab@redhat.com>
73033         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
73034         parameter name.
73035         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
73036         Add parameter name.
73037         (__sysconf): Pass it down.
73039 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
73041         [BZ #12671]
73042         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
73043         some situations.
73044         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
73045         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
73046         add in in __libc_use_alloca calls.  Adjust callers.
73047         (glob): Use malloc in some situations.
73049         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
73050         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
73051         pltexit.
73053 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
73055         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
73056         and CLOCK_BOOTTIME_ALARM.
73058         [BZ #12782]
73059         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
73060         is returned.
73062         * string/_strerror.c (__strerror_r): Print negative errors as signed
73063         numbers.
73065         [BZ #12777]
73066         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
73067         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
73068         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
73070         * configure.in: Fix typo in redirection and correct removal of test
73071         files in two cases.
73073         [BZ #12788]
73074         * locale/setlocale.c (new_composite_name): Fix test to check for
73075         identical name of all categories.
73077         [BZ #12792]
73078         * libio/filedoalloc.c (local_isatty): New function.
73079         (_IO_file_doallocate): Use local_isatty.
73080         * stdio-common/perror.c (perror): In case a new stream is used
73081         forward the stream error.
73082         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
73083         error flag.
73085 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
73087         [BZ #11884]
73088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
73089         alloca.
73090         * include/alloca.h (extend_alloca_account): Define.
73092         [BZ #11857]
73093         * posix/regex.h: Fix comments with documentation of user-accessible
73094         fields after compilation and describe correct free'ing of pattern
73095         after re_compile_pattern.
73096         Patch by Reuben Thomas <rrt@sc3d.org>.
73098 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
73100         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
73101         and -mno-altivec to prevent the compiler from using Altivec and/or
73102         VSX instructions when the corresponding registers are not available.
73104 2011-05-19  Andreas Schwab  <schwab@redhat.com>
73106         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
73108 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
73110         * libio/freopen.c (freopen): Use __dup2, not dup2.
73111         * libio/freopen64.c (freopen64): Likewise.
73113 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
73115         [BZ #12775]
73116         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
73117         * math/Makefile (tests): Add test-powl.
73118         (CFLAGS-test-powl.c): Define.
73119         * math/test-powl.c: New file.
73121 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
73123         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
73125 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
73127         [BZ #11837]
73128         * iconvdata/gb18030.c: Update to GB18020-2005.
73130 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
73132         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
73133         RE_SYNTAX_POSIX_AWK): Update to match recent development.
73134         Patch by Aharon Robbins <arnold@skeeve.com>.
73136         [BZ #11892]
73137         * stdlib/putenv.c (putenv): Don't always create copy of the variable
73138         on the stack.
73140         [BZ #11895]
73141         * misc/pselect.c (__pselect): Handle timeout value errors hidden
73142         through underflows.
73144         [BZ #12766]
73145         * misc/error.c (error_at_line): Ensure file_name and old_file_name
73146         point to strings before performing equality test for error_one_per_line
73147         mode.
73149         [BZ #11697]
73150         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
73152         [BZ #11820]
73153         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
73154         (struct user_fpregs_struct): Avoid __uint*_t types.
73156         [BZ #6420]
73157         * malloc/mtrace.c (tr_where): Add additional parameter to point to
73158         symbol info.  Use it instead of calling _dl_addr locally.
73159         (lock_and_info): New function.
73160         (tr_freehook): Call lock_and_info and pass symbol info as additional
73161         parameter to tr_where.
73162         (tr_mallochook): Likewise.
73163         (tr_reallochook): Likewise.
73164         (tr_memalignhook): Likewise.
73166         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
73167         used and couldn't be at all thread-safe.
73169 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
73171         * libio/freopen.c (freopen): Don't close old file descriptor
73172         before the new one is opened.  Instead dup the new file descriptor
73173         to the old one after the new stream is created.
73174         * libio/freopen64.c (freopen64): Likewise.
73175         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
73176         * libio/fileops.c (_IO_new_file_close_it): Handle new
73177         _IO_FLAGS2_NOCLOSE flag.
73178         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
73179         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
73180         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
73181         _IO_FLAGS2_NOCLOSE flag.
73182         * include/unistd.h: Add hidden_proto for dup3.
73183         Define __have_dup3.
73184         * io/dup3.c: Define hidden symbol.
73185         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
73187         [BZ #7101]
73188         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
73189         when an incomplete long option is used.
73190         * posix/tst-getopt_long1.c: New file.
73191         * posix/Makefile (tests): Add tst-getopt_long1.
73193         [BZ #10138]
73194         * scripts/config.guess: Update from autoconf-2.68.
73195         * scripts/config.sub: Likewise.
73197         [BZ #10157]
73198         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
73199         tests into ...
73200         (has_cpuclock): ...this.  New function.
73201         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
73202         macro here based on has_cpuclock code.
73204         [BZ #10149]
73205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73206         First byte (not low byte) is now always NUL.
73207         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
73209         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73210         Use non-cancelable interfaces.
73212         [BZ #9809]
73213         * locale/iso-639.def: Add entry for Sorani.
73215         [BZ #11901]
73216         * include/stdlib.h: Move include protection to the right place.
73217         Define abort_msg_s.  Declare __abort_msg with it.
73218         * stdlib/abort.c (__abort_msg): Adjust type.
73219         * assert/assert.c (__assert_fail_base): New function.  Majority
73220         of code from __assert_fail.  Allocate memory for __abort_msg with
73221         mmap.
73222         (__assert_fail): Now call __assert_fail_base.
73223         * assert/assert-perr.c: Remove bulk of implementation.  Use
73224         __assert_fail_base.
73225         * include/assert.hL Declare __assert_fail_base.
73226         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
73227         mmap.
73228         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
73230 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
73232         [BZ #11952]
73233         [BZ #12453]
73234         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
73235         until all modules are registered in the DTV.
73236         * elf/Makefile: Add rules to build and run tst-tls19.
73237         * elf/tst-tls19.c: New file.
73238         * elf/tst-tls19mod1.c: New file.
73239         * elf/tst-tls19mod2.c: New file.
73240         * elf/tst-tls19mod3.c: New file.
73241         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
73243         [BZ #12083]
73244         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
73245         correctly.
73247         [BZ #12601]
73248         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
73249         two-byte sequence errors.
73250         * iconvdata/Makefile (tests): Add bug-iconv8.
73251         * iconvdata/bug-iconv8.c: New file.
73253         [BZ #12626]
73254         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
73255         buf2 definition.
73257         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
73259         [BZ #12432]
73260         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
73261         (dummy_getcfa): New function.
73262         (init): Get _Unwind_GetCFA address, use dummy if not found.
73263         (backtrace_helper): In recursion check, also check whether CFA changes.
73264         (__backtrace): Completely initialize arg.
73266         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
73267         storing incomplete byte sequence in state object.  Avoid testing for
73268         guaranteed too small input if we know there is enough data available.
73270 2011-05-11  Andreas Schwab  <schwab@redhat.com>
73272         * Makeconfig (+link-pie): Indent.
73273         * Rules (binaries-pie): Define if $(have-fpie) and
73274         $(build-shared).
73275         (binaries-shared): Also filter out $(binaries-pie).
73276         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
73277         * nscd/Makefile (others-pie): Add nscd.
73278         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
73279         ($(objpfx)nscd): Remove command override.
73280         * login/Makefile (others-pie): Add pt_chown.
73281         ($(objpfx)pt_chown): Remove command override.
73282         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
73283         remove command overrides.
73285 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
73287         * libio/tst_putwc.c: Fix error messages.
73289         [BZ #12724]
73290         * libio/fileops.c (_IO_new_file_close_it): Always flush when
73291         currently writing and seek to current position when not.
73292         * libio/Makefile (tests): Add bug-fclose1.
73293         * libio/bug-fclose1.c: New file.
73295 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
73297         [BZ #12511]
73298         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
73299         don't set DF_1_NODELETE here.
73300         (do_lookup_x): When entering new entry test for copy relocation
73301         and if necessary set DF_1_NODELETE flag.
73302         * elf/tst-unique4.cc: New file.
73303         * elf/tst-unique4.h: New file.
73304         * elf/tst-unique4lib.cc: New file.
73305         * elf/Makefile: Add rules to build and run tst-unique4.
73306         Patch by Piotr Bury <pbury@goahead.com>.
73308 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
73310         [BZ #12052]
73311         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
73313         [BZ #12625]
73314         * misc/mntent_r.c (addmntent): Flush the stream after the output
73316         [BZ #12393]
73317         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
73318         (is_trusted_path_normalize): Skip initial colon.  Append slash
73319         to empty buffer.  Duplicate is_trusted_path code but allow
73320         constructed patch to be prefix.
73321         (is_dst): Allow $ORIGIN followed by /.
73322         (_dl_dst_substitute): Correct clearing of check_for_trusted.
73323         Correct testing of result of is_trusted_path_normalize
73324         (decompose_rpath): Fix warning.
73326 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
73328         [BZ #11257]
73329         * grp/initgroups.c (internal_getgrouplist): When we found the service
73330         list through the initgroups entry in nsswitch.conf do not always
73331         continue on a successful lookup.  Don't always use the
73332         __nss_group_database value if it is set.
73333         * nss/nsswitch.conf (initgroups): Change action for successful db
73334         lookup to continue for compatibility.
73336 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
73338         [BZ #11532]
73339         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
73340         and CP774 modules.
73341         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
73342         and CP774 modules.
73343         * iconvdata/tst-tables.sh: Likewise.
73344         * iconvdata/cp770.c: New file.
73345         * iconvdata/cp771.c: New file.
73346         * iconvdata/cp772.c: New file.
73347         * iconvdata/cp773.c: New file.
73348         * iconvdata/cp774.c: New file.
73349         * iconvdata/testdata/CP770: New file.
73350         * iconvdata/testdata/CP770..UTF8: New file.
73351         * iconvdata/testdata/CP771: New file.
73352         * iconvdata/testdata/CP771..UTF8: New file.
73353         * iconvdata/testdata/CP772: New file.
73354         * iconvdata/testdata/CP772..UTF8: New file.
73355         * iconvdata/testdata/CP773: New file.
73356         * iconvdata/testdata/CP773..UTF8: New file.
73357         * iconvdata/testdata/CP774: New file.
73358         * iconvdata/testdata/CP774..UTF8: New file.
73360         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
73361         END CHARMAP line.
73362         * iconvdata/gen-8bit-gap.sh: Likewise.
73363         * iconvdata/gen-8bit.sh: Likewise.
73365         * locale/iso-639.def: Add ary entry.
73367         [BZ #11258]
73368         * locale/C-translit.h.in: Add U20A1 transliteration.
73370         [BZ #12178]
73371         * locale/iso-639.def: Add wae entry.
73372         Patch by Kevin Bortis <bortis@translate-wae.ch>.
73374         [BZ #12545]
73375         * locale/programs/localedef.c (construct_output_path): Use ssize_t
73376         for n.
73378         [BZ #12711]
73379         * locale/C-translit.h.in: Add entry for U20B9.
73380         Patch by pravin.d.s@gmail.com.
73382 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
73384         [BZ #12713]
73385         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
73386         ENAMETOOLONG use generic getcwd.
73387         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
73388         in rtld.  Use *stat64.
73389         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
73390         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
73391         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
73392         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
73393         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
73394         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
73395         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
73396         __fstatat64 macros.
73397         * include/dirent.h: Add libc_hidden_proto for rewinddir.
73398         * dirent/rewinddir.c: Add libc_hidden_def.
73399         * sysdeps/mach/hurd/rewinddir.c: Likewise.
73400         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
73402         * include/dirent.h (__alloc_dir): Add flags parameter.
73403         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
73404         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
73405         __alloc_dir.
73406         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
73407         from fdopendir if O_CLOEXEC is already set.
73409 2011-03-15  Alan Modra  <amodra@gmail.com>
73411         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
73412         l_tls_firstbyte_offset non-zero.  Save padding offset in
73413         l_tls_firstbyte_offset for later use.
73414         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
73415         freeing static tls block.
73417 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
73419         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
73420         where #ifdef was intended.  The intent is to prevent ARG_MAX from
73421         being defined by the kernel headers.
73423 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
73425         [BZ #12734]
73426         * resolv/resolv.h: Define RES_NOTLDQUERY.
73427         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
73428         no-tld-query and set RES_NOTLDQUERY.
73429         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
73430         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
73431         modern BIND to search name as TLD unless forbidden.
73433 2011-05-07  Petr Baudis  <pasky@suse.cz>
73434             Ulrich Drepper  <drepper@gmail.com>
73436         [BZ #12393]
73437         * elf/dl-load.c (fillin_rpath): Move trusted path check...
73438         (is_trusted_path): ...to here.
73439         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
73440         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
73441         using is_trusted_path_normalize() in setuid scripts.
73443 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
73445         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
73446         __BEGIN/__END_DECLS.
73448 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
73450         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
73451         NSS_STATUS_NOTFOUND if no record was found.
73453 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73455         * sunrpc/Makefile (headers): Add rpc/netdb.h.
73456         (headers-not-in-tirpc): Remove rpc/netdb.h
73457         * resolv/netdb.h: Revert last change.
73459 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
73461         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
73462         circular dependency between libgcc.a and libc.a.
73464 2011-05-05  Andreas Schwab  <schwab@redhat.com>
73466         * resolv/netdb.h: Don't include <rpc/netdb.h>.
73467         * nis/Makefile: Don't install rpcsvc/*.
73468         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
73469         instead of <rpc/types.h>.
73470         (MAXHOSTNAMELEN): Define.
73472 2011-05-03  Andreas Schwab  <schwab@redhat.com>
73474         * elf/ldconfig.c (add_dir): Don't crash on empty path.
73476 2011-04-28  Maciej Babinski  <mbabinski@google.com>
73478         [BZ #12714]
73479         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
73480         gethostbyname4_r when IPv6 results are possible.
73482 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
73484         [BZ #12723]
73485         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
73486         _PC_PIPE_BUF handling.
73488 2011-04-30  Bruno Haible  <bruno@clisp.org>
73490         [BZ #12717]
73491         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
73492         * resolv/netdb.h (getnameinfo): Change type of flags parameter
73493         to 'int'.
73494         * inet/getnameinfo.c (getnameinfo): Likewise.
73496 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
73498         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
73499         to groups setting in database lookup.
73500         * nss/nsswitch.conf: Add initgroups entry.
73502 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
73504         [BZ #12685]
73505         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
73506         mode string.
73507         Patch by Eric Blake <eblake@redhat.com>.
73509 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
73511         * sunrpc/Makefile (need-export-routines): Add svc_run.
73512         (routines): Remove svc_run.
73513         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
73514         * sunrpc/clnt_perr.c (clnt_perrno): Export.
73515         * sunrpc/svc_run.c (svc_run): Likewise.
73516         * sunrpc/svc_udp.c (svcudp_create): Likewise.
73518 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
73520         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
73521         problem in reallocation in last patch.
73523 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
73525         * sunrpc/Makefile: Move inclusion of Rules.
73527 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73529         * nss/nss_files/files-initgroups.c: New file.
73530         * nss/Makefile (libnss_files-routines): Add files-initgroups.
73531         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
73532         _nss_files_initgroups_dyn.
73534 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
73536         * elf/elf.h (R_ARM_IRELATIVE): Define.
73538 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
73540         * po/ru.po: Update from translation team.
73542 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73544         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
73545         dependencies.
73547 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
73549         [BZ #12653]
73550         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
73551         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
73552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73553         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73554         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73556 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
73558         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
73559         differing bytes.
73560         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
73561         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
73562         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
73564 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
73566         [BZ #12420]
73567         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
73568         storing it.
73569         * stdlib/bug-getcontext.c: New file.
73570         * stdlib/Makefile: Add rules to build and run bug-getcontext.
73572 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73574         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
73575         instructions into .machine "z9-109".
73576         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
73577         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
73579 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73581         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
73582         between environment variables and auxiliary vector.
73584 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
73586         * Makefile: Add rules to build linkobj/libc.so.
73587         * include/libc-symbols.h: Define libc_hidden_nolink.
73588         * include/rpc/auth.h: Mark functions which are to be hidden.
73589         * include/rpc/auth_des.h: Likewise.
73590         * include/rpc/auth_unix.h: Likewise.
73591         * include/rpc/clnt.h: Likewise.
73592         * include/rpc/des_crypt.h: Likewise.
73593         * include/rpc/key_prot.h: Likewise.
73594         * include/rpc/pmap_clnt.h: Likewise.
73595         * include/rpc/pmap_prot.h: Likewise.
73596         * include/rpc/pmap_rmt.h: Likewise.
73597         * include/rpc/rpc_msg.h: Likewise.
73598         * include/rpc/svc.h: Likewise.
73599         * include/rpc/svc_auth.h: Likewise.
73600         * include/rpc/xdr.h: Likewise.
73601         * nis/Makefile: Link all DSOs against linkobj/libc.so.
73602         * nss/Makefile: Likewise.
73603         * sunrpc/Makefile: Don't install headers.  Build library with normal
73604         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
73605         * sunrpc/auth_des.c: Hide exported symbols by default, export some
73606         for the compat linking library.  Remove use of INTDEF/INTUSE.
73607         * sunrpc/auth_none.c: Likewise.
73608         * sunrpc/auth_unix.c: Likewise.
73609         * sunrpc/authdes_prot.c: Likewise.
73610         * sunrpc/authuxprot.c: Likewise.
73611         * sunrpc/clnt_gen.c: Likewise.
73612         * sunrpc/clnt_perr.c: Likewise.
73613         * sunrpc/clnt_raw.c: Likewise.
73614         * sunrpc/clnt_simp.c: Likewise.
73615         * sunrpc/clnt_tcp.c: Likewise.
73616         * sunrpc/clnt_udp.c: Likewise.
73617         * sunrpc/clnt_unix.c: Likewise.
73618         * sunrpc/des_crypt.c: Likewise.
73619         * sunrpc/des_soft.c: Likewise.
73620         * sunrpc/get_myaddr.c: Likewise.
73621         * sunrpc/key_call.c: Likewise.
73622         * sunrpc/key_prot.c: Likewise.
73623         * sunrpc/netname.c: Likewise.
73624         * sunrpc/pm_getmaps.c: Likewise.
73625         * sunrpc/pm_getport.c: Likewise.
73626         * sunrpc/pmap_clnt.c: Likewise.
73627         * sunrpc/pmap_prot.c: Likewise.
73628         * sunrpc/pmap_prot2.c: Likewise.
73629         * sunrpc/pmap_rmt.c: Likewise.
73630         * sunrpc/publickey.c: Likewise.
73631         * sunrpc/rpc_cmsg.c: Likewise.
73632         * sunrpc/rpc_common.c: Likewise.
73633         * sunrpc/rpc_dtable.c: Likewise.
73634         * sunrpc/rpc_prot.c: Likewise.
73635         * sunrpc/rpc_thread.c: Likewise.
73636         * sunrpc/rtime.c: Likewise.
73637         * sunrpc/svc.c: Likewise.
73638         * sunrpc/svc_auth.c: Likewise.
73639         * sunrpc/svc_authux.c: Likewise.
73640         * sunrpc/svc_raw.c: Likewise.
73641         * sunrpc/svc_run.c: Likewise.
73642         * sunrpc/svc_simple.c: Likewise.
73643         * sunrpc/svc_tcp.c: Likewise.
73644         * sunrpc/svc_udp.c: Likewise.
73645         * sunrpc/svc_unix.c: Likewise.
73646         * sunrpc/svcauth_des.c: Likewise.
73647         * sunrpc/xcrypt.c: Likewise.
73648         * sunrpc/xdr.c: Likewise.
73649         * sunrpc/xdr_array.c: Likewise.
73650         * sunrpc/xdr_float.c: Likewise.
73651         * sunrpc/xdr_intXX_t.c: Likewise.
73652         * sunrpc/xdr_mem.c: Likewise.
73653         * sunrpc/xdr_rec.c: Likewise.
73654         * sunrpc/xdr_ref.c: Likewise.
73655         * sunrpc/xdr_sizeof.c: Likewise.
73656         * sunrpc/xdr_stdio.c: Likewise.
73658 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
73660         [BZ #12650]
73661         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
73662         * sysdeps/ia64/dl-tls.h: Likewise.
73663         * sysdeps/powerpc/dl-tls.h: Likewise.
73664         * sysdeps/s390/dl-tls.h: Likewise.
73665         * sysdeps/sh/dl-tls.h: Likewise.
73666         * sysdeps/sparc/dl-tls.h: Likewise.
73667         * sysdeps/x86_64/dl-tls.h: Likewise.
73668         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
73670 2011-03-14  Andreas Schwab  <schwab@redhat.com>
73672         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
73673         rpath element also skip the following colon.
73674         (expand_dynamic_string_token): Add is_path parameter and pass
73675         down to DL_DST_REQUIRED and _dl_dst_substitute.
73676         (decompose_rpath): Call expand_dynamic_string_token with
73677         non-zero is_path.  Ignore empty rpaths.
73678         (_dl_map_object_from_fd): Call expand_dynamic_string_token
73679         with zero is_path.
73681 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
73683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
73684         Make cancelable.
73686 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
73688         [BZ #12655]
73689         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
73690         Patch by Filipe David Manana <fdmanana@apache.org>.
73692 2011-04-07  Andreas Schwab  <schwab@redhat.com>
73694         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
73695         Maintain aligned stack.
73696         (CHECK_RSP): Remove unused macro.
73698 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
73700         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
73701         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
73703 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
73705         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
73707         * include/features.h: Mention __USE_XOPEN2K8 in comment.
73709 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
73711         [BZ #12518]
73712         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
73713         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
73714         * sysdeps/x86_64/memmove.c: New file.
73715         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
73716         (memcpy): Renamed to ...
73717         (__new_memcpy): This.
73718         (memcpy): Provide GLIBC_2_14 memcpy.
73719         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
73720         (memcpy): Provide GLIBC_2_2_5 memcpy.
73722 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73724         [BZ #12631]
73725         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
73727 2011-03-30  Andreas Schwab  <schwab@redhat.com>
73729         * misc/syncfs.c: New file.
73730         * misc/Makefile (routines): Add syncfs.
73731         * posix/unistd.h: Declare syncfs.
73732         * sysdeps/unix/syscalls.list: Add syncfs.
73734 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73736         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
73737         open_by_handle_at.
73738         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
73739         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73740         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73741         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73742         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73743         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
73744         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73746 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73748         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
73749         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73750         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
73751         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73752         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73753         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73754         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73756         * io/Makefile: Compile fallocate.c, fallocate64.c, and
73757         sync_file_range.c with -fexceptions.
73758         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
73759         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
73760         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
73761         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
73762         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
73763         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
73764         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
73765         sync_file_range as cancellation point
73766         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
73767         now a wrapper around __call_sync_file_range with cancellation handling.
73768         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
73769         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
73770         function name to __call_sync_file_range.
73771         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
73772         Add call_sync_file_range.
73774 2011-04-01  Andreas Schwab  <schwab@redhat.com>
73776         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73777         bits/timex.h.
73779 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
73781         * iconv/iconv.h: Fix typo in comment.
73782         * io/fcntl.h: Likewise.
73783         * libio/stdio.h: Likewise.
73784         * posix/spawn.h: Likewise.
73785         * posix/unistd.h: Likewise.
73786         * stdlib/stdlib.h: Likewise.
73787         * time/time.h: Likewise.
73788         * wcsmbs/wchar.h: Likewise.
73790         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
73791         open_by_handle): Add.
73792         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
73793         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
73794         Augment a few comments.
73795         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
73796         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
73797         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
73798         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
73799         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
73800         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
73801         open_by_handle.
73803         * io/fcntl.h (AT_EMPTY_PATH): Define.
73805 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
73807         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
73808         * sysdeps/unix/sysv/linux/bits/time.h: New file.
73809         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
73810         to...
73811         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
73812         * Versions.def: Add GLIBC_2.14.
73813         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
73814         Export.
73816 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
73818         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
73819         round counter.
73820         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73822 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
73824         [BZ #12597]
73825         * string/test-strncmp.c (do_page_test): New function.
73826         (check2): Likewise.
73827         (test_main): Call check2.
73828         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
73830 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
73832         [BZ #12587]
73833         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
73834         Handle cache information in CPU leaf 4.
73835         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
73837 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
73839         [BZ #12583]
73840         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
73841         character representation.
73842         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
73844 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
73846         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
73847         END(__isnan) to END(__isnanf) to match function entry point/label
73848         EALIGN(__isnanf,...).
73850 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
73852         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
73854 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
73856         [BZ #12510]
73857         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
73858         copy from the symbol referenced in the relocation to initialize the
73859         used variable.
73860         Patch by Piotr Bury <pbury@goahead.com>.
73861         * elf/Makefile: Add rules to build and tst-unique3.
73862         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
73863         * elf/tst-unique3.cc: New file.
73864         * elf/tst-unique3.h: New file.
73865         * elf/tst-unique3lib.cc: New file.
73866         * elf/tst-unique3lib2.cc: New file.
73868         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
73870 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
73872         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
73873         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
73874         to _start.
73876 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
73878         * elf/dl-load.c (_dl_map_object): If we are looking for the first
73879         to-be-loaded object along a path to loader is ld.so.
73881 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73882             Ulrich Drepper  <drepper@gmail.com>
73884         * sysdeps/x86_64/memset.S: After aligning destination, code
73885         branches to different locations depending on the value of
73886         misalignment, when multiarch is enabled. Fix this.
73888 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
73890         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
73891         Set _x86_64_preferred_memory_instruction for AMD processsors.
73892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73893         Set bit_Prefer_SSE_for_memop for AMD processors.
73895 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
73897         * libio/fmemopen.c (fmemopen): Optimize a bit.
73899 2011-03-03  Andreas Schwab  <schwab@redhat.com>
73901         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
73903 2011-03-03  Roland McGrath  <roland@redhat.com>
73905         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
73907 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
73909         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
73910         __bzero_ultra1 instead of __memset_ultra1.
73912 2011-02-23  Andreas Schwab  <schwab@redhat.com>
73913             Ulrich Drepper  <drepper@gmail.com>
73915         [BZ #12509]
73916         * include/link.h (struct link_map): Add l_orig_initfini.
73917         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
73918         returning unsuccessfully.
73919         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
73920         close of a file loaded at startup, restore the original l_initfini
73921         list.
73922         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
73923         list, store the pointer.
73924         * elf/Makefile ($(objpfx)noload-mem): New rule.
73925         (noload-ENV): Define.
73926         (tests): Add $(objpfx)noload-mem.
73927         * elf/noload.c: Include <memcheck.h>.
73928         (main): Call mtrace.  Close all opened handles.
73930 2011-02-17  Andreas Schwab  <schwab@redhat.com>
73932         [BZ #12454]
73933         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
73934         dependencies are missing.
73936 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73938         Fix __if_freereq crash: Unlike the generic version which uses free,
73939         Hurd needs munmap.
73940         * sysdeps/mach/hurd/ifreq.h: New file.
73942 2011-01-27  Petr Baudis  <pasky@suse.cz>
73943             Ulrich Drepper  <drepper@gmail.com>
73945         [BZ 12445]#
73946         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
73947         to extend_alloca().
73948         * stdio-common/bug23.c: New file.
73949         * stdio-common/Makefile (tests): Add bug23.
73951 2010-09-28  Andreas Schwab  <schwab@redhat.com>
73952             Ulrich Drepper  <drepper@gmail.com>
73954         [BZ #12489]
73955         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
73956         before performing relro protection.  At old place add assertion
73957         to make sure nothing changed.
73959 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
73960             Glauber de Oliveira Costa  <glommer@gmail.com>
73962         * elf/elf.h: Add new ARM TLS relocs.
73964 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
73966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
73967         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
73968         cast from r3.
73969         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
73970         'tests' variable.
73971         * sysdeps/wordsize-64/tst-writev.c: New file.
73973 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
73975         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
73976         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
73977         insns in _dl_start to prevent a TOC reference before relocs are
73978         resolved.
73980 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
73982         [BZ #12469]
73983         * Makeconfig: Remove RANLIB definition.
73984         * Makerules: Don't use RANLIB.
73985         * aclocal.m4: Remove ranlib test.
73986         * configure.in: No need to check for ranlib.
73987         * elf/rtld-Rules: Don't use RANLIB.
73989 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73991         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
73992         protection macro.
73993         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
73994         inclusion protection macro.
73996         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
73997         SIGRTMIN and SIGRTMAX and print information in that case only when
73998         SIGRTMIN is defined.
74000 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
74002         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
74003         arginfo fn returning -1.
74005         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
74006         and thousands string is zero terminated.
74008 2011-02-03  Andreas Schwab  <schwab@redhat.com>
74010         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
74011         sysdeps/unix/sysv/linux/bits/socket.h.
74013 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74015         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
74016         (__CPU_COUNT): Remove old macros.
74017         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
74018         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
74019         (__CPU_ALLOC, __CPU_FREE): Add macros.
74020         (__sched_cpualloc, __sched_cpufree): Add declarations.
74022 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
74024         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
74025         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
74026         * nscd/aicache.c (addhstaiX): Return timeout of added value.
74027         (readdhstai): Return value of addhstaiX call.
74028         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
74029         (addgrbyX): Return value returned by cache_addgr.
74030         (readdgrbyname): Return value returned by addgrbyX.
74031         (readdgrbygid): Likewise.
74032         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
74033         (addpwbyX): Return value returned by cache_addpw.
74034         (readdpwbyname): Return value returned by addhstbyX.
74035         (readdpwbyuid): Likewise.
74036         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
74037         (addservbyX): Return value returned by cache_addserv.
74038         (readdservbyname): Return value returned by addservbyX:
74039         (readdservbyport): Likewise.
74040         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
74041         (addhstbyX): Return value returned by cache_addhst.
74042         (readdhstbyname): Return value returned by addhstbyX.
74043         (readdhstbyaddr): Likewise.
74044         (readdhstbynamev6): Likewise.
74045         (readdhstbyaddrv6): Likewise.
74046         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
74047         (readdinitgroups): Return value returned by addinitgroupsX.
74048         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
74049         (prune_cache): Keep track of timeout value of re-added entries.
74050         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
74051         * nscd/nscd.h: Adjust prototypes of readd* functions.
74053 2011-02-04  Roland McGrath  <roland@redhat.com>
74055         * nis/nis_server.c (nis_servstate): Use the right name for 0.
74056         (nis_stats): Likewise.
74057         * nis/nis_modify.c (nis_modify): Likewise.
74058         * nis/nis_remove.c (nis_remove): Likewise.
74059         * nis/nis_add.c (nis_add): Likewise.
74061         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
74063         * posix/fnmatch_loop.c: Add some consts.
74065         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
74067 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
74069         [BZ #12460]
74070         * config.make.in (config-cflags-novzeroupper): Define.
74071         * configure.in: Substitute libc_cv_cc_novzeroupper.
74072         * elf/Makefile (AVX-CFLAGS): Define.
74073         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
74074         (CFLAGS-tst-auditmod4a.c): Likewise.
74075         (CFLAGS-tst-auditmod4b.c): Likewise.
74076         (CFLAGS-tst-auditmod6b.c): Likewise.
74077         (CFLAGS-tst-auditmod6c.c): Likewise.
74078         (CFLAGS-tst-auditmod7b.c): Likewise.
74079         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
74081 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
74083         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
74084         function to the callback.
74085         Patch partly by Jiri Olsa <jolsa@redhat.com>.
74087 2011-02-02  Andreas Schwab  <schwab@redhat.com>
74089         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
74090         of errno.
74092 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
74094         [BZ #11724]
74095         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
74096         of constructors.
74097         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
74098         of destructors.
74099         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
74101         [BZ #11724]
74102         * elf/Makefile: Add rules to build and run new test.
74103         * elf/tst-initorder.c: New file.
74104         * elf/tst-initorder.exp: New file.
74105         * elf/tst-initordera1.c: New file.
74106         * elf/tst-initordera2.c: New file.
74107         * elf/tst-initordera3.c: New file.
74108         * elf/tst-initordera4.c: New file.
74109         * elf/tst-initorderb1.c: New file.
74110         * elf/tst-initorderb2.c: New file.
74111         * elf/tst-order-a1.c: New file.
74112         * elf/tst-order-a2.c: New file.
74113         * elf/tst-order-a3.c: New file.
74114         * elf/tst-order-a4.c: New file.
74115         * elf/tst-order-b1.c: New file.
74116         * elf/tst-order-b2.c: New file.
74117         * elf/tst-order-main.c: New file.
74118         New test case by George Gensure <werkt0@gmail.com>.
74120 2010-10-01  Andreas Schwab  <schwab@redhat.com>
74122         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
74123         decoding ACE if AI_CANONIDN.
74125 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
74127         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
74129 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
74131         * version.h (RELEASE): Bump for 2.13 release.
74132         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
74134         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
74136         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
74137         MADV_NOHUGEPAGE.
74138         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
74139         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
74140         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
74141         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
74142         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
74143         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74145         * posix/getconf.c: Update copyright year.
74146         * catgets/gencat.c: Likewise.
74147         * csu/version.c: Likewise.
74148         * debug/catchsegv.sh: Likewise.
74149         * debug/xtrace.sh: Likewise.
74150         * elf/ldconfig.c: Likewise.
74151         * elf/ldd.bash.in: Likewise.
74152         * elf/sprof.c (print_version): Likewise.
74153         * iconv/iconv_prog.c: Likewise.
74154         * iconv/iconvconfig.c: Likewise.
74155         * locale/programs/locale.c: Likewise.
74156         * locale/programs/localedef.c: Likewise.
74157         * malloc/memusage.sh: Likewise.
74158         * malloc/mtrace.pl: Likewise.
74159         * nscd/nscd.c (print_version): Likewise.
74160         * nss/getent.c: Likewise.
74162         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
74163         PF_CAIF, and PF_ALG.
74164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74166 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
74168         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
74169         (modules-names): Use them.
74170         (ifunc-test-modules, ifunc-pie-tests): Define.
74171         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
74172         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
74173         (test-extras): Likewise.
74174         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
74175         $(compile-command.c).
74176         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
74177         (all-built-dso): Define.
74178         (check-textrel.out, check-execstack.out): Depend on it.
74180         * configure.in: Don't override --enable-multi-arch.
74182 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
74184         [BZ #6812]
74185         * nscd/hstcache.c (tryagain): Define.
74186         (cache_addhst): Return tryagain not notfound for temporary errors.
74187         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
74188         failed.
74190 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
74192         [BZ #10563]
74193         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
74194         to make the syscall.
74195         * sysdeps/unix/sysv/linux/setgroups.c: New file.
74197         [BZ #12378]
74198         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
74199         and fall back to matching as normal character if the string ends before
74200         the matching ']' is found.  This is what POSIX requires.
74201         * posix/testfnm.c: Adjust test result.
74202         * posix/globtest.sh: Adjust test result.  Add new test.
74203         * posix/tst-fnmatch.input: Likewise.
74204         * posix/tst-fnmatch2.c: Add new test.
74206 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
74208         * elf/Makefile (check-execstack): Revert last change.  Depend on
74209         check-execstack.h.
74210         (check-execstack.h): New target.
74211         (generated): Add check-execstack.h.
74212         * elf/check-execstack.c: Include "check-execstack.h".
74213         (main): Revert last change.
74214         (handle_file): Return zero if GNU_STACK is absent and
74215         DEFAULT_STACK_PERMS doesn't include PF_X.
74217 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
74219         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
74220         in child fails because the descriptor is already closed.
74221         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
74222         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
74223         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
74225         [BZ #12397]
74226         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
74227         syscall.
74229         [BZ #10484]
74230         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
74231         temporary buffer used to handle multi lookups locally.
74232         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
74234 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74236         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
74237         loader is ld.so.
74239 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
74241         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
74242         alignment for SSE2.
74244 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
74246         [BZ #12394]
74247         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
74248         characters.  When rounding increased number of integer digits recompute
74249         number of groups.
74250         * stdio-common/tst-grouping.c: New file.
74251         * stdio-common/Makefile: Add rules to build and run tst-grouping.
74253 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
74255         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
74256         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
74258         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
74259         void.
74260         * bits/select.h: Likewise.
74262 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
74264         * po/ja.po: Update from translation team.
74266 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
74268         [BZ #11155]
74269         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
74270         implementation just like for lxstat, fxstatat, et al.
74272 2010-12-27  Jim Meyering  <meyering@redhat.com>
74274         [BZ #12348]
74275         * posix/regexec.c (build_trtable): Return failure indication upon
74276         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
74278 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
74280         [BZ #12201]
74281         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
74282         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
74283         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
74284         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
74286         [BZ #12207]
74287         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
74289         [BZ #12204]
74290         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
74291         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
74293 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
74295         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
74296         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
74297         script has SORT_BY_INIT_PRIORITY.
74298         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
74299         NO_CTORS_DTORS_SECTIONS is defined.
74300         * elf/soinit.c: Likewise.
74301         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
74302         NO_CTORS_DTORS_SECTIONS is defined.
74303         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
74304         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
74305         * sysdeps/sh/init-first.c: Likewise.
74306         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
74308 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
74310         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
74311         always use the slow path.
74313 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
74315         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
74316         similar rule which adds the sysdep directories to the header search in
74317         order to pick up the correct platform stackinfo.h.
74318         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
74319         perform test if it is, otherwise return successfully without testing.
74320         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
74321         DEFAULT_STACK_PERMS define in stackinfo.h.
74322         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
74323         defined in stackinfo.h.
74324         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
74325         DEFAULT_STACK_PERMS defined in stackinfo.h.
74326         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
74327         * sysdeps/ia64/stackinfo.h: Likewise.
74328         * sysdeps/s390/stackinfo.h: Likewise.
74329         * sysdeps/sh/stackinfo.h: Likewise.
74330         * sysdeps/sparc/stackinfo.h: Likewise.
74331         * sysdeps/x86_64/stackinfo.h: Likewise.
74332         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
74333         PF_X for powerpc64.  Retain PF_X for powerpc32.
74335 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
74337         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
74338         accurately.
74339         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
74340         GETDENTS_64BIT_ALIGNED.
74342 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
74344         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
74346 2010-12-10  Andreas Schwab  <schwab@redhat.com>
74348         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
74349         _GNU_SOURCE.
74351         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
74352         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
74353         Remove __restrict.
74354         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
74355         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
74357 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
74359         [BZ #11655]
74360         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
74361         are initialized.
74363 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
74365         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
74367 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
74369         * po/it.po: Update from translation team.
74371 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
74373         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
74374         unused codes.
74376 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
74378         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
74380 2010-11-24  Andreas Schwab  <schwab@redhat.com>
74382         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
74383         specially.
74384         (gaih_getanswer_slice): Likewise.
74386 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
74388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
74390 2010-05-31  Petr Baudis  <pasky@suse.cz>
74392         [BZ #11149]
74393         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
74394         silently even in the chroot mode.
74396 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
74398         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
74399         last patch a bit.  Pretty printing
74401 2010-05-31  Petr Baudis <pasky@suse.cz>
74403         [BZ #10085]
74404         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
74405         initialization of skip_initgroups_dyn.
74407 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
74409         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
74410         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
74412 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
74414         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
74416 2010-11-11  Andreas Schwab  <schwab@redhat.com>
74418         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
74419         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
74420         (tst-fnmatch-ENV): Set MALLOC_TRACE.
74421         ($(objpfx)tst-fnmatch-mem): New rule.
74422         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
74423         * posix/tst-fnmatch.c (main): Call mtrace.
74425 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
74427         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74428         Support Intel processor model 6 and model 0x2c.
74430 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
74432         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
74433           signed comparison.
74435 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
74437         [BZ #12205]
74438         * string/test-strncasecmp.c (check_result): New function.
74439         (do_one_test): Use it.
74440         (check1): New function.
74441         (test_main): Use it.
74442         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
74443         Support strcasecmp and strncasecmp.
74445 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
74447         [BZ #12194]
74448         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
74449         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74451 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74453         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
74454         IFUNC support.
74455         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74456         memset-x86-64.
74457         * sysdeps/x86_64/multiarch/bzero.S: New file.
74458         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
74459         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
74460         * sysdeps/x86_64/multiarch/memset.S: New file.
74461         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
74462         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
74463         Set bit_Prefer_SSE_for_memop for Intel processors.
74464         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
74465         Define.
74466         (index_Prefer_SSE_for_memop): Define.
74467         (HAS_PREFER_SSE_FOR_MEMOP): Define.
74469 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
74471         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
74472         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
74474 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
74476         [BZ #12191]
74477         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74478         (__x86_64_raw_data_cache_size_half): Likewise.
74479         (__x86_64_raw_shared_cache_size): Likewise.
74480         (__x86_64_raw_shared_cache_size_half): Likewise.
74482         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
74483         (__x86_64_raw_data_cache_size_half): Likewise.
74484         (__x86_64_raw_shared_cache_size): Likewise.
74485         (__x86_64_raw_shared_cache_size_half): Likewise.
74486         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
74487         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
74488         and __x86_64_raw_shared_cache_size_half.  Round
74489         __x86_64_data_cache_size_half, __x86_64_data_cache_size
74490         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
74491         to multiple of 256 bytes.
74493 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
74495         [BZ #12167]
74496         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
74497         of inacessible symlinks.  Verify result of symlink before returning it.
74498         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
74499         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
74501 2010-10-28  Erich Ritz  <erichritz@gmail.com>
74503         * math/math.h (isinf): Fix typo in comment.
74505 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
74507         * po/da.po: Update from translation team.
74509 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
74511         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
74512         is added to the list.
74514 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74515             Ulrich Drepper  <drepper@gmail.com>
74517         * elf/dl-object.c (_dl_new_object): Don't append the new object to
74518         the global list here.  Move code to...
74519         (_dl_add_to_namespace_list): ...here.  New function.
74520         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
74521         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
74522         * elf/dl-load.c (lose): Don't remove the element from the list.
74523         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
74524         (_dl_map_object): Likewise.
74526 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
74528         [BZ #12159]
74529         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
74530         into all bytes of SSE register.
74531         Patch by Richard Li <richardpku@gmail.com>.
74533 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
74535         [BZ #12140]
74536         * malloc/malloc.c (_int_free): Fill correct number of bytes when
74537         perturbing.
74539 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
74541         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
74542         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
74543         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
74544         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
74546         submachine.
74547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
74549 2010-10-22  Andreas Schwab  <schwab@redhat.com>
74551         * include/dlfcn.h (__RTLD_SECURE): Define.
74552         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
74553         mode & __RTLD_SECURE instead.
74554         (open_path): Rename preloaded parameter to secure.
74555         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
74556         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
74557         * elf/dl-deps.c (openaux): Likewise.
74558         * elf/rtld.c (struct map_args): Remove is_preloaded.
74559         (map_doit): Don't use it.
74560         (dl_main): Likewise.
74561         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
74562         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
74564 2010-09-09  Andreas Schwab  <schwab@redhat.com>
74566         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
74567         (sysd-rules-targets): Remove duplicates.
74568         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
74569         rtld-%.$o dependency.
74571 2010-10-18  Andreas Schwab  <schwab@redhat.com>
74573         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
74574         _dl_map_object do it.
74576 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
74578         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
74579         fast fma builtins, define the macros in the C99 standard.
74580         (FP_FAST_FMAF): Likewise.
74581         (FP_FAST_FMAL): Likewise.
74582         * sysdeps/x86_64/bits/mathdef.h: Likewise.
74584         * bits/mathdef.h: Update copyright year.
74585         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74587 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
74589         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
74590         builtins, define the macros in the C99 standard.
74591         (FP_FAST_FMAF): Likewise.
74592         (FP_FAST_FMAL): Likewise.
74593         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
74594         multiply/add.
74595         (FP_FAST_FMAF): Likewise.
74597 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
74599         [BZ #3268]
74600         * math/libm-test.inc (fma_test): Some new testcases.
74601         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
74602         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
74603         y and infinite z.  Do multiplication by C already in long double.
74604         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
74605         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
74606         y and infinite z.  Do bitwise or of inexact bit into u.d.
74607         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
74608         * sysdeps/i386/fpu/s_fmaf.S: Removed.
74609         * sysdeps/i386/fpu/s_fma.S: Removed.
74610         * sysdeps/i386/fpu/s_fmal.S: Removed.
74612 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
74614         [BZ #3268]
74615         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
74616         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
74617         computation is not scheduled after fetestexcept.  Fix value
74618         of minimum denormal long double.
74620 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
74622         [BZ #3268]
74623         * math/libm-test.inc (fma_test): Add some more tests.
74624         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
74625         correctly.
74627 2010-10-15  Andreas Schwab  <schwab@redhat.com>
74629         * scripts/data/localplt-s390-linux-gnu.data: New file.
74630         * scripts/data/localplt-s390x-linux-gnu.data: New file.
74632 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
74634         [BZ #3268]
74635         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
74636         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
74637         instead of dbl-64.
74638         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
74639         inlines.
74640         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
74641         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
74642         if one of x and y is very large and the other is subnormal.
74643         * sysdeps/s390/fpu/s_fmaf.c: New file.
74644         * sysdeps/s390/fpu/s_fma.c: New file.
74645         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
74646         * sysdeps/powerpc/fpu/s_fma.S: New file.
74647         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
74648         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
74649         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
74651 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
74653         [BZ #3268]
74654         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
74655         fma tests.
74656         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
74657         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
74658         * sysdeps/i386/i686/multiarch/s_fma.c: Include
74659         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
74660         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
74661         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
74662         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
74664 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
74666         [BZ #12078]
74667         * posix/regcomp.c (parse_branch): One more memory leak plugged.
74668         * posix/bug-regex31.input: Add test case.
74670 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74672         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
74673         * posix/bug-regex31.input: New file.
74675         [BZ #12078]
74676         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
74677         (parse_sub_exp): Fix last change, use postorder.
74679         * posix/bug-regex31.c: New file.
74680         * posix/Makefile: Add rules to build and run bug-regex31.
74682         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
74684         [BZ #12078]
74685         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
74687         [BZ #12108]
74688         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
74689         to have entries in sys_siglist.
74691         [BZ #12093]
74692         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
74693         be NULL.
74695 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
74697         [BZ #3268]
74698         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
74699         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
74700         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
74701         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
74702         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74703         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
74704         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
74705         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
74706         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
74707         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
74708         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
74709         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
74710         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
74711         * math/ftestexcept.c (fetestexcept): Likewise.
74712         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
74713         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
74714         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
74715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
74716         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
74717         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
74718         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
74720 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
74722         [BZ #12107]
74723         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
74724         newline.
74726 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
74728         * string/bug-strstr1.c: New file.
74729         * string/Makefile: Add rules to build and run bug-strstr1.
74731 2010-10-05  Eric Blake  <eblake@redhat.com>
74733         [BZ #12092]
74734         * string/str-two-way.h (two_way_long_needle): Always clear memory
74735         when skipping input due to the shift table.
74737 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
74739         [BZ #12005]
74740         * malloc/mcheck.c: Handle large requests.
74742         [BZ #12077]
74743         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
74744         for strncmp and strncasecmp.
74745         * string/stratcliff.c: Add tests for strcmp and strncmp.
74746         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
74748 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74750         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
74751         __set_fpscr.
74753 2010-09-30  Andreas Jaeger  <aj@suse.de>
74755         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
74756         (CGROUP_SUPER_MAGIC): Define.
74757         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
74758         Handle btrfs and cgroup file systems.
74759         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
74760         Likewise.
74762 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
74764         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
74765         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
74767 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74769         [BZ #12067]
74770         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
74771         trying to locate the ELF header.
74773 2010-09-27  Andreas Schwab  <schwab@redhat.com>
74775         [BZ #11611]
74776         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
74777         Mask out sign-bit copies when constructing f_fsid.
74779 2010-09-24  Petr Baudis <pasky@suse.cz>
74781         * debug/stack_chk_fail_local.c: Add missing licence exception.
74782         * debug/warning-nop.c: Likewise.
74784 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
74786         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
74787         implementing getdents64 using getdents syscall, set d_type if
74788         __ASSUME_GETDENTS32_D_TYPE.
74790 2010-09-16  Andreas Schwab  <schwab@redhat.com>
74792         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
74793         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
74795 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
74797         [BZ #12037]
74798         * posix/unistd.h: Undo change of feature selection for ftruncate from
74799         2010-01-11.
74801 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
74803         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
74804         detection.
74806 2010-09-20  Andreas Schwab  <schwab@redhat.com>
74808         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
74809         fanotify_mark.
74810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
74812 2010-09-14  Andreas Schwab  <schwab@redhat.com>
74814         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
74815         variables after CHECK_SP call.
74816         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
74818 2010-09-13  Andreas Schwab  <schwab@redhat.com>
74819             Ulrich Drepper  <drepper@redhat.com>
74821         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
74822         re-relocationg ld.so.
74823         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
74824         _dl_init_paths call.
74825         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
74826         here anymore.
74828 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
74830         * resolv/res_init.c (__res_vinit): Count the default server we added.
74832 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
74833             Ulrich Drepper  <drepper@redhat.com>
74835         [BZ #11968]
74836         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74837         (____longjmp_chk): Use %ebx for saving value across system call.
74838         Add unwind info.
74840 2010-09-06  Andreas Schwab  <schwab@redhat.com>
74842         * manual/Makefile: Don't mix pattern rules with normal rules.
74844 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74846         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
74847         operation.
74848         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
74849         * libio/iofopncook.c (_IO_cookie_init): Likewise.
74850         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
74851         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
74852         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74853         Likewise.
74855 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
74857         [BZ #11979]
74858         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
74859         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
74861 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
74863         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
74864         * sysdeps/x86_64/addmul_1.S: Likewise.
74865         * sysdeps/x86_64/lshift.S: Likewise.
74866         * sysdeps/x86_64/mul_1.S: Likewise.
74867         * sysdeps/x86_64/rshift.S: Likewise.
74868         * sysdeps/x86_64/sub_n.S: Likewise.
74869         * sysdeps/x86_64/submul_1.S: Likewise.
74871 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74873         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
74874         Define __sched_param instead of SCHED_* and sched_param when
74875         <bits/sched.h> is included with __need_schedparam defined.
74876         * bits/sched.h [__need_schedparam]
74877         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
74878         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
74879         (__defined_schedparam): Define to 1.
74880         (__sched_param): New structure, identical to sched_param.
74881         (__need_schedparam): Undefine.
74883 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
74885         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
74886         (epoll_create1): Declare.
74888         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
74890 2010-08-31  Andreas Schwab  <schwab@redhat.com>
74892         [BZ #7066]
74893         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
74894         shifting retval into place.
74896 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
74898         * nis/rpcsvc/nis.h: Update copyright notice.
74899         * nis/rpcsvc/nis.x: Likewise.
74900         * nis/rpcsvc/nis_callback.h: Likewise.
74901         * nis/rpcsvc/nis_callback.x: Likewise.
74902         * nis/rpcsvc/nis_object.x: Likewise.
74903         * nis/rpcsvc/nis_tags.h: Likewise.
74904         * nis/rpcsvc/yp.h: Likewise.
74905         * nis/rpcsvc/yp.x: Likewise.
74906         * nis/rpcsvc/ypupd.h: Likewise.
74907         * nis/yp_xdr.c: Likewise.
74908         * nis/ypupdate_xdr.c: Likewise.
74910         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
74911         mainly the body of pmap_getport.  Add parameters to specify timeouts.
74912         (pmap_getport): Use __libc_rpc_getport.
74913         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
74914         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
74915         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
74917 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
74919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
74920         fanotify_mark.
74922 2010-08-27  Roland McGrath  <roland@redhat.com>
74924         * sysdeps/i386/i686/multiarch/Makefile
74925         (CFLAGS-varshift.c): New variable.
74927 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
74929         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
74930         * sysdeps/i386/i686/multiarch/varshift.c: New file.
74932         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
74934         * sysdeps/x86_64/strlen.S: Minimal code improvement.
74936 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
74938         * sysdeps/x86_64/strlen.S: Unroll the loop.
74939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74940         strlen-sse2 strlen-sse2-bsf.
74941         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
74942         __strlen_no_bsf if bit_Slow_BSF is set.
74943         (__strlen_sse42): Removed.
74944         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
74945         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
74947 2010-08-25  Roland McGrath  <roland@redhat.com>
74949         * sysdeps/x86_64/multiarch/varshift.S: File removed.
74950         * sysdeps/x86_64/multiarch/varshift.c: New file.
74951         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
74952         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
74953         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
74954         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
74956 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
74958         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74959         strlen-sse2 strlen-sse2-bsf.
74960         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
74961         __strlen_sse2_bsf if bit_Slow_BSF is unset.
74962         (__strlen_sse2): Removed.
74963         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
74964         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
74965         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
74966         bit_Slow_BSF for Atom.
74967         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
74968         (index_Slow_BSF): Define.
74969         (HAS_SLOW_BSF): Define.
74971 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
74973         [BZ #10851]
74974         * resolv/res_init.c (__res_vinit): When no server address at all
74975         is given default to loopback.
74977 2010-08-24  Roland McGrath  <roland@redhat.com>
74979         * configure.in: Remove config-name.h generation.
74980         * configure: Regenerated.
74981         * config-name.in: File removed.
74982         * scripts/config-uname.sh: New file.
74983         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
74984         ($(objdir)config-name.h): New target.
74986         * sunrpc/rpc_parse.h: Avoid nested comment.
74988 2010-08-24  Richard Henderson  <rth@redhat.com>
74989             Ulrich Drepper  <drepper@redhat.com>
74990             H.J. Lu  <hongjiu.lu@intel.com>
74992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
74993         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
74994         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
74995         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
74996         _mm_alignr_epi8 with _mm_loadu_si128.
74997         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
74998         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
74999         (__m128i_shift_right): Removed.
75000         * sysdeps/i386/i686/multiarch/varshift.h: New file.
75001         * sysdeps/i386/i686/multiarch/varshift.S: New file.
75002         * sysdeps/x86_64/multiarch/varshift.h: New file.
75003         * sysdeps/x86_64/multiarch/varshift.S: New file.
75005 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
75007         * configure.in: Move assembler checks to before sysdep dir checking.
75009 2010-08-20  Petr Baudis  <pasky@suse.cz>
75011         * LICENSES: Sync the sunrpc license.
75013 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
75015         * sunrpc/auth_des.c: Update copyright notice once again.
75016         * sunrpc/auth_none.c: Likewise.
75017         * sunrpc/auth_unix.c: Likewise.
75018         * sunrpc/authdes_prot.c: Likewise.
75019         * sunrpc/authuxprot.c: Likewise.
75020         * sunrpc/bindrsvprt.c: Likewise.
75021         * sunrpc/clnt_gen.c: Likewise.
75022         * sunrpc/clnt_perr.c: Likewise.
75023         * sunrpc/clnt_raw.c: Likewise.
75024         * sunrpc/clnt_simp.c: Likewise.
75025         * sunrpc/clnt_tcp.c: Likewise.
75026         * sunrpc/clnt_udp.c: Likewise.
75027         * sunrpc/clnt_unix.c: Likewise.
75028         * sunrpc/des_crypt.c: Likewise.
75029         * sunrpc/des_soft.c: Likewise.
75030         * sunrpc/get_myaddr.c: Likewise.
75031         * sunrpc/getrpcport.c: Likewise.
75032         * sunrpc/key_call.c: Likewise.
75033         * sunrpc/key_prot.c: Likewise.
75034         * sunrpc/openchild.c: Likewise.
75035         * sunrpc/pm_getmaps.c: Likewise.
75036         * sunrpc/pm_getport.c: Likewise.
75037         * sunrpc/pmap_clnt.c: Likewise.
75038         * sunrpc/pmap_prot.c: Likewise.
75039         * sunrpc/pmap_prot2.c: Likewise.
75040         * sunrpc/pmap_rmt.c: Likewise.
75041         * sunrpc/rpc/auth.h: Likewise.
75042         * sunrpc/rpc/auth_unix.h: Likewise.
75043         * sunrpc/rpc/clnt.h: Likewise.
75044         * sunrpc/rpc/des_crypt.h: Likewise.
75045         * sunrpc/rpc/key_prot.h: Likewise.
75046         * sunrpc/rpc/netdb.h: Likewise.
75047         * sunrpc/rpc/pmap_clnt.h: Likewise.
75048         * sunrpc/rpc/pmap_prot.h: Likewise.
75049         * sunrpc/rpc/pmap_rmt.h: Likewise.
75050         * sunrpc/rpc/rpc.h: Likewise.
75051         * sunrpc/rpc/rpc_des.h: Likewise.
75052         * sunrpc/rpc/rpc_msg.h: Likewise.
75053         * sunrpc/rpc/svc.h: Likewise.
75054         * sunrpc/rpc/svc_auth.h: Likewise.
75055         * sunrpc/rpc/types.h: Likewise.
75056         * sunrpc/rpc/xdr.h: Likewise.
75057         * sunrpc/rpc_clntout.c: Likewise.
75058         * sunrpc/rpc_cmsg.c: Likewise.
75059         * sunrpc/rpc_common.c: Likewise.
75060         * sunrpc/rpc_cout.c: Likewise.
75061         * sunrpc/rpc_dtable.c: Likewise.
75062         * sunrpc/rpc_hout.c: Likewise.
75063         * sunrpc/rpc_main.c: Likewise.
75064         * sunrpc/rpc_parse.c: Likewise.
75065         * sunrpc/rpc_parse.h: Likewise.
75066         * sunrpc/rpc_prot.c: Likewise.
75067         * sunrpc/rpc_sample.c: Likewise.
75068         * sunrpc/rpc_scan.c: Likewise.
75069         * sunrpc/rpc_scan.h: Likewise.
75070         * sunrpc/rpc_svcout.c: Likewise.
75071         * sunrpc/rpc_tblout.c: Likewise.
75072         * sunrpc/rpc_util.c: Likewise.
75073         * sunrpc/rpc_util.h: Likewise.
75074         * sunrpc/rpcinfo.c: Likewise.
75075         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
75076         * sunrpc/rpcsvc/key_prot.x: Likewise.
75077         * sunrpc/rpcsvc/klm_prot.x: Likewise.
75078         * sunrpc/rpcsvc/mount.x: Likewise.
75079         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
75080         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
75081         * sunrpc/rpcsvc/rex.x: Likewise.
75082         * sunrpc/rpcsvc/rstat.x: Likewise.
75083         * sunrpc/rpcsvc/rusers.x: Likewise.
75084         * sunrpc/rpcsvc/sm_inter.x: Likewise.
75085         * sunrpc/rpcsvc/spray.x: Likewise.
75086         * sunrpc/rpcsvc/yppasswd.x: Likewise.
75087         * sunrpc/rtime.c: Likewise.
75088         * sunrpc/svc.c: Likewise.
75089         * sunrpc/svc_auth.c: Likewise.
75090         * sunrpc/svc_authux.c: Likewise.
75091         * sunrpc/svc_raw.c: Likewise.
75092         * sunrpc/svc_run.c: Likewise.
75093         * sunrpc/svc_simple.c: Likewise.
75094         * sunrpc/svc_tcp.c: Likewise.
75095         * sunrpc/svc_udp.c: Likewise.
75096         * sunrpc/svc_unix.c: Likewise.
75097         * sunrpc/svcauth_des.c: Likewise.
75098         * sunrpc/xcrypt.c: Likewise.
75099         * sunrpc/xdr.c: Likewise.
75100         * sunrpc/xdr_array.c: Likewise.
75101         * sunrpc/xdr_float.c: Likewise.
75102         * sunrpc/xdr_mem.c: Likewise.
75103         * sunrpc/xdr_rec.c: Likewise.
75104         * sunrpc/xdr_ref.c: Likewise.
75105         * sunrpc/xdr_sizeof.c: Likewise.
75106         * sunrpc/xdr_stdio.c: Likewise.
75108         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
75109         handling.
75111 2010-08-19  Andreas Schwab  <schwab@redhat.com>
75113         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
75115 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
75117         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
75118         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
75119         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
75120         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
75121         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
75122         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
75123         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
75124         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
75125         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
75126         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
75127         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
75128         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
75129         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
75130         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
75132 2010-07-26  Anton Blanchard  <anton@samba.org>
75134         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
75135         * malloc/arena.c (heap_trim): Likewise.
75137 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
75139         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
75140         here.  Not...
75141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
75142         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
75144 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
75146         * sysdeps/i386/elf/Makefile: New file.
75148 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75150         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
75151         from fanotify_init.
75152         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
75153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75155 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
75157         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
75158         of strncasecmp_l.
75159         * sysdeps/multiarch/strcmp.S: Likewise.
75161 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
75163         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75164         strncase_l-nonascii.
75165         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75166         Add strncase_l-ssse3.
75167         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
75168         * sysdeps/x86_64/strcmp.S: Likewise.
75169         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
75170         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
75171         * sysdeps/x86_64/strncase.S: New file.
75172         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
75173         * sysdeps/x86_64/strncase_l.S: New file.
75174         * string/Makefile (strop-tests): Add strncasecmp.
75175         * string/test-strncasecmp.c: New file.
75177         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
75178         warning.
75180         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
75181         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
75183 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
75185         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
75187 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
75189         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
75190         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
75191         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
75193 2010-05-01  Alan Modra  <amodra@gmail.com>
75195         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
75196         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
75197         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
75198         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
75199         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
75200         tidying.  Don't tail-call __sigjmp_save for static lib.
75201         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
75202         save location.
75203         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
75204         (CALL_MCOUNT): Add eh info, and nop after bl.
75205         (TAIL_CALL_SYSCALL_ERROR): New macro.
75206         (PSEUDO_RET): Use it.
75207         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
75208         Correct save location of integer regs and cr.
75209         (_dl_profile_resolve): Correct cr save location.  Delete nops
75210         after bl when SHARED.  Reduce cfi size a little by better
75211         placement of cfi directives.
75212         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
75213         make a stack frame.  Instead use parm save area as a temp.
75214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
75215         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
75216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
75217         Don't make a stack frame for parent, use parm save area.
75218         Increase child stack frame to 112 bytes.  Don't save unused reg,
75219         and adjust reg usage.  Set up cfi on error recovery and
75220         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
75221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
75222         (__makecontext): Add dummy nop after jump to exit.
75223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
75224         Use correct parm save area and cr save, reduce stack frame.
75225         Correct cfi for possible PSEUDO_RET frame setup.
75226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
75227         Branch to local label emitted by PSEUDO_RET rather than
75228         __syscall_error.
75230 2010-08-12  Andreas Schwab  <schwab@redhat.com>
75232         [BZ #11904]
75233         * locale/programs/locale.c (print_assignment): New function.
75234         (show_locale_vars): Use it.
75236 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
75238         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
75239         field.
75240         (struct statfs64): Likewise.
75241         (_STATFS_F_FLAGS): Define.
75242         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
75243         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75244         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
75245         (ST_VALID): Define locally.
75246         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
75247         __statvfs_getflags, use the provided value.
75248         * sysdeps/unix/sysv/linux/kernel-features.h: Define
75249         __ASSUME_STATFS_F_FLAGS.
75251         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
75253         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
75254         Add sys/fanotify.h.
75255         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
75256         fanotify_mask for GLIBC_2.13.
75257         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
75258         fanotify_init and fanotify_mark.
75259         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
75260         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
75262         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
75263         Add prlimit.
75264         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
75265         prlimit64 for GLIBC_2.13.
75266         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
75267         prlimit64.
75268         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
75269         syscall.
75270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
75271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
75272         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
75273         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
75274         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
75275         add prlimit alias.
75276         * sysdeps/unix/sysv/linux/prlimit.c: New file.
75278         [BZ #11903]
75279         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
75280         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
75282         * nss/Makefile: Add rules to build and run tst-nss-test1.
75283         * shlib-versions: Add entry for libnss_test1.
75284         * nss/nss_test1.c: New file.
75285         * nss/tst-nss-test1.c: New file.
75287         * nss/nsswitch.c (__nss_database_custom): Define new variable.
75288         (__nss_configure_lookup): Set appropriate entry in
75289         __nss_configure_lookup to true.
75290         * nss/nsswitch.h: Define enum with indeces of databases in
75291         databases and __nss_database_custom arrays.  Declare
75292         __nss_database_custom.
75293         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
75294         to avoid using nscd when custom rules are installed.
75295         * nss/getXXbyYY_r.c: Likewise.
75296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
75298         * nss/nss_files/files-parse.c: Whitespace fixes.
75300 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
75302         [BZ #11883]
75303         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
75304         * posix/fnmatch_loop.c: Likewise.
75306 2010-07-17  Andi Kleen  <ak@linux.intel.com>
75308         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
75309         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
75310         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
75311         * Versions.def [GLIBC_2.13]: Add.
75313 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
75315         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75316         Also fail if tpwd after pwuid call is NULL.
75318 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75320         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
75321         when converting to ms.
75323 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75325         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
75326         EOPNOTSUPP errors with ENOTTY.
75327         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
75328         EOPNOTSUPP errors with ENOTTY.
75330 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
75332         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
75333         Add strcasecmp_l-ssse3.
75334         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
75335         strcasecmp.
75336         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
75337         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
75338         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
75340 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
75342         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
75344         * string/Makefile (strop-tests): Add strcasecmp.
75345         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
75346         strcasecmp_l-nonascii.
75347         (gen-as-const-headers): Add locale-defines.sym.
75348         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
75349         * sysdeps/x86_64/strcasecmp.S: New file.
75350         * sysdeps/x86_64/strcasecmp_l.S: New file.
75351         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
75352         * sysdeps/x86_64/locale-defines.sym: New file.
75353         * string/test-strcasecmp.c: New file.
75355         * string/test-strcasestr.c: Test both ends of the range of characters.
75356         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
75358 2010-07-29  Roland McGrath  <roland@redhat.com>
75360         [BZ #11856]
75361         * manual/locale.texi (Yes-or-No Questions): Fix example code.
75363 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
75365         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
75366         for ld.so.
75368 2010-07-27  Andreas Schwab  <schwab@redhat.com>
75370         * manual/memory.texi (Malloc Tunable Parameters): Document
75371         M_PERTURB.
75373 2010-07-26  Roland McGrath  <roland@redhat.com>
75375         [BZ #11840]
75376         * configure.in (-fgnu89-inline check): Set and substitute
75377         gnu89_inline, not libc_cv_gnu89_inline.
75378         * configure: Regenerated.
75379         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
75381 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
75383         * string/test-strnlen.c: New file.
75384         * string/Makefile (strop-tests): Add strnlen.
75385         * string/tester.c (test_strnlen): Add a few more test cases.
75386         * string/tst-strlen.c: Better error reporting.
75388         * sysdeps/x86_64/strnlen.S: New file.
75390 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
75392         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
75393         lower-latency instructions.
75395 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
75397         * string/test-strcasestr.c: New file.
75398         * string/test-strstr.c: New file.
75399         * string/Makefile (strop-tests): Add strstr and strcasestr.
75400         * string/str-two-way.h: Don't undefine MAX.
75401         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
75403 2010-07-21  Andreas Schwab  <schwab@redhat.com>
75405         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75406         strcasestr-nonascii.
75407         (CFLAGS-strcasestr-nonascii.c): Define.
75408         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
75409         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
75410         Remove unused attribute.
75412 2010-07-20  Roland McGrath  <roland@redhat.com>
75414         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
75415         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
75416         ld.so.cache was broken.  With it, there is no way to disable dsocaps
75417         like LD_HWCAP_MASK can disable hwcaps.
75419 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75421         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
75423 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
75425         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
75426         call in strcasestr.
75427         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
75428         __strcasestr_sse42_nonascii.
75429         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
75430         strcasestr-nonascii.c.
75431         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
75433 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
75435         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
75436         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
75437         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
75438         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
75440 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
75442         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
75443         fcntl.
75445 2010-07-06  Andreas Schwab  <schwab@redhat.com>
75447         [BZ #11577]
75448         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
75449         dl_signal_cerror.
75451 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
75453         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
75454         _PC_PIPE_BUF using F_GETPIPE_SZ.
75456 2010-07-05  Roland McGrath  <roland@redhat.com>
75458         * manual/arith.texi (Rounding Functions): Fix rint description
75459         implicit in round description.
75461 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
75463         * elf/Makefile: Fix linking for a few tests to make recent linker
75464         happy.
75466 2010-06-30  Andreas Schwab  <schwab@redhat.com>
75468         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75469         $(common-objpfx)libc_nonshared.a.
75471 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
75473         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
75474         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
75475         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75476         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75477         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
75478         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
75479         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75480         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
75482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
75483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
75484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
75485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
75486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
75487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
75488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
75489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
75490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
75491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
75492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
75493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
75494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
75495         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
75496         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
75497         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
75498         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
75499         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
75500         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
75501         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
75502         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
75503         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
75504         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
75505         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
75506         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
75507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
75508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
75509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
75510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
75511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
75512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
75513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
75514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
75515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
75516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
75517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
75518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
75519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
75520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
75522 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
75524         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
75525         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
75526         * string/memmove.c (memmove): Renamed to ...
75527         (MEMMOVE): ...this.  Default to memmove.
75528         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
75529         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
75530         (END_CHK): Define.
75531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75532         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
75533         mempcpy-ssse3-back memmove-ssse3-back.
75534         * sysdeps/x86_64/multiarch/bcopy.S: New file .
75535         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
75536         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
75537         * sysdeps/x86_64/multiarch/memcpy.S: New file.
75538         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
75539         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
75540         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
75541         * sysdeps/x86_64/multiarch/memmove.c: New file.
75542         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
75543         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
75544         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
75545         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
75546         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
75547         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
75548         Define.
75549         (index_Fast_Copy_Backward): Define.
75550         (HAS_ARCH_FEATURE): Define.
75551         (HAS_FAST_REP_STRING): Define.
75552         (HAS_FAST_COPY_BACKWARD): Define.
75554 2010-06-21  Andreas Schwab  <schwab@redhat.com>
75556         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
75557         Restore proper fallback handling.
75559 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
75561         [BZ #11701]
75562         * posix/group_member.c (__group_member): Correct checking loop.
75564         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
75565         OOM in getpwuid_r correctly.  Return error number when the caller
75566         should return, otherwise -1.
75567         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
75568         call returning > 0 value.
75569         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
75571 2010-06-07  Andreas Schwab  <schwab@redhat.com>
75573         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
75574         libc_nonshared.a from targets in modules-names.
75576 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
75578         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
75579         requires it.
75581 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
75583         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
75584         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
75585         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
75586         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
75588 2010-06-02  Andreas Schwab  <schwab@redhat.com>
75590         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
75592 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
75594         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
75595         and F_GETPIPE_SZ.
75596         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
75597         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
75598         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75599         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75600         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
75601         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
75603 2010-06-14  Roland McGrath  <roland@redhat.com>
75605         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
75607 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
75609         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
75610         __REDIRECT followed by __THROW.
75611         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
75612         * posix/getopt.h (getopt): Likewise.
75614 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
75616         * hurd/lookup-at.c (__file_name_lookup_at): Accept
75617         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
75618         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
75619         in AT_FLAGS.
75620         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
75621         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
75623 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
75625         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
75627 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
75629         [BZ #11640]
75630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75631         Properly check family and model.
75633 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
75635         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
75637 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
75639         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
75641 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
75643         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
75644         symbol reference.
75646 2010-05-19  Andreas Schwab  <schwab@redhat.com>
75648         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
75649         symbol reference.
75651 2010-05-21  Andreas Schwab  <schwab@redhat.com>
75653         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
75654         and internal_recvmmsg.
75655         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
75656         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
75657         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
75658         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
75660         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
75661         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
75662         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
75664 2010-05-20  Andreas Schwab  <schwab@redhat.com>
75666         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
75668 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
75670         POWER7 optimizations.
75671         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
75672         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
75674 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
75676         * version.h: Update for 2.13 development version.
75678 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
75680         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
75681         exceptions.  Return 0.
75683 2010-05-07  Roland McGrath  <roland@redhat.com>
75685         * elf/ldconfig.c (main): Add a const.
75687 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
75689         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
75690         (args_options): Add no-idn option.
75691         (ahosts_keys_int): Add idn_flags to ai_flags.
75692         (parse_option): Handle 'i' option to clear idn_flags.
75694         * malloc/malloc.c (_int_free): Possible race in the most recently
75695         added check.  Only act on the data if no current modification
75696         happened.
75698 See ChangeLog.17 for earlier changes.