Restore sparc64 implementation of semctl
[glibc.git] / ChangeLog
blob2a442d2fff9c1aedd10f7e6afb6a8f8959ea80d1
1 2015-09-17  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
5 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #18977]
8         * math/bits/mathcalls.h
9         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
10         not declare.
11         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
12         Likewise.
13         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14         Likewise.
15         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16         Likewise.
17         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
18         Likewise.
19         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20         Likewise.
21         * conform/data/math.h-data
22         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
23         function.
24         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
25         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
26         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
27         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
29         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
32         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
33         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
34         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
36         [BZ #6803]
37         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
38         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
39         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
40         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
41         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
42         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
43         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
44         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
45         [NO_LONG_DOUBLE] (scalbnl): Likewise.
46         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
47         Likewise.
48         [NO_LONG_DOUBLE] (scalbnl): Likewise.
49         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
50         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
51         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
52         long_double_symbol calls.
53         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
54         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
55         strong alias of __ldexpl.
56         (scalbnl): Define using long_double_symbol.
57         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
58         Remove alias.
59         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
60         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
61         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
62         (scalbln_test_data): Add more errno expectations.
64 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
66         Cache the host port like we cache the task port.  This way we do not
67         need to call the kernel just to get the port.  Furthermore, we no
68         longer increase the reference count on every invocation of
69         `mach_host_self'.
71         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
72         Protect declarations against the macro expansion.
73         * mach/mach_init.c (__mach_host_self_): New variable.
74         (mach_init): Initialize `__mach_host_self_'.
75         * mach/mach_init.h (__mach_host_self_): New declaration.
76         (__mach_host_self, mach_host_self): New macros.
77         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
78         Release reference.
80 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
82         [BZ #4404]
83         * po/de.po: Update from Translation Project.
85         [BZ #16415]
86         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
87         (__expm1l): Remove code to handle positive infinity and overflow.
88         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
89         variable.
90         (__expm1l): Remove code to handle positive infinity and overflow.
92 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
93             Paul Pluzhnikov  <ppluzhnikov@google.com>
95         [BZ #18872]
96         * stdio-common/Makefile (tst-printf-bz18872): New test.
97         (tst-printf-bz18872-mem.out): Likewise.
98         * stdio-common/tst-printf-bz18872.sh: Generate new test.
99         * stdio-common/vfprintf.c: Fix memory leaks.
101 2015-09-16  Andreas Schwab  <schwab@suse.de>
103         [BZ #17244]
104         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
105         Remove extra va_start/va_end calls.
107         [BZ #17243]
108         * posix/execl.c (execl): Add missing va_end.
109         * posix/execle.c (execle): Likewise.
110         * posix/execlp.c (execlp): Likewise.
112 2015-09-15  Roland McGrath  <roland@hack.frob.com>
114         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
115         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
117 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
119         [BZ #18967]
120         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
121         undefine around includes of <bits/mathcalls.h>.
122         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
123         not declare function.
124         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
125         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
126         (scalb): Likewise.
127         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
128         not define macro.
129         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
130         variable.
131         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
132         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
133         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
135         [BZ #18857]
136         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
137         return non-finite argument without doing ordered comparisons on
138         it.
140         [BZ #16296]
141         * math/fenv.h (fegetround): Use __attribute_pure__.
142         * include/fenv.h (__fegetround): Likewise.
144         [BZ #18595]
145         * math/s_ctan.c (__ctan): Force underflow exception for results
146         whose real or imaginary part has small absolute value.
147         * math/s_ctanf.c (__ctanf): Likewise.
148         * math/s_ctanh.c (__ctanh): Likewise.
149         * math/s_ctanhf.c (__ctanhf): Likewise.
150         * math/s_ctanhl.c (__ctanhl): Likewise.
151         * math/s_ctanl.c (__ctanl): Likewise.
152         * math/auto-libm-test-in: Do not allow missing underflow for ctan
153         and ctanh.  Add more tests of ctan and ctanh.
155         [BZ #15918]
156         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
157         handling of cases where one argument is an infinity.
159         [BZ #18875]
160         [BZ #18966]
161         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
162         (MO): New macro.
163         (__ieee754_exp10): For small results, force underflow exception
164         and remove excess range and precision from return value.
165         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
166         (MO): New macro.
167         (__ieee754_exp10f): For small results, force underflow exception
168         and remove excess range and precision from return value.
169         * math/auto-libm-test-in: Add more tests of exp10.
170         * math/auto-libm-test-out: Regenerated.
172 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
174         [BZ #18875]
175         [BZ #18961]
176         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
177         (MO): New macro.
178         (__ieee754_exp): For small results, force underflow exception and
179         remove excess range and precision from return value.
180         (__exp_finite): Likewise.
181         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
182         (MO): New macro.
183         (__ieee754_expf): For small results, force underflow exception and
184         remove excess range and precision from return value.
185         (__expf_finite): Likewise.
186         * math/auto-libm-test-in: Add more tests of exp.
187         * math/auto-libm-test-out: Regenerated.
189         [BZ #16521]
190         [BZ #18875]
191         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
192         small results.
193         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
194         (MO): New macro.
195         (__ieee754_exp2): For small results, force underflow exception and
196         remove excess range and precision from return value.
197         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
198         (MO): New macro.
199         (__ieee754_exp2f): For small results, force underflow exception
200         and remove excess range and precision from return value.
201         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
202         (MO): New macro.
203         (__ieee754_exp2l): Force underflow exception for small results.
204         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
205         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
206         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
207         (MO): New macro.
208         (__ieee754_exp2l): Force underflow exception for small results.
209         * math/auto-libm-test-in: Add more tests or exp2.
210         * math/auto-libm-test-out: Regenerated.
212 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
214         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
216         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
217         /dev/null.
219 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
221         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
222         io fs process)): Drop spurious backslash.
224 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
226         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
227         Use sysinfo system call instead of parsing /proc/meminfo.
228         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
229         Likewise.
231 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
233         [BZ #16985]
234         * programs/localedef.c (main): Display argv[remaining] when
235         output_path is NULL.
237 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
239         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
240         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
241         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
242         tanh.
243         * math/auto-libm-test-out: Regenerated.
244         * sysdeps/i386/fpu/libm-test-ulps: Update.
245         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
249 2015-09-11  Roland McGrath  <roland@hack.frob.com>
251         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
252         Use 'override' keyword to freeze the value here, preventing
253         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
255 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
257         [BZ #14912]
258         * sysdeps/aarch64/bits/atomic.h: Move to ...
259         * sysdeps/aarch64/atomic-machine.h: ...here.
260         (_AARCH64_BITS_ATOMIC_H): Rename macro to
261         _AARCH64_ATOMIC_MACHINE_H.
262         * sysdeps/alpha/bits/atomic.h: Move to ...
263         * sysdeps/alpha/atomic-machine.h: ...here.
264         * sysdeps/arm/bits/atomic.h: Move to ...
265         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
266         * bits/atomic.h: Move to ...
267         * sysdeps/generic/atomic-machine.h: ...here.
268         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
269         * sysdeps/i386/bits/atomic.h: Move to ...
270         * sysdeps/i386/atomic-machine.h: ...here.
271         * sysdeps/ia64/bits/atomic.h: Move to ...
272         * sysdeps/ia64/atomic-machine.h: ...here.
273         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
274         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
275         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
276         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
277         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
278         * sysdeps/microblaze/bits/atomic.h: Move to ...
279         * sysdeps/microblaze/atomic-machine.h: ...here.
280         * sysdeps/mips/bits/atomic.h: Move to ...
281         * sysdeps/mips/atomic-machine.h: ...here.
282         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
283         * sysdeps/powerpc/bits/atomic.h: Move to ...
284         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
285         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
286         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
287         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
288         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
289         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
290         <atomic-machine.h> instead of <bits/atomic.h>.
291         * sysdeps/s390/bits/atomic.h: Move to ...
292         * sysdeps/s390/atomic-machine.h: ...here.
293         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
294         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
295         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
296         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
297         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
298         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
299         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
300         * sysdeps/tile/bits/atomic.h: Move to ...
301         * sysdeps/tile/atomic-machine.h: ...here.
302         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
303         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
304         <sysdeps/tile/atomic-machine.h> instead of
305         <sysdeps/tile/bits/atomic.h>.
306         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
307         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
308         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
309         <sysdeps/tile/atomic-machine.h> instead of
310         <sysdeps/tile/bits/atomic.h>.
311         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
312         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
313         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
314         <sysdeps/arm/atomic-machine.h> instead of
315         <sysdeps/arm/bits/atomic.h>.
316         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
317         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
318         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
319         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
320         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
321         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
322         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
323         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
324         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
325         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
326         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
327         * sysdeps/x86_64/bits/atomic.h: Move to ...
328         * sysdeps/x86_64/atomic-machine.h: ...here.
329         * include/atomic.h: Include <atomic-machine.h> instead of
330         <bits/atomic.h>.
332         * sysdeps/mips/mips32/libm-test-ulps: Update.
333         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
335         [BZ #18952]
336         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
337         not convert non-integer negative arguments to int to determine the
338         value of signgam.
339         * math/auto-libm-test-in: Add more tests of lgamma.
340         * math/auto-libm-test-out: Regenerated.
342         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
343         cosh, csqrt, erfc, expm1 and lgamma.
344         * math/auto-libm-test-out: Regenerated.
345         * sysdeps/i386/fpu/libm-test-ulps: Update.
346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
348 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
350         [BZ #2542]
351         [BZ #2543]
352         [BZ #2558]
353         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
354         __lgamma_neg for arguments from -28.0 to -2.0.
355         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
356         __lgamma_negf for arguments from -15.0 to -2.0.
357         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
358         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
359         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
360         Call __lgamma_negl for arguments from -33.0 to -2.0.
361         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
362         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
363         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
364         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
365         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
366         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
367         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
368         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
369         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
370         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
371         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
372         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
373         (__lgamma_neg): Likewise.
374         (__lgamma_negl): Likewise.
375         (__lgamma_product): Likewise.
376         (__lgamma_productl): Likewise.
377         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
378         * math/auto-libm-test-in: Add more tests of lgamma.
379         * math/auto-libm-test-out: Regenerated.
380         * sysdeps/i386/fpu/libm-test-ulps: Update.
381         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
383 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
385         [BZ #18675]
386         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
388 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
390         [BZ #14912]
391         * bits/libc-lock.h: Move to ...
392         * sysdeps/generic/libc-lock.h: ...here.
393         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
394         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
395         * sysdeps/mach/hurd/libc-lock.h: ...here.
396         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
397         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
398         * sysdeps/mach/bits/libc-lock.h: Move to ...
399         * sysdeps/mach/libc-lock.h: ...here.
400         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
401         * sysdeps/nptl/bits/libc-lock.h: Move to ...
402         * sysdeps/nptl/libc-lock.h: ...here.
403         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
404         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
405         * sysdeps/nptl/libc-lockP.h: ...here.
406         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
407         * crypt/crypt_util.c: Include <libc-lock.h> instead of
408         <bits/libc-lock.h>.
409         * dirent/scandir-tail.c: Likewise.
410         * dlfcn/dlerror.c: Likewise.
411         * elf/dl-close.c: Likewise.
412         * elf/dl-iteratephdr.c: Likewise.
413         * elf/dl-lookup.c: Likewise.
414         * elf/dl-open.c: Likewise.
415         * elf/dl-support.c: Likewise.
416         * elf/dl-writev.h: Likewise.
417         * elf/rtld.c: Likewise.
418         * grp/fgetgrent.c: Likewise.
419         * gshadow/fgetsgent.c: Likewise.
420         * gshadow/sgetsgent.c: Likewise.
421         * iconv/gconv_conf.c: Likewise.
422         * iconv/gconv_db.c: Likewise.
423         * iconv/gconv_dl.c: Likewise.
424         * iconv/gconv_int.h: Likewise.
425         * iconv/gconv_trans.c: Likewise.
426         * include/link.h: Likewise.
427         * inet/getnameinfo.c: Likewise.
428         * inet/getnetgrent.c: Likewise.
429         * inet/getnetgrent_r.c: Likewise.
430         * intl/bindtextdom.c: Likewise.
431         * intl/dcigettext.c: Likewise.
432         * intl/finddomain.c: Likewise.
433         * intl/gettextP.h: Likewise.
434         * intl/loadmsgcat.c: Likewise.
435         * intl/localealias.c: Likewise.
436         * intl/textdomain.c: Likewise.
437         * libidn/idn-stub.c: Likewise.
438         * libio/libioP.h: Likewise.
439         * locale/duplocale.c: Likewise.
440         * locale/freelocale.c: Likewise.
441         * locale/newlocale.c: Likewise.
442         * locale/setlocale.c: Likewise.
443         * login/getutent_r.c: Likewise.
444         * login/getutid_r.c: Likewise.
445         * login/getutline_r.c: Likewise.
446         * login/utmp-private.h: Likewise.
447         * login/utmpname.c: Likewise.
448         * malloc/mtrace.c: Likewise.
449         * misc/efgcvt.c: Likewise.
450         * misc/error.c: Likewise.
451         * misc/fstab.c: Likewise.
452         * misc/getpass.c: Likewise.
453         * misc/mntent.c: Likewise.
454         * misc/syslog.c: Likewise.
455         * nis/nis_call.c: Likewise.
456         * nis/nis_callback.c: Likewise.
457         * nis/nss-default.c: Likewise.
458         * nis/nss_compat/compat-grp.c: Likewise.
459         * nis/nss_compat/compat-initgroups.c: Likewise.
460         * nis/nss_compat/compat-pwd.c: Likewise.
461         * nis/nss_compat/compat-spwd.c: Likewise.
462         * nis/nss_nis/nis-alias.c: Likewise.
463         * nis/nss_nis/nis-ethers.c: Likewise.
464         * nis/nss_nis/nis-grp.c: Likewise.
465         * nis/nss_nis/nis-hosts.c: Likewise.
466         * nis/nss_nis/nis-network.c: Likewise.
467         * nis/nss_nis/nis-proto.c: Likewise.
468         * nis/nss_nis/nis-pwd.c: Likewise.
469         * nis/nss_nis/nis-rpc.c: Likewise.
470         * nis/nss_nis/nis-service.c: Likewise.
471         * nis/nss_nis/nis-spwd.c: Likewise.
472         * nis/nss_nisplus/nisplus-alias.c: Likewise.
473         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
474         * nis/nss_nisplus/nisplus-grp.c: Likewise.
475         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
476         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
477         * nis/nss_nisplus/nisplus-network.c: Likewise.
478         * nis/nss_nisplus/nisplus-proto.c: Likewise.
479         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
480         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
481         * nis/nss_nisplus/nisplus-service.c: Likewise.
482         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
483         * nis/ypclnt.c: Likewise.
484         * nptl/libc_pthread_init.c: Likewise.
485         * nss/getXXbyYY.c: Likewise.
486         * nss/getXXent.c: Likewise.
487         * nss/getXXent_r.c: Likewise.
488         * nss/nss_db/db-XXX.c: Likewise.
489         * nss/nss_db/db-netgrp.c: Likewise.
490         * nss/nss_db/nss_db.h: Likewise.
491         * nss/nss_files/files-XXX.c: Likewise.
492         * nss/nss_files/files-alias.c: Likewise.
493         * nss/nsswitch.c: Likewise.
494         * posix/regex_internal.h: Likewise.
495         * posix/wordexp.c: Likewise.
496         * pwd/fgetpwent.c: Likewise.
497         * resolv/res_hconf.c: Likewise.
498         * resolv/res_libc.c: Likewise.
499         * shadow/fgetspent.c: Likewise.
500         * shadow/lckpwdf.c: Likewise.
501         * shadow/sgetspent.c: Likewise.
502         * socket/opensock.c: Likewise.
503         * stdio-common/reg-modifier.c: Likewise.
504         * stdio-common/reg-printf.c: Likewise.
505         * stdio-common/reg-type.c: Likewise.
506         * stdio-common/vfprintf.c: Likewise.
507         * stdio-common/vfscanf.c: Likewise.
508         * stdlib/abort.c: Likewise.
509         * stdlib/cxa_atexit.c: Likewise.
510         * stdlib/fmtmsg.c: Likewise.
511         * stdlib/random.c: Likewise.
512         * stdlib/setenv.c: Likewise.
513         * string/strsignal.c: Likewise.
514         * sunrpc/auth_none.c: Likewise.
515         * sunrpc/bindrsvprt.c: Likewise.
516         * sunrpc/create_xid.c: Likewise.
517         * sunrpc/key_call.c: Likewise.
518         * sunrpc/rpc_thread.c: Likewise.
519         * sysdeps/arm/backtrace.c: Likewise.
520         * sysdeps/generic/ldsodefs.h: Likewise.
521         * sysdeps/generic/stdio-lock.h: Likewise.
522         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
523         * sysdeps/i386/backtrace.c: Likewise.
524         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
525         * sysdeps/m68k/backtrace.c: Likewise.
526         * sysdeps/mach/hurd/cthreads.c: Likewise.
527         * sysdeps/mach/hurd/dirstream.h: Likewise.
528         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
529         * sysdeps/nptl/malloc-machine.h: Likewise.
530         * sysdeps/nptl/stdio-lock.h: Likewise.
531         * sysdeps/posix/dirstream.h: Likewise.
532         * sysdeps/posix/getaddrinfo.c: Likewise.
533         * sysdeps/posix/system.c: Likewise.
534         * sysdeps/pthread/aio_suspend.c: Likewise.
535         * sysdeps/s390/s390-32/backtrace.c: Likewise.
536         * sysdeps/s390/s390-64/backtrace.c: Likewise.
537         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
538         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
539         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
540         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
541         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
542         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
543         * sysdeps/unix/sysv/linux/system.c: Likewise.
544         * sysdeps/x86_64/backtrace.c: Likewise.
545         * time/alt_digit.c: Likewise.
546         * time/era.c: Likewise.
547         * time/tzset.c: Likewise.
548         * wcsmbs/wcsmbsload.c: Likewise.
549         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
550         instead of <bits/libc-lock.h> in comment.
552 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
554         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
555         Only use .set mips2 if the current ISA is below mips2.
556         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
557         Likewise.
558         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
559         mips32r2 if the current ISA is below mips32r2.
560         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
561         (TLS_IE): Updated to use the TLD_RDHWR macro.
562         (TLS_LE): Likewise.
563         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
564         __ASSEMBLER__ condition.
566 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
568         Fix parallel build of before-compile targets.
570         * sysdeps/mach/Makefile ($(patsubst
571         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
572         mach-before-compile target.
573         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
574         io fs process)): Move rule to dedicated hurd-before-compile target.
576 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
578         Fix rules generating headers in hurd/ and mach/ when initial make call
579         has subdir= explicitly set.
581         * sysdeps/mach/Makefile ($(patsubst
582         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
583         calling $(MAKE).
584         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
585         io fs process)): Force subdir to hurd when calling $(MAKE).
586         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
587         subdir to mach when calling $(MAKE).
589 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
591         Check sysheaders when looking for Mach and Hurd headers
593         * sysdeps/mach/configure.ac: Add sysheaders check.
594         * sysdeps/mach/configure: Regenerate.
595         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
596         * sysdeps/mach/hurd/configure: Regenerate.
598 2015-09-04  Roland McGrath  <roland@hack.frob.com>
600         [BZ #18921]
601         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
602         Fix inverted sense of test of 'o_directory_works' value.
603         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
604         Bernhard Voelker <mail@bernhard-voelker.de>.
606 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
608         [BZ #14912]
609         * bits/linkmap.h: Move to ...
610         * sysdeps/generic/linkmap.h: ...here.
611         * sysdeps/aarch64/bits/linkmap.h: Move to ...
612         * sysdeps/aarch64/linkmap.h: ...here.
613         * sysdeps/arm/bits/linkmap.h: Move to ...
614         * sysdeps/arm/linkmap.h: ...here.
615         * sysdeps/hppa/bits/linkmap.h: Move to ...
616         * sysdeps/hppa/linkmap.h: ...here.
617         * sysdeps/ia64/bits/linkmap.h: Move to ...
618         * sysdeps/ia64/linkmap.h: ...here.
619         * sysdeps/mips/bits/linkmap.h: Move to ...
620         * sysdeps/mips/linkmap.h: ...here.
621         * sysdeps/s390/bits/linkmap.h: Move to ...
622         * sysdeps/s390/linkmap.h: ...here.
623         * sysdeps/sh/bits/linkmap.h: Move to ...
624         * sysdeps/sh/linkmap.h: ...here.
625         * sysdeps/x86/bits/linkmap.h: Move to ...
626         * sysdeps/x86/linkmap.h: ...here.
627         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
629 2015-09-04  Andreas Schwab  <schwab@suse.de>
631         [BZ #18635]
632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
633         (__makecontext): Terminate FDE before return label.
634         (__novec_makecontext): Likewise.
636 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
638         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
639         first member of struct sv in syscall macro.
641 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
643         [BZ #14912]
644         * bits/stdio-lock.h: Move to ...
645         * sysdeps/generic/stdio-lock.h: ...here.
646         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
647         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
648         * sysdeps/nptl/stdio-lock.h: ...here.
649         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
650         * include/libio.h: Include <stdio-lock.h> instead of
651         <bits/stdio-lock.h>.
652         * sysdeps/nptl/fork.c: Likewise.
653         * sysdeps/pthread/flockfile.c: Likewise.
654         * sysdeps/pthread/ftrylockfile.c: Likewise.
655         * sysdeps/pthread/funlockfile.c: Likewise.
657         [BZ #14912]
658         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
659         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
660         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
661         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
662         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
663         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
664         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
666 2015-09-03  Roland McGrath  <roland@hack.frob.com>
668         * elf/Makefile (test-xfail-tst-protected1a): New variable.
669         (test-xfail-tst-protected1b): New variable.
671 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
673         [BZ #14912]
674         * bits/libc-tsd.h: Move to ...
675         * sysdeps/generic/libc-tsd.h: ...here.
676         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
677         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
678         * sysdeps/mach/hurd/libc-tsd.h: ...here.
679         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
680         * include/ctype.h: Include <libc-tsd.h> instead of
681         <bits/libc-tsd.h>.
682         * include/rpc/rpc.h: Likewise.
683         * locale/localeinfo.h: Likewise.
684         * sunrpc/rpc_thread.c: Likewise.
685         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
686         * sysdeps/nptl/malloc-machine.h: Likewise.
688         * Makefile (headers): Remove bits/libc-lock.h.
689         * libio/Makefile (headers): Remove bits/stdio-lock.h.
691         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
692         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
693         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
694         <bits/stdio-lock.h>.
695         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
696         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
698 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
700         [BZ #18757]
701         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
702         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
703         BZ #18757.
705 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
707         * malloc/mtrace.pl: Filter out NULL entries.
709 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
711         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
712         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
713         macro.
715         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
716         (TCP_CC_INFO): Likewise.
717         (TCP_SAVE_SYN): Likewise.
718         (TCP_SAVED_SYN): Likewise.
720 2015-08-31  Brett Neumeier <brett@neumeier.us>
722         [BZ #18870]
723         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
725 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
727         [BZ #18873]
728         Fix broken overflow check in posix_fallocate
729         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
730         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
731         Fix parenthesization typo.
733 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
735         [BZ #18887]
736         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
737         tst-mntent-blank-passno.
738         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
739         * misc/tst-mntent-blank-corrupt.c: New test.
740         * misc/tst-mntent-blank-passno.c: New test ripped from ...
741         * misc/tst-mntent.c (do_test): ... here.
743 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
745         [BZ #4404]
746         * po/de.po: Fix SIGALRM typo.
748 2015-08-28  James Perkins  <james@loowit.net>
750         * time/tst-strptime2.c (tests): Replace short list of test
751         strings for strptime %z specifier with code which exhaustively
752         tests every combination of sign and 0 to 5 digits. Tests for
753         rejection of invalid strings.
755 2015-08-28  James Perkins  <james@loowit.net>
757         [BZ #16141]
758         * time/strptime_l.c (__strptime_internal): Fix %z minutes
759         calculation, removing incorrect decimal time rounding, so that
760         all minute values result in a valid seconds value.
761         * time/strptime_l.c (__strptime_internal): Extend %z time zone
762         offset range limits to UTC-99:59 through UTC+99:59 to parse
763         current and historical use cases.
764         * time/tst-strptime2.c (tests): Modify and add tests for the
765         strptime %z input field descriptor, specifically conversion of
766         minutes to seconds and validating an offset range of -9959 to
767         +9959.
769 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
770             Dmitry V. Levin  <ldv@altlinux.org>
772         [BZ #18877]
773         * posix/Makefile (tests): Add tst-mmap-offset.
774         * posix/tst-mmap.c: New file.
775         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
776         offset calculation for negative values.
778 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
780         * sysdeps/i386/init-arch.h: New file.
781         * sysdeps/i386/i586/init-arch.h: Likewise.
782         * sysdeps/i386/i686/init-arch.h: Likewise.
783         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
784         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
785         * sysdeps/x86/cpu-features.h (bit_I586): New.
786         (bit_I686): Likewise.
787         (bit_CX8): Likewise.
788         (bit_CMOV): Likewise.
789         (index_CX8): Likewise.
790         (index_CMOV): Likewise.
791         (index_I586): Likewise.
792         (index_I686): Likewise.
793         (reg_CX8): Likewise.
794         (reg_CMOV): Likewise.
795         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
796         available at compile-time.
797         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
798         available at compile-time.
799         * sysdeps/x86/init-arch.h (USE_I586): New macro.
800         (USE_I686): Likewise.
802 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
804         * sysdeps/i386/bcopy.S: New file.
805         * sysdeps/i386/bzero.S: Likewise.
806         * sysdeps/i386/memcpy.S: Likewise.
807         * sysdeps/i386/memmove.S: Likewise.
808         * sysdeps/i386/mempcpy.S: Likewise.
809         * sysdeps/i386/memset.S: Likewise.
810         * sysdeps/i386/bzero.c: Removed.
811         * sysdeps/i386/memset.c: Likewise.
812         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
813         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
814         * sysdeps/i386/i586/memset_chk.S: Likewise.
815         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
816         * sysdeps/i386/memcpy_chk.S: Here.
817         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
818         * sysdeps/i386/memmove_chk.S: Here.
819         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
820         * sysdeps/i386/mempcpy_chk.S: Likewise.
821         * sysdeps/i386/i686/memset_chk.S: Moved to ...
822         * sysdeps/i386/memset_chk.S: Likewise.
824 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
826         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
827         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
828         file, move DIAG_POP_NEEDS_COMMENT to end of file.
829         * soft-fp/fmadf4.c: Ditto.
830         * soft-fp/fmatf4.c: Ditto.
832 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
834         * sysdeps/i386/i586/Implies: Removed.
835         * sysdeps/i386/i686/Implies: Likewise.
837 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
839         * sysdeps/i386/i486/strlen.S: Moved to ...
840         * sysdeps/i386/strlen.S: Here.
842 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
844         * sysdeps/i386/i486/strcat.S: Moved to ...
845         * sysdeps/i386/strcat.S: Here.
847 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
849         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
850         * sysdeps/i386/pthread_spin_trylock.S: Here.
851         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
852         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
854 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
856         * sysdeps/i386/i486/string-inlines.c: Moved to ...
857         * sysdeps/i386/string-inlines.c: Here.
859 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
861         * sysdeps/i386/i486/htonl.S: Moved ...
862         * sysdeps/i386/htonl.S: here.
864 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
866         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
867         * sysdeps/i386/bits/atomic.h: Here.
869 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
871         * sysdeps/i386/i486/Versions: Removed.
873 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
875         [BZ #2898]
876         * misc/mktemp.c: Add mkdtemp to the link_warning message.
877         Based on patch by Aurelien Jarno.
879 2015-08-26  Stan Shebs  <stanshebs@google.com>
881         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
882         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
884 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
886         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
887         * sysdeps/powerpc/dl-procinfo.c:
888         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
889         feature so it shows when LD_SHOW_AUXV=1.
891 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
893         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
894         (__arch_compare_and_exchange_val_32_acq): Remove and use common
895         definition.  ISA 2.07B no longer requires full sync.
897 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
899         [BZ #18863]
900         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
901         (si_call_addr): Define.
902         (si_syscall): Define.
903         (si_arch): Define.
905 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
907         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
908         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
909         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
910         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
911         (__memset_zero_constant_len_parameter): New.
912         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
913         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
914         (__memset_zero_constant_len_parameter): Don't define if
915         __memset_chk or USE_AS_BZERO are defined.
917         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
918         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
919         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
921         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
922         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
923         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
924         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
925         comments.
926         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
927         -mno-mmx for $(all-rtld-routines).
928         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
929         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
930         i386.
932 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
934         * sysdeps/generic/unwind.h
935         (_Unwind_Word): Use __mode__(__unwind_word__)
936         instead of __mode__(__word__).
937         (_Unwind_Sword): Likewise.
939         * sysdeps/s390/s390-64/utf8-utf16-z9.c
940         (MAX_NEEDED_INPUT): New define.
941         (MAX_NEEDED_OUTPUT): New define.
943         * NEWS: New item for IBM z13 string optimizations.
945         * sysdeps/s390/multiarch/memrchr-c.c: New File.
946         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
947         * sysdeps/s390/multiarch/memrchr.c: Likewise.
948         * sysdeps/s390/multiarch/Makefile
949         (sysdep_routines): Add memrchr functions.
950         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
951         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
953         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
954         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
955         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
956         * sysdeps/s390/multiarch/Makefile
957         (sysdep_routines): Add wmemcmp functions.
958         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
959         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
960         * benchtests/bench-wmemcmp.c: New File.
961         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
963         * sysdeps/s390/multiarch/wmemset-c.c: New File.
964         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
965         * sysdeps/s390/multiarch/wmemset.c: Likewise.
966         * sysdeps/s390/multiarch/Makefile
967         (sysdep_routines): Add wmemset functions.
968         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
969         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
970         * wcsmbs/wmemset.c: Use WMEMSET if defined.
971         * string/test-memset.c: Add wmemset support.
972         * wcsmbs/test-wmemset.c: New File.
973         * wcsmbs/Makefile (strop-tests): Add wmemset.
974         * benchtests/bench-memset.c: Add wmemset support.
975         * benchtests/bench-wmemset.c: New File.
976         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
978         * sysdeps/s390/multiarch/memccpy-c.c: New File.
979         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
980         * sysdeps/s390/multiarch/memccpy.c: Likewise.
981         * sysdeps/s390/multiarch/Makefile
982         (sysdep_routines): Add memccpy functions.
983         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
984         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
985         * string/memccpy.c: Use MEMCCPY if defined.
987         * sysdeps/s390/multiarch/memchr-vx.S: New File.
988         * sysdeps/s390/multiarch/memchr.c: Likewise.
989         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
990         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
991         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
992         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
993         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
994         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
995         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
996         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
997         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
998         and rawmemchr functions.
999         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
1000         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
1001         and wmemchr.
1002         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
1003         * string/test-memchr.c: Add wmemchr support.
1004         * wcsmbs/test-wmemchr.c: New File.
1005         * wcsmbs/Makefile (strop-tests): Add wmemchr.
1006         * benchtests/bench-memchr.c: Add wmemchr support.
1007         * benchtests/bench-wmemchr.c: New File.
1008         * benchtests/Makefile (wcsmbs-bench): wmemchr.
1010         * sysdeps/s390/multiarch/strcspn-c.c: New File.
1011         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
1012         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1013         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
1014         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
1015         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
1016         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
1017         wcscspn functions.
1018         * sysdeps/s390/multiarch/ifunc-impl-list.c
1019         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
1020         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
1021         * string/test-strcspn.c: Add wcscspn support.
1022         * wcsmbs/test-wcscspn.c: New File.
1023         * wcsmbs/Makefile (strop-tests): Add wcscspn.
1024         * benchtests/bench-strcspn.c: Add wcscspn support.
1025         * benchtests/bench-wcscspn.c: New File.
1026         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
1028         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
1029         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
1030         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1031         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
1032         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
1033         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1034         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
1035         wcspbrk functions.
1036         * sysdeps/s390/multiarch/ifunc-impl-list.c
1037         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
1038         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
1039         * string/test-strpbrk.c: Add wcspbrk support.
1040         * wcsmbs/test-wcspbrk.c: New File.
1041         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
1042         * benchtests/bench-strpbrk.c: Add wcspbrk support.
1043         * benchtests/bench-wcspbrk.c: New File.
1044         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
1046         * sysdeps/s390/multiarch/strspn-c.c: New File.
1047         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
1048         * sysdeps/s390/multiarch/strspn.c: Likewise.
1049         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
1050         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
1051         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1052         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
1053         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
1054         wcsspn functions.
1055         * sysdeps/s390/multiarch/ifunc-impl-list.c
1056         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
1057         * string/test-strspn.c: Add wcsspn support.
1058         * wcsmbs/test-wcsspn.c: New File.
1059         * wcsmbs/Makefile (strop-tests): Add wcsspn.
1060         * benchtests/bench-strspn.c: Add wcsspn support.
1061         * benchtests/bench-wcsspn.c: New File.
1062         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
1064         * sysdeps/s390/multiarch/strrchr-c.c: New File.
1065         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
1066         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1067         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
1068         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
1069         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
1070         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
1071         wcsrchr functions.
1072         * sysdeps/s390/multiarch/ifunc-impl-list.c
1073         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
1074         * benchtests/bench-wcsrchr.c: New File.
1075         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
1077         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
1078         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
1079         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
1080         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
1081         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
1082         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
1083         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
1084         wcschrnul functions.
1085         * sysdeps/s390/multiarch/ifunc-impl-list.c
1086         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
1087         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
1088         * string/test-strchr.c: Add wcschrnul support.
1089         * wcsmbs/test-wcschrnul.c: New File.
1090         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
1091         * benchtests/bench-strchr.c: Add wcschrnul support.
1092         * benchtests/bench-wcschrnul.c: New File.
1093         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
1095         * sysdeps/s390/multiarch/strchr-c.c: New File.
1096         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
1097         * sysdeps/s390/multiarch/strchr.c: Likewise.
1098         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
1099         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
1100         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1101         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
1102         wcschr functions.
1103         * sysdeps/s390/multiarch/ifunc-impl-list.c
1104         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
1105         * string/strchr.c (STRCHR): Define and use macro.
1106         * benchtests/bench-wcschr.c: New File.
1107         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
1109         * sysdeps/s390/multiarch/strncmp-c.c: New File.
1110         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
1111         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1112         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
1113         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
1114         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
1115         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
1116         wcsncmp functions.
1117         * sysdeps/s390/multiarch/ifunc-impl-list.c
1118         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
1119         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
1120         * benchtests/bench-strncmp.c: Add wcsncmp support.
1121         * benchtests/bench-wcsncmp.c: New File.
1122         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
1124         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
1125         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1126         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
1127         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
1128         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1129         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
1130         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
1131         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
1132         wcscmp functions.
1133         * sysdeps/s390/multiarch/ifunc-impl-list.c
1134         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
1135         * string/strcmp.c (STRCMP): Define and use macro.
1136         * benchtests/bench-wcscmp.c: New File.
1137         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
1138         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
1139         instead of _HAVE_STRING_ARCH_memchr.
1141         * sysdeps/s390/multiarch/strncat-c.c: New File.
1142         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
1143         * sysdeps/s390/multiarch/strncat.c: Likewise.
1144         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
1145         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
1146         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
1147         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
1148         wcsncat functions.
1149         * sysdeps/s390/multiarch/ifunc-impl-list.c
1150         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
1151         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
1152         * string/test-strncat.c: Add wcsncat support.
1153         * wcsmbs/test-wcsncat.c: New File.
1154         * wcsmbs/Makefile (strop-tests): Add wcsncat.
1155         * benchtests/bench-strncat.c: Add wcsncat support.
1156         * benchtests/bench-wcsncat.c: New File.
1157         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
1159         * sysdeps/s390/multiarch/strcat-c.c: New File.
1160         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
1161         * sysdeps/s390/multiarch/strcat.c: Likewise.
1162         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
1163         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
1164         * sysdeps/s390/multiarch/wcscat.c: Likewise.
1165         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
1166         wcscat functions.
1167         * sysdeps/s390/multiarch/ifunc-impl-list.c
1168         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
1169         * string/strcat.c (STRCAT): Define and use macro.
1170         * wcsmbs/wcscat.c: Use WCSCAT if defined.
1171         * string/test-strcat.c: Add wcscat support.
1172         * wcsmbs/test-wcscat.c: New File.
1173         * wcsmbs/Makefile (strop-tests): Add wcscat.
1174         * benchtests/bench-strcat.c: Add wcscat support.
1175         * benchtests/bench-wcscat.c: New File.
1176         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
1178         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
1179         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
1180         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1181         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
1182         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
1183         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
1184         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
1185         wcpncpy functions.
1186         * sysdeps/s390/multiarch/ifunc-impl-list.c
1187         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
1188         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
1189         * string/test-stpncpy.c: Add wcpncpy support.
1190         * wcsmbs/test-wcpncpy.c: New File.
1191         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
1192         * benchtests/bench-stpncpy.c: Add wcpncpy support.
1193         * benchtests/bench-wcpncpy.c: New File.
1194         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
1196         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
1197         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1198         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
1199         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
1200         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
1201         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
1202         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
1203         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
1204         wcsncpy functions.
1205         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
1206         * sysdeps/s390/multiarch/ifunc-impl-list.c
1207         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
1208         * string/test-strncpy.c: Add wcsncpy support.
1209         * wcsmbs/test-wcsncpy.c: New File.
1210         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
1211         * benchtests/bench-strncpy.c: Add wcsncpy support.
1212         * benchtests/bench-wcsncpy.c: New File.
1213         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
1215         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
1216         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
1217         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1218         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
1219         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
1220         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
1221         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
1222         wcpcpy functions.
1223         * string/stpcpy.c: Use STPCPY if defined.
1224         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
1225         * sysdeps/s390/multiarch/ifunc-impl-list.c
1226         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
1227         * string/test-stpcpy.c: Add wcpcpy support.
1228         * wcsmbs/test-wcpcpy.c: New File.
1229         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
1230         * benchtests/bench-stpcpy.c: Add wcpcpy support.
1231         * benchtests/bench-wcpcpy.c: New File.
1232         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
1234         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
1235         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1236         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
1237         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
1238         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
1239         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
1240         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
1241         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
1242         wcscpy functions.
1243         * sysdeps/s390/multiarch/ifunc-impl-list.c
1244         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
1245         * benchtests/bench-wcscpy.c: New File.
1246         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
1248         * sysdeps/s390/multiarch/strnlen-c.c: New File.
1249         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
1250         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1251         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
1252         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
1253         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
1254         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
1255         wcsnlen functions.
1256         * sysdeps/s390/multiarch/ifunc-impl-list.c
1257         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
1258         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
1259         * string/test-strnlen.c: Add wcsnlen support.
1260         * wcsmbs/test-wcsnlen.c: New File.
1261         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
1262         * benchtests/bench-strnlen.c: Add wcsnlen support.
1263         * benchtests/bench-wcsnlen.c: New File.
1264         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
1266         * sysdeps/s390/multiarch/Makefile: New File.
1267         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
1268         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
1269         * sysdeps/s390/multiarch/strlen.c: Likewise.
1270         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
1271         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
1272         * sysdeps/s390/multiarch/wcslen.c: Likewise.
1273         * string/strlen.c (STRLEN): Define and use macro.
1274         * sysdeps/s390/multiarch/ifunc-impl-list.c
1275         (IFUNC_VX_IMPL): New macro function.
1276         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
1277         * benchtests/Makefile (wcsmbs-bench): New variable.
1278         (string-bench-all): Added wcsmbs-bench.
1279         * benchtests/bench-wcslen.c: New File.
1281         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
1282         s390_vx_libc_ifunc2): New macro function.
1284         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
1285         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
1286         assembler support.
1287         * sysdeps/s390/configure: Regenerated.
1289         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
1290         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
1292         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
1293         * sysdeps/s390/dl-procinfo.h: Add vector capability.
1294         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
1296         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
1297         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
1298         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
1299         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
1300         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
1301         (memcmp, bcmp): Use __memcmp_default as alias source.
1302         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
1303         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
1304         Rename to __memcmp_default.
1305         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
1306         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
1307         (memcpy): Use __memcpy_default as alias source.
1308         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
1309         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
1310         Rename to __memcpy_default.
1311         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
1312         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
1313         (memset): Use __memset_default as alias source.
1314         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
1315         * sysdeps/s390/s390-32/memset.S (__memset_g5):
1316         Rename to __memset_default.
1317         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
1318         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
1319         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
1320         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
1321         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
1322         (memcmp, bcmp): Use __memcmp_default as alias source.
1323         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
1324         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
1325         Rename to __memcmp_default.
1326         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
1327         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
1328         (memcpy): Use __memcpy_default as alias source.
1329         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
1330         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
1331         Rename to __memcpy_default.
1332         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
1333         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
1334         (memset): Use __memset_default as alias source.
1335         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
1336         * sysdeps/s390/s390-64/memset.S (__memset_z900):
1337         Rename to __memset_default.
1338         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
1339         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
1341         [BZ #18610]
1342         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
1343         __ieee_instruction_pointer to __unused.
1344         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
1345         __ieee_instruction_pointer.
1346         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
1347         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
1348         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1349         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
1350         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
1351         Mark dxc-field as reserved.
1353 2015-08-25  Roland McGrath  <roland@hack.frob.com>
1355         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
1356         if the weak reference is not null.
1358 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1360         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
1362         [BZ #11214]
1363         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
1365 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1367         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
1368         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
1369         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
1370         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
1371         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
1372         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
1373         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
1374         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
1375         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
1376         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
1377         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
1378         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
1379         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
1380         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
1381         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
1382         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
1383         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
1384         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
1386 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1388         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
1389         register other than r0 for tabort, it has special meaning.
1390         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
1391         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
1392         transaction before starting syscall.
1394 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1396         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
1398 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1400         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
1402         * sysdeps/x86_64/rtld-memcmp.c: Removed.
1403         * sysdeps/x86_64/rtld-memset.S: Likewise.
1404         * sysdeps/x86_64/rtld-strchr.S: Likewise.
1405         * sysdeps/x86_64/rtld-strlen.S: Likewise.
1406         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
1407         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1409         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
1411 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
1413         * debug/strcpy_chk.c: Improve performance.
1414         * debug/stpcpy_chk.c: Likewise.
1415         * sysdeps/x86_64/strcpy_chk.S: Remove.
1416         * sysdeps/x86_64/stpcpy_chk.S: Remove.
1418         [BZ #18240]
1419         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
1421 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
1423         [BZ #15128]
1424         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
1425         ifuncmain8.
1426         (modules-names): Add ifuncmod8.
1427         ($(objpfx)ifuncmain8): New rule.
1428         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
1429         <cpuid.h>.
1430         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
1431         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
1432         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
1433         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
1434         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
1435         * sysdeps/x86_64/dl-trampoline.h: Likewise.
1436         * sysdeps/x86_64/ifuncmain8.c: New file.
1437         * sysdeps/x86_64/ifuncmod8.c: Likewise.
1438         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
1439         Removed.
1440         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
1441         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
1442         Change rtld_savespace_sse to __glibc_unused2.
1443         (RTLD_CHECK_FOREIGN_CALL): Removed.
1444         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
1445         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
1446         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
1448 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
1450         * sysdeps/aarch64/bzero.S (__bzero): Remove.
1452 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
1454         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
1455         Unconditionally set __fpcr to avoid uninialized warning.
1456         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
1458 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1460         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
1461         is corrupt.
1463         * malloc/arena.c (arena_get2): Drop unused argument.
1464         (arena_lock): Adjust.
1465         (arena_get_retry): Likewise.
1467 2015-08-24  Andreas Schwab  <schwab@suse.de>
1469         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
1470         Don't define.
1471         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1472         (__ASSUME_IPC64): Don't undef.
1473         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
1474         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
1475         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
1476         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
1477         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
1478         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
1479         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
1480         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
1481         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
1482         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
1483         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
1484         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
1485         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
1486         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
1487         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
1488         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
1489         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
1490         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
1491         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
1492         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
1493         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
1495 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
1497         * manual/Makefile (install): Only build manual when perl is available.
1499 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1501         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
1502         '#undef memcpy' by '#undef memchr'.
1504 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1506         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
1507         memchr not point to the internal __GI_memchr implementation.
1509 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
1511         * timezone/Makefile (CFLAGS-zdump.c): Remove
1512         -Wno-strict-prototypes.
1513         (CFLAGS-zic.c): Likewise.
1514         (CFLAGS-ialloc.c): Likewise.
1515         (CFLAGS-scheck.c): Likewise.
1517         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
1518         -Wno-error=undef.
1520 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1522         * i386/i686/multiarch/strcasestr-c.c: Removed.
1523         * x86_64/multiarch/strcasestr.c: Likewise.
1524         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1525         Remove strcasestr.
1527 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
1529         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
1531         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
1532         variables for high and low parts before possibly modifying them.
1534 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1536         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
1537         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
1538         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
1539         of "multiarch/init-arch.h".
1540         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
1541         * sysdeps/x86/init-arch.h: This.
1543 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
1545         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
1546         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
1548 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
1550         [BZ #17787]
1551         * manual/macros.texi: Add twoexp macro.
1552         * manual/filesys.texi: Fix exponents.
1553         * manual/llio.texi: Likewise.
1554         * manual/stdio.texi: Likewise.
1556 2015-08-20  Florian Weimer  <fweimer@redhat.com>
1558         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
1559         incorrect use.
1561 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
1563         [BZ #18370]
1564         * math/s_csqrt.c (__csqrt): Force underflow exception for results
1565         whose real or imaginary part has small absolute value.
1566         * math/s_csqrtf.c (__csqrtf): Likewise.
1567         * math/s_csqrtl.c (__csqrtl): Likewise.
1568         * math/auto-libm-test-in: Add more tests of csqrt.
1569         * math/auto-libm-test-out: Regenerated.
1570         * sysdeps/i386/fpu/libm-test-ulps: Update.
1572 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1574         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
1575         __ppc_set_ppr_very_low): New functions.
1576         * manual/platform.texi: Add documentation about
1577         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
1579 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
1581         * string/stpncpy.c (stpncpy): Improve performance using
1582         __strnlen/memcpy/memset.
1584 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
1586         [BZ #18796]
1587         * scripts/test-installation.pl: Don't add -lmvec to build options if
1588         libmvec wasn't built.
1590 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1592         [BZ #14341]
1593         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
1594         case when there is a gap between DT_REL and DT_JMPREL sections.
1595         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
1596         (LDFLAGS-tst-split-dynreloc): New.
1597         (tst-split-dynreloc-ENV): Likewise.
1598         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
1599         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
1601 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1603         [BZ #18822]
1604         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
1605         attribute_hidden.
1606         (__xstat64_conv): Likewise.
1607         (__xstat32_conv): Likewise.
1609 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1611         [BZ #18822]
1612         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
1613         Don't load %ebx when calling __setcontext.  Call __setcontext
1614         with HIDDEN_JUMPTARGET.
1615         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
1616         libc_hidden_def.
1618 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1620         * sysdeps/i386/i686/Makefile
1621         [$(subdir) == string] (sysdep_routines): Moved to ...
1622         * sysdeps/i386/Makefile: Here.
1623         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
1624         * sysdeps/i386/cacheinfo.c: Here.
1625         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
1626         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
1627         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
1628         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
1630 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1632         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
1633         __i586__ is defined.
1634         (HAS_I686): Defined to 1 if __i686__ is defined.
1636 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
1638         * elf/Makefile [$(have-z-execstack) = yes]
1639         (CPPFLAGS-tst-execstack.c): New variable.
1641         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
1642         conditional to [defined UTMPX || _HAVE_UT_TYPE].
1643         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
1644         UTMPX || _HAVE_UT_TV].
1645         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
1646         UTMPX || _HAVE_UT_TV - 0].
1648 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
1650         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
1651         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
1652         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
1654 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
1656         * sysdeps/powerpc/dl-procinfo.c:
1657         (_dl_powerpc_cap_flags): Added missing strings for some
1658         hwcap features.
1659         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
1661 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
1663         Port the 0x7efe...feff pattern to GCC 6.
1664         See Steve Ellcey's bug report in:
1665         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
1666         * string/memrchr.c (MEMRCHR):
1667         * string/rawmemchr.c (RAWMEMCHR):
1668         * string/strchr.c (strchr):
1669         * string/strchrnul.c (STRCHRNUL):
1670         Rewrite code to avoid issues with signed shift overflow.
1672 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
1674         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
1675         whether cpuid is available only if HAS_CPUID is 0.
1676         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
1677         (HAS_I586): Likewise.
1678         (HAS_I686): Likewise.
1680 2015-08-18  Zack Weinberg  <zackw@panix.com>
1682         * misc/Versions (libc): Add GLIBC_2.23.
1684 2015-08-18  Alan Modra  <amodra@gmail.com>
1686         [BZ #18421]
1687         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
1688         .Lp__global.
1689         (_start): Load %dp via .Lp__global.
1690         [!SHARED]: Use .section .rodata.
1692 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1694         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
1695         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
1697 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1699         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
1700         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
1702 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1704         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
1705         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
1707 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1709         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
1710         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
1712 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1714         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
1715         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
1717 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1719         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
1720         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
1722 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1724         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
1726 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1728         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
1729         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
1730         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1731         (__ASSUME_LWS_CAS): Delete.
1733 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
1735         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
1736         * sysdeps/hppa/configure: Regenerated.
1737         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
1738         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
1739         * sysdeps/hppa/nptl/tls.h: Likewise.
1741 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
1743         [BZ #18823]
1744         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
1745         for scaling up small arguments.
1746         * math/s_csqrtf.c (__csqrtf): Likewise.
1747         * math/s_csqrtl.c (__csqrtl): Likewise.
1748         * math/auto-libm-test-in: Add more tests of csqrt.
1749         * math/auto-libm-test-out: Regenerated.
1751 2015-08-17  Andreas Schwab  <schwab@suse.de>
1753         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
1754         version set GLIBC_2.19.
1756 2015-08-16  Zack Weinberg  <zackw@panix.com>
1758         [BZ #18681]
1759         * misc/regexp.h: This interface is no longer supported.
1760         Remove all contents, leaving only an #error directive.
1761         * misc/regexp.c (loc1, loc2, locs, step, advance):
1762         Demote to compatibility symbols.
1764 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
1766         [BZ #18084]
1767         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
1768         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
1769         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
1770         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
1771         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
1772         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
1773         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
1774         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
1775         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
1777 2015-08-15  Zack Weinberg  <zackw@panix.com>
1779         [BZ #18795]
1780         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
1781         buffer length is known to be too large, not if it's known to be
1782         small enough.
1783         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
1784         overflow at runtime, involving a length parameter, twice: once
1785         with a compile-time constant length parameter, once without.
1787 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
1789         [BZ #18824]
1790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
1791         scaling x * y up instead of down.
1792         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1793         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1794         * math/auto-libm-test-in: Add more tests of fma.
1795         * math/auto-libm-test-out: Regenerated.
1797 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
1799         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
1801 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1803         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
1804         unnecessary movq.
1805         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
1806         Likewise.
1808 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
1810         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1811         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
1812         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
1813         and tgamma.
1814         * math/auto-libm-test-out: Regenerated.
1815         * sysdeps/i386/fpu/libm-test-ulps: Update.
1816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1818         [BZ #16520]
1819         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
1820         (__tanh): Force underflow exception for arguments with small
1821         absolute value.
1822         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
1823         (__tanhf): Force underflow exception for arguments with small
1824         absolute value.
1825         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
1826         (__tanhl): Force underflow exception for arguments with small
1827         absolute value.
1828         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
1829         (__tanhl): Force underflow exception for arguments with small
1830         absolute value.
1831         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
1832         (__tanhl): Force underflow exception for arguments with small
1833         absolute value.
1834         * math/auto-libm-test-in: Add more tests of tanh.
1835         * math/auto-libm-test-out: Regenerated.
1836         * sysdeps/i386/fpu/libm-test-ulps: Update.
1838 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1840         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
1841         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
1843 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1845         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
1846         <cpuid.h>.
1848 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1850         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
1851         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
1853 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1855         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
1856         Remove $(objpfx)init-arch.o.
1857         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
1858         init-arch.
1859         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
1860         (INIT_ARCH_EXT): Defined as empty.
1861         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
1862         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
1863         __init_cpu_features call.  Replace HAS_XXX with
1864         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1865         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
1866         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
1867         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
1868         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
1869         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
1870         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
1871         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
1872         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
1873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
1874         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
1875         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
1876         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
1877         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
1878         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
1879         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
1880         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
1881         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
1882         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
1883         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
1884         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
1885         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
1886         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
1887         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
1888         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
1889         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
1890         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
1891         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
1892         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
1893         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
1894         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
1895         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
1896         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
1897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
1898         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
1899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
1901 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1903         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
1904         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1905         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1906         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
1907         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
1908         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
1909         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
1910         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
1911         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
1912         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
1913         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
1914         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
1915         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1916         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1917         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1918         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1919         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1920         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1921         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1922         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1923         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1924         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1925         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1926         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1927         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1928         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1929         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
1930         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1931         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1932         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1933         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1934         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1935         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1936         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
1937         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1938         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1939         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1940         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1941         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1942         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1943         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1944         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1945         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1947 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1949         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
1950         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
1952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
1953         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
1954         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
1955         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
1956         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
1957         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
1958         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
1959         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
1960         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
1961         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
1962         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
1963         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
1964         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
1965         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
1966         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
1967         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
1968         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
1969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1970         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
1971         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
1972         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1973         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1974         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
1975         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
1976         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
1977         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
1978         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1979         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1980         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1981         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1982         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1983         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1984         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1985         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1986         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1987         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1988         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1989         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1990         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1991         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1993 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
1995         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
1996         (dl_platform_init): Call init_cpu_features.
1997         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
1998         * sysdeps/i386/i686/cacheinfo.c
1999         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
2000         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
2001         * sysdeps/i386/i686/multiarch/Versions: Removed.
2002         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
2003         Removed.
2004         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
2005         * sysdeps/unix/sysv/linux/x86/Makefile
2006         (libpthread-sysdep_routines): Remove init-arch.
2007         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
2008         <sysdeps/x86_64/dl-procinfo.c> instead of
2009         sysdeps/generic/dl-procinfo.c>.
2010         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
2011         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
2012         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
2013         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
2014         [$(subdir) == elf] (tests-static): Add
2015         tst-get-cpu-features-static.
2016         * sysdeps/x86/Versions: New file.
2017         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
2018         * sysdeps/x86/cpu-features.c: Likewise.
2019         * sysdeps/x86/cpu-features.h: Likewise.
2020         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
2021         * sysdeps/x86/libc-start.c: Likewise.
2022         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
2023         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
2024         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
2025         * sysdeps/x86_64/dl-procinfo.c: Likewise.
2026         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
2027         Assume USE_MULTIARCH is defined and don't check it.
2028         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
2029         (is_amd): Likewise.
2030         (max_cpuid): Likewise.
2031         (intel_check_word): Likewise.
2032         (__cache_sysconf): Don't call __init_cpu_features.
2033         (__x86_preferred_memory_instruction): Removed.
2034         (init_cacheinfo): Don't call __init_cpu_features. Replace
2035         __cpu_features with GLRO(dl_x86_cpu_features).
2036         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
2037         (dl_platform_init): Call init_cpu_features.
2038         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
2039         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
2040         * sysdeps/x86_64/multiarch/Versions: Removed.
2041         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
2042         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
2043         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
2044         Removed.
2045         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
2047 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2049         [BZ #18820]
2050         * libio/Makefile (test-fmemopen-mem): New test.
2051         * libio/test-fmemopen.c (do_bz18820): New test.
2052         * libio/fmemopen.c (__fmemopen): Fix memory leak.
2053         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
2055 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
2057         [BZ #16734]
2058         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
2059         (FREE_BUF): Delete.
2060         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
2061         * libio/genops.c (_IO_setb): Use malloc and free directly.
2062         (_IO_default_doallocate, _IO_default_finish): Likewise.
2063         ( _IO_unbuffer_all): Likewise.
2064         ( libc_freeres_fn): Likewise.
2065         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2066         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
2067         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
2068         (_IO_wdefault_doallocate): Likewise.
2070 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2072         [BZ #18086]
2073         * sysdeps/posix/nice.c (nice): Restore old errno.
2074         * posix/tst-nice.c (do_test): Add test for BZ #18086.
2076 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
2078         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
2080 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2082         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
2083         __bcopy and add a weak_alias to bcopy.
2084         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
2085         for static build.
2087         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
2088         cleanup macro usage.
2089         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
2090         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
2091         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2092         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
2093         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2094         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
2095         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
2096         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2097         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2098         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
2099         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2100         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
2101         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2102         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
2103         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
2104         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
2105         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
2106         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
2107         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
2109         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
2110         libc_hidden_def.
2111         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
2113         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
2114         (sysdep_routines): Add strstr-ppc64.
2115         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
2117 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
2119         [BZ #18778]
2120         * elf/Makefile (tests): Add Add tst-nodelete2.
2121         (modules-names): Add tst-nodelete2mod.
2122         (tst-nodelete2mod.so-no-z-defs): New.
2123         ($(objpfx)tst-nodelete2): Likewise.
2124         ($(objpfx)tst-nodelete2.out): Likewise.
2125         (LDFLAGS-tst-nodelete2): Likewise.
2126         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
2127         out of loop through all loaded libraries.
2128         * elf/tst-nodelete2.c: New file.
2129         * elf/tst-nodelete2mod.c: Likewise.
2130         * elf/tst-znodelete-zlib.cc: Delete.
2132 2015-08-11  Andreas Schwab  <schwab@suse.de>
2134         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
2135         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
2136         (__openat64_nocancel): Likewise.
2138 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
2140         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
2141         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
2142         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
2143         * math/auto-libm-test-out: Regenerated.
2144         * sysdeps/i386/fpu/libm-test-ulps: Update.
2145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2147 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2149         [BZ #18790]
2150         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
2151         threshold for returning +/- 1.
2152         * math/auto-libm-test-in: Add more tests of tanh.
2153         * math/auto-libm-test-out: Regenerated.
2154         * sysdeps/i386/fpu/libm-test-ulps: Update.
2156 2015-08-10  Andreas Schwab  <schwab@suse.de>
2158         [BZ #18781]
2159         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
2160         MORE_OFLAGS to oflag.
2161         * io/test-lfs.c (do_test): Test openat64.
2163 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
2165         [BZ #18789]
2166         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
2167         smaller threshold for returning the argument.
2168         * math/auto-libm-test-in: Add more tests of sinh.
2169         * math/auto-libm-test-out: Regenerated.
2170         * sysdeps/i386/fpu/libm-test-ulps: Update.
2172 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
2174         [BZ #18674]
2175         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
2176         break.
2178 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
2180         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
2181         (generated): Don't add $(addprefix z.,$(tzfiles)).
2183 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2185         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
2186         * scripts/sysd-rules.awk: Likewise.
2188 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2190         * iconvdata/tst-tables.sh: Change echo -n to printf.
2191         * nss/db-Makefile: Likewise.
2192         * posix/tst-getconf.sh: Likewise.
2193         * stdio-common/tst-unbputc.sh: Likewise.
2195 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
2197         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
2198         MADV_*_PAGES defines behind this feature check.
2200 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
2202         [BZ #18480]
2203         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
2204         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
2205         Define.
2206         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
2207         LOAD_REGS_5, LOAD_REGS_6): Update.
2208         (INTERNAL_SYSCALL): Update using new LOAD defines.
2209         (INTERNAL_SYSCALL_NCS): Likewise.
2210         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
2212 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2214         [BZ #16734]
2215         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
2217 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
2219         [BZ #17905]
2220         * catgets/Makefile (tst-catgets-mem): New test.
2221         * catgets/catgets.c (catopen): Don't use unbounded alloca.
2222         * catgets/open_catalog.c (__open_catalog): Likewise.
2223         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
2225 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
2227         [BZ #18787]
2228         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
2229         clobber registers.
2230         (atomic_compare_and_exchange_val_acq): Use register asms to assign
2231         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
2232         Cast return to __typeof (oldval).
2234 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
2236         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
2237         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
2238         and delete sys/syscall.h include.
2240 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
2242         [BZ #16517]
2243         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
2244         (tan): Force underflow exception for arguments with small absolute
2245         value.
2246         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
2247         (__kernel_tanf): Force underflow exception for arguments with
2248         small absolute value.
2249         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
2250         (__kernel_tanl): Force underflow exception for arguments with
2251         small absolute value.
2252         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
2253         (__kernel_tanl): Force underflow exception for arguments with
2254         small absolute value.
2255         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
2256         (__kernel_tanl): Force underflow exception for arguments with
2257         small absolute value.
2258         * math/auto-libm-test-in: Add more tests of tan.
2259         * math/auto-libm-test-out: Regenerated.
2261 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2263         Fix sysdeps/i386/fpu/s_scalbn.S build
2265         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
2267 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
2269         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2271 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2273         Fix gcrt0.o compilation
2275         When static-start-installed-name is different from
2276         start-installed-name, we must not use the shared objects.
2278         * csu/Makefile
2279         (extra-objs): Add gmon-start.o when building shared library and
2280         $(static-start-installed-name) is different from
2281         $(start-installed-name).
2282         $(objpfx)g$(static-start-installed-name): When building shared
2283         library and $(static-start-installed-name) is different from
2284         $(static-start-installed-name), revert to non-shared rule,
2285         i.e. using $(objpfx)% and gmon-start.o.
2287 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
2289         [BZ #16519]
2290         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
2291         (__ieee754_sinh): Force underflow exception for arguments with
2292         small absolute value.
2293         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
2294         (__ieee754_sinhf): Force underflow exception for arguments with
2295         small absolute value.
2296         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
2297         (__ieee754_sinhl): Force underflow exception for arguments with
2298         small absolute value.
2299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
2300         (__ieee754_sinhl): Force underflow exception for arguments with
2301         small absolute value.
2302         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
2303         (__ieee754_sinhl): Force underflow exception for arguments with
2304         small absolute value.
2305         * math/auto-libm-test-in: Add more tests of sinh.
2306         * math/auto-libm-test-out: Regenerated.
2307         * sysdeps/i386/fpu/libm-test-ulps: Update.
2309 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
2311         * libio/oldfileops.c: Include unistd.h.
2313 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
2315         * stdlib/isomac.c: Include ctype.h.
2317 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
2319         * dirent/tst-seekdir.c (main): Converted to ...
2320         (do_test): ... this.
2321         (TEST_FUNCTION): New macro.
2322         Include test-skeleton.c.
2323         * elf/tst-dlmodcount.c (main): Converted to ...
2324         (do_test): ... this.
2325         (TEST_FUNCTION): New macro.
2326         Include test-skeleton.c.
2327         * elf/tst-order-main.c (main): Converted to ...
2328         (do_test): ... this.
2329         (TEST_FUNCTION): New macro.
2330         Include test-skeleton.c.
2331         * elf/tst-pie2.c (main): Converted to ...
2332         (do_test): ... this.
2333         (TEST_FUNCTION): New macro.
2334         Include test-skeleton.c.
2335         * inet/tst-ether_aton.c (main): Converted to ...
2336         (do_test): ... this.
2337         (TEST_FUNCTION): New macro.
2338         Include test-skeleton.c.
2339         * misc/tst-mntent.c (main): Converted to ...
2340         (do_test): ... this.
2341         (TEST_FUNCTION): New macro.
2342         Include test-skeleton.c.
2343         * misc/tst-tsearch.c (main): Converted to ...
2344         (do_test): ... this.
2345         (TEST_FUNCTION): New macro.
2346         Include test-skeleton.c.
2347         * posix/tst-regexloc.c (main): Converted to ...
2348         (do_test): ... this.
2349         (TEST_FUNCTION): New macro.
2350         Include test-skeleton.c.
2351         * resolv/tst-aton.c (main): Converted to ...
2352         (do_test): ... this.
2353         (TEST_FUNCTION): New macro.
2354         Include test-skeleton.c.
2355         * stdio-common/test-fwrite.c (main): Converted to ...
2356         (do_test): ... this.
2357         (TEST_FUNCTION): New macro.
2358         Include test-skeleton.c.
2359         * stdio-common/tst-ferror.c (main): Converted to ...
2360         (do_test): ... this.
2361         (TEST_FUNCTION): New macro.
2362         Include test-skeleton.c.
2363         * stdio-common/tst-printf.c (main): Converted to ...
2364         (do_test): ... this.
2365         (TEST_FUNCTION): New macro.
2366         Include test-skeleton.c.
2367         * stdio-common/tst-printfsz.c (main): Converted to ...
2368         (do_test): ... this.
2369         (TEST_FUNCTION): New macro.
2370         Include test-skeleton.c.
2371         * stdlib/tst-strtod.c (main): Converted to ...
2372         (do_test): ... this.
2373         (TEST_FUNCTION): New macro.
2374         Include test-skeleton.c.
2375         * string/tst-strlen.c (main): Converted to ...
2376         (do_test): ... this.
2377         (TEST_FUNCTION): New macro.
2378         Include test-skeleton.c.
2379         * string/tst-svc.c (main): Converted to ...
2380         (do_test): ... this.
2381         (TEST_FUNCTION): New macro.
2382         Include test-skeleton.c.
2383         * time/tst-strptime.c (main): Converted to ...
2384         (do_test): ... this.
2385         (TEST_FUNCTION): New macro.
2386         Include test-skeleton.c.
2387         * timezone/tst-timezone.c (main): Converted to ...
2388         (do_test): ... this.
2389         (TEST_FUNCTION): New macro.
2390         Include test-skeleton.c.
2392 2015-08-05  Zack Weinberg  <zackw@panix.com>
2394         * misc/regexp.h: Update comments.
2396 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
2398         [BZ #18635]
2399         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
2400         before return label.
2402 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2404         [BZ #18661]
2405         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
2406         when calling __errno_location.
2407         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
2408         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
2410 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2412         [BZ #18661]
2413         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
2414         (__lll_timedwait_tid): Align stack to 16 bytes when calling
2415         __gettimeofday.
2417 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2419         [BZ #18661]
2420         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
2421         (__start_context): Don't use pop to restore %rdi so that stack
2422         is aligned to 16 bytes when calling __setcontext.
2424 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2426         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
2427         only for libc.
2428         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2430 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2432         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
2433         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
2434         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
2436 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2438         * string/memccpy.c (memccpy):
2439         Improve performance by using memchr/memcpy/__mempcpy.
2441 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2443         * string/strncpy.c (strncpy):
2444         Improve performance by using __strnlen/memcpy.
2446 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2448         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2449         Optimize to avoid an unnecessary FPCR read.
2451 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
2453         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2454         Optimize to reduce FPCR/FPSR accesses.
2456 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
2458         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
2459         dead->data[category] != NULL.
2461 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
2463         [BZ #18647]
2464         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
2465         and |x| close to 1, use absolute value of x when computing log.
2466         * math/auto-libm-test-in: Add more tests of pow.
2467         * math/auto-libm-test-out: Regenerated.
2469 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2471         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
2472         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
2473         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
2475 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
2477         [BZ #18525]
2478         * locales/km_KH: Remove timezone definition.
2479         * locales/lo_LA: Likewise.
2480         * locales/my_MM: Likewise.
2481         * locales/nan_TW@latin: Likewise.
2482         * locales/th_TH: Likewise.
2483         * locales/uk_UA: Likewise.
2485 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2487         [BZ #18265]
2488         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
2489         (wcsncat): Likewise.
2490         (wcscmp): Likewise.
2491         (wcsncmp): Likewise.
2493 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2495         * test-skeleton.c (usage): New function.
2496         (main): Call usage when opt is '?'.
2498 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2500         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
2501         before first use.
2503 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
2505         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
2506         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
2507         in there too.
2509 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
2511         * version.h (RELEASE): Set to "development".
2512         (VERSION): Set to "2.22.90"
2514         * version.h (RELEASE): Set to "stable".
2515         (VERSION): Set to "2.22"
2516         * include/features.h (__GLIBC_MINOR__): Set to 22.
2518 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
2520         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
2521         Restructure macro to avoid "value computed is not used" warning.
2522         (atomic_compare_and_exchange_val_acq): Likewise.
2524 2015-08-04  Andreas Schwab  <schwab@suse.de>
2526         [BZ #18635]
2527         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
2528         ret.
2529         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
2531 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
2533         * po/pl.po: Updated translation.
2534         * po/uk.po: Likewise.
2535         * po/fi.po: Likewise.
2536         * po/ko.po: Likewise.
2537         * po/ru.po: Likewise.
2538         * po/vi.po: Likewise.
2540 2015-07-31  Zack Weinberg  <zackw@panix.com>
2542         [BZ #18681]
2543         * regexp.h: Add unconditional #warning stating that this header
2544         will be removed soon.  Revise banner comment to match.
2545         (compile): Consistently use ERROR instead of RETURN to report
2546         errors (partial fix for bz#18681).
2547         * regexp.c: Don't include regexp.h. Remove some unnecessary
2548         declarations.
2550 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
2552         * po/libc.pot: Regenerated.
2554 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2556         [BZ #18740]
2557         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
2558         float-vlen4-arch-ext-cflags): Removed.
2559         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
2560         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
2562 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2564         [BZ #14113]
2565         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
2566         aligned to __aligned__.
2567         (pthread_cond_t, pthread_rwlock_t): Likewise.
2569 2015-07-30  Torvald Riegel  <triegel@redhat.com>
2571         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
2573 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2575         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
2576         (struct sigaction): Change sa_flags from a long to an int, and add
2577         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
2579 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2581         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
2582         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
2583         sysdeps/generic/sysdep.h include.
2584         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
2585         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
2586         sysdeps/hppa/sysdep.h.
2587         (ENTRY, PSEUDO): Undefine before defining.
2589 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
2591         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
2592         from scratch to use INTERNAL_SYSCALL.
2594 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
2596         [BZ #18078]
2597         * scripts/check-localplt.awk: Support alternate relocations.
2598         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
2599         sections.
2600         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
2601         malloc entries with + REL R_386_GLOB_DAT.
2602         * sysdeps/x86_64/localplt.data: New file.
2604 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
2606         [BZ #18731]
2607         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
2608         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
2609         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
2611 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2613         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
2615 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2617         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
2618         directly in terms of __sync_fetch_and_add and delete (int) cast.
2620 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2622         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
2623         the -D_ASM_IA64_CURRENT_H flag.
2625 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
2627         [BZ #18641]
2628         * pwd/pwd.h (putpwent): Delete __nonnull markings.
2630 2015-07-27  Andreas Schwab  <schwab@suse.de>
2632         * conform/conformtest.pl (checknamespace): Filter out string
2633         literals while tokenizing.
2635 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
2637         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2638         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
2639         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2641 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
2643         * nptl/tst-join7mod.c: Add #include <string.h>.
2645 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
2647         * sysdeps/nios2/libm-test-ulps: Update.
2649 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
2651         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
2652         Fix order of arguments to the rt_sigprocmask syscall.
2653         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
2654         Likewise.
2656 2015-07-24  Roland McGrath  <roland@hack.frob.com>
2658         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
2660 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2662         [BZ #18457]
2663         * nptl/Makefile (tests): New test case tst-join7.
2664         (modules-names): New test case module tst-join7mod.
2665         * nptl/tst-join7.c: New file.
2666         * nptl/tst-join7mod.c: New file.
2667         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
2668         all translation units in libc.so, libpthread.so and rtld.
2670 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2674 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
2676         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
2677         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
2678         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
2679         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
2680         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
2681         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
2682         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
2683         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
2684         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
2685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
2686         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
2687         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
2688         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
2689         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
2690         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
2691         implementation.
2693 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2695         [BZ #17711]
2696         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2697         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
2698         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2699         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
2700         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
2701         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
2703 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2705         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
2706         instead of just saying load lock in the comments.
2708 2015-07-23  Roland McGrath  <roland@hack.frob.com>
2710         * sysdeps/unix/Subdirs: Moved ...
2711         * sysdeps/posix/Subdirs: ... here.
2712         * login/pty.h (struct termios, struct winsize): Add forward decls.
2713         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
2714         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
2715         * sysdeps/arm/nacl/libc.abilist: Updated.
2716         * sysdeps/nacl/libutil.abilist: New file.
2718         * bits/signum.h: Update comments to mention 1003.1-2013 too.
2719         (SIGWINCH): New macro.
2721         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
2722         * sysdeps/arm/nacl/libc.abilist: Add it.
2724 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2726         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
2728 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
2730         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2731         Swap __glibc_reserved0 and sa_flags order.
2733 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
2735         [BZ #18657]
2736         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
2737         are pending TLS destructor calls.
2738         * include/link.h (struct link_map): Add concurrency note for
2739         L_TLS_DTOR_COUNT.
2740         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
2741         Don't touch the link map flag.  Atomically increment
2742         l_tls_dtor_count.
2743         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
2744         Avoid taking the load lock and don't touch the link map flag.
2745         * stdlib/tst-tls-atexit-nodelete.c: New test case.
2746         * stdlib/Makefile (tests): Use it.
2747         * stdlib/tst-tls-atexit.c (do_test): dlopen
2748         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
2749         to allow tst-tls-atexit-nodelete test case to use it.
2751 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2753         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
2754         to bits/types.h.
2755         (msgqnum_t): New typedef.
2756         (msglen_t): Likewise.
2757         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
2758         and msg_qbytes type to msglen_t.
2760 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2762         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
2763         pad0 to __glibc_reserved0.
2764         (struct stat64): Likewise.
2766 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2768         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
2769         Change sa_flags from a long to an int and add __glibc_reserved0 before
2770         it for padding.
2772 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
2774         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
2775         anonymous by deleting "siginfo" name.
2777 2015-07-21  Roland McGrath  <roland@hack.frob.com>
2779         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
2780         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
2781         rather than __nacl_irt_filename.
2782         * sysdeps/nacl/xstat.c (__xstat): Likewise.
2784         * NEWS: New item for arm-nacl port.
2785         * sysdeps/arm/nacl/libc.abilist: New file.
2786         * sysdeps/nacl/ld.abilist: New file.
2787         * sysdeps/nacl/libBrokenLocale.abilist: New file.
2788         * sysdeps/nacl/libanl.abilist: New file.
2789         * sysdeps/nacl/libcrypt.abilist: New file.
2790         * sysdeps/nacl/libdl.abilist: New file.
2791         * sysdeps/nacl/libm.abilist: New file.
2792         * sysdeps/nacl/libpthread.abilist: New file.
2793         * sysdeps/nacl/libresolv.abilist: New file.
2794         * sysdeps/nacl/librt.abilist: New file.
2796 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
2798         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
2799         __startcontext to initialize the new context.
2800         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
2801         up CFI directive to forbid further backtracing.
2803 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
2805         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
2806         reference.
2807         * charmaps/ANSI_X3.4-1968: Likewise.
2808         * charmaps/BS_4730: Likewise.
2809         * charmaps/BS_VIEWDATA: Likewise.
2810         * charmaps/CP1250: Likewise.
2811         * charmaps/CP1251: Likewise.
2812         * charmaps/CP1252: Likewise.
2813         * charmaps/CP1253: Likewise.
2814         * charmaps/CP1254: Likewise.
2815         * charmaps/CP1255: Likewise.
2816         * charmaps/CP1256: Likewise.
2817         * charmaps/CSN_369103: Likewise.
2818         * charmaps/EBCDIC-DK-NO: Likewise.
2819         * charmaps/GB_1988-80: Likewise.
2820         * charmaps/GREEK-CCITT: Likewise.
2821         * charmaps/GREEK7: Likewise.
2822         * charmaps/INIS-8: Likewise.
2823         * charmaps/ISIRI-3342: Likewise.
2824         * charmaps/ISO_2033-1983: Likewise.
2825         * charmaps/ISO_5427-EXT: Likewise.
2826         * locales/POSIX: Likewise.
2827         * locales/ar_SA: Likewise.
2828         * locales/be_BY: Likewise.
2829         * locales/be_BY@latin: Likewise.
2830         * locales/ca_ES: Likewise.
2831         * locales/cs_CZ: Likewise.
2832         * locales/da_DK: Likewise.
2833         * locales/de_BE: Likewise.
2834         * locales/de_CH: Likewise.
2835         * locales/de_LU: Likewise.
2836         * locales/en_AU: Likewise.
2837         * locales/en_BW: Likewise.
2838         * locales/en_CA: Likewise.
2839         * locales/en_DK: Likewise.
2840         * locales/en_GB: Likewise.
2841         * locales/en_IE: Likewise.
2842         * locales/en_NZ: Likewise.
2843         * locales/en_ZA: Likewise.
2844         * locales/en_ZW: Likewise.
2845         * locales/es_AR: Likewise.
2846         * locales/es_BO: Likewise.
2847         * locales/es_CL: Likewise.
2848         * locales/es_CO: Likewise.
2849         * locales/es_DO: Likewise.
2850         * locales/es_EC: Likewise.
2851         * locales/es_ES: Likewise.
2852         * locales/es_HN: Likewise.
2853         * locales/es_MX: Likewise.
2854         * locales/es_PA: Likewise.
2855         * locales/es_PE: Likewise.
2856         * locales/es_PY: Likewise.
2857         * locales/es_SV: Likewise.
2858         * locales/es_US: Likewise.
2859         * locales/es_UY: Likewise.
2860         * locales/es_VE: Likewise.
2861         * locales/et_EE: Likewise.
2862         * locales/fa_IR: Likewise.
2863         * locales/fo_FO: Likewise.
2864         * locales/fr_CA: Likewise.
2865         * locales/fr_CH: Likewise.
2866         * locales/gv_GB: Likewise.
2867         * locales/he_IL: Likewise.
2868         * locales/hr_HR: Likewise.
2869         * locales/id_ID: Likewise.
2870         * locales/is_IS: Likewise.
2871         * locales/it_CH: Likewise.
2872         * locales/iw_IL: Likewise.
2873         * locales/kl_GL: Likewise.
2874         * locales/ko_KR: Likewise.
2875         * locales/kw_GB: Likewise.
2876         * locales/lg_UG: Likewise.
2877         * locales/lt_LT: Likewise.
2878         * locales/lv_LV: Likewise.
2879         * locales/mi_NZ: Likewise.
2880         * locales/nhn_MX: Likewise.
2881         * locales/nl_BE: Likewise.
2882         * locales/pl_PL: Likewise.
2883         * locales/sk_SK: Likewise.
2884         * locales/sl_SI: Likewise.
2885         * locales/sv_FI: Likewise.
2886         * locales/tl_PH: Likewise.
2887         * locales/tr_TR: Likewise.
2888         * locales/vi_VN: Likewise.
2890 2015-07-21  Khem Raj  <raj.khem@gmail.com>
2892         [BZ #17475]
2893         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
2894         of tu_IN and bh_IN.
2896 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
2898         [BZ #18694]
2899         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
2900         bits/wordsize.h.
2901         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
2903 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2905         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
2906         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
2907         (spawn_thread): New function.
2908         (load): Rename to reg_dtor_and_close.  Move dlopen to...
2909         (do_test): ... here.  Use IS_LOADED to test for its
2910         availability.
2912 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
2914         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
2916 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
2918         [BZ #18696]
2919         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
2920         si_addr_bnd.
2921         (si_lower): New.
2922         (si_upper): Likewise.
2924 2015-07-16  David S. Miller  <davem@davemloft.net>
2926         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
2928 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2930         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
2931         buffer.
2932         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
2933         fail output information.
2935 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2937         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
2938         and strstr-ppc64..
2939         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2940         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
2941         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
2942         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
2943         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
2945 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2947         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2948         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2949         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
2950         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
2952 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
2954         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
2955         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
2956         rtld_hidden_proto.
2957         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
2959 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2961         * tst-nodelete-opened.c (do_test): Add comment to clarify how
2962         the test can fail.
2964         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
2966         [BZ #18676]
2967         * elf/tst-nodelete-opened.c: New test case.
2968         * elf/tst-nodelete-opened-lib.c: New test case module.
2969         * elf/Makefile (tests, modules-names): Use them.
2970         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
2971         early.
2973 2015-07-15  David S. Miller  <davem@davemloft.net>
2975         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
2976         futex-intenal.h
2977         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
2978         * sysdeps/sparc/sparc64/Makefile: Likewise.
2979         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
2980         Remove space from macro define.
2981         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
2983 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
2985         [BZ #17475]
2986         * locale/iso-639.def: Update Bhili and Tulu language codes as
2987         per iso639-3.
2989 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
2991         * elf/tst-leaks1.c (main): Converted to ...
2992         (do_test): ... this.
2993         (TEST_FUNCTION): New macro.
2994         Include test-skeleton.c.
2995         * localedata/tst-langinfo.c (main): Converted to ...
2996         (do_test): ... this.
2997         (TEST_FUNCTION): New macro.
2998         Include test-skeleton.c.
2999         * math/test-fpucw.c (main): Converted to ...
3000         (do_test): ... this.
3001         (TEST_FUNCTION): New macro.
3002         Include test-skeleton.c.
3003         * math/test-tgmath.c (main): Converted to ...
3004         (do_test): ... this.
3005         (TEST_FUNCTION): New macro.
3006         Include test-skeleton.c.
3007         * math/test-tgmath2.c (main): Converted to ...
3008         (do_test): ... this.
3009         (TEST_FUNCTION): New macro.
3010         Include test-skeleton.c.
3011         * setjmp/tst-setjmp.c (main): Converted to ...
3012         (do_test): ... this.
3013         (TEST_FUNCTION): New macro.
3014         Include test-skeleton.c.
3015         * stdio-common/tst-sscanf.c (main): Converted to ...
3016         (do_test): ... this.
3017         (TEST_FUNCTION): New macro.
3018         Include test-skeleton.c.
3019         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
3020         (do_test): ... this.
3021         (TEST_FUNCTION): New macro.
3022         Include test-skeleton.c.
3024         * elf/tst-audit9.c (main): Converted to ...
3025         (do_test): ... this.
3026         (TEST_FUNCTION): New macro.
3027         Include test-skeleton.c.
3029 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
3031         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
3033 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3035         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
3036         New variable.
3038 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
3040         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3042 2015-07-14  Roland McGrath  <roland@hack.frob.com>
3044         * sysdeps/generic/dl-fileid.h: New file.
3045         * sysdeps/posix/dl-fileid.h: New file.
3046         * sysdeps/nacl/dl-fileid.h: New file.
3047         * include/link.h: Include <dl-fileid.h>.
3048         (struct link_map): Replace l_dev and l_ino with l_file_id.
3049         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
3050         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
3051         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
3053 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3055         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
3057 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3059         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
3060         Add iff $CXX is set.
3061         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
3062         Likewise.
3063         (tst-nodelete-zmodiff): Likewise.
3064         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
3066 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
3068         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
3070 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3072         * sysdeps/aarch64/fpu/math_private.h
3073         (define math_opt_barrier): Add AArch64 version.
3074         (math_force_eval): Likewise.
3076 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
3078         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
3080 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
3082         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
3083         %ld with %jd and cast to intmax_t.
3084         (do_test_length_zero): Likewise.
3086 2015-07-10  Roland McGrath  <roland@hack.frob.com>
3088         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
3090 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
3092         * sysdeps/tile/libm-test-ulps: Regenerated.
3094         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
3095         Comment out the whole function, not just its body.
3097 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3099         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
3100         locks.
3102         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
3104 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3106         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
3107         (sem_assume_only_signals_cause_futex_EINTR): Remove.
3109 2015-07-10  Torvald Riegel  <triegel@redhat.com>
3111         * sysdeps/nptl/futex-internal.h: New file.
3112         * sysdeps/nacl/futex-internal.h: New file.
3113         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
3114         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
3115         error checking.
3116         (setxid_unmark_thread): Likewise.
3117         (__nptl_setxid): Likewise.
3118         (__wait_lookup_done): Likewise.
3119         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
3120         * nptl/nptl-init.c (sighandler_setxid): Likewise.
3121         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
3122         * nptl/pthread_once.c (clear_once_control): Likewise.
3123         (__pthread_once_slow): Likewise.
3124         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
3125         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
3126         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
3127         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3128         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
3129         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
3130         Likewise.
3131         (__pthread_rwlock_rdlock): Likewise.
3132         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3133         Likewise.
3134         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3135         Likewise.
3136         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3137         Likewise.
3138         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
3139         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
3140         Likewise.
3141         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
3142         __ASSUME_PRIVATE_FUTEX check.
3143         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
3144         Check that shared futexes are supported.
3145         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
3146         wrappers with error checking.
3147         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
3148         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
3149         * nptl/pthread_barrierattr_setpshared.c
3150         (pthread_barrierattr_setpshared): Check that shared futexes are
3151         supported.
3152         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
3153         Likewise.
3154         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
3155         Likewise.
3156         * nptl/sem_init.c (futex_private_if_supported): Remove.
3157         (__new_sem_init): Adapt and check that shared futexes are supported.
3158         * nptl/sem_open.c (sem_open): Likewise.
3159         * nptl/sem_post.c (futex_wake): Remove.
3160         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
3161         (do_futex_wait): Use futex wrappers with error checking.
3162         * nptl/sem_wait.c: Include lowlevellock.h.
3163         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
3164         Use futex_supports_pshared.
3165         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
3166         Use futex wrappers with error checking.
3167         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
3168         Likewise.
3169         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
3170         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
3171         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
3172         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
3173         (futex_wake): Likewise.
3174         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
3175         (do_futex_wait): Use futex wrappers with error checking.
3176         (__new_sem_wait_slow): Update EINTR handling.
3177         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
3179 2015-07-09  Martin Sebor  <msebor@redhat.com>
3181         [BZ #18435]
3182         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3183         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
3184         * nptl/Makefile (test-xfail-tst-once5): Define.
3186 2015-07-09  Roland McGrath  <roland@hack.frob.com>
3188         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
3189         * elf/dl-minimal.c: For readability, reorder some definitions and
3190         introduce more page breaks.  Include <stdio.h>.
3191         (__libc_fatal): New function.
3193         * include/unistd.h: Add rtld_hidden_proto for _exit.
3194         * posix/_exit.c: Add rtld_hidden_def.
3195         * sysdeps/mach/hurd/_exit.c: Likewise.
3196         * sysdeps/nacl/_exit.c: Likewise.
3197         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
3198         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
3200 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
3202         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
3203         bndmov encoding with zero displacement.
3205 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3206             H.J. Lu  <hongjiu.lu@intel.com>
3208         [BZ #18134]
3209         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
3210         * sysdeps/i386/configure: Regenerated.
3211         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3212         (_dl_runtime_profile): Save and restore Intel MPX return bound
3213         registers when calling _dl_call_pltexit.  Add
3214         PRESERVE_BND_REGS_PREFIX before return.
3215         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
3216         (LRV_BND1_OFFSET): Likewise.
3217         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
3218         lrv_bnd1.
3219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
3220         typo in bndmov encoding.
3221         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
3222         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
3223         branch instructions to preserve bounds.
3225 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3228         [GLIBC_2.22]: Add fmemopen.
3230 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3232         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
3233         returns an error, also try to use host port from __mach_host_self for
3234         the __vm_wire call.
3235         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
3237 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3239         [BZ #18400]
3240         [BZ #18648]
3241         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
3242         Fix pr_uid and pr_gid members.
3243         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
3244         definition to elf_greg_t.
3246 2015-07-08  Roland McGrath  <roland@hack.frob.com>
3248         [BZ #18383]
3249         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
3250         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
3251         * sysdeps/arm/configure: Regenerated.
3252         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
3253         (test-xfail-tst-tlsalign-static): Variable removed.
3255         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
3256         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
3257         rather than explicit 'ln -s'.
3259         * resolv/rpc/netdb.h: New file.
3260         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
3262 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3264         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
3265         length buffers.
3266         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3267         test-skeleton.c.
3269         [BZ #6544]
3270         [BZ #11216]
3271         [BZ #12836]
3272         [BZ #13151]
3273         [BZ #13152]
3274         [BZ #14292]
3275         * include/stdio.h (fmemopen): Remove hidden prototype.
3276         (__fmemopen): Add new hidden prototype.
3277         * libio/Makefile: Add oldfmemopen object.
3278         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
3279         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
3280         compliance.
3281         * libio/oldfmemopen.c: New file: old fmemopen implementation for
3282         symbol compatibility.
3283         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
3284         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
3285         fmemopen.
3286         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
3287         on append and read mode.
3288         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
3289         fmemopen.
3290         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
3291         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
3292         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
3293         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
3294         Likewise.
3295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3296         [GLIBC_2.22]: Likewise.
3297         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
3298         Likewise.
3299         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
3300         Likewise.
3301         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3302         [GLIBC_2.22]: Likewise.
3303         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3304         [GLIBC_2.22]: Likewise.
3305         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3306         [GLIBC_2.22]: Likewise.
3307         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3308         [GLIBC_2.22]: Likewise.
3309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3310         [GLIBC_2.22]: Likewise.
3311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3312         [GLIBC_2.22]: Likewise.
3313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3314         [GLIBC_2.22]: Likewise.
3315         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
3316         Likewise.
3317         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
3318         Likewise.
3319         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
3320         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3321         [GLIBC_2.22]: Likewise.
3322         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3323         [GLIBC_2.22]: Likewise.
3324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3325         [GLIBC_2.22]: Likewise.
3326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3327         [GLIBC_2.22]: Likewise.
3328         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
3329         Likewise.
3330         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
3331         Likewise.
3332         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
3335         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
3337 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
3339         [BZ #18643]
3340         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
3341         IPV6_PATHMTU, and IPV6_DONTFRAG.
3343 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
3345         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
3346         and _IO_UNBUFFERED.
3347         * libio/oldfileops.c: Likewise.
3348         * libio/wfileops.c: Likewise.
3350 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
3352         * nscd/selinux.c: Delete selinux/flask.h include.
3354 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
3356         [BZ #18641]
3357         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
3358         (putpwent): Likewise.
3359         (getpwnam): Likewise.
3360         (getpwent_r): Likewise.
3361         (getpwuid_r): Likewise.
3362         (getpwnam_r): Likewise.
3363         (fgetpwent_r): Likewise.
3365 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
3367         [BZ #18557]
3368         * inet/rcmd.c (__validuser2_sa): Check user first to
3369         short-circuit host check.
3371 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
3372             Mikhail Ilin  <m.ilin@samsung.com>
3374         [BZ #17833]
3375         * elf/Makefile (tests): Add tst-nodelete.
3376         (modules-names): Add tst-nodelete-uniquemod.
3377         (tst-nodelete-uniquemod.so-no-z-defs): New.
3378         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
3379         (tst-nodelete-zmod.so-no-z-defs): Likewise.
3380         ($(objpfx)tst-nodelete): Likewise.
3381         ($(objpfx)tst-nodelete.out): Likewise.
3382         (LDFLAGS-tst-nodelete): Likewise.
3383         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
3384         * elf/dl-close.c (_dl_close_worker): Add a parameter to
3385         implement forced object deletion.
3386         (_dl_close): Pass false to _dl_close_worker.
3387         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
3388         * elf/tst-nodelete.cc: New file.
3389         * elf/tst-nodeletelib.cc: Likewise.
3390         * elf/tst-znodeletelib.cc: Likewise.
3391         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
3393 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3395         [BZ #18508]
3396         * stdlib/Makefile ($(objpfx)tst-makecontext3):
3397         Depend on $(libdl).
3398         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
3399         is not called infinitely times.
3400         (backtrace_helper): New function.
3401         (trace_arg): New struct.
3402         (st1): Enlarge stack size.
3403         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
3404         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
3405         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
3406         Likewise.
3408 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3410         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3412 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
3414         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
3415         Include sys/types.h instead of bits/types.h.
3416         Remove inclusion of bits/wordsize.h.
3418 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3420         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
3421         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
3422         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
3423         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
3424         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
3425         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
3427 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3429         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
3430         link-defines.sym.
3431         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
3432         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
3433         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
3434         and LR_SIZE.
3435         * sysdeps/i386/link-defines.sym: New file.
3437 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
3439         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
3440         (modules-names): Add tst-auditmod3a tst-auditmod3b.
3441         ($(objpfx)tst-audit3): New rule.
3442         ($(objpfx)tst-audit3.out): Likewise.
3443         * sysdeps/i386/tst-audit3.c: New file.
3444         * sysdeps/i386/tst-audit3.h: Likewise.
3445         * sysdeps/i386/tst-auditmod3a.c: Likewise.
3446         * sysdeps/i386/tst-auditmod3b.c: Likewise.
3448 2015-07-07  Torvald Riegel  <triegel@redhat.com>
3450         [BZ #18633]
3451         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
3452         pointer in C code.
3453         (__strcat_c): Likewise.
3454         (__strcat_g): Likewise.
3456 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
3458         [BZ #18592]
3459         * misc/sbrk.c: Set errno to ENOMEM on overflow.
3461 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
3463         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
3464         New function.  (__ieee754_sqrtf): New function.
3465         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
3466         New function.
3467         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
3468         New function.
3470 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
3472         * sysdeps/ieee754/support.c: Remove unused file.
3474 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3476         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
3477         registers instead of d ones so the layout is kernel abi compatible.
3478         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
3479         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
3480         Likewise.
3482 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
3484         * sysdeps/aarch64/libm-test-ulps: Regenerated.
3486 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3488         [BZ #18619]
3489         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
3490         and return argument in case of subnormal argument.
3492 2015-07-01  Martin Sebor  <msebor@redhat.com>
3494         [BZ #18435]
3495         * nptl/Makefile: Add tst-once5.cc.
3496         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
3497         Remove macro redefinitions.
3498         * nptl/tst-once5.cc: New test.
3500 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
3502         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3504         * sysdeps/arm/libm-test-ulps: Regenerated.
3506         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
3507         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
3509 2015-06-30  Torvald Riegel  <triegel@redhat.com>
3511         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
3512         lll_lock_wait_private and lll_futex_wake probes.
3514         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3515         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
3516         Likewise.
3517         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
3518         atomic_spin_nop.
3519         * sysdeps/x86_64/bits/atomic.h: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
3521         to atomic_spin_nop and move ...
3522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
3523         ... here and ...
3524         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
3525         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
3526         atomic_spin_nop instead of BUSY_WAIT_NOP.
3527         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
3528         Likewise.
3529         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
3530         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
3531         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
3532         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
3533         instead of atomic_delay.
3535 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
3537         [BZ #18613]
3538         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
3539         X_ADJ not X when adjusting exponent.
3540         (__ieee754_gamma_r): Do intermediate computations in
3541         round-to-nearest then adjust overflowing and underflowing results
3542         as needed.
3543         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
3544         of X_ADJ not X when adjusting exponent.
3545         (__ieee754_gammaf_r): Do intermediate computations in
3546         round-to-nearest then adjust overflowing and underflowing results
3547         as needed.
3548         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
3549         log of X_ADJ not X when adjusting exponent.
3550         (__ieee754_gammal_r): Do intermediate computations in
3551         round-to-nearest then adjust overflowing and underflowing results
3552         as needed.  Use 1.0L not 1.0f as numerator of division.
3553         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
3554         log of X_ADJ not X when adjusting exponent.
3555         (__ieee754_gammal_r): Do intermediate computations in
3556         round-to-nearest then adjust overflowing and underflowing results
3557         as needed.  Use 1.0L not 1.0f as numerator of division.
3558         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
3559         of X_ADJ not X when adjusting exponent.
3560         (__ieee754_gammal_r): Do intermediate computations in
3561         round-to-nearest then adjust overflowing and underflowing results
3562         as needed.  Use 1.0L not 1.0f as numerator of division.
3563         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
3564         to auto-libm-test-in.
3565         (tgamma_test): Use ALL_RM_TEST.
3566         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
3567         tests of tgamma with spurious-overflow.
3568         * math/auto-libm-test-out: Regenerated.
3569         * math/gen-libm-have-vector-test.sh: Do not check for START.
3570         * sysdeps/i386/fpu/libm-test-ulps: Update.
3571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3573         [BZ #18612]
3574         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
3575         arguments, just return 0.5 times the argument, with underflow
3576         forced as needed.
3577         * math/auto-libm-test-in: Add more tests of j1.
3578         * math/auto-libm-test-out: Regenerated.
3580         [BZ #16559]
3581         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
3582         (__ieee754_j1): Force underflow exception for small results.
3583         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
3584         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
3585         (__ieee754_j1f): Force underflow exception for small results.
3586         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3587         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3588         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3589         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
3590         (__ieee754_j1l): Force underflow exception for small results.
3591         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
3592         * math/auto-libm-test-in: Add more tests of j1 and jn.
3593         * math/auto-libm-test-out: Regenerated.
3595         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
3596         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
3597         (PF_MPLS): Likewise.
3598         (AF_IB): Likewise.
3599         (AF_MPLS): Likewise.
3600         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
3601         value and macro.
3602         (MS_RMT_MASK): Include MS_LAZYTIME.
3604 2015-06-26  Mel Gorman  <mgorman@suse.de>
3606         [BZ #18502]
3607         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
3608         already minimal.
3610 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
3612         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
3613         (DT_MIPS_NUM): Update.
3614         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
3615         DT_MIPS_RLD_MAP_REL.
3617 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
3619         [BZ #16559]
3620         [BZ #18602]
3621         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
3622         round-to-nearest internally then recompute results that
3623         underflowed to zero in the original rounding mode.
3624         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
3625         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
3626         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3627         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
3628         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
3629         * sysdeps/i386/fpu/libm-test-ulps: Update.
3630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3632 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
3634         * NEWS: Fixed description of link with vector math library.
3636 2015-06-25  Andreas Schwab  <schwab@suse.de>
3638         [BZ #18549]
3639         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
3640         * libio/test-fmemopen.c (do_test): Add test for it.
3642 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
3644         [BZ #17841]
3645         * Makeconfig (no-pie-ldflag): New.
3646         (+link): Set to $(+link-pie) if default to PIE.
3647         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
3648         * config.make.in (build-pie-default): New.
3649         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
3650         is default.  AC_SUBST.
3651         * configure: Regenerated.
3652         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
3654 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3656         * nptl/descr.h (struct pthread): Change type of field setxid_futex
3657         to 'unsigned int'.
3659         * resolv/gai_misc.h (struct waitlist): Change type of field
3660         counterp to 'volatile unsigned int *'.
3661         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
3662         FUTEXADDR and OLDVAL.
3663         * resolv/getaddrinfo_a.c (getaddrinfo_a):
3664         Give local variable TOTAL type 'volatile unsigned int'.
3665         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3666         * resolv/gai_suspend.c (gai_suspend):
3667         Give local variable CNTR type 'unsigned int'.
3669         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
3670         counterp to 'volatile unsigned int *'.
3671         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
3672         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
3673         (aio_suspend): Give local variable CNTR type 'unsigned int'.
3674         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
3675         Give local variable TOTAL type 'volatile unsigned int'.
3676         (struct async_waitlist): Change type of field counter to 'unsigned int'.
3678 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3680         [BZ #18383]
3681         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
3682         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
3683         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
3684         comment for i386/x86-64.
3685         (test-xfail-tst-tlsalign-extern-static): Removed.
3687 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3689         * math/test-double.h: New file.
3690         * math/test-float.h: Likewise.
3691         * math/test-ldouble.h: Likewise.
3692         * math/test-math-inline.h: Likewise.
3693         * math/test-math-no-inline.h: Likewise.
3694         * math/test-math-scalar.h: Likewise.
3695         * math/test-math-vector.h: Likewise.
3696         * math/test-vec-loop.h: Remove file.  Contents moved into
3697         test-math-vector.h.
3698         * math/libm-test.inc (MATHCONST): Do not document macro.
3699         * math/test-double.c: Include test-double.h, test-math-no-inline.h
3700         and test-math-scalar.h.
3701         (FUNC): Remove macro.
3702         (FUNC_TEST): Likewise.
3703         (FLOAT): Likewise.
3704         (MATHCONST): Likewise.
3705         (PRINTF_EXPR): Likewise.
3706         (PRINTF_XEXPR): Likewise.
3707         (PRINTF_NEXPR): Likewise.
3708         (TEST_DOUBLE): Likewise.
3709         (TEST_MATHVEC): Likewise.
3710         (__NO_MATH_INLINES): Likewise.
3711         * math/test-float.c: Include test-float.h, test-math-no-inline.h
3712         and test-math-scalar.h.
3713         (FUNC): Remove macro.
3714         (FUNC_TEST): Likewise.
3715         (FLOAT): Likewise.
3716         (MATHCONST): Likewise.
3717         (PRINTF_EXPR): Likewise.
3718         (PRINTF_XEXPR): Likewise.
3719         (PRINTF_NEXPR): Likewise.
3720         (TEST_FLOAT): Likewise.
3721         (TEST_MATHVEC): Likewise.
3722         (__NO_MATH_INLINES): Likewise.
3723         * math/test-idouble.c: Include test-double.h, test-math-inline.h
3724         and test-math-scalar.h.
3725         (FUNC): Remove macro.
3726         (FUNC_TEST): Likewise.
3727         (FLOAT): Likewise.
3728         (MATHCONST): Likewise.
3729         (PRINTF_EXPR): Likewise.
3730         (PRINTF_XEXPR): Likewise.
3731         (PRINTF_NEXPR): Likewise.
3732         (TEST_DOUBLE): Likewise.
3733         (TEST_MATHVEC): Likewise.
3734         (TEST_INLINE): Likewise.
3735         (__NO_MATH_INLINES): Likewise.
3736         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
3737         test-math-scalar.h.
3738         (FUNC): Remove macro.
3739         (FUNC_TEST): Likewise.
3740         (FLOAT): Likewise.
3741         (MATHCONST): Likewise.
3742         (PRINTF_EXPR): Likewise.
3743         (PRINTF_XEXPR): Likewise.
3744         (PRINTF_NEXPR): Likewise.
3745         (TEST_FLOAT): Likewise.
3746         (TEST_MATHVEC): Likewise.
3747         (TEST_INLINE): Likewise.
3748         (__NO_MATH_INLINES): Likewise.
3749         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
3750         and test-math-scalar.h.
3751         (FUNC): Remove macro.
3752         (FUNC_TEST): Likewise.
3753         (FLOAT): Likewise.
3754         (MATHCONST): Likewise.
3755         (PRINTF_EXPR): Likewise.
3756         (PRINTF_XEXPR): Likewise.
3757         (PRINTF_NEXPR): Likewise.
3758         (TEST_LDOUBLE): Likewise.
3759         (TEST_MATHVEC): Likewise.
3760         (TEST_INLINE): Likewise.
3761         (__NO_MATH_INLINES): Likewise.
3762         * math/test-ldouble.c: Include test-ldouble.h,
3763         test-math-no-inline.h and test-math-scalar.h.
3764         (FUNC): Remove macro.
3765         (FUNC_TEST): Likewise.
3766         (FLOAT): Likewise.
3767         (MATHCONST): Likewise.
3768         (PRINTF_EXPR): Likewise.
3769         (PRINTF_XEXPR): Likewise.
3770         (PRINTF_NEXPR): Likewise.
3771         (TEST_LDOUBLE): Likewise.
3772         (TEST_MATHVEC): Likewise.
3773         (__NO_MATH_INLINES): Likewise.
3774         * math/test-double-vlen2.h: Include test-double.h,
3775         test-math-no-inline.h and test-math-vector.h.
3776         (FLOAT): Remove macro.
3777         (FUNC): Likewise.
3778         (MATHCONST): Likewise.
3779         (PRINTF_EXPR): Likewise.
3780         (PRINTF_XEXPR): Likewise.
3781         (PRINTF_NEXPR): Likewise.
3782         (TEST_DOUBLE): Likewise.
3783         (TEST_MATHVEC): Likewise.
3784         (__NO_MATH_INLINES): Likewise.
3785         (CNCT): Likewise.
3786         (CONCAT): Likewise.
3787         (WRAPPER_NAME): Likewise.
3788         (WRAPPER_DECL): Likewise.
3789         (WRAPPER_DECL_ff): Likewise.
3790         (WRAPPER_DECL_fFF): Likewise.
3791         (VECTOR_WRAPPER): Likewise.
3792         (VECTOR_WRAPPER_ff): Likewise.
3793         (VECTOR_WRAPPER_fFF): Likewise.
3794         (VEC_LEN): New macro.
3795         * math/test-double-vlen4.h: Include test-double.h,
3796         test-math-no-inline.h and test-math-vector.h.
3797         (FLOAT): Remove macro.
3798         (FUNC): Likewise.
3799         (MATHCONST): Likewise.
3800         (PRINTF_EXPR): Likewise.
3801         (PRINTF_XEXPR): Likewise.
3802         (PRINTF_NEXPR): Likewise.
3803         (TEST_DOUBLE): Likewise.
3804         (TEST_MATHVEC): Likewise.
3805         (__NO_MATH_INLINES): Likewise.
3806         (CNCT): Likewise.
3807         (CONCAT): Likewise.
3808         (WRAPPER_NAME): Likewise.
3809         (WRAPPER_DECL): Likewise.
3810         (WRAPPER_DECL_ff): Likewise.
3811         (WRAPPER_DECL_fFF): Likewise.
3812         (VECTOR_WRAPPER): Likewise.
3813         (VECTOR_WRAPPER_ff): Likewise.
3814         (VECTOR_WRAPPER_fFF): Likewise.
3815         (VEC_LEN): New macro.
3816         * math/test-double-vlen8.h: Include test-double.h,
3817         test-math-no-inline.h and test-math-vector.h.
3818         (FLOAT): Remove macro.
3819         (FUNC): Likewise.
3820         (MATHCONST): Likewise.
3821         (PRINTF_EXPR): Likewise.
3822         (PRINTF_XEXPR): Likewise.
3823         (PRINTF_NEXPR): Likewise.
3824         (TEST_DOUBLE): Likewise.
3825         (TEST_MATHVEC): Likewise.
3826         (__NO_MATH_INLINES): Likewise.
3827         (CNCT): Likewise.
3828         (CONCAT): Likewise.
3829         (WRAPPER_NAME): Likewise.
3830         (WRAPPER_DECL): Likewise.
3831         (WRAPPER_DECL_ff): Likewise.
3832         (WRAPPER_DECL_fFF): Likewise.
3833         (VECTOR_WRAPPER): Likewise.
3834         (VECTOR_WRAPPER_ff): Likewise.
3835         (VECTOR_WRAPPER_fFF): Likewise.
3836         (VEC_LEN): New macro.
3837         * math/test-float-vlen4.h: Include test-float.h,
3838         test-math-no-inline.h and test-math-vector.h.
3839         (FLOAT): Remove macro.
3840         (FUNC): Likewise.
3841         (MATHCONST): Likewise.
3842         (PRINTF_EXPR): Likewise.
3843         (PRINTF_XEXPR): Likewise.
3844         (PRINTF_NEXPR): Likewise.
3845         (TEST_FLOAT): Likewise.
3846         (TEST_MATHVEC): Likewise.
3847         (__NO_MATH_INLINES): Likewise.
3848         (CNCT): Likewise.
3849         (CONCAT): Likewise.
3850         (WRAPPER_NAME): Likewise.
3851         (WRAPPER_DECL): Likewise.
3852         (WRAPPER_DECL_ff): Likewise.
3853         (WRAPPER_DECL_fFF): Likewise.
3854         (VECTOR_WRAPPER): Likewise.
3855         (VECTOR_WRAPPER_ff): Likewise.
3856         (VECTOR_WRAPPER_fFF): Likewise.
3857         (VEC_LEN): New macro.
3858         * math/test-float-vlen8.h: Include test-float.h,
3859         test-math-no-inline.h and test-math-vector.h.
3860         (FLOAT): Remove macro.
3861         (FUNC): Likewise.
3862         (MATHCONST): Likewise.
3863         (PRINTF_EXPR): Likewise.
3864         (PRINTF_XEXPR): Likewise.
3865         (PRINTF_NEXPR): Likewise.
3866         (TEST_FLOAT): Likewise.
3867         (TEST_MATHVEC): Likewise.
3868         (__NO_MATH_INLINES): Likewise.
3869         (CNCT): Likewise.
3870         (CONCAT): Likewise.
3871         (WRAPPER_NAME): Likewise.
3872         (WRAPPER_DECL): Likewise.
3873         (WRAPPER_DECL_ff): Likewise.
3874         (WRAPPER_DECL_fFF): Likewise.
3875         (VECTOR_WRAPPER): Likewise.
3876         (VECTOR_WRAPPER_ff): Likewise.
3877         (VECTOR_WRAPPER_fFF): Likewise.
3878         (VEC_LEN): New macro.
3879         * math/test-float-vlen16.h: Include test-float.h,
3880         test-math-no-inline.h and test-math-vector.h.
3881         (FLOAT): Remove macro.
3882         (FUNC): Likewise.
3883         (MATHCONST): Likewise.
3884         (PRINTF_EXPR): Likewise.
3885         (PRINTF_XEXPR): Likewise.
3886         (PRINTF_NEXPR): Likewise.
3887         (TEST_FLOAT): Likewise.
3888         (TEST_MATHVEC): Likewise.
3889         (__NO_MATH_INLINES): Likewise.
3890         (CNCT): Likewise.
3891         (CONCAT): Likewise.
3892         (WRAPPER_NAME): Likewise.
3893         (WRAPPER_DECL): Likewise.
3894         (WRAPPER_DECL_ff): Likewise.
3895         (WRAPPER_DECL_fFF): Likewise.
3896         (VECTOR_WRAPPER): Likewise.
3897         (VECTOR_WRAPPER_ff): Likewise.
3898         (VECTOR_WRAPPER_fFF): Likewise.
3899         (VEC_LEN): New macro.
3900         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
3901         test-vec-loop.h.
3902         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
3903         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
3904         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
3905         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
3906         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
3907         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
3908         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
3910 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3912         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
3913         (__getlogin_r): ... this.
3915 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3917         [BZ #18594]
3918         * math/s_ccosh.c (__ccosh): Compare with least normal value
3919         instead of comparing class with FP_SUBNORMAL.
3920         * math/s_ccoshf.c (__ccoshf): Likewise.
3921         * math/s_ccoshl.c (__ccoshl): Likewise.
3922         * math/s_cexp.c (__cexp): Likewise.
3923         * math/s_cexpf.c (__cexpf): Likewise.
3924         * math/s_cexpl.c (__cexpl): Likewise.
3925         * math/s_csin.c (__csin): Likewise.
3926         * math/s_csinf.c (__csinf): Likewise.
3927         * math/s_csinh.c (__csinh): Likewise.
3928         * math/s_csinhf.c (__csinhf): Likewise.
3929         * math/s_csinhl.c (__csinhl): Likewise.
3930         * math/s_csinl.c (__csinl): Likewise.
3931         * math/s_ctan.c (__ctan): Likewise.
3932         * math/s_ctanf.c (__ctanf): Likewise.
3933         * math/s_ctanh.c (__ctanh): Likewise.
3934         * math/s_ctanhf.c (__ctanhf): Likewise.
3935         * math/s_ctanhl.c (__ctanhl): Likewise.
3936         * math/s_ctanl.c (__ctanl): Likewise.
3937         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
3938         csin, csinh, ctan and ctanh.
3939         * math/auto-libm-test-out: Regenerated.
3940         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
3941         * sysdeps/i386/fpu/libm-test-ulps: Update.
3942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3944 2015-06-24  Roland McGrath  <roland@hack.frob.com>
3946         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
3947         return value is wrong, print the expected value too.
3949 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
3951         [BZ #18585]
3952         * elf/readlib.c (is_gdb_python_file): New.
3953         (process_file): Don't issue errors on filenames with -gdb.py
3954         suffix.
3956 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
3958         * math/auto-libm-test-in: Add more tests of csin and csinh.
3959         * math/auto-libm-test-out: Regenerated.
3960         * math/libm-test.inc (csin_test_data): Remove tests moved to
3961         auto-libm-test-in.
3962         (csinh_test_data): Likewise.
3964         [BZ #18593]
3965         * math/s_csin.c (__csin): Negate before rather than after possibly
3966         overflowing multiplication.
3967         * math/s_csinf.c (__csinf): Likewise.
3968         * math/s_csinh.c (__csinh): Likewise.
3969         * math/s_csinhf.c (__csinhf): Likewise.
3970         * math/s_csinhl.c (__csinhl): Likewise.
3971         * math/s_csinl.c (__csinl): Likewise.
3972         * math/auto-libm-test-in: Add some tests of csin and csinh.
3973         * math/auto-libm-test-out: Regenerated.
3974         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
3975         (csinh_test_data): Likewise.
3976         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3978         [BZ #18586]
3979         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
3980         underflow exception for small results.
3982 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
3984         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
3985         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
3986         variable and included header.
3987         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
3988         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
3989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
3990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
3991         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
3992         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
3993         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
3994         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
3995         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
3996         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
3997         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
3998         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
3999         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
4000         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
4001         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
4002         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
4004 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4006         [BZ #16526]
4007         [BZ #16538]
4008         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
4009         (__sin): Force underflow exception for arguments with small
4010         absolute value.
4011         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
4012         (__kernel_sinf): Force underflow exception for arguments with
4013         small absolute value.
4014         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
4015         (__kernel_sincosl): Force underflow exception for arguments with
4016         small absolute value.
4017         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
4018         (__kernel_sinl): Force underflow exception for arguments with
4019         small absolute value.
4020         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
4021         (__kernel_sincosl): Force underflow exception for arguments with
4022         small absolute value.
4023         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
4024         (__kernel_sinl): Force underflow exception for arguments with
4025         small absolute value.
4026         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
4027         (__kernel_sinl): Force underflow exception for arguments with
4028         small absolute value.
4029         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
4030         (__kernel_sinf): Force underflow exception for arguments with
4031         small absolute value.
4032         * math/auto-libm-test-in: Add more tests of sin and sincos.
4033         * math/auto-libm-test-out: Regenerated.
4035         [BZ #18245]
4036         [BZ #18583]
4037         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
4038         (__kernel_standard_l): Use feholdexcept and fesetenv around
4039         conversion to double instead of special-casing overflow and
4040         underflow.
4041         * math/libm-test.inc (fmod_test_data): Add more tests.
4042         (remainder_test_data): Likewise.
4043         (sqrt_test_data): Likewise.
4045 2015-06-23  Torvald Riegel  <triegel@redhat.com>
4047         [BZ #17403]
4048         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
4049         atomic_read_barrier, atomic_write_barrier): Define.
4050         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
4051         atomic_read_barrier, atomic_write_barrier): Define.
4053 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4055         * math/Makefile [$(PERL) != no]
4056         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
4057         dependency on libm-test.stmp below the inclusion of Rules.
4059 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
4061         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
4062         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
4063         and included header.
4064         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
4065         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
4066         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
4067         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
4068         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
4069         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
4070         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4071         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4072         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
4073         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
4074         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
4075         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
4076         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
4077         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
4078         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
4079         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
4080         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
4081         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
4082         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
4084 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
4086         [BZ #18371]
4087         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
4088         intermediate but not final result might underflow.
4089         * math/s_csqrtf.c (__csqrtf): Likewise.
4090         * math/s_csqrtl.c (__csqrtl): Likewise.
4091         * math/auto-libm-test-in: Add more tests of csqrt.
4092         * math/auto-libm-test-out: Regenerated.
4093         * sysdeps/i386/fpu/libm-test-ulps: Update.
4095         [BZ #18219]
4096         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
4097         threshold on absolute value of exponent for which scaling is used.
4098         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4099         * math/auto-libm-test-in: Add more tests of exp2.
4100         * math/auto-libm-test-out: Regenerated.
4102 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
4104         [BZ #17977]
4105         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
4106         when initializing interface list, based on the bug analysis
4107         and the patch proposed by Eric Newton.
4108         * resolv/tst-res_hconf_reorder.c: New test.
4109         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
4110         tst-res_hconf_reorder.
4111         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
4112         and $(shared-thread-library).
4113         (tst-res_hconf_reorder-ENV): New variable.
4115         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
4116         in comment.
4118 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
4120         [BZ #16353]
4121         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
4122         (__expm1): Force underflow exception for arguments with small
4123         absolute value.
4124         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
4125         (__expm1f): Force underflow exception for arguments with small
4126         absolute value.
4127         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
4128         (__expm1): Force underflow exception for arguments with small
4129         absolute value.
4130         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
4131         (__expm1f): Force underflow exception for arguments with small
4132         absolute value.
4133         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
4134         Check for small arguments before calling __expm1.
4135         * math/auto-libm-test-in: Do not mark underflow exceptions as
4136         possibly missing for bug 16353.
4137         * math/auto-libm-test-out: Regenerated.
4139 2015-06-22  Andreas Schwab  <schwab@suse.de>
4141         [BZ #18513]
4142         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
4143         PTR queries.
4145 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
4147         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
4149         * string/strcoll_l.c: Remove unused struct element idxnow.
4151 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
4153         [BZ #18569]
4154         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
4155         underflow and return argument in case of subnormal argument.
4156         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4157         Likewise.
4158         * math/auto-libm-test-in: Add more tests of expm1.
4159         * math/auto-libm-test-out: Regenerated.
4161         [BZ #16361]
4162         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4163         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4164         tiny results.
4165         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
4166         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
4167         tiny results.
4168         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
4169         mark underflow exceptions as possibly missing for bug 16361.
4170         * math/auto-libm-test-out: Regenerated.
4172 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
4174         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
4175         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
4176         Remove variable.
4177         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
4178         (test-xfail-XOPEN2K8/utmpx.h/conform).
4180         * conform/conformtest.pl ($xerrors): New variable.
4181         (note_error): New function.
4182         (compiletest): New argument $xfail.  Use not_error.
4183         (runtest): Likewise.
4184         (top level): Handle xfail- lines.  Update calls to compiletest and
4185         runtest.  Handle xfail- and optional- in headers listed with
4186         allow-header.
4187         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
4188         (O_EXEC): Likewise.
4189         (O_SEARCH): Likewise.
4190         * conform/data/stropts.h-data (ioctl): Likewise.
4191         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
4192         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
4193         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
4194         (msghdr.msg_controllen): Likewise.
4195         (cmsghdr.cmsg_len): Likewise.
4196         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
4197         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
4198         variable.
4199         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
4200         (test-xfail-XPG4/stropts.h/conform): Likewise.
4201         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
4202         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
4203         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
4204         (test-xfail-UNIX98/stropts.h/conform): Likewise.
4205         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
4206         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
4207         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
4208         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
4209         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
4210         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
4211         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
4212         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
4213         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
4214         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
4215         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
4216         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
4217         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
4218         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
4219         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
4221 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
4223         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
4224         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
4225         definitions for proper unfolding of __MATHDECL_VEC.
4227 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4229         * benchtests/bench-strcoll.c:
4230         Include string.h.
4231         (main): Remove unused variable res.
4233 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4235         * timezone/Makefile (%/UTC %/Universal):
4236         Generate test-result files for UTC and Universal.
4238 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
4240         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4242 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
4244         [BZ #16350]
4245         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
4246         for arguments with small absolute value.
4247         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
4248         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
4249         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
4250         (__asinh): Force underflow exception for arguments with small
4251         absolute value.
4252         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
4253         (__asinhf): Force underflow exception for arguments with small
4254         absolute value.
4255         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
4256         (__asinhl): Force underflow exception for arguments with small
4257         absolute value.
4258         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
4259         (__asinhl): Force underflow exception for arguments with small
4260         absolute value.
4261         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
4262         (__asinhl): Force underflow exception for arguments with small
4263         absolute value.
4264         * math/auto-libm-test-in: Do not mark underflow exceptions as
4265         possibly missing for bug 16350.
4266         * math/auto-libm-test-out: Regenerated.
4268         * include/bits/ipc.h: Remove file.
4269         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
4270         variable.
4271         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
4272         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
4273         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
4274         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
4275         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
4276         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
4277         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
4278         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
4279         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
4281         * math/auto-libm-test-in: Remove spurious underflow allowance for
4282         tests of cexp.
4283         * math/auto-libm-test-out: Regenerated.
4285         [BZ #18558]
4286         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
4287         unconditional definition.
4288         (MCAST_BLOCK_SOURCE): Likewise.
4289         (MCAST_UNBLOCK_SOURCE): Likewise.
4290         (MCAST_LEAVE_GROUP): Likewise.
4291         (MCAST_JOIN_SOURCE_GROUP): Likewise.
4292         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4293         (MCAST_MSFILTER): Likewise.
4294         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
4295         Remove variable.
4296         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
4297         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
4298         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
4299         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
4300         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
4302 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
4304         * NEWS: Mention addition of x86_64 vector sincosf.
4305         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
4306         * math/test-float-vlen4.h: Likewise.
4307         * math/test-float-vlen8.h: Likewise.
4308         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4309         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
4310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4311         * sysdeps/x86_64/fpu/Versions: New versions added.
4312         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4313         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4314         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
4316         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
4317         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
4318         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
4319         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
4320         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
4321         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
4322         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
4323         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
4324         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
4325         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
4326         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
4327         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
4328         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
4329         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4330         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4331         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4332         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4333         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4334         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4335         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4337         * NEWS: Mention addition of x86_64 vector sincos.
4338         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
4339         * math/math.h (__MATHDECL_VEC): New macro.
4340         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
4341         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
4342         declaration under condition.
4343         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
4344         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
4345         TEST_VEC_LOOP change.
4346         * math/test-double-vlen4.h: Likewise.
4347         * math/test-double-vlen8.h: Likewise.
4348         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
4349         * math/test-float-vlen4.h: Likewise.
4350         * math/test-float-vlen8.h: Likewise.
4351         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4352         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
4353         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4354         * sysdeps/x86_64/fpu/Versions: New versions added.
4355         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4356         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4357         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4358         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
4359         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
4360         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
4361         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
4362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
4363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
4364         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
4365         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
4366         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
4367         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
4368         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
4369         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
4370         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
4371         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
4372         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4373         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4374         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4375         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4376         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4377         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4378         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4380         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4381         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4382         redirections for powf.
4383         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4384         * sysdeps/x86_64/fpu/Versions: New versions added.
4385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4386         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4387         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4388         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
4389         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
4390         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
4391         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
4392         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
4393         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
4394         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
4395         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
4396         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
4397         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
4398         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
4399         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
4400         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
4401         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
4402         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4403         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4404         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4405         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4406         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4407         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4408         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4409         * math/test-float-vlen16.h: Fixed 2 argument macro.
4410         * math/test-float-vlen4.h: Likewise.
4411         * math/test-float-vlen8.h: Likewise.
4412         * NEWS: Mention addition of x86_64 vector powf.
4414 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
4416         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4417         and redefine.
4418         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4419         and redefine.
4420         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
4421         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4422         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4424         [BZ #18553]
4425         * resource/getpriority.c (getpriority): Rename to __getpriority
4426         and define as weak alias of __getpriority.
4427         * resource/setpriority.c (setpriority): Rename to __setpriority
4428         and define as weak alias of __setpriority.
4429         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
4430         __getpriority and define as weak alias of __getpriority.
4431         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
4432         __setpriority and define as weak alias of __setpriority.
4433         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
4434         strong name.
4435         (setpriority): Use __setpriority as strong name.
4436         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
4437         __getpriority and define as weak alias of __getpriority.
4438         * include/sys/resource.h (__getpriority): Declare.  Use
4439         libc_hidden_proto.
4440         (__setpriority): Likewise.
4441         (getpriority): Don't use libc_hidden_proto.
4442         (setpriority): Likewise.
4443         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
4444         getpriority.  Call __setpriority instead of setpriority.
4445         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
4446         Remove variable.
4448         [BZ #18547]
4449         * misc/getttyent.c (getttynam): Rename to __getttynam and define
4450         as weak alias of __getttynam.  Use prototype function definition.
4451         Call __setttyent, __getttyent and __endttyent instead of
4452         setttyent, getttyent and endttyent.
4453         (getttyent): Rename to __getttyent and define as weak alias of
4454         __getttyent.  Call __setttyent instead of setttyent.  Call
4455         __fgets_unlocked instead of fgets_unlocked.
4456         (setttyent): Rename to __setttyent and define as weak alias of
4457         __setttyent.
4458         (endttyent): Rename to __endttyent and define as weak alias of
4459         __endttyent.
4460         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
4461         (__setttyent): Likewise.
4462         (__endttyent): Likewise.
4463         (getttyent): Don't use libc_hidden_proto.
4464         (setttyent): Likewise.
4465         (endttyent): Likewise.
4466         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
4467         __endttyent instead of setttyent, getttyent and endttyent.
4468         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
4469         Remove variable.
4471         [BZ #18546]
4472         * socket/recv.c (__recv): Use libc_hidden_def.
4473         * socket/socket.c (__socket): Likewise.
4474         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4475         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
4476         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
4477         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
4478         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
4479         libc_hidden_def.
4480         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
4481         libc_hidden_weak.
4482         * include/sys/socket.h (__socket): Do not use attribute_hidden.
4483         Use libc_hidden_proto.
4484         (__recv): Likewise.
4485         * socket/Versions (libc): Export __recv and __socket at version
4486         GLIBC_PRIVATE.
4487         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
4488         instead of recv.
4489         (init_mq_netlink): Call __socket instead of socket.
4490         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
4491         Remove variable.
4493         [BZ #18545]
4494         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
4495         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
4496         hidden_weak.
4497         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
4498         define as alias of __mq_timedsend.  Use hidden_weak.
4499         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
4500         __mq_timedsend as strong name.
4501         (mq_timedreceive): Use __mq_timedreceive as strong name.
4502         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
4503         (__mq_timedreceive): Likewise.
4504         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
4505         __mq_timedreceive instead of mq_timedreceive.
4506         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
4507         instead of mq_timedsend.
4508         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
4509         Remove variable.
4511         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
4512         hidden_def and hidden_weak instead of libc_hidden_def and
4513         libc_hidden_weak.
4514         (top level): Refer to hidden_def in comment.
4515         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
4516         macro.  Use it instead of libc_hidden_def.
4517         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
4518         specify __GI_* name explicitly.
4519         (mq_timedreceive): Likewise.
4520         (mq_setattr): Likewise.
4522         [BZ #18544]
4523         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
4524         __pthread_barrier_init and define as weak alias of
4525         __pthread_barrier_init.
4526         * sysdeps/sparc/nptl/pthread_barrier_init.c
4527         (pthread_barrier_init): Likewise.
4528         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
4529         __pthread_barrier_wait and define as weak alias of
4530         __pthread_barrier_wait.
4531         * sysdeps/sparc/nptl/pthread_barrier_wait.c
4532         (pthread_barrier_wait): Likewise.
4533         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
4534         (pthread_barrier_wait): Likewise.
4535         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
4536         (pthread_barrier_wait): Likewise.
4537         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
4538         (pthread_barrier_wait): Likewise.
4539         * nptl/Versions (libpthread): Export __pthread_barrier_init and
4540         __pthread_barrier_wait at version GLIBC_PRIVATE.
4541         * include/pthread.h (__pthread_barrier_init): Declare.
4542         (__pthread_barrier_wait): Likewise.
4543         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
4544         Call __pthread_barrier_wait instead of pthread_barrier_wait.
4545         (helper_thread): Likewise.
4546         (init_mq_netlink): Call __pthread_barrier_init instead of
4547         pthread_barrier_init.
4549         [BZ #18542]
4550         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
4551         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
4552         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
4553         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
4554         vswscanf.
4555         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
4556         Remove variable.
4558         [BZ #18540]
4559         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
4560         strong alias of _IO_fflush.  Use libc_hidden_def.
4561         * libio/iofflush_u.c (fflush_unlocked): Rename to
4562         __fflush_unlocked and define as weak alias of __fflush_unlocked.
4563         Use libc_hidden_weak.
4564         * include/stdio.h (__fflush_unlocked): Declare.  Use
4565         libc_hidden_proto.
4566         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
4567         fflush_unlocked.
4568         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
4569         Remove variable.
4571         [BZ #18539]
4572         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
4573         define as weak alias of __addseverity.
4574         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
4575         Remove variable.
4576         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4577         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4578         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4580         [BZ #18536]
4581         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
4582         (__tfind): Likewise.
4583         (__tdelete): Likewise.
4584         (__twalk): Likewise.
4585         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
4586         __twalk to GLIBC_PRIVATE.
4587         * include/search.h (__tsearch): Use libc_hidden_proto.
4588         (__tfind): Likewise.
4589         (__tdelete): Likewise.
4590         (__twalk): Likewise.
4591         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
4592         Call __tdelete instead of tdelete.
4593         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
4594         tfind.  Call __tsearch instead of tsearch.
4595         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
4596         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
4597         Remove variable.
4598         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4600         [BZ #18534]
4601         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
4602         (dprintf): Define as a weak alias of __dprintf, not a strong
4603         alias.
4604         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
4605         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
4606         dprintf.
4607         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
4608         Remove variable.
4609         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4610         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4612         [BZ #18533]
4613         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
4614         not a strong alias.
4615         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
4616         Remove variable.
4618         [BZ #18532]
4619         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
4620         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
4621         (in6addr_loopback): Rename to __in6addr_loopback and define as
4622         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
4623         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
4624         libc_hidden_proto.
4625         (__in6addr_any): Likewise.
4626         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
4627         in6addr_any.
4628         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
4629         variable.
4630         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4632 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
4634         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
4635         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
4636         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4637         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4638         redirections for pow.
4639         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4640         * sysdeps/x86_64/fpu/Versions: New versions added.
4641         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4642         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4643         build of SSE, AVX2 and AVX512 IFUNC versions.
4644         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
4645         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
4646         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
4647         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
4648         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
4649         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
4650         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
4651         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
4652         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
4653         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
4654         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
4655         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
4656         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
4657         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
4658         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4659         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4660         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4661         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4662         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4663         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4664         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4665         * NEWS: Mention addition of x86_64 vector pow.
4667         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4668         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4669         redirections for expf.
4670         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4671         * sysdeps/x86_64/fpu/Versions: New versions added.
4672         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4673         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4674         build of SSE, AVX2 and AVX512 IFUNC versions.
4675         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
4676         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
4677         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
4678         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
4679         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
4680         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
4681         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
4682         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
4683         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
4684         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
4685         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
4686         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
4687         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
4688         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4689         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4690         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4691         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4692         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4693         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4694         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4695         * NEWS: Mention addition of x86_64 vector expf.
4697         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
4698         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
4699         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4700         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4701         redirections for exp.
4702         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4703         * sysdeps/x86_64/fpu/Versions: New versions added.
4704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4705         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4706         build of SSE, AVX2 and AVX512 IFUNC versions.
4707         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
4708         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
4709         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
4710         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
4711         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
4712         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
4713         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
4714         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
4715         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
4716         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
4717         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
4718         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
4719         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
4720         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4721         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4722         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4723         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4724         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4725         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4726         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4727         * NEWS: Mention addition of x86_64 vector exp.
4729         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4731         redirections for logf.
4732         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4733         * sysdeps/x86_64/fpu/Versions: New versions added.
4734         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4735         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4736         build of SSE, AVX2 and AVX512 IFUNC versions.
4737         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
4738         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
4739         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
4740         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
4741         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
4742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
4743         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
4744         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
4745         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
4746         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
4747         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
4748         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
4749         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
4750         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4751         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4752         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4753         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4754         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4755         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4756         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4757         * NEWS: Mention addition of x86_64 vector logf.
4759         * bits/libm-simd-decl-stubs.h: Added stubs for log.
4760         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
4761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4762         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
4763         redirections for log.
4764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4765         * sysdeps/x86_64/fpu/Versions: New versions added.
4766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4768         build of SSE, AVX2 and AVX512 IFUNC versions.
4769         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
4770         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
4771         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
4772         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
4773         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
4774         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
4775         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
4776         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
4777         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
4778         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
4779         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
4780         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
4781         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
4782         test.
4783         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4784         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4785         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4786         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4787         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4788         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4789         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
4790         * NEWS: Mention addition of x86_64 vector log.
4792 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4794         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
4795         cfi_adjust_cfa_offset argument.
4796         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
4797         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
4799         [BZ #18034]
4800         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
4801         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
4802         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
4803         ordering using ldar.
4804         (_dl_tlsdesc_dynamic): Likewise.
4805         (_dl_tlsdesc_return_lazy): Likewise.
4806         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
4807         relaxed atomics instead of volatile and synchronize with release store.
4808         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
4809         volatile.
4810         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
4812 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
4814         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
4815         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
4816         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4817         * sysdeps/x86_64/fpu/Versions: New versions added.
4818         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4819         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
4820         build of SSE, AVX2 and AVX512 IFUNC versions.
4821         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
4822         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
4823         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
4824         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
4825         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
4826         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
4827         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
4828         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
4829         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
4830         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
4831         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
4832         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
4833         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
4834         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
4835         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4836         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
4837         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4838         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
4839         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4840         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4841         * NEWS: Mention addition of x86_64 vector sinf.
4843 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
4845         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
4846         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
4847         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
4848         Remove variable.
4849         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4850         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4852 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4854         [BZ #18530]
4855         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
4856         strong alias of _IO_fputs.  Use libc_hidden_def.
4857         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
4858         and define as weak alias of __fputs_unlocked.  Use
4859         libc_hidden_weak.
4860         * include/stdio.h (__fputs_unlocked): Declare.  Use
4861         libc_hidden_proto.
4862         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
4863         fputs_unlocked.
4865         [BZ #18529]
4866         * resolv/netdb.h [__USE_POSIX]: Change condition to
4867         [__USE_XOPEN2K].
4868         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
4869         not expect.
4870         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
4871         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
4872         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
4873         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
4874         [XPG4 || UNIX98] (AI_ALL): Likewise.
4875         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
4876         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
4877         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
4878         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
4879         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
4880         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
4881         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
4882         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
4883         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
4884         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
4885         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
4886         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
4887         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
4888         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
4889         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
4890         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4891         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
4892         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
4893         [XPG4 || UNIX98] (gai_strerror): Likewise.
4894         [XPG4 || UNIX98] (getaddrinfo): Likewise.
4895         [XPG4 || UNIX98] (getnameinfo): Likewise.
4897         [BZ #18528]
4898         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
4899         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
4900         __USE_XOPEN2K8].
4901         (getgrent): Likewise.
4902         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
4903         expect.
4904         [XPG3 || POSIX2008] (endgrent): Likewise.
4905         [XPG3] (setgrent): Likewise.
4906         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
4907         variable.
4908         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4910         [BZ #18527]
4911         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
4912         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
4913         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
4914         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
4915         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
4916         * include/unistd.h (__getlogin_r): Declare.  Use
4917         libc_hidden_proto.
4918         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
4919         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
4920         variable.
4921         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4922         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4923         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4925 2015-06-12  Martin Sebor  <msebor@redhat.com>
4927         [BZ #18512]
4928         * Makerules (check-install-supported): New target.
4929         (install): Add check-install-supported as a dependency.
4930         * manual/install.texi (Installing the C Library): Document
4931         that overriding prefix and exec_prefix is not supported.
4932         Mention DESTDIR.
4933         * INSTALL: Regenerate from the above.
4935 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
4937         [BZ #18519]
4938         * posix/Versions (libc): Export __libc_pread at version
4939         GLIBC_PRIVATE.
4940         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
4941         instead of pread.
4942         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
4943         variable.
4945         [BZ #18522]
4946         * misc/efgcvt_r.c
4947         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
4948         (cvt_symbol): Use weak_alias instead of strong_alias.
4949         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
4950         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
4951         Remove variable.
4952         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4953         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4955         [BZ #18520]
4956         * inet/herrno.c (h_errno): Rename to __h_errno.
4957         (__libc_h_errno): Define as alias of __h_errno not h_errno.
4958         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
4959         to __h_errno instead of h_errno.
4960         * nptl/herrno.c (h_errno): Rename to __h_errno.
4961         (__h_errno_location): Refer to __h_errno not h_errno.
4962         * resolv/Versions (h_errno): Rename to __h_errno.
4963         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
4964         Remove variable.
4965         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4967 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
4969         * configure.ac: More strict check for AVX512 assembler support.
4970         * configure: Regenerated.
4972         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
4973         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
4974         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
4975         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
4976         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
4977         * sysdeps/x86_64/fpu/Versions: New versions added.
4978         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4979         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
4980         Added build of SSE, AVX2 and AVX512 IFUNC versions.
4981         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
4982         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
4983         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
4984         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
4985         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
4986         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
4987         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
4988         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
4989         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
4990         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
4991         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
4992         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
4993         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
4994         test.
4995         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
4996         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4997         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
4998         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4999         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5000         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5001         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5002         * NEWS: Mention addition of x86_64 vector sin.
5004 2015-06-11  Florian Weimer  <fweimer@redhat.com>
5006         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
5007         comment.
5009 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
5011         [BZ #18479]
5012         * nptl/pt-interp.c: New file.
5013         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
5014         Add pt-interp.
5015         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
5016         $(common-objpfx)runtime-linker.h.
5018 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
5020         * Makeconfig (+interp): Remove unused variable.
5021         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
5022         only.  Depend on $(common-objpfx)runtime-linker.h instead of
5023         $(elf-objpfx)runtime-linker.h.
5024         ($(elf-objpfx)runtime-linker.h): Rename to
5025         $(common-objpfx)runtime-linker.h and move ...
5026         * Makerules [$(build-shared) = yes]: ... here.
5027         * elf/interp.c: Include <runtime-linker.h> instead of
5028         <elf/runtime-linker.h>.
5030 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5032         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
5033         (__gettimeofday_syscall): Remove vsyscall fallback.
5034         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
5035         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
5036         Add syscall fallback function.
5037         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
5038         if vDSO is not present.
5039         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
5040         fallback function.
5041         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
5042         present.
5043         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
5044         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
5046 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
5048         [BZ #18497]
5049         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
5050         of wcscmp.
5051         (wcscmp): Define as weak alias of WCSCMP.
5052         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
5053         wcscoll.
5054         (USE_HIDDEN_DEF): Define.
5055         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
5056         __wcscoll.  Don't use libc_hidden_weak.
5057         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
5058         wcscmp.
5059         * sysdeps/i386/i686/multiarch/wcscmp-c.c
5060         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
5061         __GI_wcscmp.
5062         (weak_alias): Undefine and redefine.
5063         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
5064         __wcscmp and define as weak alias of __wcscmp.
5065         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
5066         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
5067         (__wcscoll): Likewise.
5068         (wcscmp): Don't use libc_hidden_proto.
5069         (wcscoll): Likewise.
5070         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
5071         wcscoll.
5072         * posix/regexec.c (check_node_accept_bytes): Likewise.
5073         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
5074         variable.
5075         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5076         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5078         [BZ #18507]
5079         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
5080         __fstatvfs and define as weak alias of __fstatvfs.  Use
5081         libc_hidden_weak.
5082         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
5083         and define as weak alias of __statvfs.  Use libc_hidden_weak.
5084         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
5085         Define as alias of __fstatvfs, not fstatvfs.
5086         (fstatvfs64): Likewise.
5087         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
5088         Define as alias of __statvfs, not statvfs.
5089         (statvfs64): Likewise.
5090         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
5091         Remove variable.
5093 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5096         (HAVE_GETCPU_VSYSCALL): Define.
5097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5098         (HAVE_GETCPU_VSYSCALL): Likewise.
5099         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
5100         * sysdeps/unix/sysv/linux/sched_getcpu.c
5101         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
5102         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
5103         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
5104         prototype.
5105         * sysdeps/unix/sysv/linux/x86_64/init-first.c
5106         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
5107         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
5108         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
5109         Define.
5110         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
5111         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
5112         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
5113         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
5115 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
5117         * sysdeps/x86_64/fpu/Makefile: New file.
5118         * sysdeps/x86_64/fpu/Versions: New file.
5119         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
5120         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
5121         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
5122         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
5123         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
5124         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
5125         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
5126         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
5127         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
5128         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
5129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
5130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
5131         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
5132         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5133         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5134         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
5135         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
5136         * sysdeps/x86_64/configure.ac: Options for libmvec build.
5137         * sysdeps/x86_64/configure: Regenerated.
5138         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
5139         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
5140         * manual/install.texi (Configuring and compiling): Document
5141         --disable-mathvec.
5142         * INSTALL: Regenerated.
5143         * NEWS: Mention addition of libmvec and x86_64 vector cos.
5145         * math/Makefile: Added rules for vector tests.
5146         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
5147         declaration under condition.
5148         * math/test-double-vlen2.h: New file.
5149         * math/test-double-vlen4.h: New file.
5150         * math/test-double-vlen8.h: New file.
5151         * math/test-vec-loop.h: Added initialization macro.
5152         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
5153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
5154         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
5155         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
5156         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
5157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
5158         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
5159         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
5160         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
5161         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
5162         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
5164         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
5165         * sysdeps/x86_64/fpu/Versions: New versions added.
5166         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
5167         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
5168         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
5169         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
5170         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
5171         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
5172         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
5173         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
5174         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
5175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
5176         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
5177         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
5178         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
5179         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
5180         Added build of SSE, AVX2 and AVX512 IFUNC versions.
5181         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
5182         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
5183         * NEWS: Mention addition of x86_64 vector cosf.
5185         * math/Makefile: Added CFLAGS for new tests.
5186         * math/test-float-vlen16.h: New file.
5187         * math/test-float-vlen4.h: New file.
5188         * math/test-float-vlen8.h: New file.
5189         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
5190         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
5191         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5192         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
5193         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
5194         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
5195         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
5196         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
5197         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
5198         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
5199         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
5201 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
5203         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
5204         * locale/programs/ld-ctype.c: Likewise.
5206 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
5208         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
5209         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
5210         bit_ZMM16_31_state): New macro.
5211         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5212         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
5214 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
5216         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
5218 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
5220         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
5222 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
5224         [BZ #18498]
5225         * libio/memstream.c (open_memstream): Rename to __open_memstream
5226         and define as weak alias of __open_memstream.
5227         * include/stdio.h (__open_memstream): Declare.  Use
5228         libc_hidden_proto.
5229         (open_memstream): Don't use libc_hidden_proto.
5230         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
5231         open_memstream.
5232         * posix/getopt.c (_getopt_internal_r): Likewise.
5233         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
5234         variable.
5235         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5236         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5237         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5239         [BZ #18496]
5240         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
5241         instead of wcrtomb.
5243         [BZ #18483]
5244         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
5245         [__USE_XOPEN2K8].  Remove redundant #endif.
5246         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
5247         Remove redundant #if.
5248         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
5249         Remove variable.
5250         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5251         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5253         [BZ #18495]
5254         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
5255         (__iswlower): Likewise.
5256         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
5257         (__iswlower): Likewise.
5258         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
5259         instead of towlower.
5260         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
5261         instead of iswlower.  Call __towupper instead of towupper.
5262         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
5263         instead of iswalnum.
5265 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5267         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
5268         errors to stderr.
5270 2015-06-05  Florian Weimer  <fweimer@redhat.com>
5272         [BZ #15661]
5273         [BZ #17322]
5274         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
5275         Check for overflow properly.  Check for O_APPEND.  Ignore large
5276         file system block sizes.  Add comments about problems.
5277         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
5278         * manual/filesys.texi (Storage Allocation): New node.
5280 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5282         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
5283         cancellable syscalls.
5284         (SYS_ify): Add guard to no redefine it.
5285         (INLINE_SYSCALL): Likewise.
5286         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
5287         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
5288         SYSCALL_CANCEL instead.
5289         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
5290         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5291         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5292         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5293         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5294         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
5295         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
5296         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
5297         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
5298         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
5299         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
5300         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
5301         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
5302         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
5303         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
5304         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5305         Likewise.
5306         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5307         (__libc_pread64): Likewise.
5308         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
5309         (__libc_preadv): Likewise.
5310         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
5311         (__libc_readv64): Likewise.
5312         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5313         (__libc_pwrite): Likewise.
5314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5315         (__libc_pwrite64): Likewise.
5316         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
5317         (__libc_pwritev): Likewise.
5318         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
5319         (__libc_pwritev64): Likewise.
5320         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
5321         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
5322         (sync_file_range): Likewise.
5323         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
5326         Likewise.
5327         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5328         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5329         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5330         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5331         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5332         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5333         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
5334         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
5335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5336         Likewise.
5337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5338         (__libc_read64): Likewise.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
5344         Likewise.
5345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
5346         Likewise.
5347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
5348         (__libc_pread64): Likewise.
5349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
5350         Likewise.
5351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
5352         (__libc_pwrite64): Likewise.
5353         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
5354         (sync_file_range): Likewise.
5355         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
5356         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5357         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5358         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
5359         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
5360         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5361         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5362         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
5363         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
5364         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5365         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
5366         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5367         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5368         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5369         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
5370         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5371         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5372         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5373         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
5378         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
5381         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
5382         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
5383         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
5384         Likewise.
5385         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
5386         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
5387         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
5388         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
5389         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
5391 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
5393         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
5394         Include dl-vdso.
5395         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
5396         Use VDSO routines for gettimeofday, clock_gettime if
5397         available.
5398         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
5399         Declare VDSO symbols.
5400         * sysdeps/unix/sysv/linux/arm/sysdep.h:
5401         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
5402         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5403         * sysdeps/unix/sysv/linux/arm/Versions: Add
5404         __vdso_clock_gettime.
5406 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5408         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
5409         be an inline implementation regardless of library is built within.
5410         (open_not_cancel_2): Likewise.
5411         (__read_nocancel): Likewise.
5412         (__write_nocancel): Likewise.
5413         (openat_not_cancel): Likewise.
5414         (openat_not_cancel_3): Likewise.
5415         (openat64_not_cancel): Likewise.
5416         (openat64_not_cancel_3): Likewise.
5417         (__close_nocancel): Likewise.
5418         (pause_not_cancel): Likewise.
5419         (nanosleep_not_cancel): Likewise.
5420         (sigsuspend_not_cancel): Likewise.
5422 2015-06-04  Torvald Riegel  <triegel@redhat.com>
5424         [BZ #14958]
5425         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
5426         wake-up.
5427         (__pthread_rwlock_rdlock_slow): Likewise.
5428         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
5429         Likewise.
5430         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
5431         Likewise.
5432         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
5433         * nptl/tst-rwlock16.c: New file.
5434         * nptl/Makefile (tests): Add new test.
5436 2015-06-04  Torvald Riegel  <triegel@redhat.com>
5438         [BZ #18324]
5439         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
5440         missing wake-up of readers.
5441         * nptl/tst-rwlock15.c: New file.
5442         * nptl/Makefile (tests): Add new test.
5444 2015-06-03  Roland McGrath  <roland@hack.frob.com>
5446         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
5447         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
5448         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
5449         and __nacl_supply_interface_rtld.
5450         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
5451         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
5452         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
5453         Add __nacl_supply_interface_rtld.
5454         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
5456 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
5458         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
5459         isfinite.
5460         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5461         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
5463 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
5465         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
5466         __signbit* with standard C99 macros.
5467         * math/e_exp10l.c: Likewise.
5468         * math/e_exp2l.c: Likewise.
5469         * math/e_scalb.c: Likewise.
5470         * math/e_scalbf.c: Likewise.
5471         * math/e_scalbl.c: Likewise.
5472         * math/s_ldexp.c: Likewise.
5473         * math/s_ldexpf.c: Likewise.
5474         * math/s_ldexpl.c: Likewise.
5475         * math/w_atan2.c: Likewise.
5476         * math/w_atan2f.c: Likewise.
5477         * math/w_atan2l.c: Likewise.
5478         * math/w_cosh.c: Likewise.
5479         * math/w_coshf.c: Likewise.
5480         * math/w_coshl.c: Likewise.
5481         * math/w_exp10.c: Likewise.
5482         * math/w_exp10f.c: Likewise.
5483         * math/w_exp10l.c: Likewise.
5484         * math/w_exp2.c: Likewise.
5485         * math/w_exp2f.c: Likewise.
5486         * math/w_exp2l.c: Likewise.
5487         * math/w_fmod.c: Likewise.
5488         * math/w_fmodf.c: Likewise.
5489         * math/w_fmodl.c: Likewise.
5490         * math/w_hypot.c: Likewise.
5491         * math/w_hypotf.c: Likewise.
5492         * math/w_hypotl.c: Likewise.
5493         * math/w_jnl.c: Likewise.
5494         * math/w_lgamma.c: Likewise.
5495         * math/w_lgamma_r.c: Likewise.
5496         * math/w_lgammaf.c: Likewise.
5497         * math/w_lgammaf_r.c: Likewise.
5498         * math/w_lgammal.c: Likewise.
5499         * math/w_lgammal_r.c: Likewise.
5500         * math/w_pow.c: Likewise.
5501         * math/w_powf.c: Likewise.
5502         * math/w_powl.c: Likewise.
5503         * math/w_remainder.c: Likewise.
5504         * math/w_remainderf.c: Likewise.
5505         * math/w_remainderl.c: Likewise.
5506         * math/w_scalb.c: Likewise.
5507         * math/w_scalbf.c: Likewise.
5508         * math/w_scalbl.c: Likewise.
5509         * math/w_scalbln.c: Likewise.
5510         * math/w_scalblnf.c: Likewise.
5511         * math/w_scalblnl.c: Likewise.
5512         * math/w_sinh.c: Likewise.
5513         * math/w_sinhf.c: Likewise.
5514         * math/w_sinhl.c: Likewise.
5515         * math/w_tgamma.c: Likewise.
5516         * math/w_tgammaf.c: Likewise.
5517         * math/w_tgammal.c: Likewise.
5518         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5519         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
5520         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5521         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
5522         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
5523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5524         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5525         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5526         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
5527         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
5528         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5529         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
5530         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5531         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
5532         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
5533         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
5534         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
5535         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
5536         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
5537         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
5538         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
5539         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
5540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
5542         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
5543         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
5544         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
5545         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
5546         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
5547         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5548         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
5549         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
5550         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
5551         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
5552         * stdio-common/printf_fp.c: Likewise.
5553         * stdio-common/printf_fphex.c: Likewise.
5554         * stdio-common/printf_size.c: Likewise.
5556 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
5558         [BZ #18470]
5559         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
5560         strnlen.
5561         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
5562         Remove variable.
5563         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5564         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5565         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5566         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5567         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5568         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5569         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5570         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5571         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5572         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5574         [BZ #18468]
5575         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
5576         weak alias of __wmemchr.  Use libc_hidden_weak.
5577         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
5578         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
5579         instead of wmemchr.
5581 2015-06-02  Roland McGrath  <roland@hack.frob.com>
5583         [BZ #18383]
5584         * elf/tst-tlsalign-extern.c: New file.
5585         * elf/tst-tlsalign-extern-static.c: New file.
5586         * elf/tst-tlsalign-vars.c: New file.
5587         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
5588         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
5589         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
5590         ($(objpfx)tst-tlsalign-extern-static): Likewise.
5591         (test-xfail-tst-tlsalign-extern-static): New variable.
5593 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
5595         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
5596         Use variable name _sc_err instead of err.
5597         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
5598         instead of ret.
5599         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
5600         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
5601         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
5602         (INLINE_SYSCALL): Likewise.
5604         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
5605         * include/string.h (__strnlen): Use libc_hidden_proto.
5606         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
5607         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
5608         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
5609         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
5610         (libc_hidden_def): Undefine and redefine.
5611         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
5612         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
5613         __GI_strnlen.
5614         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
5615         libc_hidden_def.
5616         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
5618         [BZ #18469]
5619         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
5620         weak alias of __towlower.  Use libc_hidden_weak.
5621         (towupper): Rename to __towupper and define as weak alias of
5622         __towupper.  Use libc_hidden_weak.
5623         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
5624         (__towupper): Likewise.
5625         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
5626         __towlower instead of towlower.
5628 2015-06-02  Roland McGrath  <roland@hack.frob.com>
5630         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
5631         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
5633 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5635         * sysdeps/aarch64/libm-test-ulps: Update.
5637 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5639         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
5640         Define.
5641         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5642         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
5643         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5644         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5645         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
5646         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
5647         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
5649 2015-06-01  Martin Sebor  <msebor@redhat.com>
5651         [BZ #18116]
5652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
5653         (__setcontext): Use extended four-operand version of mtsf whenever
5654         possible.
5655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
5656         (__novec_swapcontext): Likewise.
5658 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5660         * benchtests/scripts/compare_bench.py: New file.
5661         * benchtests/scripts/import_bench.py (mean): New function.
5662         (split_list): Likewise.
5663         (do_for_all_timings): Likewise.
5664         (compress_timings): Likewise.
5666         * benchtests/scripts/import_bench.py: New file.
5667         * benchtests/scripts/validate_benchout.py: Import import_bench
5668         instead of jsonschema.
5669         (validate_bench): Remove function.
5670         (main): Use import_bench.
5672 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
5674         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
5675         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
5677 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5679         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5681 2015-05-28  Roland McGrath  <roland@hack.frob.com>
5683         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
5684         set THREAD_SELF->tid to a magic value and futex-wake it.
5685         Pass its address to the thread_exit system call.
5686         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
5687         bit is clear.
5688         * sysdeps/nacl/lowlevellock.h: New file.
5689         * sysdeps/nacl/lll_timedwait_tid.c: New file.
5691         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
5692         Add TIMEOUT to current time, don't subtract it.
5694 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
5696         [BZ #2981]
5697         [BZ #18422]
5698         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
5699         ($(objpfx)tst-audit2.out): Also depend on
5700         $(objpfx)tst-auditmod9b.so.
5701         * elf/tst-audit2.c: Include <dlfcn.h>.
5702         (calloc_called): New.
5703         (calloc): Allow to be called more than once.
5704         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
5706 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
5708         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
5709         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
5711 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
5713         * stdlib/monetary.h: Fix comment.
5715 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
5717         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
5718         Avoid using variables in #defines that might cause shadowing.
5719         (INTERNAL_VSYSCALL_CALL): Likewise.
5721 2015-05-26  Roland McGrath  <roland@hack.frob.com>
5723         * sysdeps/nacl/lll_timedlock_wait.c: New file.
5725         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
5726         * nptl/lll_timedlock_wait.c: ... to this new file.
5727         * nptl/Makefile (libpthread-routines): Add it.
5728         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
5729         * nptl/lll_timedwait_tid.c: ... to this new file.
5730         * nptl/Makefile (libpthread-routines): Add it.
5731         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
5732         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
5733         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
5734         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
5735         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
5736         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
5737         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
5738         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
5739         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
5740         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
5742 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5744         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
5745         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
5746         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
5747         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
5748         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
5750         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5751         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
5752         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5753         * sysdeps/unix/sysv/linux/tile/sysdep.h
5754         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
5755         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
5756         using vDSO syscall macro.
5758 2015-05-26  Andriy Rysin  <arysin@gmail.com>
5760         [BZ #17293]
5761         * uk_UA: Fix sorting order for Ukrainian locale
5763 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
5765         * stdlib/monetary.h: Fix comment.
5767 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5769         [BZ #18234]
5770         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
5771         st_mtim and st_ctim members.
5772         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
5773         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
5774         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
5775         (struct stat64): Likewise.
5776         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
5777         (struct stat64): Likewise.
5778         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
5779         (struct stat64): Likewise.
5781 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5783         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
5784         Define and include sysdep-vdso.h.
5785         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
5786         Likewise.
5787         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
5788         Likewise.
5789         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
5790         Define with VDSO_SYMBOL and use PTR_MANGLE.
5791         (__vdso_clock_gettime): Likewise.
5792         (__vdso_clock_getres): Likewise.
5793         (_libc_vdso_platform_setup): Likewise.
5794         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
5795         Likewise.
5796         (_libc_vdso_platform_setup): Likewise.
5797         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
5798         Likewise.
5799         (__vdso_clock_gettime): Likewise.
5800         (__vdso_clock_getres): Likewise.
5801         (__vdso_get_tbfreq): Likewise.
5802         (__vdso_getcpu): Likewise.
5803         (__vdso_time): Likewise.
5804         (__vdso_sigtramp_rt64): Likewise.
5805         (__vdso_signtramp32): Likewise.
5806         (__vdso_sigtramp_rt32): Likewise.
5807         (_libc_vdso_platform_setup): Likewise.
5808         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
5809         Likewise.
5810         (__vdso_clock_gettime): Likewise.
5811         (__vdso_clock_getres): Likewise.
5812         (_libc_vdso_platform_setup): Likewise.
5813         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
5814         Likewise.
5815         (__vdso_clock_gettime): Likewise.
5816         (_libc_vdso_platform_setup): Likewise.
5817         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5818         Likewise.
5819         (__vdso_getcpu): Likewise.
5820         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
5821         Use VDSO_SYMBOL macro to define.
5822         (__vdso_clock_gettime): Likewise.
5823         (__vdso_clock_getres): Likewise.
5824         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
5825         Likewise.
5826         (__vdso_clock_gettime): Likewise.
5827         (__vdso_clock_getres): Likewise.
5828         (__vdso_get_tbfreq): Likewise.
5829         (__vdso_getcpu): Likewise.
5830         (__vdso_time): Likewise.
5831         (__vdso_sigtramp_rt64): Likewise.
5832         (__vdso_signtramp32): Likewise.
5833         (__vdso_sigtramp_rt32): Likewise.
5834         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
5835         Likewise.
5836         (__vdso_clock_gettime): Likewise.
5837         (__vdso_clock_getres): Likewise.
5838         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
5839         Likewise.
5840         (__vdso_clock_gettime): Likewise.
5841         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
5842         Likewise.
5843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
5844         macro.
5845         (INTERNAL_VSYSCALL): Likewise.
5846         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
5847         Remove macro.
5848         (INTERNAL_VSYSCALL): Likewise.
5849         (INTERNAL_VSYSCALL_NCS): Likewise.
5850         (INTERNAL_VSYSCALL_CALL): New macro.
5851         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
5853         Likewise.
5854         (INTERNAL_VSYSCALL): Likewise.
5855         (INTERNAL_VSYSCALL_NCS): Likewise.
5856         (INTERNAL_VSYSCALL_CALL): New macro.
5857         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
5858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5859         (INLINE_VSYSCALL): Remove macro.
5860         (INTERNAL_VSYSCALL): Remove macro.
5861         (INTERNAL_VSYSCALL_NCS): Remove macro.
5862         (INTERNAL_VSYSCALL_CALL): New macro.
5863         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
5864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
5865         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5866         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
5867         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
5868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5869         (INLINE_VSYSCALL): Remove macro.
5870         (INTERNAL_VSYSCALL): Likewise.
5871         (INTERNAL_VSYSCALL_NCS): Likewise.
5872         (INTERNAL_VSYSCALL_CALL): New macro.
5873         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
5874         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
5875         PTR_DEMANGLE on vDSO pointer.
5876         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
5877         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
5878         macro.
5879         (INTERNAL_SYSCALL): Likewise.
5880         (INTERNAL_VSYSCALL_NCS): Remove macro.
5881         (INTERNAL_VSYSCALL_CALL): New macro.
5882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
5883         Remove macro.
5884         (INTERNAL_VSYSCALL): Likewise.
5885         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
5886         sysdep-vdso.h instead of libc-vdso.h.
5887         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
5888         definition.
5889         (INLINE_VSYSCALL): Likewise.
5890         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
5891         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
5892         definition.
5893         (INLINE_VSYSCALL): Likewise.
5894         (INTERNAL_VSYSCALL): Likewise.
5895         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5896         * sysdeps/unix/sysv/linux/timespec_get.c
5897         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
5898         (timespec_get): Use ANSI prototype.
5899         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
5900         and definition for Linux.
5902 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
5904         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
5905         * include/libc-symbols.h: libmvec_hidden_* macro series added.
5907 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
5909         [BZ #2981]
5910         [BZ #18410]
5911         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
5912         for missing DT_PLTRELSZ.
5914 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
5916         Remove obsolete aliases that broke 'locale -a'
5917         [BZ #18412]
5918         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
5919         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
5920         breaking some applications that use 'locale -a' output.
5921         Change the encoding of this file from Latin-1 to ASCII to avoid
5922         other potential problems with people grepping this file.
5924 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5926         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
5927         -fasynchronous-unwind-tables.
5928         (CFLAGS-sendto.c): Likewise.
5929         (CFLAGS-sendmsg.c): Likewise.
5930         (CFLAGS-connect.c): Likewise.
5931         (CFLAGS-recvmsg.c): Likewise.
5932         (CFLAGS-recvfrom.c): Likewise.
5933         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
5934         (SOCKETCALL): New macro: non-cancellable socketcall.
5935         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
5936         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
5937         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
5938         * sysdeps/unix/sysv/linux/accept.c: New file.
5939         * sysdeps/unix/sysv/linux/bind.c: Likewise.
5940         * sysdeps/unix/sysv/linux/connect.c: Likewise.
5941         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
5942         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
5943         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
5944         * sysdeps/unix/sysv/linux/listen.c: Likewise.
5945         * sysdeps/unix/sysv/linux/recv.c: Likewise.
5946         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
5947         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5948         * sysdeps/unix/sysv/linux/send.c: Likewise.
5949         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5950         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
5951         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
5952         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
5953         * sysdeps/unix/sysv/linux/socket.c: Likewise.
5954         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
5955         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
5956         prototype.
5957         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
5958         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5959         instead of __internal_xxx function.
5960         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
5961         prototype.
5962         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
5963         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5964         instead of __internal_xxx function.
5965         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
5966         prototype.
5967         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
5968         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
5969         instead of __internal_xxx function.
5970         * sysdeps/unix/sysv/linux/accept.S: Remove file.
5971         * sysdeps/unix/sysv/linux/bind.S: Likewise.
5972         * sysdeps/unix/sysv/linux/connect.S: Likewise.
5973         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
5974         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
5975         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
5976         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
5977         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
5978         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
5979         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
5980         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
5981         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
5982         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
5983         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
5984         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
5985         * sysdeps/unix/sysv/linux/listen.S: Likewise.
5986         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
5987         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
5988         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
5989         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
5990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
5991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
5992         * sysdeps/unix/sysv/linux/recv.S: Likewise.
5993         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
5994         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
5995         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
5996         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5997         * sysdeps/unix/sysv/linux/send.S: Likewise.
5998         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
5999         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
6000         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
6001         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
6002         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
6003         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
6004         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
6005         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
6006         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
6007         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
6008         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
6009         socketcall is implemented in GLIBC.
6011 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6013         * soft-fp/fmadf4.c: Include <libc-internal.h>.
6014         (__fma): Ignore uninitialized warnings around packing.
6015         * soft-fp/fmasf4.c: Include <libc-internal.h>.
6016         (__fmaf): Ignore uninitialized warnings around packing.
6017         * soft-fp/fmatf4.c: Include <libc-internal.h>.
6018         (__fmal): Ignore uninitialized warnings around packing.
6020         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
6021         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6022         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
6023         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
6025         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
6026         switch statement into default case.
6027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
6029         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
6030         a conditional in forcing "inexact".
6031         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6032         Likewise.
6034 2015-05-22  Roland McGrath  <roland@hack.frob.com>
6036         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6037         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
6038         for each INTERNAL_SYSCALL use.
6040 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
6042         [BZ #438]
6043         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
6044         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
6045         variable.
6047         [BZ #18444]
6048         * string/basename.c (basename): Rename to __basename and define as
6049         weak alias of __basename.  Use libc_hidden_weak.
6050         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
6051         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
6052         __basename instead of basename.
6053         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
6054         Remove variable.
6055         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6057 2015-05-18  Florian Weimer  <fweimer@redhat.com>
6059         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
6060         (_IO_JUMPS_FILE_plus): New.
6061         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
6062         _IO_CAST_FIELD_ACCESS.
6063         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
6064         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
6065         * libio/freopen.c (freopen): Likewise.
6066         * libio/freopen64.c (freopen64): Likewise.
6067         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
6068         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
6069         * libio/iofwide.c (_IO_fwide): Likewise.
6070         * libio/memstream.c (open_memstream): Likewise.
6071         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
6072         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6073         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6075 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
6077         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
6078         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
6079         NADJ.
6080         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
6081         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
6082         NADJ.
6083         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
6084         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
6085         NADJ.
6087         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
6088         (p == 4) case.
6090         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
6091         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
6092         Remove variable.
6093         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6094         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6095         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6097 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6099         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
6100         Adjust jump table label generation macros.
6102 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6104         * stdio-common/vfprintf.c (vfprintf): Move local variables
6105         args_malloced, specs, specs_malloced, and the code after
6106         do_positional to the printf_positional function.
6107         (printf_positional): New function.
6109 2015-05-21  Florian Weimer  <fweimer@redhat.com>
6111         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
6112         function.
6113         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
6114         STEP4_TABLE, process_arg): Move macro definitions
6115         out of the vfprintf function.  (Cosmetic change only.)
6117 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
6119         * benchtests/Makefile (stdio-common-bench): Define.
6120         (benchset): Add stdio-common-bench.
6121         * sprintf-inputs: New file.
6122         * sprintf-source.c: New file.
6124 2015-05-21  Andreas Schwab  <schwab@suse.de>
6126         [BZ #13028]
6127         [BZ #17053]
6128         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
6129         of struct __res_state.
6130         * resolv/res_send.c (__libc_res_nsend): Likewise.
6131         (get_nsaddr): New function.
6132         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
6133         statp directly.
6135 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
6137         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
6138         -D_POSIX_C_SOURCE=199506L.
6140         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
6142         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
6143         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
6144         Do not mention otherwise.
6145         [POSIX] (_XOPEN_VERSION): Do not expect.
6146         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
6147         [POSIX] (_POSIX2_C_BIND): Likewise.
6148         [POSIX] (_POSIX2_VERSION): Likewise.
6149         [POSIX] (_XOPEN_XPG2): Likewise.
6150         [POSIX] (_XOPEN_XPG3): Likewise.
6151         [POSIX] (_XOPEN_XPG4): Likewise.
6152         [POSIX] (_XOPEN_UNIX): Likewise.
6153         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
6154         [POSIX] (_POSIX_BARRIERS): Likewise.
6155         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
6156         [POSIX] (_POSIX_CPUTIME): Likewise.
6157         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
6158         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
6159         [POSIX] (_POSIX_SHELL): Likewise.
6160         [POSIX] (_POSIX_SPAWN): Likewise.
6161         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
6162         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
6163         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
6164         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
6165         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
6166         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
6167         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
6168         [POSIX] (_XBS5_LP64_OFF64): Likewise.
6169         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
6170         [POSIX] (_POSIX_TIMEOUTS): Likewise.
6171         [POSIX] (_POSIX2_PBS): Likewise.
6172         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
6173         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
6174         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
6175         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
6176         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
6177         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
6178         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
6179         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
6180         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
6181         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
6182         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
6183         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
6184         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
6185         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
6186         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
6187         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
6188         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
6189         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
6190         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
6191         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
6192         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
6193         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
6194         [POSIX] (_SC_2_C_BIND): Likewise.
6195         [POSIX] (_SC_2_C_VERSION): Likewise.
6196         [POSIX] (_SC_2_PBS): Likewise.
6197         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
6198         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
6199         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
6200         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
6201         [POSIX] (_SC_2_PBS_TRACK): Likewise.
6202         [POSIX] (_SC_ATEXIT_MAX): Likewise.
6203         [POSIX] (_SC_BARRIERS): Likewise.
6204         [POSIX] (_SC_BASE): Likewise.
6205         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
6206         [POSIX] (_SC_DEVICE_IO): Likewise.
6207         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
6208         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
6209         [POSIX] (_SC_FD_MGMT): Likewise.
6210         [POSIX] (_SC_FIFO): Likewise.
6211         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
6212         [POSIX] (_SC_FILE_LOCKING): Likewise.
6213         [POSIX] (_SC_FILE_SYSTEM): Likewise.
6214         [POSIX] (_SC_IOV_MAX): Likewise.
6215         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
6216         [POSIX] (_SC_NETWORKING): Likewise.
6217         [POSIX] (_SC_PAGE_SIZE): Likewise.
6218         [POSIX] (_SC_PASS_MAX): Likewise.
6219         [POSIX] (_SC_PIPE): Likewise.
6220         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
6221         [POSIX] (_SC_REGEXP): Likewise.
6222         [POSIX] (_SC_SHELL): Likewise.
6223         [POSIX] (_SC_SIGNALS): Likewise.
6224         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
6225         [POSIX] (_SC_SPIN_LOCKS): Likewise.
6226         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
6227         [POSIX] (_SC_USER_GROUPS): Likewise.
6228         [POSIX] (_SC_USER_GROUPS_R): Likewise.
6229         [POSIX] (_SC_STREAMS): Likewise.
6230         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
6231         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
6232         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
6233         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
6234         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
6235         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
6236         [POSIX] (_PC_FILESIZEBITS): Likewise.
6237         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
6238         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
6239         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
6240         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
6241         [POSIX] (uid_t): Likewise.
6242         [POSIX] (gid_t): Likewise.
6243         [POSIX] (off_t): Likewise.
6244         [POSIX] (pid_t): Likewise.
6245         [POSIX] (cuserid): Allow.
6246         (_SC_2_CHAR_TERM): Require constant.
6247         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
6248         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
6249         variable.
6251 2015-05-20  Roland McGrath  <roland@hack.frob.com>
6253         * sysdeps/nacl/pthread-pids.h: New file.
6254         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
6255         (create_thread): Use __nacl_get_tid to initialize PD->tid.
6257         * nptl/pthread-pids.h: New file.
6258         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
6259         * nptl/nptl-init.c: Include <pthread-pids.h>.
6260         (__pthread_initialize_minimal_internal):
6261         Call __pthread_initialize_pids instead of set_tid_address syscall.
6263         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
6264         * sysdeps/posix/usleep.c: ... here.
6266 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6268         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
6269         call_pselect6 object.
6270         [$(subdir) = io]: Remove call_sync_file_range object.
6271         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
6272         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
6273         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
6274         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
6276 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
6278         * math/s_cproj.c: Add include "math_private.h".
6279         * math/s_cprojf.c: Likewise.
6280         * math/s_cprojl.c: Likewise.
6282 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
6284         [BZ #18244]
6285         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
6286         high mantissa bit when testing whether P is a NaN.
6287         * math/libm-test.inc (remainder_test_data): Add more tests.
6288         (remquo_test_data): Likewise.
6290         [BZ #18049]
6291         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
6292         below -32, return the argument, with underflow if subnormal.
6293         * math/auto-libm-test-in: Add more tests of atanh.
6294         * math/auto-libm-test-out: Regenerated.
6296 2015-05-19  Roland McGrath  <roland@hack.frob.com>
6298         [BZ #18434]
6299         * nptl/tst-sem15.c: New file.
6300         * nptl/Makefile (tests): Add it.
6301         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
6302         s/<</>>/ to fix typo in EOVERFLOW check.
6303         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
6305 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6307         * manual/strings.texi (envz_remove): Fix typo in safety
6308         annotations.
6310 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
6311             Steve Ellcey  <sellcey@imgtec.com>
6313         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
6314         in order to avoid strict alias warnings.
6315         (iruserok_af): Ditto for ra.
6317 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
6319         [BZ #17581]
6320         * malloc/hooks.c
6321         (magicbyte): Convert to a function and avoid returning 0x01.
6322         (mem2mem_check): Avoid using a length byte equal to the magic byte.
6323         (mem2chunk_check): Fix unsigned comparisons to zero.
6324         Hoist defs of sz and magic.
6326 2015-05-19  Richard Henderson  <rth@redhat.com>
6328         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
6330         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6332 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6334         [BZ #16159]
6335         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
6336         * malloc/arena.c (arena_lock): Check if arena is corrupt.
6337         (reused_arena): Find a non-corrupt arena.
6338         (heap_trim): Pass arena to unlink.
6339         * malloc/hooks.c (malloc_check_get_size): Pass arena to
6340         malloc_printerr.
6341         (top_check): Likewise.
6342         (free_check): Likewise.
6343         (realloc_check): Likewise.
6344         * malloc/malloc.c (malloc_printerr): Add arena argument.
6345         (unlink): Likewise.
6346         (munmap_chunk): Adjust.
6347         (ARENA_CORRUPTION_BIT): New macro.
6348         (arena_is_corrupt): Likewise.
6349         (set_arena_corrupt): Likewise.
6350         (sysmalloc): Use mmap if there are no usable arenas.
6351         (_int_malloc): Likewise.
6352         (__libc_malloc): Don't fail if arena_get returns NULL.
6353         (_mid_memalign): Likewise.
6354         (__libc_calloc): Likewise.
6355         (__libc_realloc): Adjust for additional argument to
6356         malloc_printerr.
6357         (_int_free): Likewise.
6358         (malloc_consolidate): Likewise.
6359         (_int_realloc): Likewise.
6360         (_int_memalign): Don't touch corrupt arenas.
6361         * malloc/tst-malloc-backtrace.c: New test case.
6363         * Makefile (summarize-tests): Fix return value on success.
6365         * manual/string.texi (Envz Functions): Add envz_remove.
6367 2015-05-18  Roland McGrath  <roland@hack.frob.com>
6369         * sysdeps/posix/opendir.c: Include <stdbool.h>.
6370         (invalid_name): New function, broken out of ...
6371         (__opendirat): ... here.  Call it.
6372         (need_isdir_precheck): New function, broken out of ...
6373         (__opendirat): ... here.  Call it.
6374         Use __fxstatat64, not __xstatat64.
6375         (opendir_oflags): New function, broken out of ...
6376         (__opendirat): ... here.  Call it.
6377         (opendir_tail): New function, broken out of ...
6378         (__opendirat): ... here.  Call it.
6379         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
6380         opendir_tail, rather than punting to __opendirat.
6381         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
6383 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
6385         * .gitignore: Ignore generated *.pyc.
6387 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
6389         * include/stdio.h: Define __need_wint_t.
6390         * test-skeleton.c: Avoid `for' loop initial declaration.
6391         * nptl/tst-initializers1.c: Use test-skeleton.c.
6393 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6395         [BZ #18418]
6396         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
6398 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
6400         [BZ #16352]
6401         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
6402         (__ieee754_atanh): Force underflow exception for results with
6403         small absolute value.
6404         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
6405         (__ieee754_atanhf): Force underflow exception for results with
6406         small absolute value.
6407         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
6408         (__ieee754_atanh): Force underflow exception for results with
6409         small absolute value.
6410         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
6411         (__ieee754_atanhf): Force underflow exception for results with
6412         small absolute value.
6413         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
6414         (__ieee754_atanhl): Force underflow exception for results with
6415         small absolute value.
6416         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
6417         (__ieee754_atanhl): Force underflow exception for results with
6418         small absolute value.
6419         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
6420         (__ieee754_atanhl): Force underflow exception for results with
6421         small absolute value.
6422         * math/auto-libm-test-in: Do not allow missing underflow
6423         exceptions from atanh.
6424         * math/auto-libm-test-out: Regenerated.
6426         [BZ #18221]
6427         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
6428         2**-28 as threshold for returning x or +/- 1/x.
6429         * math/auto-libm-test-in: Add more tests of tan.
6430         * math/auto-libm-test-out: Regenerated.
6432         [BZ #18220]
6433         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
6434         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
6435         * math/auto-libm-test-in: Add another test of lgamma.
6436         * math/auto-libm-test-out: Regenerated.
6438 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
6440         * stdio-common/printf_fp.c (___printf_fp): Use abs.
6441         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
6442         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
6443         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
6444         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
6445         (ADD2A): Use fabs.  (SUB2A): Use fabs.
6446         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
6447         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
6448         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
6449         (log1): Use fabs.  (my_log2): Use fabs.
6450         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
6451         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
6452         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
6453         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
6454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
6455         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
6456         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
6457         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
6458         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
6459         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
6460         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
6462 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
6464         [BZ #18217]
6465         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
6466         as threshold for returning 1 - x.
6467         * math/auto-libm-test-in: Add more tests of erfc.
6468         * math/auto-libm-test-out: Regenerated.
6470 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
6472         [BZ #18196]
6473         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
6474         threshold for large arguments.
6475         * math/auto-libm-test-in: Add another test of atan.
6476         * math/auto-libm-test-out: Regenerated.
6478         [BZ #16339]
6479         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
6480         (__log1p): Force underflow exception for results with small
6481         absolute value.
6482         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
6483         (__log1pf): Force underflow exception for results with small
6484         absolute value.
6485         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
6486         (__log1p): Force underflow exception for results with small
6487         absolute value.
6488         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
6489         (__log1pf): Force underflow exception for results with small
6490         absolute value.
6491         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
6492         (__log1pl): Force underflow exception for results with small
6493         absolute value.
6494         * math/auto-libm-test-in: Do not allow missing underflow
6495         exceptions from log1p.
6496         * math/auto-libm-test-out: Regenerated.
6498 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
6499             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6501         [BZ #16704]
6502         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
6504 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
6506         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
6507         (libmvec): New variable.
6508         * configure.ac: Added option for mathvec build.
6509         * configure: Regenerated.
6510         * mathvec/Depend: New file.
6511         * mathvec/Makefile: New file.
6512         * shlib-versions: Added libmvec.
6513         * math/Makefile: Added rule for libm.so installation.
6515         * bits/math-vector.h: New file.
6516         * bits/libm-simd-decl-stubs.h: New header.
6517         * math/Makefile (headers): Added new header
6518         libm-simd-decl-stubs.h.
6519         * math/math.h (__MATHCALL_VEC): New macro.
6521         * math/gen-libm-have-vector-test.sh: Script generates series of macros
6522         for conditions in testing functions.
6523         * math/Makefile: Added call of libm-have-vector-test.sh.
6524         * math/libm-test.inc (HAVE_VECTOR): New macros.
6526         * math/libm-test.inc: START refactored.
6527         * math/test-double.c (TEST_MATHVEC): Add define.
6528         * math/test-float.c: Likewise.
6529         * math/test-idouble.c: Likewise.
6530         * math/test-ifloat.c: Likewise.
6531         * math/test-ildoubl.c: Likewise.
6532         * math/test-ldouble.c: Likewise.
6533         * sysdeps/generic/math-tests-arch.h
6534         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
6535         architecture check.
6537         * math/test-double.c (FUNC_TEST): New macro.
6538         * math/test-float.c: Likewise.
6539         * math/test-idouble.c: Likewise.
6540         * math/test-ifloat.c: Likewise.
6541         * math/test-ildoubl.c: Likewise.
6542         * math/test-ldouble.c: Likewise.
6543         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
6545 2015-05-13  Roland McGrath  <roland@hack.frob.com>
6547         * sysdeps/nacl/fdopendir.c: New file.
6549         * dirent/scandir-tail.c: New file.
6550         * dirent/scandir64-tail.c: New file.
6551         * dirent/Makefile (routines): Add them.
6552         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
6553         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
6554         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
6555         [!SCANDIR] (SCANDIR_TAIL): New macro.
6556         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
6557         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
6558         (SCANDIRAT): Macro removed.
6559         (SCANDIR_TAIL): New macro.
6560         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
6561         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
6562         (SCANDIRAT): Just call __opendirat and __scandir_tail.
6563         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
6564         (READDIR): Macro removed.
6565         (SCANDIR_TAIL): New macro.
6566         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
6567         (SCANDIR_TAIL): New macro.
6569         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
6570         * dirent/scandir-cancel.c: ... to this new file.
6571         * dirent/Makefile (routines): Add it.
6572         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
6573         * sysdeps/unix/sysv/linux/i386/scandir64.c
6574         (SKIP_SCANDIR_CANCEL): Macro removed.
6575         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
6577         * dirent/tst-scandir.c: New file.
6578         * dirent/tst-scandir64.c: New file.
6579         * dirent/Makefile (tests): Add them.
6581 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
6583         [BZ #18409]
6584         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
6586 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6588         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
6589         list.
6591 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
6593         * benchtests/bench-strcoll.c: New benchmark.
6594         * benchtests/Makefile: Generate locales and run benchmark.
6595         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
6596         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6597         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
6598         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
6599         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
6600         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
6601         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
6602         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
6603         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
6604         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
6605         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
6606         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
6607         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
6608         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
6609         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
6610         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
6611         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
6612         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
6613         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
6614         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
6615         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
6616         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
6617         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
6618         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
6620 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
6622         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
6623         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
6625 2015-05-12  Roland McGrath  <roland@hack.frob.com>
6627         * posix/uname-values.h: New file.
6628         * posix/uname.c: Include that instead of <config-name.h>.
6629         * sysdeps/nacl/uname-values.h: New file.
6630         * sysdeps/arm/nacl/uname-values.h: New file.
6632 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
6634         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
6635         splitting into fields.
6637 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
6639         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
6640         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
6641         * locale/localeinfo.h: Add enum collation_encoding_type.
6642         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
6643         * programs/ld-collate.c (collate_output): Add encoding type info.
6644         * string/strcoll_l.c (STRDIFF): New function.
6645         * (STRCOLL): Use STRDIFF to skip over equal prefix.
6646         * wcsmbs/wcscoll_l.c: Define STRDIFF.
6648 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
6650         [BZ #18397]
6651         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
6652         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
6653         <fpu_control.h> instead of <math/fpu_control.c>.
6654         * sysdeps/mips/mips32/fpu/Makefile: New file.
6656 2015-05-11  Andreas Schwab  <schwab@suse.de>
6658         [BZ #18007]
6659         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
6660         nss_endgrent.
6661         (_nss_compat_endgrent): Call nss_endgrent.
6662         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
6663         nss_endpwent.
6664         (_nss_compat_endpwent): Call nss_endpwent.
6665         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
6666         needent, call nss_setspent only if non-zero.
6667         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
6668         (internal_endspent): Don't call nss_endspent.
6669         (_nss_compat_endspent): Call nss_endspent.
6670         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
6671         Remove.  All uses removed.
6672         (internal_setent): Remove parameter stayopen, add parameter
6673         stream.  Use it instead of global variable.
6674         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
6675         (internal_endent, internal_getent): Add parameter stream.  Use it
6676         instead of global variable.
6677         (CONCAT(_nss_files_end,ENTNAME))
6678         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
6679         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
6680         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
6681         uses removed.
6682         (internal_setent, internal_endent): Add parameter stream.  Use it
6683         instead of global variable.
6684         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
6685         stream.
6686         (get_next_alias): Add parameter stream.
6687         (_nss_files_getaliasent_r): Pass global stream.
6688         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
6689         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
6690         (_nss_files_gethostbyname4_r): Pass local stream to
6691         internal_setent, internal_getent and internal_endent.  Remove
6692         locking.
6694 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6696         * tst-strfmon1.c (tests): Update expected currency symbol.
6698 2015-05-08  Roland McGrath  <roland@hack.frob.com>
6700         * sysdeps/nacl/gethostname.c: New file.
6702 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
6704         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
6705         and sinh.
6706         * math/auto-libm-test-out: Regenerated.
6707         * sysdeps/i386/fpu/libm-test-ulps: Update.
6708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6710 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
6712         [BZ #18125]
6713         * stdlib/tst-setcontext3.c: New file.
6714         * stdlib/tst-setcontext3.sh: New file.
6715         * stdlib/Makefile (tests): Add tst-setcontext3.
6716         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
6717         to verify test program created output file.
6718         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
6719         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
6720         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
6721         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
6723 2015-05-06  Roland McGrath  <roland@hack.frob.com>
6725         [BZ #18383]
6726         * elf/tst-tlsalign.c: New file.
6727         * elf/tst-tlsalign-static.c: New file.
6728         * elf/tst-tlsalign-lib.c: New file.
6729         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
6730         (tests-static): Add tst-tlsalign-static.
6731         (modules-names): Add tst-tlsalign-lib.
6732         (test-xfail-tst-tlsalign): New variable.
6733         (test-xfail-tst-tlsalign-static): New variable.
6735         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
6736         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
6738 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
6740         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
6741         csqrt, erfc, sin and sincos.
6742         * math/auto-libm-test-out: Regenerated.
6743         * sysdeps/i386/fpu/libm-test-ulps: Update.
6744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6746 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6748         * sysdeps/aarch64/libm-test-ulps: Update.
6750 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
6752         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
6753         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
6754         * math/auto-libm-test-out: Regenerated.
6755         * sysdeps/i386/fpu/libm-test-ulps: Update.
6756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6758 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
6760         [BZ #18265]
6761         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
6762         (wcsncpy): Likewise.
6764 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6766         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6767         Assume __ASSUME_FALLOCATE is always true.
6768         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6769         (__posix_fallocate64_l64): Likweise.
6770         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
6771         (posix_fallocate): Likewise.
6772         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
6773         (__posix_fallocate64_l64): Likewise.
6774         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6775         [!__ASSUME_FALLOCATE]: Add comment.
6777 2015-05-05  Florian Weimer  <fweimer@redhat.com>
6779         * sysdeps/unix/sysv/linux/i386/Makefile
6780         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
6781         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
6782         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
6783         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
6784         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
6785         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
6786         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
6788 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
6790         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
6791         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
6792         tgamma.
6793         * math/auto-libm-test-out: Regenerated.
6794         * sysdeps/i386/fpu/libm-test-ulps: Update.
6795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6797 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6799         * math/auto-libm-test-in: Add more tests of tgamma.
6800         * math/auto-libm-test-out: Regenerated.
6801         * sysdeps/i386/fpu/libm-test-ulps: Update.
6802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6804         * math/auto-libm-test-in: Add more tests of tanh.
6805         * math/auto-libm-test-out: Regenerated.
6806         * sysdeps/i386/fpu/libm-test-ulps: Update.
6807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6809         * math/auto-libm-test-in: Add more tests of tan.
6810         * math/auto-libm-test-out: Regenerated.
6811         * sysdeps/i386/fpu/libm-test-ulps: Update.
6812         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6814         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
6815         * math/auto-libm-test-out: Regenerated.
6816         * sysdeps/i386/fpu/libm-test-ulps: Update.
6817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6819         * math/auto-libm-test-in: Add another test of pow.
6820         * math/auto-libm-test-out: Regenerated.
6821         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6823         * math/auto-libm-test-in: Add more tests of lgamma.
6824         * math/auto-libm-test-out: Regenerated.
6825         * sysdeps/i386/fpu/libm-test-ulps: Update.
6826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6828         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
6829         log1p.
6830         * math/auto-libm-test-out: Regenerated.
6831         * sysdeps/i386/fpu/libm-test-ulps: Update.
6832         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6834 2015-05-01  Mark Wielaard  <mjw@redhat.com>
6836         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
6837         Elf64_Chdr structs and ELFCOMPRESS constants.
6839 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
6841         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
6842         expm1.
6843         * math/auto-libm-test-out: Regenerated.
6844         * sysdeps/i386/fpu/libm-test-ulps: Update.
6845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6847         * math/auto-libm-test-in: Add more tests of erf and erfc.
6848         * math/auto-libm-test-out: Regenerated.
6849         * sysdeps/i386/fpu/libm-test-ulps: Update.
6850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6852 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6854         * config.h.in (HAVE_AARCH64_BE): Add.
6856 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
6858         * math/auto-libm-test-in: Add more tests of csqrt.
6859         * math/auto-libm-test-out: Regenerated.
6860         * sysdeps/i386/fpu/libm-test-ulps: Update.
6861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6863         * math/auto-libm-test-in: Add more tests of cosh and sinh.
6864         * math/auto-libm-test-out: Regenerated.
6865         * sysdeps/i386/fpu/libm-test-ulps: Update.
6866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6868         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
6870 2015-04-29  Roland McGrath  <roland@hack.frob.com>
6872         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
6873         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
6875         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
6876         (euidaccess, eaccess): Define as weak aliases.
6878         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
6879         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
6880         but __suseconds_t is often 'long int' so some sources assume that
6881         type is being used (e.g. they use %ld to print tv_usec).
6883 2015-04-29  Florian Weimer  <fweimer@redhat.com>
6885         [BZ #18007]
6886         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
6887         (CVE-2014-8121)
6888         * nss/tst-nss-getpwent.c: New file.
6889         * nss/Makefile (tests): Add new test.
6891 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
6893         [BZ #18346]
6894         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
6895         exponents less than 48 as cases where high part of mantissa needs
6896         examining to determine whether argument is integral.
6897         * math/libm-test.inc (round_test_data): Add more tests.
6899 2015-04-28  Mark Wielaard  <mjw@redhat.com>
6901         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
6903 2015-04-27  David S. Miller  <davem@davemloft.net>
6905         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
6906         __tls_get_addr.
6907         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6909 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
6911         [BZ#18333]
6912         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
6914 2015-04-27  Florian Weimer  <fweimer@redhat.com>
6916         [BZ#18333]
6917         * time/tzset.c (parse_tzname): Return error on memory allocation
6918         failure.
6919         * test-skeleton.c (struct temp_name_list): Change type of name
6920         member to non-const.
6921         (add_temp_file): Create a copy of the file name.
6922         (delete_temp_files): Deallocate memory.
6923         (create_temp_file): Add comment.
6925 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6927         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
6928         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
6930 2015-04-24  Roland McGrath  <roland@hack.frob.com>
6932         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
6933         * sysdeps/arm/configure: Regenerated.
6935 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6937         [BZ #17715]
6938         * time/tzfile.c (__tzfile_read): Check for large values of
6939         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
6940         * time/tzset.c (__tzstring_len): New function, based on the old
6941         __tzstring function.
6942         (__tzstring): Call __tzstring_len.
6943         (parse_tzname): New helper function extracted from
6944         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
6945         the input string.
6946         (parse_offset): New helper function extracted from
6947         __tzset_parse_tz.  Replace switch with fallthrough with
6948         initialization before sscanf.
6949         (parse_rule): Likewise.
6950         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
6951         new-style function definition.
6952         * timezone/Makefile (tests): Add tst-tzset.
6953         (tst-tzset.out): Dependencies on time zone files.
6954         (tst-tzset-ENV): Set TZDIR.
6955         (testdata/XT%): Copy crafted time zone files.
6956         * timezone/README: Mention crafted time zone files.
6957         * timezone/testdata/XT1, timezone/testdata/XT2,
6958         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
6959         files.
6960         * timezone/tst-tzset.c: New test.
6962 2015-04-24  Florian Weimer  <fweimer@redhat.com>
6964         * Makeconfig (+gccwarn): Remove -Winline.
6966 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6968         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
6970 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6972         * NEWS: Mention sysconf() cache information support for s390.
6973         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
6975 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
6977         * math/k_casinh.c (__kernel_casinh): Use __copysign.
6978         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
6979         (__nearbyint): Likewise.
6980         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
6981         (copysignl): Likewise.
6983 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
6985         [BZ #18287]
6986         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
6987         based on padding.  (CVE-2015-1781)
6989 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6991         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
6992         libc-vdso.h.
6993         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
6994         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
6995         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
6996         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
6997         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
6998         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
6999         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
7000         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
7001         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7002         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
7003         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7004         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
7005         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7006         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
7007         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7008         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
7009         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
7010         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
7011         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
7012         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
7013         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
7014         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
7015         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
7017 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
7019         * stdlib/setenv.c (__add_to_environ):
7020         Dump core quickly if setenv (..., NULL, ...) is called.
7021         This time, do it the right way, and pacify GCC with a pragma.
7023 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7025         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
7026         IMAP->l_prev cannot be null, and #if out the code for the contrary
7027         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
7028         believe that NS (&_dl_ns[NSID]) could point outside the array.
7030         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
7031         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
7032         before using NSID as an index.
7034 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
7036         [BZ #17825]
7037         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
7038         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
7039         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
7041 2015-04-17  Roland McGrath  <roland@hack.frob.com>
7043         Add preliminary port to Google Native Client on ARM.
7044         * abi-tags (.*-.*-nacl.*): New entry.
7045         * sysdeps/arm/nacl: New directory.
7046         * sysdeps/nacl: New directory.
7048 2015-04-16  David S. Miller  <davem@davemloft.net>
7050         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
7051         lowlevellock-futex.h
7053 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
7055         * sysdeps/tile/configure.ac: New file.
7056         * sysdeps/tile/configure: Regenerated.
7058 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7060         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
7061         conditionals for weak_alias and libc_hidden_weak.
7062         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
7063         libc_hidden_weak and weak_alias.
7064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
7065         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
7066         and weak_alias for static one.
7068 2015-04-15  David S. Miller  <davem@davemloft.net>
7070         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
7072 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7074         [BZ #18206]
7075         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
7076           Use signed comparision instead of substraction to avoid
7077           overflow bug.
7078         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
7079           Take the sign of ret.
7080         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
7081           Do not expect precise return values. Only the sign matters.
7082         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
7083         * wcsmbs/test-wcsncmp.c: New File.
7084         * string/test-strncmp.c: Add wcsncmp support.
7086 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7088         [BZ #6792]
7089         * math/w_log1p.c: New file.
7090         * math/w_log1pf.c: Likewise.
7091         * math/w_log1pl.c: Likewise.
7092         * math/Makefile (libm-calls): Add w_log1p.
7093         * math/s_log1pl.c (log1pl): Remove weak_alias.
7094         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
7095         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
7096         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
7097         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
7098         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
7099         [NO_LONG_DOUBLE] (log1pl): Likewise.
7100         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
7101         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
7102         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
7103         (log1p): Remove long_double_symbol.
7104         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
7105         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
7106         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
7107         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
7108         remove weak_alias for corresponding log1p function.
7109         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
7110         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
7111         * sysdeps/ia64/fpu/w_log1p.c: New file.
7112         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
7113         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
7114         * math/libm-test.inc (log1p_test_data): Add errno expectations.
7116 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
7118         [BZ #18247]
7119         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
7120         decimal exponent by 1.
7121         * stdlib/tst-strtod-round-data: Add more tests.
7122         * stdlib/tst-strtod-round.c (tests): Regenerated.
7124 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
7126         * math/auto-libm-test-in: Add more tests of clog and clog10.
7127         * math/auto-libm-test-out: Regenerated.
7128         * sysdeps/i386/fpu/libm-test-ulps: Update.
7129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7131 2015-04-09  Roland McGrath  <roland@hack.frob.com>
7133         * Makeconfig (module-cppflags): Exclude all .v.i files.
7134         (skip-module-cppflags): Variable removed.
7136         * configure.ac (libc_config_ok): Initialize before reading
7137         preconfigure scripts, not after.
7138         * configure: Regenerated.
7140         * test-skeleton.c (TIMEOUT): Move #define to top level.
7141         (main): Grok environment variable TEST_DIRECT.  If set, print
7142         test expectation details into that file and then behave as if
7143         given --direct.
7145 2015-04-09  Florian Weimer  <fweimer@redhat.com>
7147         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
7148         warning on 32-bit.
7150 2015-04-08  David S. Miller  <davem@davemloft.net>
7152         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7154 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7156         * math/auto-libm-test-in: Add more tests of atanh.
7157         * math/auto-libm-test-out: Regenerated.
7158         * sysdeps/i386/fpu/libm-test-ulps: Update.
7159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7161         * math/auto-libm-test-in: Add more tests of atan.
7162         * math/auto-libm-test-out: Regenerated.
7163         * sysdeps/i386/fpu/libm-test-ulps: Update.
7164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7166 2015-04-08  Florian Weimer  <fweimer@redhat.com>
7168         * elf/pldd.c (main): Rewrite to use struct
7169         scratch_buffer instead of extend_alloca.
7170         * elf/pldd-xx.c (find_maps): Likewise.
7171         * grp/initgroups.c: Include <scratch_buffer.h> instead of
7172         <alloca.h>.
7173         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
7174         scratch_buffer instead of extend_alloca.
7175         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
7176         grp/compat-initgroups.c.
7177         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
7178         Rewrite to use struct scratch_buffer instead of extend_alloca.
7179         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
7180         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7182 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
7184         * math/auto-libm-test-in: Add more tests of cbrt.
7185         * math/auto-libm-test-out: Regenerated.
7186         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7188         * math/auto-libm-test-in: Add more tests of cabs.
7189         * math/auto-libm-test-out: Regenerated.
7190         * sysdeps/i386/fpu/libm-test-ulps: Update.
7191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7193         [BZ #18210]
7194         [BZ #18211]
7195         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
7196         (__ieee754_atan2): Set FE_TONEAREST mode for internal
7197         computations.
7198         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
7199         clog10.
7200         * math/auto-libm-test-out: Regenerated.
7201         * sysdeps/i386/fpu/libm-test-ulps: Update.
7202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7204         [BZ #18197]
7205         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
7206         (atan): Set FE_TONEAREST mode for internal computations.
7207         * math/auto-libm-test-in: Add more tests of atan.
7208         * math/auto-libm-test-out: Regenerated.
7210 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
7212         [BZ #17930]
7213         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
7215 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7217         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
7219 2015-04-07  Florian Weimer  <fweimer@redhat.com>
7221         * include/scratch_buffer.h: New file.
7222         * malloc/scratch_buffer_grow.c: Likewise.
7223         * malloc/scratch_buffer_grow_preserve.c: Likewise.
7224         * malloc/scratch_buffer_set_array_size.c: Likewise.
7225         * malloc/tst-scratch_buffer.c: Likewise.
7226         * malloc/Makefile (routines): Add scratch_buffer_grow.
7227         (tests): Add test case.
7228         * malloc/Versions (GLIBC_PRIVATE): Export
7229         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
7230         __libc_scratch_buffer_set_array_size.
7232 2015-04-06  Richard Henderson  <rth@redhat.com>
7234         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
7235         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7237         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
7238         unsigned int before printing.
7240 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7242         [BZ #17596]
7243         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
7244         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7246 2015-04-02  Florian Weimer  <fweimer@redhat.com>
7248         * include/libc-internal.h (libc_max_align_t): Define.
7250 2015-04-02  Andreas Schwab  <schwab@suse.de>
7252         [BZ #16850]
7253         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
7255 2015-04-02  Mel Gorman  <mgorman@suse.de>
7257         [BZ #17195]
7258         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
7259         as well as the main arena.
7261 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7263         [BZ #18185]
7264         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
7265         sharing L2 cache to 2 for Silvermont/Knights Landing.
7267 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7269         [BZ #17711]
7270         * config.make.in (have-protected-data): New.
7271         * configure.ac: Check linker support for protected data symbol.
7272         * configure: Regenerated.
7273         * elf/Makefile (modules-names): Add tst-protected1moda and
7274         tst-protected1modb if $(have-protected-data) is yes.
7275         (tests): Add tst-protected1a and tst-protected1b if
7276         $(have-protected-data) is yes.
7277         ($(objpfx)tst-protected1a): New.
7278         ($(objpfx)tst-protected1b): Likewise.
7279         (tst-protected1modb.so-no-z-defs): Likewise.
7280         * elf/tst-protected1a.c: New file.
7281         * elf/tst-protected1b.c: Likewise.
7282         * elf/tst-protected1mod.h: Likewise.
7283         * elf/tst-protected1moda.c: Likewise.
7284         * elf/tst-protected1modb.c: Likewise.
7286 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
7288         [BZ #17711]
7289         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
7290         indicates it is called from do_lookup_x on relocation against
7291         protected data, skip the data definion in the executable from
7292         copy reloc.
7293         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
7294         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
7295         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
7296         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
7297         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
7298         otherwise to 0.
7299         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7300         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
7301         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
7302         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
7303         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
7304         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
7306 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
7308         * sysdeps/nptl/pthread.h: Remove duplicate definition of
7309         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
7311 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
7313         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
7314         THREAD_SETMEM_NC.
7315         * sysdeps/x86_64/nptl/tls.h: Ditto.
7317 2015-03-27  Roland McGrath  <roland@hack.frob.com>
7319         * dlfcn/tststatic.c (main): Converted to ...
7320         (do_test): ... this.
7321         (TEST_FUNCTION): New macro.
7322         Include test-skeleton.c.
7324 2015-03-26  Alan Modra  <amodra@gmail.com>
7326         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
7327         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
7328         zero for undefined weak.
7329         (elf_machine_plt_conflict): Similarly.
7331 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
7333         * math/auto-libm-test-in: Add more tests of acosh, asinh and
7334         atanh.
7335         * math/auto-libm-test-out: Regenerated.
7336         * sysdeps/i386/fpu/libm-test-ulps: Update.
7337         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7339         * math/auto-libm-test-in: Add another test of asin.
7340         * math/auto-libm-test-out: Regenerated.
7341         * sysdeps/i386/fpu/libm-test-ulps: Update.
7342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7344         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
7345         Remove macro.
7346         (LLL_EBX_REG): Likewise.
7347         (LLL_ENTER_KERNEL): Likewise.
7349         * math/auto-libm-test-in: Add more tests of asin.
7350         * math/auto-libm-test-out: Regenerated.
7351         * sysdeps/i386/fpu/libm-test-ulps: Update.
7352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7354         [BZ #18138]
7355         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
7356         libc_do_syscall_args): New structure.
7357         (INTERNAL_SYSCALL_MAIN_0): New macro.
7358         (INTERNAL_SYSCALL_MAIN_1): Likewise.
7359         (INTERNAL_SYSCALL_MAIN_2): Likewise.
7360         (INTERNAL_SYSCALL_MAIN_3): Likewise.
7361         (INTERNAL_SYSCALL_MAIN_4): Likewise.
7362         (INTERNAL_SYSCALL_MAIN_5): Likewise.
7363         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
7364         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
7365         Replace conditional definitions by conditional definitions of ....
7366         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
7367         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
7368         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
7369         (libpthread-sysdep_routines): Add libc-do-syscall.
7370         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
7371         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
7372         to __NR_futex not 240.
7374 2015-03-25  Alan Modra  <amodra@gmail.com>
7376         * NEWS: Advertise TLS optimization.
7377         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
7378         (DT_PPC_NUM): Increment.
7379         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
7380         (CHECK_STATIC_TLS): Use here.
7381         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
7382         TLS descriptors.
7383         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
7384         * sysdeps/powerpc/dl-tls.c: New file.
7385         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
7386         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
7387         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
7388         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
7389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
7390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
7391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
7393 2015-03-25  Alan Modra  <amodra@gmail.com>
7395         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
7396         for overlapping .opd entries" to "support...".
7397         * sysdeps/powerpc/powerpc64/configure: Regenerate
7399 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
7401         * math/auto-libm-test-in: Add more tests of acos.
7402         * math/auto-libm-test-out: Regenerated.
7403         * sysdeps/i386/fpu/libm-test-ulps: Update.
7404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406         * math/auto-libm-test-in: Add more tests of expm1.
7407         * math/auto-libm-test-out: Regenerated.
7408         * sysdeps/i386/fpu/libm-test-ulps: Update.
7409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
7413         * math/auto-libm-test-in: Add more tests of cosh and sinh.
7414         * math/auto-libm-test-out: Regenerated.
7415         * sysdeps/i386/fpu/libm-test-ulps: Update.
7416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7418         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
7419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421         * math/auto-libm-test-in: Add more tests of log2.
7422         * math/auto-libm-test-out: Regenerated.
7423         * sysdeps/i386/fpu/libm-test-ulps: Update.
7424         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7426 2015-03-23  Roland McGrath  <roland@hack.frob.com>
7428         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
7429         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
7430         _IO_IS_APPENDING bit in READ_WRITE instead.
7432 2015-03-23  Florian Weimer  <fweimer@redhat.com>
7434         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
7435         (__determine_cpumask_size): Replace extend_alloca with a
7436         variable-length array.  Do not treat res == 0 as an error.
7438 2015-03-23  Florian Weimer  <fweimer@redhat.com>
7440         [BZ #18100]
7441         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
7442         and integer overflow.
7443         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
7444         (main): Add integer overflow tests.
7445         * manual/pattern.texi (Calling Wordexp): Document additional use
7446         for WRDE_SYNTAX.
7448 2015-03-23  Alan Modra  <amodra@gmail.com>
7450         * config.h.in: Remove HAVE_ASM_PPC_REL16.
7451         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
7452         and false branch of conditional.
7453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
7454         Likewise.
7456 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
7458         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
7459         libc-modules.h
7460         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
7461         unused declaration of _hurd_intr_rpc_msg_in_trap.
7462         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
7463         defined instead of whether it is non-zero.
7464         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
7465         input constraint instead of both input and output constraint.  Use ecx
7466         clobber instead of %ecx.
7467         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
7468         mutex_unlock): Use a statement expression instead of an expression list.
7469         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
7470         type to vm_size_t instead of vm_address_t.
7471         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
7472         defined instead of whether it is non-zero.
7473         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
7474         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
7475         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
7476         comparisons with mapaddr.
7477         * nscd/nscd-client.h: Include <time.h>.
7478         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
7479         9th parameter to __vm_region instead of int.
7480         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
7481         * scripts/check-local-headers.sh (exclude): Add device/,
7482         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
7483         cthreads.h.
7485 2015-03-19  Roland McGrath  <roland@hack.frob.com>
7487         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
7488         to account for alignment padding.
7489         * sysdeps/arm/memmove.S: Likewise.
7491 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
7493         * sysdeps/unix/sysv/linux/generic/README: New file.
7495 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
7497         [BZ #18138]
7498         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
7499         (futex_abstimed_wait)
7500         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
7501         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
7502         of lll_futex_timed_wait.
7504 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
7506         [BZ #17542]
7507         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
7509 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
7511         [BZ #17090]
7512         [BZ #17620]
7513         [BZ #17621]
7514         [BZ #17628]
7515         * NEWS: Update.
7516         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
7517         entries with Static TLS too.  Skip entries past the end of the
7518         allocated DTV, from Alan Modra.
7519         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
7520         Static TLS DTV entry set up from...
7521         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
7522         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
7523         * nptl/allocatestack.c (init_one_static_tls): ... and here...
7524         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
7525         for Static TLS.
7526         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
7527         that the slot we find is associated with the given map before
7528         using its generation count.
7529         * nptl_db/db_info.c: Include ldsodefs.h.
7530         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
7531         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
7532         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
7533         (link_map::l_tls_offset): New struct field.
7534         (dtv_t::counter): Likewise.
7535         (rtld_global): New struct.
7536         (_rtld_global): New rtld variable.
7537         (dl_tls_dtv_slotinfo_list): New rtld global field.
7538         (dtv_slotinfo_list): New struct.
7539         (dtv_slotinfo): Likewise.
7540         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
7541         (td_lookup): Rename to...
7542         (td_mod_lookup): ... this.  Use new mod parameter instead of
7543         LIBPTHREAD_SO.
7544         * nptl_db/td_thr_tlsbase.c: Include link.h.
7545         (dtv_slotinfo_list, dtv_slotinfo): New functions.
7546         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
7547         addresses even if the DTV is out of date or missing them.
7548         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
7549         index zero-length arrays.
7550         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
7551         (td_lookup): Make it a macro implemented in terms of...
7552         (td_mod_lookup): ... this declaration.
7553         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
7554         (DB_MAIN_VARIABLE): Likewise.
7556 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
7558         [BZ #18134]
7559         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
7561 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
7563         * stdlib/setenv.c (__add_to_environ): Revert previous change.
7565 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
7567         [BZ #18128]
7568         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
7569         (atomic_add, atomic_increment_and_test)
7570         (atomic_decrement_and_test): Fix 64-bit arithmetic.
7572 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
7574         * stdlib/setenv.c (__add_to_environ):
7575         Dump core quickly if setenv (..., NULL, ...) is called.
7577 2015-03-13  Roland McGrath  <roland@hack.frob.com>
7579         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
7580         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
7581         all the necessary asm magic in one place.
7582         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
7583         using those.
7585 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
7587         [BZ #14906]
7588         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
7589         traced file mtime. Use consistent log message.
7590         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
7591         (register_traced_file): Call install_watches. Always set mtime.
7592         (invalidate_cache): Iterate over all trace files. Call install_watches.
7593         (inotify_check_files): Don't inline. Handle watching parent
7594         directories and configuration file movement in and out.
7595         (handle_inotify_events): New function.
7596         (main_loop_poll): Call handle_inotify_events.
7597         (main_loop_epoll): Likewise.
7598         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
7599         (struct traced_file): Use array of inotify fds. Add parent directory,
7600         and basename.
7601         (struct database_dyn): Remove unused file_mtime.
7602         (init_traced_file): New inline function.
7603         (define_traced_file): New macro.
7604         * nss/nss_db/db-init.c: Use define_traced_file.
7605         (_nss_db_init): Use init_traced_file.
7606         * nss/nss_files/files-init.c: Use define_traced_file.
7607         (_nss_files_init): Use init_traced_file.
7609 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
7611         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
7612         [_LIBC]: Do not include <stdlib.h>.
7613         [!_LIBC] (abort): Remove declaration.
7614         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
7615         _FP_STATIC_ASSERT instead of conditionally calling abort.
7616         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
7617         (_FP_EXTEND_CNAN): Likewise.
7618         (FP_TRUNC): Likewise.
7619         (__FP_CLZ): Likewise.
7620         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
7622 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
7624         * manual/string.texi (XPG basename): Fix prototype.
7626 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7628         [BZ #18080]
7629         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
7630         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7631         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
7632         (__setcontext): Likewise.
7633         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
7634         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
7635         Call rt_sigprocmask syscall one time to set new signal mask
7636         and retrieve the current signal mask instead of two calls.
7637         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
7638         (__swapcontext): Likewise.
7639         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
7640         * stdlib/tst-setcontext2.c: New file.
7642 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7644         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7646 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
7648         [BZ #18093]
7649         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
7650         the wrong size.
7652 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
7654         [BZ #18043]
7655         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
7657 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7659         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
7660         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
7661         Remove define.
7662         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
7663         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
7664         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
7665         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
7666         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
7667         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
7668         define.
7669         * nptl_db/td_symbol_list.c (td_lookup): Remove
7670         HAVE_ASM_GLOBAL_DOT_NAME code.
7671         * sysdeps/powerpc/powerpc64/configure.ac: Remove
7672         HAVE_ASM_GLOBAL_DOT_NAME check.
7673         * sysdeps/powerpc/powerpc64/configure: Regenerate.
7674         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
7675         (DOT_LABEL): Remove define.
7676         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
7677         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
7678         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
7679         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
7680         (__TLS_GET_ADDR): Likewise.
7681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
7682         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
7684 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
7686         [BZ #18111]
7687         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
7688         (_FPU_SETCW): Initialize cw from fpsr before storing.
7689         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
7690         (fesetexceptflag): Rewrite using fpu_control.h.
7691         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
7693 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
7695         [BZ #18110]
7696         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
7697         asms.
7698         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
7700 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
7702         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
7703         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
7704         abort.
7705         (_FP_FMA): Likewise.
7706         (_FP_DIV): Likewise.
7708 2015-03-10  Roland McGrath  <roland@hack.frob.com>
7710         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
7711         with 0 in that case.
7712         * Makefile (summarize-tests): New canned sequence, factored out of
7713         commands for targets tests and xtests.  Display summary lines that
7714         don't start with PASS: or XFAIL: rather than ones that do start with
7715         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
7716         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
7717         do start with ERROR: or FAIL:.
7718         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
7719         (except for [$(build-shared) = yes]).
7720         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
7721         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
7722         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
7723         * nptl/Makefile: Revert 2015-03-04 changes.
7724         [$(CXX) empty] (tests-unsupported): New variable.
7725         * debug/Makefile: Likewise.
7727         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
7728         gnulib file.  Replace __attribute with __attribute__ throughout.
7730 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
7732         * sysdeps/hppa/fpu/libm-test-ulps: Update.
7734 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7736         [BZ #18104]
7737         * math/auto-libm-test-in: Add another test of pow.
7738         * math/auto-libm-test-out: Regenerated.
7740 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7742         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
7743         $(config-cflags-nofma).
7745 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
7747         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
7748         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
7749         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
7750         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
7751         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
7752         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
7753         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
7754         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
7755         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
7756         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
7757         Add comment on closing #endif.
7759 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7761         * posix/wordexp.c (CHAR_IN_SET): New macro.
7762         (parse_param): Use it.
7764 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7766         * sysdeps/powerpc/fpu/libm-test-ulps: update.
7768 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7770         [BZ #18043]
7771         * posix/wordexp.c (parse_param): Fix buffer overflow.
7772         * posix/wordexp-test.c (test_case): Add test case.
7774 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7776         [BZ #18042]
7777         * posix/wordexp.c (parse_backtick): Fix off-by-one.
7778         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
7780 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
7782         [BZ #18043]
7783         * posix/wordexp-test.c (test_case): Add test for BZ #18043
7784         (do_bz18043): Delete.
7785         (at_page_end): New.
7786         (testit): Refactor to have words at the edge of unreadable page.
7788 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
7790         [BZ #16734]
7791         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
7792         Cleanup read-only streams as well.
7793         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
7795 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7797         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
7798         <bits/libc-lockP.h>
7800 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
7802         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
7803         on [__KERNEL__].
7804         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
7805         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
7806         * soft-fp/op-common.h (_FP_DECL): Likewise.
7808 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7810         * elf/ifuncdep2.c (global): Replace
7811         __attribute__((visibility("protected"))) with
7812         asm (".protected global").
7813         * elf/ifuncmod1.c (global): Likewise.
7814         * elf/ifuncmod5.c (global): Likewise.
7816 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
7818         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
7819         <asm/sfp-machine.h> instead of <sfp-machine.h>.
7821 2015-03-06  Roland McGrath  <roland@hack.frob.com>
7823         * manual/install.texi (Configuring and compiling):
7824         Document test-wrapper-env-only.
7825         * INSTALL: Regenerated.
7827 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
7829         [BZ #18043]
7830         * posix/wordexp.c (parse_param): Fix buffer overflow.
7831         * posix/wordexp-test.c (do_bz18043): Add test case.
7833 2015-03-06  Vincent Bernat  <vincent@bernat.im>
7835         * time/tst-strptime2.c (do_test): Ensure failing tests are
7836         reported correctly.
7837         * time/tst-strptime3.c (do_test): Likewise.
7839 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
7841         Fix aio_error thread-safety.
7842         * sysdeps/pthread/aio_error.c: New file
7843         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
7844         synchronization.
7846 2015-03-06  Florian Weimer  <fweimer@redhat.com>
7848         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
7849         (group_number, vfprintf): Use it.
7850         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
7851         (JUMP, REF): Use it.
7852         (WORK_BUFFER_SIZE): New enum constant.
7853         (process_arg, vfprintf): Use it.
7855 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
7857         * manual/errno.texi (Error Messages): Complete example function
7858         by adding missing #define.
7859         (program_invocation_name): Add statement indicating GNU
7860         extension and reference which header file declares the variable.
7861         (program_invocation_short_name): Likewise.
7863 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
7865         * manual/errno.texi (Error Messages): Delete strerror ISO C89
7866         compatibility note.
7868 2015-03-05  Roland McGrath  <roland@hack.frob.com>
7870         * Makeconfig (test-wrapper-env-only): New variable.
7871         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
7872         then use that with $(test-wrapper-env-only) rather than using
7873         $(test-wrapper-env) $(run-program-env) $($*-ENV).
7875 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
7877         [BZ #18082]
7878         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
7879         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
7880         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
7881         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
7882         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
7883         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
7884         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
7885         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
7886         Likewise.
7887         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
7888         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
7889         Likewise.
7890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
7891         Likewise.
7892         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
7893         Likewise.
7894         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
7895         Likewise.
7896         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
7897         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
7898         Likewise.
7899         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
7900         Likewise.
7901         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
7902         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
7904 2015-03-04  Roland McGrath  <roland@hack.frob.com>
7906         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
7907         (ETH_ALEN): New macro.
7908         (struct ether_addr): Use it for length of ether_addr_octet.
7910         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
7911         (setdb): Don't call __nss_configure_lookup for "rpc".
7912         (do_test): Don't call test_rpc.
7913         (output_rpcent, test_rpc): Functions moved ...
7914         * sunrpc/test-rpcent.c: ... to this new file.
7915         * sunrpc/Makefile (tests): Add it.
7917         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
7918         __xpg_sigpause.
7919         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
7920         * nptl/tst-signal6.c: Likewise.
7921         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
7922         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
7924         * configure.ac (libc_cv_cxx_link_ok): New check.
7925         Reset CXX to empty if it fails to link.
7926         * configure: Regenerated.
7927         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
7928         bug-atexit3-lib only if $(CXX) is nonempty.
7929         * nptl/Makefile (tests): Likewise for tst-cancel24.
7930         (tests, tests-static): Likewise for tst-cancel24-static.
7931         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
7932         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
7933         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
7934         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
7936 2015-03-04  Andreas Schwab  <schwab@suse.de>
7938         [BZ #17631]
7939         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
7940         for non-GCC compilers.
7941         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7942         Likewise.
7944 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
7946         [BZ #17776]
7947         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
7948         integer before bitwise and assembly operations.
7949         (feclearexcept): Likewise.
7950         * math/test-fenvinline.c: New file.
7951         * math/Makefile: Add test-fenvinline test.
7953 2015-03-03  Alan Modra  <amodra@gmail.com>
7955         [BZ #16512]
7956         * scripts/localplt.awk: Strip off symbol version.
7957         * NEWS: Mention bug fix.
7959 2015-03-02  Roland McGrath  <roland@hack.frob.com>
7961         * sysdeps/pthread/timer_routines.c
7962         (timer_free_list, thread_free_list, thread_active_list): Make static.
7964 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
7966         [BZ #17779]
7967         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7968         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7969         Undefine.
7970         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7971         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7972         Likewise.
7973         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7974         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
7975         Likewise.
7977 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
7979         [BZ #18036]
7980         * posix/fnmatch_loop.c (END): Detect invalid pattern.
7981         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
7983 2015-03-02  Andreas Schwab  <schwab@suse.de>
7985         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
7986         variable name.
7988 2015-03-02  Florian Weimer  <fweimer@redhat.com>
7990         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
7991         Return error status.
7993 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
7995         [BZ #15969]
7996         * locale/findlocale.c (_nl_find_locale): Introduce const
7997         version of loc_name and drop unsafe type casts.
7999 2015-02-27  Roland McGrath  <roland@hack.frob.com>
8001         * dlfcn/tststatic2.c (main): Converted to ...
8002         (do_test): ... this.
8003         (TEST_FUNCTION): New macro.
8004         Include test-skeleton.c.
8006 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
8008         [BZ #17711]
8009         * elf/Makefile (tests): Add vismain only if PIE is enabled.
8010         (tests-pie): Add vismain.
8011         (CFLAGS-vismain.c): New.
8012         * elf/vismain.c: Add comments for PIE requirement.
8014 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8016         [BZ #18046]
8017         [BZ #18047]
8018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
8019         0x1p-56L as threshold for just returning the argument.
8020         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
8021         0x1p-32L as threshold for just returning the argument.
8022         * math/auto-libm-test-in: Add more tests of atanh.
8023         * math/auto-libm-test-out: Regenerated.
8024         * sysdeps/i386/fpu/libm-test-ulps: Update.
8025         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
8027 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8029         * string/bcopy.c (bcopy): Call memmove for performance.
8031 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
8033         * string/bzero.c (__bzero): Call memset for performance.
8035 2015-02-27  John David Anglin  <dave.anglin@bell.net>
8037         [BZ #18068]
8038         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
8039         to 00100000.
8041 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
8043         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
8045 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8047         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
8048         (__kernel_standard): Use CSTR macro when setting exc.name.
8049         * sysdeps/ieee754/Makefile [$(subdir) = math]
8050         (CFLAGS-k_standard.c): Remove variable.
8052         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
8053         setting p and q from "else if" to "else".
8054         (qzero): Likewise.
8055         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
8056         (qone): Likewise.
8057         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
8058         (qzerof): Likewise.
8059         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
8060         (qonef): Likewise.
8061         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
8062         (qzero): Likewise.
8063         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
8064         (qone): Likewise.
8066         [BZ #18038]
8067         [BZ #18039]
8068         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
8069         return pi/2 for arguments below 0x1p-113L.
8070         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
8071         return pi/2 for arguments below 0x1p-106L.
8072         * math/auto-libm-test-in: Add more tests of acos.
8073         * math/auto-libm-test-out: Regenerated.
8075         [BZ #16351]
8076         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
8077         (MO): New macro.
8078         (__ieee754_asin): Force underflow exception for results with small
8079         absolute value.
8080         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
8081         (MO): New macro.
8082         (__ieee754_asinf): Force underflow exception for results with
8083         small absolute value.
8084         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
8085         (__ieee754_asin): Force underflow exception for results with small
8086         absolute value.
8087         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
8088         (__ieee754_asinf): Force underflow exception for results with
8089         small absolute value.
8090         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
8091         (__ieee754_asinl): Force underflow exception for results with
8092         small absolute value.
8093         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
8094         (__ieee754_asinl): Force underflow exception for results with
8095         small absolute value.
8096         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
8097         (__ieee754_asinl): Force underflow exception for results with
8098         small absolute value.
8099         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
8100         Include <math.h>.
8101         * math/auto-libm-test-in: Do not mark underflow exceptions as
8102         possibly missing for bug 16351.
8103         * math/auto-libm-test-out: Regenerated.
8105         [BZ #18030]
8106         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
8107         of power of 2 down when low part has opposite sign.
8108         * math/libm-test.inc (logb_test_data): Add more tests.
8110 2015-02-26  Andreas Schwab  <schwab@suse.de>
8112         [BZ #18032]
8113         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
8114         over collating symbol inside a bracket expression.  Minor cleanup.
8115         * posix/tst-fnmatch3.c (do_test): Add test case.
8117 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
8119         [BZ #18029]
8120         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
8121         Adjust exponent of power of 2 down when low part has opposite
8122         sign.
8123         * math/libm-test.inc (ilogb_test_data): Add more tests.
8125 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
8127         [BZ #15969]
8128         * locale/findlocale.c (_nl_find_locale): Fix constness error in
8129         the previous change.
8131         [BZ #15969]
8132         * locale/findlocale.c (_nl_find_locale): Retry archive search
8133         after alias expansion.
8135 2015-02-25  Roland McGrath  <roland@hack.frob.com>
8137         * iconv/tst-iconv3.c (main): Converted to ...
8138         (do_test): ... this.
8139         (TEST_FUNCTION): New macro.
8140         Include test-skeleton.c.
8142         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
8143         (convert): Make function static.
8144         (test_unalign): Likewise.  Add const to argument pointee types.
8145         (main): Replace with static function do_test.
8146         Print "Succeeded." only if RET is zero.
8147         (TEST_FUNCTION): New macro.
8148         Include test-skeleton.c.
8150         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
8151         returns a null pointer.
8153 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
8156         to __memcpy_ppc only for static builds.
8158 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
8160         [BZ #18020]
8161         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
8162         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
8163         * math/auto-libm-test-in: Add more tests of asinh.
8164         * math/auto-libm-test-out: Regenerated.
8165         * sysdeps/i386/fpu/libm-test-ulps: Update.
8166         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8168 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
8170         [BZ #15850]
8171         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
8172         and ip6_mtuinfo definitions here.
8173         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
8174         in this define too.  Update comment.
8176 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
8178         * elf/sprof.c (load_shobj): Tweak error message to match others.
8180 2015-02-24  Kevin Easton  <kevin@guarana.org>
8182         [BZ #16145] (partial fix)
8183         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
8184         to reduce lock contention.
8186 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
8188         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
8189         (struct timex): Update time comment.
8190         (ADJ_SETOFFSET): Define.
8192 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8194         [BZ #18019]
8195         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8196         2**56 not 2**28 as threshold for log (2x) formula.
8197         * math/auto-libm-test-in: Add more tests of acosh.
8198         * math/auto-libm-test-out: Regenerated.
8199         * sysdeps/i386/fpu/libm-test-ulps: Update.
8200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8202 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8204         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
8205         parenthesis around the buf assignment.
8206         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
8208 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
8210         [BZ #16783]
8211         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
8212         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
8213         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
8214         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8215         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
8216         * math/libm-test.inc (scalb_test_data): Add more tests.
8218 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
8220         [BZ #17916]
8221         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
8222         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
8224 2015-02-24  Eric Rannaud  <e@nanocritical.com>
8226         [BZ #17523]
8227         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
8228         * io/bits/fcntl2.h (open): Use it.
8229         (openat): Likewise.
8230         * io/open.c (__libc_open): Likewise.
8231         * io/open64.c (__libc_open64): Likewise.
8232         * io/open64_2.c (__open64_2): Likewise.
8233         * io/open_2.c (__open_2): Likewise.
8234         * io/openat.c (__openat): Likewise.
8235         * io/openat64.c (__openat64): Likewise.
8236         * io/openat64_2.c (__openat64_2): Likewise.
8237         * io/openat_2.c (__openat_2): Likewise.
8238         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
8239         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
8240         * sysdeps/posix/open64.c (__libc_open64): Likewise.
8241         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
8242         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
8243         (__open_nocancel): Likewise.
8244         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
8245         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
8246         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
8248 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8250         [BZ #14841]
8251         * resolv/gethnamaddr.c (getanswer): Skip logging if
8252         RES_USE_DNSSEC is set.
8253         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
8255 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
8257         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
8259 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
8261         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8262         201304L, for Unicode 7.
8264 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
8266         [BZ #17836]
8267         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
8268         shared library.  Add gmon-start.os otherwise.
8269         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
8270         $(objpfx)gmon-start.os if builing shared library.
8271         ($(objpfx)g$(static-start-installed-name)): Likewise.
8273 2015-02-23  Andreas Schwab  <schwab@suse.de>
8275         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
8277 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
8279         [BZ #17269]
8280         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
8281         (enlarge_userbuf): Likewise.
8283 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
8285         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
8286         * math/atest-exp.c (TIMEOUT): Adjust to 200.
8287         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
8288         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
8290 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
8292         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
8293         expression inside statement expression.
8295 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8297         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
8298         <sysdeps/nptl/lowlevellock.h> and remove macros and
8299         functions that are now defined there.
8300         (SYS_futex): Remove.
8301         (lll_compare_and_swap): Remove.
8302         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
8304 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
8306         [BZ #17999]
8307         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
8308         instead of scandirat.
8309         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
8310         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
8311         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
8312         __scandirat.
8313         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
8314         (__scandirat): Declare.  Use libc_hidden_proto.
8315         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
8316         Remove variable.
8317         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8319 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
8321         [BZ #15319]
8322         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
8323         (MO): New macro.
8324         (__ieee754_atan2): For results with small absolute value, force
8325         underflow exception and remove excess range and precision from
8326         return value.
8327         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
8328         (MO): New macro.
8329         (__ieee754_atan2f): For results with small absolute value, force
8330         underflow exception and remove excess range and precision from
8331         return value.
8332         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
8333         (MO): New macro.
8334         (__atan): For results with small absolute value, force underflow
8335         exception and remove excess range and precision from return value.
8336         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
8337         (MO): New macro.
8338         (__atanf): For results with small absolute value, force underflow
8339         exception and remove excess range and precision from return value.
8340         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
8341         <math.h>.
8342         (__ieee754_atan2): Force underflow exception for results with
8343         small absolute value.
8344         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
8345         <math_private.h>.
8346         (atan): Force underflow exception for results with small absolute
8347         value.
8348         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
8349         (__atanf): Force underflow exception for results with small
8350         absolute value.
8351         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
8352         <math.h>.
8353         (__atanl): Force underflow exception for results with small
8354         absolute value.
8355         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
8356         (__atanl): Force underflow exception for results with small
8357         absolute value.
8358         * sysdeps/x86/fpu/bits/mathinline.h
8359         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
8360         (__ieee754_atan2): Only define inline for long double.
8361         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
8362         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
8363         * math/auto-libm-test-in: Do not mark underflow exceptions as
8364         possibly missing for bug 15319.  Add more tests of atan2.
8365         * math/auto-libm-test-out: Regenerated.
8366         * math/libm-test.inc (casin_test_data): Do not mark underflow
8367         exceptions as possibly missing for bug 15319.
8368         (casinh_test_data): Likewise.
8369         * sysdeps/i386/fpu/libm-test-ulps: Update.
8371 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
8373         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
8374         * sysdeps/mips/bits/endian.h: Fix comments.
8376 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
8378         [BZ #17996]
8379         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
8380         (hdestroy_r): Likewise.
8381         (hsearch_r): Likewise.
8382         (__hcreate_r): Declare and use libc_hidden_proto.
8383         (__hdestroy_r): Likewise.
8384         (__hsearch_r): Likewise.
8385         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
8386         (hcreate): Call __hcreate_r instead of hcreate_r.
8387         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
8388         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
8389         as weak alias of __hcreate_r.
8390         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
8391         __hdestroy_r.
8392         (hsearch_r): Rename to __hsearch_r and define as weak alias of
8393         __hsearch_r.
8394         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
8395         Remove variable.
8396         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8397         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8398         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8399         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8401 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
8403         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
8404         arena_lock into a single arena_get.
8406 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
8408         * dl-reloc.c: Inlucde libc-internal.h.
8409         (_dl_try_allocate_static_tls): Call ALIGN_UP.
8410         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
8411         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
8412         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
8413         (grow_heap): Likewise.
8414         * malloc/malloc.c: Include libc-internal.h.
8415         (do_check_malloc): Call powerof2.
8416         (sysmalloc): Use pagesize. Call ALIGN_UP.
8417         (systrim): Use pagesize.
8418         (mremap_chunk): Use pagesize. Call ALIGN_UP.
8419         (__libc_valloc): Use pagesize.
8420         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
8422 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
8424         [BZ #17991]
8425         * include/sys/resource.h (__getrlimit64): Declare.  Use
8426         libc_hidden_proto.
8427         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
8428         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
8429         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
8430         getrlimit64.
8431         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
8432         __getrlimit64.
8433         [!getrlimit64] (getrlimit64): Define as weak alias of
8434         __getrlimit64.  Use libc_hidden_weak.
8435         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
8436         using __getrlimit64 not __new_getrlimit64.
8437         (__GI_getrlimit64): Likewise.
8438         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
8439         Likewise.
8440         (__GI_getrlimit64): Likewise.
8441         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
8442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
8443         (getrlimit): Add __getrlimit64 alias.
8444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
8445         Likewise.
8446         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
8447         Remove variable.
8448         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8449         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8451 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
8453         * libio/fileops.c: Add missing sys/mman.h
8454         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
8456 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
8458         * manual/math.texi (Errors in Math Functions): Clarify goals
8459         regarding inexact and underflow exceptions.
8461 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
8463         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
8464         * sysdeps/mips/memset.S: Ditto.
8466 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
8468         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
8470 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8472         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
8473         (__v1longjmp): Remove versioned symbol.
8474         (__v1siglongjmp): Remove alias and versioned symbol.
8475         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
8476         (__v2siglongjmp): Likewise.
8478 2015-02-16  Torvald Riegel  <triegel@redhat.com>
8480         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
8482 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
8484         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
8486 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
8488         [BZ #17987]
8489         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
8490         zero result does not depend on the sign resulting from
8491         subtraction.
8492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8493         Likewise.
8494         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8495         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8496         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8497         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8498         * math/libm-test.inc (remquo_test_data): Add more tests.
8500 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
8502         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
8503         Problem reported by J William Piggott.
8505 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
8507         [BZ #17978]
8508         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
8509         products 4 * y and 2 * y where those would overflow.
8510         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8511         Likewise.
8512         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
8513         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
8514         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8515         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
8516         * math/libm-test.inc (remquo_test_data): Add more tests.
8518         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
8520         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
8521         [defined _COMPILING_NEWLIB].
8522         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
8523         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
8525         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
8526         [!defined __mips_isa_rev || __mips_isa_rev < 6].
8528 2015-02-16  Torvald Riegel  <triegel@redhat.com>
8530         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
8531         acquired.
8533 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
8535         [BZ #17792]
8536         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
8537         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
8538         HOST_STACK_END_ADDR): Likewise.
8540 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
8542         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
8543         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
8544         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
8546 2015-02-13  Roland McGrath  <roland@hack.frob.com>
8548         * sysdeps/generic/c++-types.data: New file.
8549         * sysdeps/generic/ld.abilist: New file.
8550         * sysdeps/generic/libBrokenLocale.abilist: New file.
8551         * sysdeps/generic/libanl.abilist: New file.
8552         * sysdeps/generic/libc.abilist: New file.
8553         * sysdeps/generic/libcrypt.abilist: New file.
8554         * sysdeps/generic/libdl.abilist: New file.
8555         * sysdeps/generic/libm.abilist: New file.
8556         * sysdeps/generic/libpthread.abilist: New file.
8557         * sysdeps/generic/libresolv.abilist: New file.
8558         * sysdeps/generic/librt.abilist: New file.
8560 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
8562         [BZ #17569]
8563         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
8564         Compute absolute value of x as modified by fmod, not original
8565         value of x.
8566         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
8567         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
8568         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
8569         RUN_TEST_ffI_f1_mod8.
8570         (remquo_test_data): Add more tests.
8572 2015-02-13  Roland McGrath  <roland@hack.frob.com>
8574         * sysdeps/init_array/pt-crti.S: New file.
8576 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
8578         [BZ #17967]
8579         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
8580         __builtin_fmaf instead of relying on contraction of a * b + c.
8582 2015-02-12  J William Piggott  <elseifthen@gmx.com>
8584         [BZ #17969]
8585         * manual/time.texi: correct the zoneinfo path in the TZ Variable
8586         node.
8588 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
8590         [BZ #17964]
8591         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
8592         __builtin_fma instead of relying on contraction of a * b + c.
8594 2015-02-12  Roland McGrath  <roland@hack.frob.com>
8596         * Makeconfig (ASFLAGS): Add -Werror=undef.
8597         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
8598         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
8599         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
8601         * Makeconfig (after-link): New variable.
8602         (+link-pie, +link-pie-tests): Use it.
8603         (+link-static, +link-static-tests): Likewise.
8604         (+link, +link-tests): Likewise.
8605         * Makerules (build-module, build-module-asneeded): Likewise.
8606         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
8607         Likewise.
8608         * elf/Makefile ($(objpfx)ld.so): Likewise.
8610 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
8612         [BZ #17965]
8613         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
8614         both struct timeval and struct timespec.
8616 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
8618         [BZ #16560]
8619         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8620         and redefine.
8621         (__ieee754_exp2l): Do not multiply small fractional parts by
8622         M_LN2l.
8623         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
8624         small argument.
8625         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
8626         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
8627         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
8628         * math/auto-libm-test-in: Add more tests of exp2.
8629         * math/auto-libm-test-out: Regenerated.
8631 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8633         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
8634         unaligned path.
8636 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8638         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
8639         little endian.
8641 2015-02-12  Andreas Schwab  <schwab@suse.de>
8643         [BZ #15790]
8644         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
8645         Filter out elision flags from value returned in kind.
8646         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
8647         * nptl/tst-pthread-mutexattr.c: New file.
8649 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8651         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
8652         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
8653         into gnu-gnu, and update comment to refer to abi-tags.
8655 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
8657         [BZ #15467]
8658         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
8659         (__sincos): Set errno to EDOM for infinite argument.
8660         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
8661         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8662         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
8663         (__sincosl): Set errno to EDOM for infinite argument.
8664         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
8665         (__sincosl): Set errno to EDOM for infinite argument.
8666         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
8667         (__sincosl): Set errno to EDOM for infinite argument.
8668         * math/libm-test.inc (sincos_test_data): Test errno setting.
8670 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
8672         * string/strxfrm_l.c: Remove #define STRCMP.
8673         * string/strcoll_l.c: Remove #define STRLEN.
8674         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
8675         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
8677 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
8679         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
8680         * sysdeps/mips/mips32/sfp-machine.h: ... here.
8681         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
8682         * sysdeps/mips/mips64/Makefile: ... here.
8683         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
8684         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
8685         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
8686         * sysdeps/mips/mips64/sfp-machine.h: ... here.
8687         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
8688         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
8689         * sysdeps/mips/mips64/n64/Implies: Likewise.
8691 2015-02-10  Roland McGrath  <roland@hack.frob.com>
8693         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
8694         <sys/time.h>, <string.h>, and <errno.h>.
8695         (dest_offset, dest_address, value, zero): Remove unused variables.
8696         (ldouble): Remove typedef.
8697         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
8698         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
8699         1).  Fix code style.
8700         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
8701         (check): Function removed.
8702         (CHECK): New macro.
8703         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
8704         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
8705         Don't call set_sigaction_FP and remove_sigaction_FP here.
8706         (ldouble_test): Just use 'long double' as macro argument, no need for
8707         the 'ldouble' typedef.
8708         (do_test): Set up SIGFPE handler at start, using plain signal rather
8709         than sigaction.  Fix code style.
8711 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
8713         [BZ #17949]
8714         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
8715         jump label.
8717 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
8719         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
8720         * sysdeps/powerpc/powerpc32/configure: Regenerated.
8722         * sysdeps/powerpc/configure.ac: Remove file.
8723         * sysdeps/powerpc/configure: Likewise.
8725         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8726         [sysdep_routines]: Remove wordcopy-power6 object.
8727         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8728         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
8729         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
8730         (__memmove_ppc32): Likewise.
8731         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
8732         file.
8733         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
8734         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
8735         Remove preprocessor.
8737         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
8738         [sysdep_routines]: Remove wide chars objects.
8739         [wcsmbs]: New rule for wide char objects.
8741         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8742         Remove wordcopy-power6 obejct.
8743         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
8744         Use local call for wordcopy and memcpy symbols.
8745         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
8746         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
8747         implementation for loader.
8748         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
8750         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8751         Remove wordcopy-power7 object.
8752         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
8753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
8754         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
8755         (_wordcopy_fwd_dest_aligned): Likewise.
8756         (_wordcopy_bwd_aligned): Likewise.
8757         (_wordcopy_bwd_dest_aligned): Likewise.
8759         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
8760         Rewrite to call __memmove_ppc instead of include default
8761         implementation.
8763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8764         Remove wide chars objects.
8765         [wcsmbs]: New rule for wide char objects.
8767 2015-02-09  Andreas Schwab  <schwab@suse.de>
8769         [BZ #17912]
8770         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
8771         in terms of __O_DIRECTORY.
8773 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8775         * time/getdate.c: Include <stdbool.h>.
8776         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
8777         call PTR_MANGLE.
8778         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
8779         PTR_DEMANGLE.
8781 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
8783         Add ersatz _Static_assert on older C hosts
8784         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
8785         pre-C11 C platform that is not known to support _Static_assert.
8787 2015-02-07  Richard Braun  <rbraun@sceen.net>
8789         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
8790         sigstate.
8791         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
8793 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8795         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
8796         priority against unexistent AIO_PRIO_DELTA_MAX.
8797         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
8798         instead of int.
8799         * misc/fchflags.c (fchflags): Likewise.
8800         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
8801         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
8802         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
8803         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
8804         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
8805         Declare macros.
8806         [__USE_MISC] (chflags, fchflags): Declare functions.
8807         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
8808         EINVAL when nfds is greater than FD_SETSIZE.
8809         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
8810         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
8811         45.
8812         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
8813         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
8814         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
8815         MACH_RCV_TIMED_OUT.
8816         * hurd/hurd/signal.h (_hurd_self_sigstate,
8817         _hurd_critical_section_lock, _hurd_critical_section_unlock):
8818         Explicit casts from void *.
8819         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
8820         * abi-tags: Rename gnu-gnu os into gnu.
8822         [BZ #4719]
8823         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
8824         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
8825         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
8826         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
8827         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
8828         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
8830         [BZ #17944]
8831         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
8832         duplicates ADDR->sun_path with sockaddr LEN limitation.
8833         * sysdeps/mach/hurd/connect.c: Include <string.h>
8834         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
8835         * sysdeps/mach/hurd/sendmsg.c: Likewise.
8836         * sysdeps/mach/hurd/sendto.c: Likewise.
8837         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
8838         implementing it by hand.
8840 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8842         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
8843         Use sfi_breg on ldr.
8844         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
8845         Likewise.
8847         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
8848         it's defined.
8849         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
8850         Test SIGSETXID only if it's defined.
8852         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
8854         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
8855         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
8857         * nptl/tst-align2.c: Moved ...
8858         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
8859         * nptl/Makefile (tests): Remove tst-align2.
8860         * sysdeps/unix/sysv/linux/Makefile
8861         [$(subdir) = nptl] (tests): Add tst-align-clone.
8862         * nptl/tst-getpid1.c: Moved ...
8863         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
8864         * nptl/tst-getpid2.c: Moved ...
8865         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
8866         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
8867         * sysdeps/unix/sysv/linux/Makefile
8868         [$(subdir) = nptl] (tests): ... here.
8869         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
8870         * sysdeps/unix/sysv/linux/Makefile
8871         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
8873         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
8874         Drop trailing \n from perror argument.  Use return rather than exit.
8876         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
8877         on [SA_SIGINFO].
8878         * nptl/tst-cancel21.c (do_test): Likewise.
8879         * debug/tst-backtrace6.c: Include <signal.h> first thing.
8880         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
8881         [!SA_SIGINFO]: Make it a stub test.
8883         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
8884         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
8886         * posix/tst-getlogin.c: Move to ...
8887         * login/tst-getlogin.c: ... here.
8888         * posix/Makefile (tests): Move tst-getlogin to ...
8889         * login/Makefile (tests): ... here.
8891         * libio/tst-atime.c (do_test): Move local variables SV and E
8892         inside [ST_NOATIME] conditional.
8894         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
8896         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
8898         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
8899         (wait_code): New function replaces macro.
8900         Call nanosleep rather than syscall.
8902         * nptl/pt-system.c: Rewritten.  Put everything under
8903         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8904         Use IFUNC to redirect when possible.
8906         * nptl/pt-longjmp.c: Rewritten.  Put everything under
8907         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8908         Use IFUNC to redirect when possible.
8910         * nptl/pt-fork.c: Rewritten.  Put everything under
8911         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
8912         Use IFUNC to redirect when possible.
8913         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
8915         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
8916         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
8917         unconditionally nowadays.  This included the only reference to
8918         __vdso_clock_gettime that appears outside libc proper.
8919         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
8920         Remove version set (containing only __vdso_clock_gettime).
8921         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
8922         Add attribute_hidden.
8923         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
8924         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
8925         libc_hidden_data_def.
8926         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
8927         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
8929         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
8930         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
8931         setrpcent, and getrpcport to ...
8932         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
8933         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
8934         getrpcbynumber_r, and getrpcent_r to ...
8935         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
8936         * inet/getrpcbyname.c: Moved ...
8937         * sunrpc/getrpcbyname.c: ... here.
8938         * inet/getrpcbyname_r.c: Moved ...
8939         * sunrpc/getrpcbyname_r.c: ... here.
8940         * inet/getrpcbynumber.c: Moved ...
8941         * sunrpc/getrpcbynumber.c: ... here.
8942         * inet/getrpcbynumber_r.c: Moved ...
8943         * sunrpc/getrpcbynumber_r.c: ... here.
8944         * inet/getrpcent.c: Moved ...
8945         * sunrpc/getrpcent.c: ... here.
8946         * inet/getrpcent_r.c: Moved ...
8947         * sunrpc/getrpcent_r.c: ... here.
8948         * inet/Makefile (routines): Move those to ...
8949         * sunrpc/Makefile (routines): ... here.
8950         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
8951         the $(subdirs) list.
8952         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
8953         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
8954         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
8955         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
8957         * elf/Makefile (routines): Include $(all-dl-routines), not just
8958         $(dl-routines).
8959         (rtld-routines): Likewise.  Use = rather than :=.
8960         * sysdeps/aarch64/Makefile [$(subdir) = elf]
8961         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
8962         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
8963         * sysdeps/arm/Makefile: Likewise.
8964         * sysdeps/i386/Makefile: Likewise.
8965         * sysdeps/x86_64/Makefile: Likewise.
8966         * sysdeps/hppa/Makefile [$(subdir) = elf]
8967         (sysdep_routines, sysdep-rtld-routines): Don't add
8968         $(sysdep-dl-routines) to these.
8969         * sysdeps/ia64/Makefile: Likewise.
8970         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
8971         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
8972         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
8973         Don't add dl-static to these; sysdep-dl-routines alone is enough.
8974         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
8975         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
8976         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
8977         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
8978         * sysdeps/powerpc/Makefile [$(subdir) = elf]
8979         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
8980         these; sysdep-dl-routines alone is enough.
8982 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
8984         [BZ #17932]
8985         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
8986         where multiplication results in zero and third argument is finite
8987         and nonzero.
8988         * math/auto-libm-test-in: Add more tests of fma.
8989         * math/auto-libm-test-out: Regenerated.
8991         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
8992         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
8993         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
8994         (_FP_CMP_EQ): Likewise.
8995         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
8997         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
8998         extra argument CHECK_NAN.  Redefine as wrapper around
8999         _FP_EXTEND_CNAN.
9001 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
9003         * version.h (RELEASE): Set to "stable".
9004         (VERSION): Set to "2.21"
9005         * include/features.h (__GLIBC_MINOR__): Set to 21.
9007         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
9009 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
9010             Paul Eggert  <eggert@cs.ucla.edu>
9012         [BZ #16618]
9013         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
9014         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
9015         size in bytes. Store needed elements in wpmax. Use needed size
9016         in bytes for extend_alloca.
9018 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
9020         * manual/install.texi: Latest tested versions are GCC 4.9.2,
9021         binutls 2.25, and texinfo 5.2.
9022         * INSTALL: Regenerate.
9023         * sysdeps/nios2/configure: Regenerate.
9024         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
9025         * manual/contrib.texi: Update.
9026         * po/be.po: Update.
9027         * po/bg.po: Update.
9028         * po/ca.po: Update.
9029         * po/cs.po: Update.
9030         * po/da.po: Update.
9031         * po/de.po: Update.
9032         * po/el.po: Update.
9033         * po/eo.po: Update.
9034         * po/es.po: Update.
9035         * po/fi.po: Update.
9036         * po/fr.po: Update.
9037         * po/gl.po: Update.
9038         * po/hr.po: Update.
9039         * po/hu.po: Update.
9040         * po/ia.po: Update.
9041         * po/id.po: Update.
9042         * po/it.po: Update.
9043         * po/ja.po: Update.
9044         * po/ko.po: Update.
9045         * po/lt.po: Update.
9046         * po/nb.po: Update.
9047         * po/nl.po: Update.
9048         * po/pl.po: Update.
9049         * po/pt_BR.po: Update.
9050         * po/ru.po: Update.
9051         * po/rw.po: Update.
9052         * po/sk.po: Update.
9053         * po/sl.po: Update.
9054         * po/sv.po: Update.
9055         * po/tr.po: Update.
9056         * po/uk.po: Update.
9057         * po/vi.po: Update.
9058         * po/zh_CN.po: Update.
9059         * po/zh_TW.po: Update.
9061         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
9062         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
9063         * sysdeps/hppa/dl-irel.h: Remove #warning.
9064         * sysdeps/hppa/entry.h: Provide prototype for
9065         __canonicalize_funcptr_for_compare and cast argument.
9066         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
9067         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
9068         * sysdeps/hppa/sotruss-lib.c: New file.
9069         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
9070         (atomic_compare_and_exchange_val_acq): Use __typeof__.
9071         (atomic_compare_and_exchange_bool_acq): Likewise.
9072         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
9073         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
9075         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
9076         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
9077         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
9079 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
9081         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
9082         called function in non-PIC case.
9084 2015-01-31  David S. Miller  <davem@davemloft.net>
9086         * sysdeps/sparc/sparc32/bits/atomic.h
9087         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
9088         unlock not after it.
9089         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
9090         volatile register usage warnings from the compiler.
9092         * sysdeps/sparc/nptl/sem_init.c: Delete.
9093         * sysdeps/sparc/nptl/sem_post.c: Delete.
9094         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
9095         * sysdeps/sparc/nptl/sem_wait.c: Delete.
9096         * sysdeps/sparc/sparc32/sem_init.c: New file.
9097         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
9098         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
9099         padding explicitly initialized.
9100         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
9101         padding for in-semaphore spinlock.
9102         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
9103         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
9104         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
9105         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
9106         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
9107         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
9108         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
9109         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
9110         version.
9111         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
9112         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
9114 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9116         [BZ #17801]
9117         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9118         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
9119         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
9120         New.
9121         (index_AVX_Fast_Unaligned_Load): Likewise.
9122         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
9123         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
9124         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
9125         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
9126         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
9127         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
9128         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
9129         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
9130         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
9132 2015-01-29  Andreas Schwab  <schwab@suse.de>
9134         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
9136 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
9138         [BZ #17892]
9139         * nscd/nscd_stat.c (send_stats): Initialize DATA.
9141 2015-01-28  Martin Sebor  <msebor@redhat.com>
9143         * math/README.libm-test: Clarify. Add "How to read the test output."
9145 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
9147         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
9148         Define to 0.
9150 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
9152         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
9153         (__HAVE_64B_ATOMICS): Define to 0.
9155 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9157         [BZ #17885]
9158         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
9159         value to set as new flag.
9161         [BZ #16576]
9162         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
9163         and use _ARCH_PPCSQ instead.
9164         (__ieee754_sqrt): Likewise.
9165         (__ieee754_sqrtf): Likewise.
9166         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
9167         _ARCH_PPCSQ is defined.
9168         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
9169         fsqrt instruction.
9170         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
9171         _ARCH_PPCSQ is defined.
9172         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
9173         fsqrts instruction.
9174         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
9176 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9178         * iconv/loop.c: Suppress array out of bound warning caused by GCC
9179         bug (GCC BZ #64739).
9181 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
9183         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
9184         Mark _retval as used.
9185         (lll_futex_wake_unlock): Likewise.
9186         (lll_futex_timed_wait_requeue_pi): Likewise.
9188         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
9189         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
9190         register variables.
9192         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
9193         libm_hidden_def.
9195         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
9196         (__bswap_64): Mark as __always_inline.
9198 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
9200         [BZ #15378]
9201         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
9202         when none of the search directories exist.
9204 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
9206         [BZ #17869]
9207         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
9208         power8 in .machine directive.
9210         [BZ #17868]
9211         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
9212         set dependency from opd value.
9214 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9217         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
9218         architecture.
9220 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
9222         [BZ #17870]
9223         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
9224         with uint64_t.
9225         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
9226         (uint64_t) 1.
9227         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
9228         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
9229         Replace 1UL with (uint64_t) 1.
9230         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
9231         int with uint64_t.
9233 2015-01-23  Roland McGrath  <roland@hack.frob.com>
9235         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
9236         (if_freenameindex): Likewise.
9238         * resource/getrlimit64.c: Add missing libc_hidden_def.
9240 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
9242         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
9243         __label__.
9244         (_FP_FMA): Likewise.
9245         (_FP_TO_INT_ROUND): Likewise.
9246         (_FP_FROM_INT): Likewise.
9248 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9250         [BZ #16418]
9251         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
9252         Make code racy and cancel safe.
9254 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
9256         * sysdeps/arm/unwind-resume.h: Fix copyright year.
9257         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
9258         attribution.
9260         * pwd/tst-getpw.c: Rewrite.
9262         [BZ #17702]
9263         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
9264         (modules-names): Add moddummy1 and moddummy2.
9265         ($(objpfx)tst-rec-dlopen): Define.
9266         * dlfcn/moddummy1.c: New file.
9267         * dlfcn/moddummy2.c: New file.
9268         * dlfcn/tst-rec-dlopen.c: New file.
9269         * elf/dl-cache.c (_dl_load_cache_lookup):
9270         Return char*. Copy result with alloca/strcpy/strdup.
9271         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
9272         returns char*. Free cached. If not saving realname
9273         free cached.
9274         * elf/dl-open.c (dl_open_worker): Do not assert that
9275         _r_debug->r_state is RT_CONSISTENT.
9276         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
9277         returns char*.
9279 2015-01-21  Torvald Riegel  <triegel@redhat.com>
9280             Carlos O'Donell  <carlos@redhat.com>
9282         [BZ #12674]
9283         * nptl/sem_waitcommon.c: New file.
9284         * nptl/sem_wait.c: Include sem_waitcommon.c.
9285         (__sem_wait_cleanup, do_futex_wait): Remove.
9286         (__new_sem_wait): Adapt.
9287         (__new_sem_trywait): New function.
9288         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
9289         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
9290         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
9291         (sem_timedwait): Adapt.
9292         * nptl/sem_post.c (__new_sem_post): Adapt.
9293         (futex_wake): New function.
9294         (__old_sem_post): Add release MO fence.
9295         * nptl/sem_open.c (sem_open): Adapt.
9296         * nptl/sem_init.c (__new_sem_init): Adapt.
9297         (futex_private_if_supported): New function.
9298         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
9299         (__old_sem_getvalue): Add using previous code.
9300         * sysdeps/nptl/internaltypes.h: Adapt.
9301         * nptl/tst-sem13.c (do_test): Adapt.
9302         * nptl/tst-sem11.c (main): Adapt.
9303         * nptl/sem_trywait.c: Remove.
9304         * nptl/DESIGN-sem.txt: Remove.
9305         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
9306         (gen-as-const-headers): Remove structsem.sym.
9307         * nptl/structsem.sym: Remove.
9308         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
9309         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
9310         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
9311         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
9312         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
9313         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
9314         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
9315         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
9316         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
9317         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
9318         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
9319         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
9320         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
9321         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
9322         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
9323         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
9324         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
9325         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
9326         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
9327         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
9328         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
9329         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
9331 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
9333         * INSTALL: Regenerated.
9335         * po/libc.pot: Regenerated.
9337 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
9338             Sandra Loosemore  <sandra@codesourcery.com>
9339             Andrew Jenner  <andrew@codesourcery.com>
9340             Joseph Myers  <joseph@codesourcery.com>
9341             Nathan Sidwell  <nathan@codesourcery.com>
9343         * NEWS: Mention new Nios II port.
9344         * sysdeps/nios2/Implies: New file.
9345         * sysdeps/nios2/Makefile: New file.
9346         * sysdeps/nios2/Subdirs: New file.
9347         * sysdeps/nios2/Versions: New file.
9348         * sysdeps/nios2/__longjmp.S: New file.
9349         * sysdeps/nios2/abort-instr.h: New file.
9350         * sysdeps/nios2/backtrace.c: New file.
9351         * sysdeps/nios2/bits/endian.h: New file.
9352         * sysdeps/nios2/bits/fenv.h: New file.
9353         * sysdeps/nios2/bits/link.h: New file.
9354         * sysdeps/nios2/bits/setjmp.h: New file.
9355         * sysdeps/nios2/bsd-_setjmp.S: New file.
9356         * sysdeps/nios2/bsd-setjmp.S: New file.
9357         * sysdeps/nios2/configure: New generated file.
9358         * sysdeps/nios2/configure.ac: New file.
9359         * sysdeps/nios2/crti.S: New file.
9360         * sysdeps/nios2/crtn.S: New file.
9361         * sysdeps/nios2/dl-init.c: New file.
9362         * sysdeps/nios2/dl-machine.h: New file.
9363         * sysdeps/nios2/dl-sysdep.h: New file.
9364         * sysdeps/nios2/dl-tls.h: New file.
9365         * sysdeps/nios2/dl-trampoline.S: New file.
9366         * sysdeps/nios2/gccframe.h: New file.
9367         * sysdeps/nios2/gmp-mparam.h: New file.
9368         * sysdeps/nios2/jmpbuf-offsets.h: New file.
9369         * sysdeps/nios2/jmpbuf-unwind.h: New file.
9370         * sysdeps/nios2/ldsodefs.h: New file.
9371         * sysdeps/nios2/libc-tls.c: New file.
9372         * sysdeps/nios2/libm-test-ulps: New file.
9373         * sysdeps/nios2/machine-gmon.h: New file.
9374         * sysdeps/nios2/math-tests.h: New file.
9375         * sysdeps/nios2/math_private.h: New file.
9376         * sysdeps/nios2/memusage.h: New file.
9377         * sysdeps/nios2/nptl/Makefile: New file.
9378         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
9379         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
9380         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
9381         * sysdeps/nios2/nptl/pthreaddef.h: New file.
9382         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
9383         * sysdeps/nios2/nptl/tls.h: New file.
9384         * sysdeps/nios2/preconfigure: New file.
9385         * sysdeps/nios2/s_fma.c: New file.
9386         * sysdeps/nios2/s_fmaf.c: New file.
9387         * sysdeps/nios2/setjmp.S: New file.
9388         * sysdeps/nios2/sfp-machine.h: New file.
9389         * sysdeps/nios2/sotruss-lib.c: New file.
9390         * sysdeps/nios2/stackguard-macros.h: New file.
9391         * sysdeps/nios2/stackinfo.h: New file.
9392         * sysdeps/nios2/start.S: New file.
9393         * sysdeps/nios2/sysdep.h: New file.
9394         * sysdeps/nios2/tls-macros.h: New file.
9395         * sysdeps/nios2/tst-audit.h: New file.
9396         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
9397         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
9398         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
9399         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
9400         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
9401         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
9402         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
9403         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
9404         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
9405         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
9406         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
9407         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
9408         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
9409         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
9410         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
9411         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
9412         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
9413         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
9414         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
9415         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
9416         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
9417         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
9418         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
9419         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
9420         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
9421         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
9422         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
9423         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
9424         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
9425         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
9426         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
9427         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
9428         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
9429         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
9430         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
9431         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
9432         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
9433         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
9434         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
9435         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
9436         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
9437         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
9438         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
9439         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
9441 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9443         [BZ #17844]
9444         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
9445         (getutent): Use weak_alias in non SHARED case
9446         and default_symbol_version in SHARED case.
9447         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
9448         (getutent_r, pututline): Likewise.
9449         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
9450         (getutid): Likewise.
9451         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
9452         (getutid_r): Likewise.
9453         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
9454         (getutline): Likewise.
9455         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
9456         (getutline_r): Likewise.
9457         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
9458         (updwtmp): Likewise.
9460 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
9462         [BZ #17848]
9463         * sysdeps/s390/s390-32/memcmp.S
9464         (memcmp_g5): Rename to __memcmp_g5.
9465         * sysdeps/s390/s390-32/memcpy.S
9466         (memcpy_g5): Rename to __memcpy_g5.
9467         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9468         (memcpy_mvcle) Rename to __memcpy_mvcle.
9469         * sysdeps/s390/s390-32/memset.S
9470         (memset_g5): Rename to __memset_g5.
9471         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
9472         (IFUNC_RESOLVE): Prefix ifunc-resolve function
9473         and use prefixed functions.
9474         * sysdeps/s390/s390-32/multiarch/memcmp.S
9475         (memcmp_z196): Rename to __memcmp_z196.
9476         (memcmp_z10): Rename to __memcmp_z10.
9477         (memcmp): Set alias to __memcmp_g5.
9478         (bcmp): Set alias to __memcmp_g5.
9479         * sysdeps/s390/s390-32/multiarch/memcpy.S
9480         (memcpy_z196): Rename to __memcpy_z196.
9481         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9482         (memcpy_z10): Rename to __memcpy_z10.
9483         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9484         (memcpy): Set alias to __memcpy_g5.
9485         * sysdeps/s390/s390-32/multiarch/memset.S
9486         (memset_z196): Rename to __memset_z196.
9487         Jump to __memset_mvcle instead of memset_mvcle.
9488         (memset_z10): Rename to __memset_z10.
9489         Jump to __memset_mvcle instead of memset_mvcle.
9490         (memset_mvcle) Rename to __memset_mvcle.
9491         (memset): Set alias to __memset_g5.
9492         * sysdeps/s390/s390-64/memcmp.S
9493         (memcmp_z900): Rename to __memcmp_z900.
9494         * sysdeps/s390/s390-64/memcpy.S
9495         (memcpy_z900): Rename to __memcpy_z900.
9496         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9497         (memcpy_mvcle) Rename to __memcpy_mvcle.
9498         * sysdeps/s390/s390-64/memset.S
9499         (memset_z900): Rename to __memset_z900.
9500         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
9501         (IFUNC_RESOLVE): Prefix ifunc-resolve function
9502         and use prefixed functions.
9503         * sysdeps/s390/s390-64/multiarch/memcmp.S
9504         (memcmp_z196): Rename to __memcmp_z196.
9505         (memcmp_z10): Rename to __memcmp_z10.
9506         (memcmp): Set alias to __memcmp_z900.
9507         (bcmp): Set alias to __memcmp_z900.
9508         * sysdeps/s390/s390-64/multiarch/memcpy.S
9509         (memcpy_z196): Rename to __memcpy_z196.
9510         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9511         (memcpy_z10): Rename to __memcpy_z10.
9512         Jump to __memcpy_mvcle instead of memcpy_mvcle.
9513         (memcpy): Set alias to __memcpy_z900.
9514         * sysdeps/s390/s390-64/multiarch/memset.S
9515         (memset_z196): Rename to __memset_z196.
9516         Jump to __memset_mvcle instead of memset_mvcle.
9517         (memset_z10): Rename to __memset_z10.
9518         Jump to __memset_mvcle instead of memset_mvcle.
9519         (memset_mvcle) Rename to __memset_mvcle.
9520         (memset): Set alias to __memset_z900.
9522 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
9524         [BZ #17748]
9525         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
9526         __fesetenv instead of fesetenv.
9528 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9530         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
9531         macro.
9533 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9535         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
9536         regression on LE.
9538         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
9539         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
9540         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9541         strncmp-power8 object.
9542         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9543         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
9544         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
9545         * NEWS: Update.
9547 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9548             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9550         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
9551         trailing byte check.
9553 2015-01-13  David S. Miller  <davem@davemloft.net>
9555         * include/signal.h (__sigreturn): Guard with __USE_MISC.
9557 2015-01-13  Roland McGrath  <roland@hack.frob.com>
9559         * login/logout.c (logout): Use memset rather than bzero.
9560         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
9561         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
9562         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
9563         (_gethtbyaddr): Likewise.
9564         * locale/programs/simple-hash.c (bcopy): Macro removed.
9566 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9568         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9569         Add strcmp-power8 object.
9570         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9571         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
9572         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
9573         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
9574         __strcmp_power8 implementation.
9575         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
9576         * NEWS: Update.
9578         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
9579         Add strncpy-power8 and stpncpy-power8 objects.
9580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9581         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
9582         implementations.
9583         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
9584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
9585         __stpncpy_power8 implementation.
9586         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
9587         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
9588         __strncpy_power8 implementation.
9589         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
9590         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
9591         * NEWS: Update.
9593         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
9594         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
9595         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
9597         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9598         strncat-power8 object.
9599         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
9600         __strcat_power8 implementation.
9601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9602         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
9603         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
9604         optimized strcat for power8.
9606         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
9607         strcpy-power8 and stpcpy-power8 objects.
9608         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9609         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
9610         implementations.
9611         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
9612         multiarch stpcpy implementation for POWER8.
9613         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
9614         multiarch strcpy implementation for POWER8.
9615         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
9616         __strcpy_power8 function.
9617         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
9618         stpcpy for POWER8.
9619         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
9620         strcpy for POWER8.
9621         * NEWS: Update.
9623 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
9625         [BZ #16009]
9626         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
9627         weights and rules. Use do_xfrm_cached if data fits in cache,
9628         do_xfrm otherwise.  Moved former main loop to...
9629         * (do_xfrm_cached): New function.
9630         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
9631         find_idx, find_position and stack_push.
9632         * (find_idx): New function.
9633         * (find_position): Likewise.
9634         * localedata/sort-test.sh: Added test run for do_xfrm.
9635         * localedata/xfrm-test.c (main): Added command line option
9636         -nocache to run the test with strings that are too large for
9637         the STRXFRM cache.
9639 2015-01-13  Torvald Riegel  <triegel@redhat.com>
9641         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
9642         variable to lll_futex_wake call, not the value itself.
9644 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
9646         [BZ #17803]
9647         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
9648         twom64.  Adjust value to 0x1p-64L.
9649         (__scalblnl): Only return standard underflowing result for K <=
9650         -64 not K <= -63; adjust exponent for underflowing result by 64
9651         not 63.
9652         * math/libm-test.inc (scalbn_test_data): Add more tests.
9653         (scalbln_test_data): Likewise.
9655         [BZ #17834]
9656         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
9657         0x1p63L.
9658         (__scalblnl): Get new exponent of adjusted subnormal value from ES
9659         not HX.
9660         * math/libm-test.inc (scalbn_test_data): Add more tests.
9661         (scalbln_test_data): Likewise.
9663 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9664             Stefani Seibold  <stefani@seibold.net>
9666         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
9667         (sysdep_routines): Add dl-vdso here, ...
9668         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
9669         (sysdep_routines): ... not here.
9670         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
9671         fallback when vDSO is not presented.
9672         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
9673         Define with libc_hidden_proto/libc_hidden_data_def definitions.
9674         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
9675         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
9676         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
9677         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
9678         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
9679         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
9680         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
9681         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
9682         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
9683         fallback configurable symbol when vDSO is not available.
9684         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
9685         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
9686         be able to redefine fallback symbol when vDSO is not available.
9687         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
9688         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
9690 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9692         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
9693         (TLS_INIT_TP): Add tm_capable initialization.
9694         (TLS_DEFINE_INIT_TP): Likewise.
9695         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
9696         TCB.
9697         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
9698         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
9699         calculation.
9700         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
9701         transactoion is lock elision is built and TCB tm_capable is set.
9702         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
9703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9704         (INTERNAL_SYSCALL_NCS): Likewise.
9705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9706         (INTERNAL_SYSCALL_NCS): Likewise.
9707         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
9709         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
9710         for powerpc.
9711         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9712         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
9713         and remove it for 32 bits case.
9714         [pthread_rwlock_t] (__rwelision): New field for lock elision.
9715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
9716         initialization.
9717         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
9718         Disable lock elision with rdlocks if elision is not available.
9720         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
9721         (sysdep_routines): Add lock elision objects.
9722         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
9723         [pthread_mutex_t] (__spins): Rework to add lock elision field.
9724         [pthread_mutex_t] (__elision): Add field.
9725         [__PTHREAD_SPINS]: Adjust to init lock elision field.
9726         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
9727         elision definitions for powerpc.
9728         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
9729         implementation of lock elision for powerpc.
9730         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
9731         implementation of timed lock elision for powerpc.
9732         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
9733         implementation of trylock with lock elision for powerpc.
9734         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
9735         implementaion of unlock for lock elision for powerpc.
9736         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
9737         automatic enable lock elision for mutexes.
9738         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
9739         transaction execution definitions for powerpc.
9740         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
9741         definitions.
9742         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
9743         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
9744         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
9745         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
9746         * NEWS: Update.
9748 2015-01-09  Roland McGrath  <roland@hack.frob.com>
9750         * sysdeps/posix/shm-directory.c: Use <> rather than ""
9751         for #include of <shm-directory.h>.
9753 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
9755         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
9756         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
9758 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
9760         [BZ #17791]
9761         * NEWS: Mention bug fix.
9762         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
9763         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
9764         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
9766 2015-01-09  Torvald Riegel <triegel@redhat.com>
9768         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
9770 2015-01-09  Torvald Riegel <triegel@redhat.com>
9772         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
9774 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9776         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
9777         pointer and cast to uintptr_t.
9779 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9781         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
9782         removed.
9783         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
9785 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
9787         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
9788         of 0.
9790 2015-01-08  Roland McGrath  <roland@hack.frob.com>
9792         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
9793         <nptl/pthreadP.h> instead.
9794         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
9796         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
9797         already defined.
9798         [__SIGRTMIN] (init): Function removed.
9799         [__SIGRTMIN] (initialized): Variable removed.
9800         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
9801         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
9802         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
9803         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
9804         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
9805         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
9806         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
9807         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
9808         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
9809         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
9810         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
9811         * sysdeps/nptl/allocrtsig.c: New file.
9812         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
9813         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
9814         * sysdeps/generic/testrtsig.h: File removed.
9816         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
9817         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
9819         * nptl/nptl-init.c (pthread_functions): Conditionalize
9820         .ptr__nptl_setxid initialization on [SIGSETXID].
9822         * sysdeps/nptl/sys/procfs.h: New file.
9823         * nptl_db/Makefile (headers): Add it.
9824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
9826         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
9827         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
9828         * nptl/pthread_attr_setaffinity.c: Include it.
9829         * nptl/pthread_setattr_default_np.c: Likewise.
9830         * nptl/check-cpuset.h: New file.
9832 2015-01-08  Richard Henderson  <rth@redhat.com>
9834         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
9835         (CFLAGS-tst-execstack-prog.c): Likewise.
9836         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
9838 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
9839             Sandra Loosemore  <sandra@codesourcery.com>
9840             Andrew Jenner  <andrew@codesourcery.com>
9841             Joseph Myers  <joseph@codesourcery.com>
9842             Nathan Sidwell  <nathan@codesourcery.com>
9844         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
9845         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
9846         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
9847         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
9848         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
9849         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
9850         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
9851         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
9852         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
9853         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
9854         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
9855         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
9856         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
9857         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
9858         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
9859         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
9860         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
9862 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9864         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
9865         timespec struct member in syscall macro.
9866         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
9867         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
9868         first timeval struct member in syscall macro.
9869         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
9871 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
9873         [BZ #17748]
9874         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
9875         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
9876         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
9877         __feupdateenv and define as weak alias of __feupdateenv.  Use
9878         libm_hidden_weak.
9879         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
9880         libm_hidden_def.
9881         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
9882         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
9883         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
9884         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
9885         libm_hidden_def.
9886         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
9887         __feupdateenv and define as weak alias of __feupdateenv.  Use
9888         libm_hidden_weak.
9889         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
9890         libm_hidden_def.
9891         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
9892         __feupdateenv and define as weak alias of __feupdateenv.  Use
9893         libm_hidden_weak.
9894         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
9895         libm_hidden_def.
9896         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9897         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
9898         (__feupdateenv): Likewise.
9899         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
9900         __feupdateenv and define as weak alias of __feupdateenv.  Use
9901         libm_hidden_weak.
9902         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
9903         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
9904         libm_hidden_def.
9905         * sysdeps/tile/math_private.h (__feupdateenv): New inline
9906         function.
9907         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
9908         libm_hidden_def.
9909         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
9910         __feupdateenv instead of feupdateenv.
9911         (default_libc_feupdateenv_test): Likewise.
9912         (libc_feresetround_ctx): Likewise.
9914 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9916         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
9917         prototype.
9919 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
9921         * posix/regcomp.c (parse_bracket_exp): Initialize type to
9922         COLL_SYM in a couple of places to avoid uninitialized variable
9923         wanings on tilegx gcc 4.8.2.
9925 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9927         * sysdeps/aarch64/strcpy.S: New file.
9928         * sysdeps/aarch64/stpcpy.S: New file.
9929         * NEWS: Updated.
9931 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
9933         * sysdeps/aarch64/strrchr.S: New file.
9934         * NEWS: Updated.
9936 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
9938         [BZ #17658]
9939         * stdlib/setenv.c: Fix memory leak when setting large,
9940         duplicate string.
9942 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
9944         [BZ #17273]
9945         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
9946         and tabs from buffer before parsing fstab entry.
9947         * misc/tst-mntent.c (main): Add test for mount entry with
9948         trailing spaces and tabs.
9950 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
9952         [BZ #17748]
9953         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
9954         * math/fesetround.c (fesetround): Rename to __fesetround and
9955         define as weak alias of __fesetround.  Use libm_hidden_weak.
9956         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
9957         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
9958         * sysdeps/arm/fesetround.c (fesetround): Likewise.
9959         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
9960         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
9961         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
9962         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
9963         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
9964         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
9965         __fesetround_inline.
9966         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
9967         __fesetround_inline instead of __fesetround.
9968         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
9969         __fesetround and define as weak alias of __fesetround.  Use
9970         libm_hidden_weak.  Call __fesetround_inline instead of
9971         __fesetround.
9972         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
9973         __fesetround and define as weak alias of __fesetround.  Use
9974         libm_hidden_weak.
9975         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
9976         Likewise.
9977         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
9978         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
9979         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
9980         * sysdeps/tile/math_private.h (__fesetround): New inline function.
9981         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
9982         __fesetround and define as weak alias of __fesetround.  Use
9983         libm_hidden_weak.
9984         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
9985         __fesetround instead of fesetround.
9986         (default_libc_feholdexcept_setround): Likewise.
9987         (libc_feholdsetround_ctx): Likewise.
9988         (libc_feholdsetround_noex_ctx): Likewise.
9990         [BZ #17748]
9991         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
9992         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
9993         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
9994         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
9995         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
9996         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
9997         define as weak alias of __fesetenv.  Use libm_hidden_weak.
9998         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9999         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10000         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10001         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10002         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10003         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10004         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10005         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
10006         libm_hidden_def.
10007         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
10008         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
10009         Likewise.
10010         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
10011         define as weak alias of __fesetenv.  Use libm_hidden_weak.
10012         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
10013         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
10014         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
10015         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
10016         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
10017         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
10018         __fesetenv instead of fesetenv.
10019         (libc_feresetround_noex_ctx): Likewise.
10020         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10021         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
10022         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
10023         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10024         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10025         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10026         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
10027         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
10028         (__feupdateenv): Likewise.
10029         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10030         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10031         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10032         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
10034 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10036         [BZ #17806]
10037         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
10038         addresses have been freed.
10040 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
10042         * resolv/res_init.c (__res_vinit): Improve comments about nserv
10043         and nservall.
10045 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
10047         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
10048         Clean up check_pf allocation pattern. addresses
10050 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10052         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
10053         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
10054         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
10055         * nptl/pthread_exit.c (__pthread_exit): Likewise.
10056         * nptl/pthread_join.c (pthread_join): Likewise.
10057         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
10058         * sysdeps/posix/waitid.c (__waitid): Likewise.
10059         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
10060         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
10061         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
10062         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
10063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
10064         Likewise.
10065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
10066         (__libc_pread64): Likewise.
10067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
10068         (__libc_pwrite): Likewise.
10069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
10070         (__libc_pwrite64): Likewsie.
10071         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
10072         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
10073         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
10074         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
10075         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
10076         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
10077         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
10078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
10079         Likewise.
10080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
10081         (__libc_pread64): Likewise.
10082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
10083         Likewise.
10084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
10085         (__libc_pwrite64): Likewise.
10086         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
10087         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
10088         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
10089         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
10090         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
10091         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
10092         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
10093         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
10094         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
10095         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
10096         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
10097         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
10098         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
10099         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
10100         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
10101         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
10102         Likewise.
10104 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
10106         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
10107         (CFLAGS-test-double.c): Likewise.
10108         (CFLAGS-test-ldouble.c): Likewise.
10109         (CPPFLAGS-test-ifloat.c): Likewise.
10110         (CPPFLAGS-test-idouble.c): Likewise.
10111         (CPPFLAGS-test-ildoubl.c): Likewise.
10112         (CFLAGS-test-test-fenv.c): Remove variable.
10113         (CFLAGS-test-misc.c): Likewise.
10115 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
10117         [BZ #17797]
10118         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
10119         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
10120         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
10121         CLOCKS_PER_SEC == 1000000.
10122         * time/clocktest.c (main): Replace %ld with %jd and cast to
10123         intmax_t.
10125 2015-01-05  Roland McGrath  <roland@hack.frob.com>
10127         * sysdeps/generic/unwind-resume.h: New file.
10128         * sysdeps/gnu/unwind-resume.c: Include it.
10129         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
10130         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
10131         argument list.
10132         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
10133         global rather than static.
10134         (_Unwind_Resume): Update user.
10135         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
10136         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
10137         rather than static.  Add __attribute__ ((cold)).
10138         (_Unwind_Resume, __gcc_personality_v0): Update callers.
10139         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
10140         * sysdeps/arm/arm-unwind-resume.S: New file.
10141         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
10142         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
10143         * sysdeps/arm/Makefile [$(subdir) = csu]
10144         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
10145         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10146         Add rt-arm-unwind-resume.
10147         [$(subdir) = nptl]
10148         (libpthread-sysdep_routines, libpthread-shared-only-routines):
10149         Add pt-arm-unwind-resume.
10150         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
10151         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
10153 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10155         [BZ #17748]
10156         * include/fenv.h (__feholdexcept): Declare.  Use
10157         libm_hidden_proto.
10158         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
10159         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
10160         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10161         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
10162         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
10163         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
10164         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
10165         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10166         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
10167         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
10168         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10169         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
10170         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
10171         (feholdexcept): Likewise.
10172         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10173         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
10174         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10175         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
10176         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
10177         __feholdexcept instead of feholdexcept.
10178         (default_libc_feholdexcept_setround): Likewise.
10180 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10182         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
10183         to avoid using stl/str to align destination.
10185 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10187         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
10189 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10191         [BZ #17796]
10192         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
10193         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
10194         Define as weak alias not strong alias.
10196 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
10198         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
10199         bltzal with addiupc.
10200         (RTLD_START): Ditto.
10202 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
10204         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
10205         for __vdso_* functions in declarations.
10206         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
10207         definitions.
10208         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
10209         INTERNAL_VSYSCALL): Use struct return types to check for error.
10211         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
10212         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
10213         function with cast from llround().
10214         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
10215         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
10216         Define.
10218 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
10220         [BZ #17793]
10221         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
10222         Define as weak alias not strong alias.
10224         [BZ #17635]
10225         * ctype/ctype-c99.c: New file.  isblank implementation moved from
10226         ...
10227         * ctype/ctype-extn.c: ... here.
10228         (__isblank_l): Move to ...
10229         * ctype/ctype-c99_l.c: ... here.  New file.
10230         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
10231         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
10232         Remove variable.
10233         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
10234         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
10235         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
10236         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
10237         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
10239         [BZ #17777]
10240         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
10241         (posix_fadvise64): Define as weak alias not strong alias.
10242         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
10243         (posix_fallocate64): Likewise.
10244         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
10245         Remove variable.
10246         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
10247         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
10248         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
10249         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
10250         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
10252 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
10254         [BZ #16191]
10255         * NEWS: Mention bug fix.
10256         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
10257         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
10258         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
10259         (HOST_STACK_END_ADDR): Likewise.
10261 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
10263         [BZ #17748]
10264         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
10265         * math/fegetround.c (fegetround): Rename to __fegetround and
10266         define as weak alias of __fegetround.  Use libm_hidden_weak.
10267         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
10268         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
10269         * sysdeps/arm/fegetround.c (fegetround): Likewise.
10270         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
10271         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
10272         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
10273         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
10274         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
10275         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
10276         Undefine after rather than before function definition; use
10277         parentheses around function name in definition.
10278         (__fegetround): Also undefine macro after function definition.
10279         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
10280         __fegetround and define as weak alias of __fegetround.  Use
10281         libm_hidden_weak.  Do not undefine as macro.
10282         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
10283         Likewise.
10284         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
10285         __fegetround and define as weak alias of __fegetround.  Use
10286         libm_hidden_weak.
10287         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
10288         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
10289         * sysdeps/tile/math_private.h (__fegetround): New inline function.
10290         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
10291         __fegetround and define as weak alias of __fegetround.  Use
10292         libm_hidden_weak.
10293         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
10294         __fegetround instead of fegetround.
10296         [BZ #17782]
10297         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
10298         Condition macro definition on [__USE_MISC].
10300         [BZ #17781]
10301         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
10302         (struct sigaction): Change type of sa_flags field to int.
10304         [BZ #17780]
10305         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
10306         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
10307         __glibc_reserved0.
10309         * nptl/version.c (banner): Use single year in copyright notice.
10311         * NEWS: Update copyright dates.
10312         * catgets/gencat.c (print_version): Likewise.
10313         * csu/version.c (banner): Likewise.
10314         * debug/catchsegv.sh: Likewise.
10315         * debug/pcprofiledump.c (print_version): Likewise.
10316         * debug/xtrace.sh (do_version): Likewise.
10317         * elf/ldconfig.c (print_version): Likewise.
10318         * elf/ldd.bash.in: Likewise.
10319         * elf/pldd.c (print_version): Likewise.
10320         * elf/sotruss.sh: Likewise.
10321         * elf/sprof.c (print_version): Likewise.
10322         * iconv/iconv_prog.c (print_version): Likewise.
10323         * iconv/iconvconfig.c (print_version): Likewise.
10324         * locale/programs/locale.c (print_version): Likewise.
10325         * locale/programs/localedef.c (print_version): Likewise.
10326         * login/programs/pt_chown.c (print_version): Likewise.
10327         * malloc/memusage.sh (do_version): Likewise.
10328         * malloc/memusagestat.c (print_version): Likewise.
10329         * malloc/mtrace.pl: Likewise.
10330         * manual/libc.texinfo: Likewise.
10331         * nptl/version.c (banner): Likewise.
10332         * nscd/nscd.c (print_version): Likewise.
10333         * nss/getent.c (print_version): Likewise.
10334         * nss/makedb.c (print_version): Likewise.
10335         * posix/getconf.c (main): Likewise.
10336         * scripts/test-installation.pl: Likewise.
10337         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10339 2015-01-02  Will Newton  <will.newton@linaro.org>
10341         * sysdeps/arm/armv7/configure: Removed.
10342         * sysdeps/arm/armv7/configure.ac: Likewise.
10344 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
10346         * All files with FSF copyright notices: Update copyright dates
10347         using scripts/update-copyrights.
10348         * intl/plural.c: Regenerated.
10349         * locale/programs/charmap-kw.h: Likewise.
10350         * locale/programs/locfile-kw.h: Likewise.
10352 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10354         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
10356 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
10358         [BZ #17748]
10359         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
10360         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
10361         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10362         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
10363         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10364         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
10365         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10366         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
10367         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10368         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10369         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10370         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10371         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10372         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10373         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
10374         libm_hidden_def.
10375         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
10376         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
10377         Likewise.
10378         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
10379         define as weak alias of __fegetenv.  Use libm_hidden_weak.
10380         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
10381         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
10382         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
10383         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
10384         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
10385         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
10386         __fegetenv instead of fegetenv.
10387         (libc_feholdsetround_noex_ctx): Likewise.
10389 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
10391         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
10392         (Elf_MIPS_ABIFlags_v0): New structure.
10393         (EF_MIPS_FP64): Define.
10394         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
10395         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
10396         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
10397         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
10398         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
10399         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
10400         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
10401         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
10402         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
10403         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
10404         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
10405         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
10406         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
10407         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
10408         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
10409         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
10410         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
10411         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
10412         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
10413         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
10414         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
10415         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
10416         field.
10417         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
10418         EF_MIPS_FP64.
10419         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
10420         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
10421         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
10422         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
10423         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
10424         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
10425         * sysdeps/mips/tst-abi-interlink.c: Likewise.
10426         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
10427         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
10428         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
10429         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
10430         record the current FP ABI extension.
10431         (mips-mode-switch): Define to show if kernel headers support mode
10432         switching.
10433         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10434         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
10435         supported SYSV ABI version to 3.
10436         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
10437         feature.
10439 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10440             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10442         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
10443         path.
10444         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
10446 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
10448         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
10449         __fegetround and redefine to call __fegetround.  Remove condition
10450         on [!__NO_MATH_INLINES].
10451         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
10452         function.
10453         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
10454         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
10455         Remove macro.
10456         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
10457         instead of <fenv_libc.h>.
10458         (__llrintl): Call fegetround instead of __fegetround.
10459         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
10460         instead of <fenv_libc.h>.
10461         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10462         (__lrintl): Call fegetround instead of __fegetround.
10463         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
10464         instead of <fenv_libc.h>.
10465         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10466         (__rintl): Call fegetround instead of __fegetround.
10468 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10470         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
10471         arrays.
10473 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
10475         [BZ #17775]
10476         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10477         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
10478         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
10480 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10482         * sysdeps/i386/tls-macros.h: Include <features.h>.
10483         (TLS_LE): Use non-PIC version for GCC >= 5.0.
10484         (TLS_IE): Likewise.
10485         (TLS_LD): Likewise.
10486         (TLS_GD): Likewise.
10487         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
10488         define for GCC >= 5.0.
10490 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
10492         * math/test-fenv.c (test_single_exception, set_single_exc,
10493         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
10494         feexcp_mask_test, feenable_test, fe_single_test): Add
10495         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
10496         case where they are not used.
10497         * math/libm-test.inc: Likewise.
10498         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
10499         unused in the absence of FP rounding/exception support.
10500         * stdio-common/tst-printf-round.c: Likewise.
10501         * stdlib/tst-strtod-round.c: Likewise.
10502         * stdlib/tst-strtod-underflow.c: Likewise.
10504 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #17723]
10507         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
10508         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
10509         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10510         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10511         libm_hidden_weak.
10512         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10513         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10514         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
10515         libm_hidden_def.
10516         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10517         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10518         libm_hidden_weak.
10519         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
10520         Likewise.
10521         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
10522         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10523         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10524         libm_hidden_weak.
10525         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10526         libm_hidden_def.
10527         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
10528         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
10529         (__feraiseexcept): Likewise.
10530         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
10531         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
10532         libm_hidden_weak.
10533         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
10534         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
10535         libm_hidden_def.
10536         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
10537         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
10538         Use libm_hidden_def.
10539         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
10540         libm_hidden_def.
10541         (feraiseexcept): Define as weak not strong alias.  Use
10542         libm_hidden_weak.
10543         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
10544         New inline function.  Factored out of ...
10545         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
10546         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
10547         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
10548         feraiseexcept.
10549         * math/w_acos.c (__acos): Likewise.
10550         * math/w_asin.c (__asin): Likewise.
10551         * math/w_ilogb.c (__ilogb): Likewise.
10552         * math/w_j0.c (y0): Likewise.
10553         * math/w_j1.c (y1): Likewise.
10554         * math/w_jn.c (yn): Likewise.
10555         * math/w_log.c (__log): Likewise.
10556         * math/w_log10.c (__log10): Likewise.
10557         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
10558         * sysdeps/aarch64/fpu/math_private.h
10559         (libc_feupdateenv_test_aarch64): Likewise.
10560         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
10561         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
10562         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
10563         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
10564         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
10565         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
10566         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
10567         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10568         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
10569         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
10571 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
10573         [BZ #17732]
10574         * io/test-utime.c (main): Replace %ld with %jd and cast to
10575         intmax_t.
10576         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
10577         * nptl/tst-mutex5.c: Include <stdint.h>.
10578         (do_test): Replace %ld with %jd and cast to intmax_t.
10579         * posix/tst-regex.c (run_test): Likewise.
10580         (run_test_backwards): Likewise.
10581         * rt/tst-clock.c: Include <stdint.h>.
10582         (clock_test): Replace %ld with %jd and cast to intmax_t.
10583         * rt/tst-cpuclock1.c: Include <stdint.h>.
10584         (do_test): Replace %lu with %ju and cast to uintmax_t.
10585         * rt/tst-cpuclock2.c: Include <stdint.h>.
10586         (do_test): Replace %lu with %ju and cast to uintmax_t.
10587         * rt/tst-mqueue1.c: Include <stdint.h>.
10588         (check_attrs): Replace %ld with %jd and cast to intmax_t.
10589         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
10590         intmax_t.
10591         * rt/tst-mqueue4.c (do_test): Likewise.
10592         * rt/tst-timer4.c: Include <stdint.h>.
10593         (check_ts): Replace %ld with %jd and cast to intmax_t.
10594         (do_test): Likewise.
10595         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
10596         and cast to intmax_t.
10597         * sysdeps/pthread/tst-timer.c (main): Likewise.
10598         * time/clocktest.c (main): Likewise.
10599         * time/tst-posixtz.c (do_test): Likewise.
10600         * timezone/tst-timezone.c (main): Likewise.
10602 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
10603             H.J. Lu  <hongjiu.lu@intel.com>
10605         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
10606         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
10607         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
10608         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
10609         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
10610         version if bit_Fast_Unaligned_Load is set.
10611         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10612         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10613         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10614         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10615         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10616         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10617         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10618         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
10619         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
10620         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
10621         to 4.
10622         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
10623         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
10624         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
10625         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
10627 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
10629         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
10630         instead of #if to avoid a Wundef warning.
10631         * stdlib/tst-limits.c (do_test): Likewise.
10633         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
10634         parallel other exception macros.
10635         (fegetenv): Convert from macro to extern inline so that it applies
10636         retroactively to inline functions already seen by the compiler.
10637         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
10639         * posix/Makefile (before-compile): Use $(objpfx) for
10640         posix-conf-vars-def.h.
10642 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10644         * posix/getconf.c (main): Use size_t for type of I.
10645         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
10646         NSPEC.
10648         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
10649         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
10650         * posix/posix-envs.def: Likewise.
10651         * sysdeps/posix/sysconf.c: Likewise.
10652         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
10653         (specs): Remove array.
10654         * scripts/gen-posix-conf-vars.awk: Support generation of specs
10655         array.
10657         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
10658         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
10659         (__sysconf): Use CONF_IS_* macros.
10661         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
10662         ($(objpfx)posix-conf-vars-def.h): New target.
10663         * posix/posix-conf-vars.list: New file.
10664         * posix/posix-conf-vars.h: New file.
10665         * posix/confstr.c: Include posix-conf-vars.h.
10666         (confstr): Use CONF_IS_* macros.
10667         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
10668         CONF_IS_* macros.
10669         * scripts/gen-posix-conf-vars.awk: New file.
10671 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
10673         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
10674         fegetround): Add no-op macros to avoid linknamespace issues.
10676         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
10677         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
10679         * sysdeps/unix/sysv/linux/tile/sysdep.h
10680         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
10681         assembly-specific section to avoid a redefinition warning.
10683         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
10684         long before casting to pointer to avoid a cast warning.
10686 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
10688         * sysdeps/tile/tilegx/Implies: New file.
10690 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
10692         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
10694 2014-12-23  Florian Weimer  <fweimer@redhat.com>
10696         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
10698 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10700         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
10701         not define.
10702         * sysdeps/unix/sysv/linux/utimes.c: Do not include
10703         <kernel-features.h>.
10704         (__utimes) [__NR_utimes]: Make code unconditional.
10705         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
10706         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10707         (__ASSUME_UTIMES): Do not undefine.
10708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10709         (__ASSUME_UTIMES): Likewise.
10710         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10711         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
10712         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
10713         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
10715 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10717         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
10719 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
10721         [BZ #17747]
10722         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
10723         alias to weak alias for j0l, y0l.
10724         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
10725         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
10727         [BZ #17746]
10728         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
10729         conversion.
10731 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
10733         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
10734         to zero if not already defined.
10736 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #17724]
10739         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
10740         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
10741         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
10742         (char *) casts added.
10743         * sysdeps/ieee754/k_standardf.c: New file.
10744         * sysdeps/ieee754/k_standardl.c: Likewise.
10745         * math/Makefile (libm-support): Remove k_standard.
10746         (libm-calls): Add k_standard.
10748 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10750         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
10751         Optimize to avoid an unnecessary FPCR read.
10753 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10755         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
10756         Optimize to reduce FPCR/FPSR accesses.
10758 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10760         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
10761         Call libc_fetestexcept_aarch64.
10763 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
10765         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
10766         Call libc_fesetround_aarch64.
10768 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
10770         [BZ #17733]
10771         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
10772         (__bind): Do not define as weak alias.
10773         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
10774         define.
10775         (__getsockname): Do not define as weak alias.
10777 2014-12-22  Will Newton  <will.newton@linaro.org>
10779         * manual/install.texi: Document that we require bison 2.7
10780         or above.
10781         * INSTALL: Regenerate.
10782         * configure.ac: Use AC_CHECK_PROG_VER instead of
10783         AC_PATH_PROG when checking for bison and check for
10784         version 2.7 or above.
10785         * configure: Regenerate.
10787 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
10789         [BZ #17745]
10790         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
10791         * sysdeps/tile/ffsll.c (ffsll): To here.
10793         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
10795 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10797         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
10798         if not defined.
10799         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
10800         definition.
10801         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10802         hidden ___tls_get_addr.
10803         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
10804         hidden __tls_get_addr.
10805         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
10806         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
10807         Likewise.
10809 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
10811         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
10812         _dl_init call.
10814 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
10816         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
10817         from "call _dl_init@PLT".
10818         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
10820 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
10822         * manual/search.texi: (Array Sort Function): Clarify stable sorting
10823         guarantees.
10825 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
10827         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
10829 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10831         [BZ #17744]
10832         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
10833         strnlen.
10835 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10837         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
10838         of multu on MIPSr6.
10839         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
10840         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
10841         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
10842         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
10843         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
10845 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
10847         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
10848         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
10849         (PTR_SUBU): Use subu for mips32r6/mips64r6.
10850         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
10851         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
10852         mips32r6/mips64r6.
10853         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
10855 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
10857         * string/strncat.c (STRNCAT): Simplify implementation.
10859 2014-12-19  David S. Miller  <davem@davemloft.net>
10861         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
10862         access the quad as both a long double and as a series of 4 words.
10864         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
10865         link_map->l_info array access.
10867 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
10869         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
10871         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
10872         * math/atest-exp2.c (TIMEOUT): Likewise.
10873         * math/atest-sincos.c (TIMEOUT): Likewise.
10875 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10877         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
10878         -Wno-error with -fno-builtin-lround.
10880 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10882         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
10883         Contains futex constants and functions moved over from ...
10884         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
10885         <lowlevellock-futex.h>.
10886         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10887         (lll_timedwait_tid): Add comments and parentheses around macro
10888         arguments.
10890 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10892         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
10893         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
10894         (__lll_private_flag): Remove.
10895         (lll_futex_wait): Likewise.
10896         (lll_futex_timed_wait): Likewise.
10897         (lll_futex_wake): Likewise.
10898         (lll_futex_requeue): Likewise.
10899         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
10900         (__lll_timedwait_tid): Spell out argument names.
10901         (lll_timedwait_tid): Add comments and parentheses around macro
10902         arguments.
10903         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
10904         LLL_SHARED and LLL_PRIVATE usable from assembly code.
10906 2014-12-19  Torvald Riegel  <triegel@redhat.com>
10908         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
10909         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
10910         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10911         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
10912         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
10913         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
10914         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
10915         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
10916         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
10917         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
10918         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
10919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
10920         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
10921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
10922         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
10923         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
10924         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
10925         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
10926         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
10928 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10930         * sysdeps/x86_64/x32/Makefile: New file.
10932 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
10934         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
10935         1L with (mp_limb_t) 1.
10937 2014-12-17  Roland McGrath  <roland@hack.frob.com>
10939         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
10940         * nptl/libc_pthread_init.c: ... here.
10941         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
10942         * nptl/register-atfork.c: ... here.
10944         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
10945         Use pthread_sigmask rather than INTERNAL_SYSCALL.
10946         Use assert_perror to check its return value.
10947         (__gai_create_helper_thread): Likewise.
10949         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
10951         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
10953 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #17725]
10956         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
10957         __profil_counter.
10958         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
10959         Likewise.
10960         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
10961         Likewise.
10962         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
10963         Likewise.
10964         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
10965         (profil_counter): Likewise.
10966         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
10967         (profil_counter): Likewise.
10968         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
10969         Likewise.
10970         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
10971         Likewise.
10972         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
10973         (profil_counter): Likewise.
10974         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
10975         Likewise.
10976         [!__profil_counter] (profil_counter): Define as weak alias of
10977         __profil_counter.
10978         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
10979         (profil_counter): Rename to __profil_counter.
10980         [!__profil_counter] (profil_counter): Define as weak alias of
10981         __profil_counter.
10982         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
10983         (profil_counter): Rename to __profil_counter.
10984         [!__profil_counter] (profil_counter): Define as weak alias of
10985         __profil_counter.
10986         * sysdeps/posix/profil.c: Update comment referring to
10987         profil_counter.
10988         (__profil): Use __profil_counter instead of profil_counter.
10989         * sysdeps/posix/sprofil.c (profil_counter): Rename to
10990         __profil_counter.  Use __profil_counter_ushort and
10991         __profil_counter_uint in definitions.
10992         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
10993         instead of profil_counter_uint and profil_counter_ushort.
10995         [BZ #17722]
10996         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
10997         define as weak alias of __inet_makeaddr.
10998         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
10999         as weak alias of __inet_addr.
11000         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
11001         as weak alias of __inet_pton.  Use libc_hidden_weak.
11002         * include/arpa/inet.h (__inet_pton): Declare.  Use
11003         libc_hidden_proto.
11004         (inet_makeaddr): Don't use libc_hidden_proto.
11005         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
11006         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
11007         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
11008         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
11009         Remove variable.
11010         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
11011         (test-xfail-POSIX/time.h/linknamespace): Likewise.
11013 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
11015         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
11017 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11019         * stdio-common/bug-vfprintf-nargs.c (do_test):
11020         Cast value to intptr_t to avoid format warning
11021         for usage with PRIdPTR printing macro.
11023 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11025         * libio/tst-widetext.c (do_test):
11026         Use format type %td instead of %Zd for ptrdiff_t
11027         in order to avoid format warning.
11029 2014-12-17  Andreas Schwab  <schwab@suse.de>
11031         * nscd/mem.c (gc): Add size_t cast to match printf format.
11033 2014-12-16  Roland McGrath  <roland@hack.frob.com>
11035         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
11036         (init): Apply PTR_MANGLE to pointers before storing them.
11037         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
11038         before using them.
11040 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
11042         [BZ #17719]
11043         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
11044         define as weak alias of __memrchr.
11045         (__memrchr): Do not define as strong alias of memrchr.
11046         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
11047         Remove variable.
11048         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
11049         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
11050         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
11052         [BZ #17717]
11053         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
11054         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
11055         (if_indextoname): Rename to __if_indextoname and define as weak
11056         alias of __if_indextoname.  Use libc_hidden_weak.
11057         (if_freenameindex): Rename to __if_freenameindex and define as
11058         weak alias of __if_freenameindex.
11059         (if_nameindex): Rename to __if_nameindex and define as weak alias
11060         of __if_nameindex.
11061         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
11062         __if_nametoindex and define as weak alias of __if_nametoindex.
11063         Use libc_hidden_weak.
11064         (if_freenameindex): Rename to __if_freenameindex and define as
11065         weak alias of __if_freenameindex.
11066         (if_nameindex): Rename to __if_nameindex and define as weak alias
11067         of __if_nameindex.
11068         (if_indextoname): Rename to __if_indextoname and define as weak
11069         alias of __if_indextoname.  Use libc_hidden_weak.
11070         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
11071         __if_nametoindex and define as weak alias of __if_nametoindex.
11072         Use libc_hidden_weak.
11073         (if_freenameindex): Rename to __if_freenameindex and define as
11074         weak alias of __if_freenameindex.  Use libc_hidden_weak.
11075         (if_nameindex_netlink): Use __if_freenameindex instead of
11076         if_freenameindex.
11077         (if_nameindex): Rename to __if_nameindex and define as weak alias
11078         of __if_nameindex.  Use libc_hidden_weak.
11079         (if_indextoname): Rename to __if_indextoname and define as weak
11080         alias of __if_indextoname.  Use libc_hidden_weak.
11081         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
11082         libc_hidden_proto.
11083         [!_ISOMAC] (__if_freenameindex): Likewise.
11084         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
11085         if_nametoindex.
11086         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
11087         variable.
11088         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
11089         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
11090         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
11091         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
11092         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
11093         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
11094         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
11096         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
11097         Remove variable.
11098         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
11099         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
11101 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
11103         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
11104         subscript above bounds'
11106         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
11107         bounds.
11109 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
11111         * libio/tst-fopenloc.c: Use test-skeleton.c.
11113         * stdlib/tst-bsearch.c: Use test-skeleton.c.
11114         (entry): Rename to ITEM.
11115         (do_test, comp): Adjust.
11117         * stdio-common/tst-fseek.c: Use test-skeleton.c.
11119 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11121         * string/tester.c: Include <libc-internal.h>.
11122         (test_memset): Ignore -Wmemset-transposed-args.
11124 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11126         * misc/tst-mntent2.c (do_test): Fix warning.
11128 2014-12-16  Torvald Riegel  <triegel@redhat.com>
11130         * elf/tst-unique4lib.cc(a): Mark as used.
11132 2014-12-16  Florian Weimer  <fweimer@redhat.com>
11134         [BZ #17630]
11135         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
11136         names.
11138 2014-12-16  Allan McRae  <allan@archlinux.org>
11140         * stdio-common/Makefile (tests): Re-add bug26.
11142 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
11144         [BZ #17657]
11145         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
11146         static array.
11148 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
11150         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
11151         (__lll_lock_wait): Likewise.
11152         (__lll_timedlock_wait): Likewise.
11153         (__lll_timedwait_tid): Likewise.
11154         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
11155         (__lll_robust_timedlock_wait): Likewise.
11156         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
11157         (lll_cond_trylock): Likewise.
11158         (__lll_lock): Likewise.
11159         (__lll_robust_lock): Likewise.
11160         (__lll_cond_lock): Likewise.
11161         (lll_robust_cond_lock): Likewise.
11162         (__lll_timedlock): Likewise.
11163         (__lll_robust_timedlock): Likewise.
11164         (__lll_unlock): Likewise.
11165         (__lll_robust_unlock): Likewise.
11166         (lll_wait_tid): Likewise.
11167         (lll_timedwait_tid): Likewise.
11169 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11171         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
11173 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11175         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
11177 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
11179         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
11180         * stdio-common/tst-sprintf.c: Likewise.
11182 2014-12-15  Torvald Riegel  <triegel@redhat.com>
11184         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
11186 2014-12-15  Jeff Law  <law@redhat.com>
11188         [BZ #16617]
11189         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
11190         on the heap.  (CVE-2012-3406)
11191         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
11192         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
11193         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
11195 2014-12-15  Will Newton  <will.newton@linaro.org>
11197         * manual/install.texi: Bump required version of texinfo
11198         to 4.7 from 4.5.
11199         * INSTALL: Regenerated.
11200         * configure.ac: Check for makeinfo version 4.7 and above.
11201         * configure: Regenerated.
11203 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11205         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
11206         PREFIX, string constant to insert between directory and name.
11207         * sysdeps/posix/shm_open.c: Update caller.
11208         * sysdeps/posix/shm_unlink.c: Likewise.
11209         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
11210         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
11211         (SEM_SHM_PREFIX): New macro.
11212         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
11213         [$(have-thread-library) = no].
11214         * nptl/Makefile (libpthread-routines): Add shm-directory.
11215         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
11216         * sysdeps/nptl/shm-directory.h: New file.
11217         * sysdeps/posix/shm-directory.c
11218         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
11219         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
11220         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
11221         INTERNAL_SYSCALL.
11222         (__where_is_shmfs): Function removed.
11223         (mountpoint, defaultmount, defaultdir, __namedsem_once):
11224         Variables removed.
11225         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
11226         Use SHM_GET_NAME.
11227         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
11229         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
11230         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
11231         unconditional for use inside libpthread.
11232         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
11234 2014-12-12  Roland McGrath  <roland@hack.frob.com>
11236         * nptl/pthread_getaffinity.c: New file.
11237         * nptl/pthread_setaffinity.c: New file.
11238         * nptl/pthread_getname.c: New file.
11239         * nptl/pthread_setname.c: New file.
11241         * nptl/pthread_create.c (START_THREAD_DEFN)
11242         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
11244 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11245             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11247         * resolv/res_send.c (send_vc): Disable warning resplen may
11248         be used uninitialized.
11250 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11252         * nptl/tst-mutex6.c
11253         (ATTR_NULL): New define checks ATTR against NULL.
11254         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
11255         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
11257 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
11259         [BZ #17581]
11260         * malloc/hooks.c
11261         (mem2mem_check): Revert my previous change.
11262         (malloc_check_get_size): Revert my previous change.
11263         (mem2chunk_check): Revert my previous change.
11265 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11267         * sysdeps/posix/shm-directory.c: New file.
11268         * sysdeps/posix/shm-directory.h: New file.
11269         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
11270         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
11271         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
11272         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
11273         Transmute EPERM to EACCES.
11274         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
11275         from ...
11276         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
11277         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
11279 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11281         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
11282         pointer and cast to uintptr_t.
11283         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
11284         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
11285         Add cast to avoid warning.
11286         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
11288 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
11290         * nptl/semaphore.h: Move to ...
11291         * sysdeps/pthread/semaphore.h: ... here.
11292         * Makefile (installed-headers): Change nptl/semaphore.h to
11293         sysdeps/pthread/semaphore.h.
11295 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11297         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
11298         generated error format strings.
11300         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
11301         -Wformat-extra-args warnings for scanf formats.
11302         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
11303         test of zero-length format (duh).
11304         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
11305         corner-case scanf format test.
11306         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
11307         generated fprintf format string.
11308         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
11309         corner-case sprintf format tests.
11310         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
11311         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
11312         -Wformat-extra-args warnings throughout.
11313         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
11314         (CFLAGS-scanf4.c): Likewise.
11315         (CFLAGS-scanf7.c): Likewise.
11316         (CFLAGS-tst-sprintf.c): Likewise.
11317         (CFLAGS-tst-printf.c): Likewise.
11318         (CFLAGS-tst-printfsz.c): Likewise.
11320 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
11322         * include/cpio.h: New file.
11323         * include/fmtmsg.h: Likewise.
11325         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
11326         corresponding format argument to size_t.
11327         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
11328         arguments.
11329         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
11330         corresponding format argument to size_t.
11331         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
11332         arguments.
11333         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
11334         corresponding format argument to size_t.
11335         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
11336         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
11337         (CFLAGS-tst-mbswcs2.c): Likewise.
11338         (CFLAGS-tst-mbswcs3.c): Likewise.
11339         (CFLAGS-tst-mbswcs4.c): Likewise.
11340         (CFLAGS-tst-mbswcs5.c): Likewise.
11341         (CFLAGS-tst-trans.c): Likewise
11343 2014-12-11  Roland McGrath  <roland@hack.frob.com>
11345         * posix/regexbug1.c (main): Use "%s" format with regerror results,
11346         rather than assuming they won't contain any '%'s.
11348 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
11350         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
11351         inhibit_loop_to_libcall to avoid recursive calls.
11352         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
11353         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
11355 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
11357         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
11358         prototype.
11360 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
11362         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
11363         integer value instead of boolean.
11365 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
11367         * malloc/malloc.c: Fix powerof2 check.
11369 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11371         * locale/programs/locfile.h (maybe_swap_uint32):
11372         Remove inline and add unused attribute.
11374 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11376         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
11377         Truncating assembler expression to a .long expression.
11379 2014-12-11  Andreas Schwab  <schwab@suse.de>
11381         * elf/rtld.c (struct map_args): Constify str member.
11382         (do_preload): Constify fname argument.
11384 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
11387         constants definition.
11389 2014-12-11  Andreas Schwab  <schwab@suse.de>
11391         [BZ #16657]
11392         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
11393         FORCE_ELISION instead of DO_ELISION.
11394         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
11395         Remove.
11396         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
11397         Likewise.
11399         * iconvdata/gconv-modules: Remove duplicate entry.
11401 2014-12-11  Will Newton  <will.newton@linaro.org>
11403         Merge gettext 0.19.3 into intl/.
11405         This involves a number of cosmetic changes to comments
11406         and ANSI function definitions and prototypes throughout
11407         all the files. The gettext copyright header is used but
11408         with the date ranges taken from the glibc copy.
11410         * NEWS: Add gettext merge to 2.21.
11411         * intl/bindtextdom.c: Switch to gettext copyright.
11412         Use ANSI definitions and prototypes.
11413         Use gl_* locking primitives rather than __libc_* ones.
11414         Use __builtin_expect rather than __glibc_likely/unlikely.
11415         * intl/dcgettext.c: Switch to gettext copyright.
11416         Use ANSI definitions and prototypes.
11417         * intl/dcigettext.c: Switch to gettext copyright.
11418         Use ANSI definitions and prototypes.
11419         (INTDIV0_RAISES_SIGFPE): New define.
11420         Use gl_* locking primitives rather than __libc_* ones.
11421         Include eval-plural.h instead of plural-eval.c.
11422         Use __builtin_expect rather than __glibc_likely/unlikely.
11423         * intl/dcngettext.c: Switch to gettext copyright.
11424         Use ANSI definitions and prototypes.
11425         * intl/dgettext.c: Likewise.
11426         * intl/dngettext.c: Likewise.
11427         * intl/plural-eval.c: Renamed to...
11428         * intl/eval-plural.h: ...this.
11429         * intl/explodename.c: Switch to gettext copyright.
11430         Use ANSI definitions and prototypes.
11431         (_nl_explode_name): Use strchr instead of __rawmemchr.
11432         * intl/finddomain.c: Switch to gettext copyright.
11433         Use ANSI definitions and prototypes.
11434         Use gl_* locking primitives rather than __libc_* ones.
11435         (_nl_find_domain): Use malloc rather than alloca for
11436         allocation of temporary locale name.
11437         * intl/gettext.c: Switch to gettext copyright.
11438         Use ANSI definitions and prototypes.
11439         * intl/gettextP.h: Switch to gettext copyright.
11440         Use ANSI definitions and prototypes.
11441         Use gl_* locking primitives rather than __libc_* ones.
11442         * intl/gmo.h: Switch to gettext copyright.
11443         (struct sysdep_string): Move struct segment_pair outside of
11444         struct definition.
11445         * intl/hash-string.c: Use ANSI definitions and prototypes.
11446         * intl/hash-string.h: Switch to gettext copyright.
11447         Use ANSI definitions and prototypes.
11448         * intl/l10nflist.c: Switch to gettext copyright.
11449         Use ANSI definitions and prototypes.
11450         (_nl_normalize_codeset): Avoid integer overflow.
11451         * intl/loadinfo.h: Switch to gettext copyright.
11452         Use ANSI definitions and prototypes.
11453         (LIBINTL_DLL_EXPORTED): New define.
11454         (PATH_SEPARATOR): New define.
11455         * intl/loadmsgcat.c: Switch to gettext copyright.
11456         * intl/localealias.c: Switch to gettext copyright.
11457         Use ANSI definitions and prototypes.
11458         (_nl_expand_alias): Use PATH_SEPARATOR.
11459         * intl/ngettext.c: Switch to gettext copyright.
11460         Use ANSI definitions and prototypes.
11461         * intl/plural-exp.c: Likewise.
11462         * intl/plural-exp.h: Switch to gettext copyright.
11463         Use ANSI definitions and prototypes.
11464         (struct expression): Move definition of enum operator outside
11465         of struct definition.
11466         * intl/plural.c: Regenerate.
11467         * intl/plural.y: Switch to gettext copyright.
11468         Use ANSI definitions and prototypes.
11469         Port to bison 3.0.
11470         * intl/textdomain.c: Switch to gettext copyright.
11471         Use ANSI definitions and prototypes.
11472         Use gl_* locking primitives rather than __libc_* ones.
11474 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
11476         * debug/warning-nop.c: Add used atrribute.
11478 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11480         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
11482         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
11483         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
11484         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
11486 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11487             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11489         [BZ #17634]
11490         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
11491         Undefine after defining function.  Define as weak alias of
11492         __wcschr.  Use libc_hidden_weak.
11493         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
11494         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
11495         (libc_hidden_def): Also define __GI___wcschr alias.
11496         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
11497         __wcschr and define as weak alias of __wcschr.
11498         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
11499         __wcschr.
11500         [!WCSCHR] (DEFAULT_WCSCHR): Define.
11501         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
11502         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
11503         libc_hidden_weak.  Do not use libc_hidden_def.
11504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
11505         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
11506         __GI___wcschr alias.
11507         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
11508         [IS_IN (libc)] (wcschr): Define as macro expanding to
11509         __redirect_wcschr.
11510         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
11511         [IS_IN (libc)] (__wcschr_power6): Likewise.
11512         [IS_IN (libc)] (__wcschr_power7): Likewise.
11513         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
11514         instead of wcschr.
11515         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
11516         __libc_wcschr.
11517         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
11518         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
11519         __wcschr and define as weak alias of __wcschr.  Use
11520         libc_hidden_builtin_def.
11521         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
11522         as weak alias of __wcschr.  Use libc_hidden_weak.
11523         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
11524         wcschr.
11525         * time/era.c (_nl_init_era_entries): Likewise.
11526         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
11527         variable.
11528         (test-xfail-XPG3/time.h/linknamespace): Likewise.
11529         (test-xfail-XPG4/time.h/linknamespace): Likewise.
11531 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11533         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
11534         format for long int variable.
11536 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
11538         [BZ #10672]
11539         * manual/search.texi: (Array Sort Function): Remove claim how to make
11540         qsort stable.
11542 2014-12-10  Andreas Schwab  <schwab@suse.de>
11544         [BZ #12847]
11545         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
11546         user-controlled locks.
11548 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
11550         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
11551         register.
11553 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
11555         * configure.ac (--disable-werror): New configure option.
11556         (enable_werror): New AC_SUBST.
11557         * configure: Regenerated.
11558         * config.make.in (enable-werror): New variable.
11559         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
11560         -Wno-error=undef.
11561         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
11562         * manual/install.texi (Configuring and compiling): Document
11563         --disable-werror.
11564         * INSTALL: Regenerated.
11565         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
11566         (CFLAGS-tst-chk2.c): Likewise.
11567         (CFLAGS-tst-chk3.c): Likewise.
11568         (CFLAGS-tst-chk4.cc): Likewise.
11569         (CFLAGS-tst-chk5.cc): Likewise.
11570         (CFLAGS-tst-chk6.cc): Likewise.
11571         (CFLAGS-tst-lfschk1.c): Likewise.
11572         (CFLAGS-tst-lfschk2.c): Likewise.
11573         (CFLAGS-tst-lfschk3.c): Likewise.
11574         (CFLAGS-tst-lfschk4.cc): Likewise.
11575         (CFLAGS-tst-lfschk5.cc): Likewise.
11576         (CFLAGS-tst-lfschk6.cc): Likewise.
11578         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
11579         (main): Disable -Wdeprecated-declarations around calls to
11580         register_printf_function.
11582         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
11583         (do_test): Disable -Wdiv-by-zero around some calls to
11584         fwrite_unlocked and fread_unlocked.
11586         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
11587         (DIAG_POP_NEEDS_COMMENT): Likewise.
11588         (_DIAG_STR1): Likewise.
11589         (_DIAG_STR): Likewise.
11590         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
11591         * stdio-common/bug21.c: Include <libc-internal.h>.
11592         (do_test): Disable -Wformat around call to sscanf.
11593         * stdio-common/scanf14.c: Include <libc-internal.h>.
11594         (main): Disable -Wformat around some calls to scanf functions.
11596 2014-12-09  Torvald Riegel  <triegel@redhat.com>
11598         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
11600 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11602         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
11603         stack variable alignment.
11605 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
11607         [BZ #17682]
11608         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
11609         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
11610         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
11611         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
11612         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
11613         __getrlimit instead of getrlimit.
11614         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
11615         __gettimeofday instead of gettimeofday.
11616         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
11617         Likewise.
11618         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
11619         Likewise.
11620         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
11621         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
11622         Remove variable.
11623         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
11624         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
11626 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11628         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
11629         for wide-character tests.
11631 2014-12-04  Roland McGrath  <roland@hack.frob.com>
11633         * io/openat64.c: #include <libc-internal.h>
11634         (__openat64): Prototypify.  Use ignore_value on MODE.
11635         * io/openat.c: Likewise.
11636         * misc/reboot.c: #include <libc-internal.h>
11637         (reboot): Prototypify.  Use ignore_value on HOWTO.
11638         * misc/ptrace.c: #include <libc-internal.h>
11639         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
11641 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
11643         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
11644         XPG4, UNIX98 and XOPEN2K.
11645         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
11646         Remove variable.
11647         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
11649 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11651         * libio/fileops.c: Use ISO C style for function definitions.
11652         * libio/iofopen.c: Likewise.
11653         * libio/wfileops.c: Likewise.
11655         [BZ #17653]
11656         * libio/fileops.c (_IO_new_file_underflow): Unset cached
11657         offset on EOF.
11658         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
11659         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
11660         (fgets_func): Function pointer to fgets and fgetws.
11661         (do_ftell_test): Add test to verify ftell value after read
11662         EOF.
11663         (do_test): Set fgets_func.
11665         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
11666         O_TRUNC flag for w and w+ modes.
11667         (do_rewind_test): Likewise.
11668         (do_ftell_test): Likewise.
11669         (do_write_test): Likewise.
11671         [BZ #17647]
11672         * libio/fileops.c (do_ftell): Seek only when there are
11673         unflushed writes.
11674         * libio/wfileops.c (do_ftell_wide): Likewise.
11675         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
11676         test case.
11677         (do_one_test): Call it.
11679 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
11681         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
11682         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
11683         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
11684         Remove variable.
11685         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
11686         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
11687         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
11689 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11691         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
11692         Remove variable.
11693         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
11695         [BZ #17668]
11696         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
11697         as weak alias of __getifaddrs.  Use libc_hidden_weak.
11698         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11699         __freeifaddrs.  Use libc_hidden_weak.
11700         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
11701         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
11702         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11703         __freeifaddrs.  Use libc_hidden_weak.
11704         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
11705         __getifaddrs and define as weak alias of __getifaddrs.  Use
11706         libc_hidden_weak.
11707         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
11708         __freeifaddrs.  Use libc_hidden_weak.
11709         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
11710         Remove variable.
11711         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
11712         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
11714 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
11716         [BZ #17601]
11717         * sysdeps/mips/start.S (__start): Use indirect jump to call
11718         __libc_start_main.
11720 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
11722         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
11724         * nptl/tst-mutex1.c: Include <stdbool.h>.
11725         [!ATTR] (ATTR_NULL): New macro.
11726         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
11727         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
11728         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
11730         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
11731         to char *.
11733         [BZ #17665]
11734         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
11735         Change conditional to [__USE_MISC].
11737         [BZ #17664]
11738         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
11739         fgets_unlocked.
11740         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
11741         __fgets_unlocked.
11742         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
11743         fgets_unlocked.
11744         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
11745         Remove variable.
11746         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
11747         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
11748         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
11749         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
11750         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
11751         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
11752         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
11753         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
11754         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
11756         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
11758 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11760         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11761         Remove strpbrk objects.
11762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11763         (__libc_ifunc_impl_list): Remove strpbrk implementation.
11764         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
11765         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
11766         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
11767         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
11769         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11770         Remove strcspn objects.
11771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11772         (__libc_ifunc_impl_list): Remove strcspn implementation.
11773         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
11774         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
11775         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
11776         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
11778         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11779         Remove strspn objetcs.
11780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11781         (__libc_ifunc_impl_list): Remove strspn implementation.
11782         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
11783         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
11784         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
11785         * sysdeps/powerpc/powerpc64/strspn.S: New file.
11787 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
11789         [BZ #17581]
11790         * malloc/hooks.c
11791         (mem2mem_check): Add a terminator to the chain of checking blocks.
11792         (malloc_check_get_size): Use it here.
11793         (mem2chunk_check): Ditto.
11795 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11797         * sysdeps/powerpc/powerpc64/strtok.S: New file.
11798         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
11800 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
11802         * bits/ioctl-types.h: Indent preprocessor directives correctly.
11804         * nptl/nptl-init.c: Include libc-internal.h.
11805         (__pthread_initialize_minimal_internal): Use ROUND_UP.
11807         * elf/ldconfig.c (search_dir): Expand comment.
11809 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
11811         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
11812         variable.
11813         (linknamespace-symlist-stdlibs-tests): Likewise.
11814         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
11815         instead of $(objpfx)symlist-stdlibs.
11816         (linknamespace-libs-isoc): New variable.
11817         (linknamespace-libs): Use $(linknamespace-libs-isoc).
11818         (linknamespace-libs-ISO): New variable.
11819         (linknamespace-libs-ISO99): Likewise.
11820         (linknamespace-libs-ISO11): Likewise.
11821         (linknamespace-libs-XPG3): Likewise.
11822         (linknamespace-libs-XPG4): Likewise.
11823         (linknamespace-libs-POSIX): Likewise.
11824         (linknamespace-libs-UNIX98): Likewise.
11825         (linknamespace-libs-XOPEN2K): Likewise.
11826         (linknamespace-libs-POSIX2008): Likewise.
11827         (linknamespace-libs-XOPEN2K8): Likewise.
11828         ($(objpfx)symlist-stdlibs): Replace by
11829         $(linknamespace-symlist-stdlibs-tests).  Use
11830         $(linknamespace-libs-$*) as set of libraries.
11831         ($(linknamespace-header-tests)): Update dependencies.  Use
11832         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
11833         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
11834         * conform/linknamespace.pl: Remove comment about considering
11835         definitions of symbols from irrelevant libraries.
11837 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
11839         [BZ #13862]
11840         * elf/dl-tls.c: Include <atomic.h>.
11841         (oom): Remove #ifdef SHARED/#endif.
11842         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
11843         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
11844         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
11845         big enough.
11846         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
11847         * nptl/Makefile (tests): Add tst-stack4.
11848         (modules-names): Add tst-stack4mod.
11849         ($(objpfx)tst-stack4): New.
11850         (tst-stack4mod.sos): Likewise.
11851         ($(objpfx)tst-stack4.out): Likewise.
11852         ($(tst-stack4mod.sos)): Likewise.
11853         (clean): Likewise.
11854         * nptl/tst-stack4.c: New file.
11855         * nptl/tst-stack4mod.c: Likewise.
11857 2014-11-27  J. Brown  <jb999@gmx.de>
11859         * sysdeps/x86/bits/string.h: Add recent CPUs.
11861 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11863         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
11864         sigblock.
11866         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
11867         feof.
11869         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
11870         variable.
11872 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
11874         * nscd/connections.c: Include libc-internal.h because of macro
11875         usage ignore_value.
11877 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11879         * string/bits/string3.h (__warn_memset_zero_len): Don't
11880         declare for gcc newer than 5.0.
11881         (memset): Don't test for zero-length __LEN for gcc newer than
11882         5.0.
11884 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
11886         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
11887         size_t for %zu format.
11889         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
11890         difference, not %ju.
11892 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11894         * include/libc-internal.h (ignore_value): New macro.
11895         * nscd/connections.c (restart): Wrap calls to setuid and setgid
11896         with ignore_value.
11898         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
11899         definition.
11901         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
11902         pthread_cleanup_push to void *.
11904         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
11905         Undefine.
11907         [BZ #16619]
11908         [BZ #16740]
11909         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
11910         instead of 1L << 52.
11912         * libio/bug-rewind.c (do_test): Check fwscanf return values.
11913         * libio/bug-rewind2.c (do_test): Likewise.
11915         * debug/test-stpcpy_chk-ifunc.c: Remove file.
11916         * debug/test-strcpy_chk-ifunc.c: Likewise.
11917         * wcsmbs/test-wcschr-ifunc.c: Likewise.
11918         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11919         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11920         * wcsmbs/test-wcslen-ifunc.c: Likewise.
11921         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11922         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11923         * Rules [$(multi-arch) = no] (tests): Do not filter out
11924         $(tests-ifunc).
11925         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
11926         * debug/Makefile (tests-ifunc): Remove variable.
11927         (tests): Do not add $(tests-ifunc).
11928         * wcsmbs/Makefile (tests-ifunc): Remove variable.
11929         (tests): Do not add $(tests-ifunc).
11930         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
11931         [TEST_IFUNC]: Remove conditionals.
11932         * string/test-string.h (TEST_IFUNC): Remove macro.
11933         [TEST_IFUNC]: Remove conditionals.
11935         * string/test-strchr.c [!WIDE] (L): New macro.
11936         [WIDE] (L): Likewise.
11937         (check1): Use CHAR instead of char.  Use L on string and character
11938         constants.
11940 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
11942         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11943         tests.
11944         * sysdeps/powerpc/bits/atomic.h
11945         (__arch_atomic_exchange_and_add_32_acq): Add definition.
11946         (__arch_atomic_exchange_and_add_32_rel): Likewise.
11947         (atomic_exchange_and_add_acq): Likewise.
11948         (atomic_exchange_and_add_rel): Likewise.
11949         * sysdeps/powerpc/powerpc32/bits/atomic.h
11950         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11951         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11952         * sysdeps/powerpc/powerpc64/bits/atomic.h
11953         (__arch_atomic_exchange_and_add_64_acq): Add definition.
11954         (__arch_atomic_exchange_and_add_64_rel): Likewise.
11956 2014-11-26  Torvald Riegel  <triegel@redhat.com>
11958         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
11959         Change synchronization of __sched_fifo_min_prio and
11960         __sched_fifo_max_prio.
11961         * nptl/pthread_mutexattr_getprioceiling.c
11962         (pthread_mutexattr_getprioceiling): Likewise.
11963         * nptl/pthread_mutexattr_setprioceiling.c
11964         (pthread_mutexattr_setprioceiling): Likewise.
11965         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11966         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
11967         Likewise.
11969 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
11971         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
11972         void.
11974 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11976         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
11977         third argument const.
11979 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
11981         fnmatch: work around GCC compiler warning bug with uninit var
11982         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
11983         This works around a bug with x86-64 GCC 4.9.2 and earlier
11984         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
11985         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
11986         used uninitialized in this function [-Wmaybe-uninitialized]".
11988 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
11990         * posix/bug-regex31.c (main): Return RES not 0.
11992 2014-11-25  Anton Blanchard <anton@samba.org>
11994         * sysdeps/powerpc/bits/atomic.h
11995         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
11997 2014-11-24  Sterling Augustine  <saugustine@google.com>
11999         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
12001 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
12003         [BZ #17608]
12004         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
12006 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
12008         [BZ #17633]
12009         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
12010         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
12011         variable.
12012         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
12013         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
12015 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12017         * string/strncpy.c (strncpy): Improve performance by using memset.
12019 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
12021         * string/strcpy.c (strcpy):
12022         Improve performance by using strlen and memcpy.
12024 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
12026         * string/strcoll_l.c (get_next_seq): __always_inline.
12027         * string/strcoll_l.c (do_compare): __always_inline.
12029 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12031         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
12032         defined.
12033         * include/mqueue.h: Likewise.
12034         * include/stdlib.h: Likewise.
12036         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
12037         (get_null_defines): Adjust.
12038         * sunrpc/Makefile: Adjust comment.
12039         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
12040         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
12041         (CFLAGS-interp.c): Likewise.
12042         (CFLAGS-ldconfig.c): Likewise.
12043         (CPPFLAGS-.os): Likewise.
12044         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12045         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12046         * extra-modules.mk (extra-modules.mk): Likewise.
12047         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
12048         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
12049         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
12050         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
12051         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
12052         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
12053         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
12054         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
12055         * iconvdata/Makefile (CPPFLAGS): Likewise.
12056         (cpp-srcs-left): Add libof for all iconvdata routines.
12057         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
12058         * include/assert.h: Likewise.
12059         * include/ctype.h: Likewise.
12060         * include/errno.h: Likewise.
12061         * include/libc-symbols.h: Likewise.
12062         * include/math.h: Likewise.
12063         * include/netdb.h: Likewise.
12064         * include/resolv.h: Likewise.
12065         * include/stdio.h: Likewise.
12066         * include/stdlib.h: Likewise.
12067         * include/string.h: Likewise.
12068         * include/sys/stat.h: Likewise.
12069         * include/wctype.h: Likewise.
12070         * intl/l10nflist.c: Likewise.
12071         * libidn/idn-stub.c: Likewise.
12072         * libio/libioP.h: Likewise.
12073         * nptl/libc_multiple_threads.c: Likewise.
12074         * nptl/pthreadP.h: Likewise.
12075         * posix/regex_internal.h: Likewise.
12076         * resolv/res_hconf.c: Likewise.
12077         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
12078         * sysdeps/arm/memmove.S: Likewise.
12079         * sysdeps/arm/sysdep.h: Likewise.
12080         * sysdeps/generic/_itoa.h: Likewise.
12081         * sysdeps/generic/symbol-hacks.h: Likewise.
12082         * sysdeps/gnu/errlist.awk: Likewise.
12083         * sysdeps/gnu/errlist.c: Likewise.
12084         * sysdeps/i386/i586/memcpy.S: Likewise.
12085         * sysdeps/i386/i586/memset.S: Likewise.
12086         * sysdeps/i386/i686/memcpy.S: Likewise.
12087         * sysdeps/i386/i686/memmove.S: Likewise.
12088         * sysdeps/i386/i686/mempcpy.S: Likewise.
12089         * sysdeps/i386/i686/memset.S: Likewise.
12090         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
12091         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12092         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
12093         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
12094         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12095         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12096         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
12097         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12098         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
12099         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12100         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12101         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12102         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12103         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12104         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12105         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12106         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
12107         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
12108         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
12109         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12110         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12111         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12112         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12113         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12114         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12115         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12116         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
12117         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12118         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
12119         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
12120         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12121         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12123         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12124         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
12126         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12127         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12128         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
12129         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
12130         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12131         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12132         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
12133         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
12134         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12135         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12136         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
12137         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
12138         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12139         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12140         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12141         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
12142         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
12143         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12144         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
12145         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
12146         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12147         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
12148         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
12149         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12150         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
12151         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12152         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
12153         * sysdeps/nptl/bits/libc-lock.h: Likewise.
12154         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12155         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
12156         * sysdeps/posix/closedir.c: Likewise.
12157         * sysdeps/posix/opendir.c: Likewise.
12158         * sysdeps/posix/readdir.c: Likewise.
12159         * sysdeps/posix/rewinddir.c: Likewise.
12160         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
12161         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
12162         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
12163         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
12164         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12165         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
12166         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
12167         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
12168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
12169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
12170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
12171         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
12172         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
12173         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
12174         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
12175         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
12176         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
12177         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
12178         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
12179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
12180         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
12181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
12182         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
12183         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
12184         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
12185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
12186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
12187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
12188         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
12189         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
12190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
12191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
12192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
12193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
12194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
12195         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
12196         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12197         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12198         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
12199         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
12200         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
12201         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
12202         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
12203         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
12204         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
12205         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
12206         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
12207         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
12208         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
12209         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
12210         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
12211         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
12212         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
12213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
12214         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
12215         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
12216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
12217         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
12218         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
12219         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
12220         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
12221         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
12222         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
12223         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
12224         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
12225         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
12226         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
12227         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
12228         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
12229         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
12230         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
12231         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
12232         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
12233         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
12234         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
12235         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
12236         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
12237         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
12238         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
12239         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
12240         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
12241         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
12242         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
12243         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
12244         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
12245         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
12246         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
12247         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12248         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12249         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12250         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
12251         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
12252         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
12253         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
12254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
12255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
12256         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
12257         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
12258         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
12259         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
12260         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
12261         * sysdeps/unix/alpha/sysdep.S: Likewise.
12262         * sysdeps/unix/alpha/sysdep.h: Likewise.
12263         * sysdeps/unix/make-syscalls.sh: Likewise.
12264         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12266         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12267         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
12268         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12269         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12270         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
12271         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12272         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12273         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
12274         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12275         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12277         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12278         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12279         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12280         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12281         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12282         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12283         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12284         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12285         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12286         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12287         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12288         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12289         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12290         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12293         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
12294         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12295         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12298         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12299         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12302         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12303         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12304         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12305         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12306         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12307         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12308         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12309         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12311         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12312         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12314         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12315         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12316         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12317         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12318         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
12319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12320         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12322         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
12323         * sysdeps/x86_64/memcpy.S: Likewise.
12324         * sysdeps/x86_64/memmove.c: Likewise.
12325         * sysdeps/x86_64/memset.S: Likewise.
12326         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
12327         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12328         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12329         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
12330         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
12331         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12332         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12333         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
12334         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
12335         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
12336         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
12337         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
12338         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
12339         * sysdeps/x86_64/multiarch/memset.S: Likewise.
12340         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12341         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
12342         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
12343         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
12344         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
12345         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
12346         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
12347         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12348         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12349         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
12350         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
12351         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
12352         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12353         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
12354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
12355         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12356         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
12357         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12358         * sysdeps/x86_64/strcmp.S: Likewise.
12360         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
12362         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
12363         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
12364         * elf/rtld-Rules: Likewise.
12365         * elf/setup-vdso.h: Likewise.
12366         * include/assert.h: Likewise.
12367         * include/bits/stdlib-float.h: Likewise.
12368         * include/errno.h: Likewise.
12369         * include/sys/stat.h: Likewise.
12370         * include/unistd.h: Likewise.
12371         * sysdeps/aarch64/setjmp.S: Likewise.
12372         * sysdeps/alpha/setjmp.S: Likewise.
12373         * sysdeps/arm/__longjmp.S: Likewise.
12374         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
12375         * sysdeps/arm/setjmp.S: Likewise.
12376         * sysdeps/arm/sysdep.h: Likewise.
12377         * sysdeps/generic/_itoa.h: Likewise.
12378         * sysdeps/generic/dl-sysdep.h: Likewise.
12379         * sysdeps/generic/ldsodefs.h: Likewise.
12380         * sysdeps/i386/dl-tls.h: Likewise.
12381         * sysdeps/i386/setjmp.S: Likewise.
12382         * sysdeps/m68k/setjmp.c: Likewise.
12383         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
12384         * sysdeps/mach/hurd/opendir.c: Likewise.
12385         * sysdeps/posix/getcwd.c: Likewise.
12386         * sysdeps/posix/opendir.c: Likewise.
12387         * sysdeps/posix/profil.c: Likewise.
12388         * sysdeps/powerpc/dl-procinfo.h: Likewise.
12389         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
12390         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
12391         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
12392         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
12393         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
12394         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
12395         * sysdeps/s390/dl-tls.h: Likewise.
12396         * sysdeps/s390/s390-32/setjmp.S: Likewise.
12397         * sysdeps/s390/s390-64/setjmp.S: Likewise.
12398         * sysdeps/sh/sh3/setjmp.S: Likewise.
12399         * sysdeps/sh/sh4/setjmp.S: Likewise.
12400         * sysdeps/unix/alpha/sysdep.h: Likewise.
12401         * sysdeps/unix/arm/sysdep.S: Likewise.
12402         * sysdeps/unix/i386/sysdep.S: Likewise.
12403         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12404         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12405         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
12406         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
12407         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12408         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
12409         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
12410         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12411         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
12412         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
12413         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
12414         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
12415         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
12416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12418         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
12419         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12420         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12421         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12422         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12423         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
12424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12426         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
12427         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12428         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
12429         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12430         * sysdeps/unix/x86_64/sysdep.S: Likewise.
12431         * sysdeps/x86_64/setjmp.S: Likewise.
12433         * include/math.h: Use IS_IN instead of IS_IN_libm.
12434         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
12435         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
12436         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
12437         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
12438         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
12439         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
12440         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
12441         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
12442         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12443         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
12444         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
12445         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
12446         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
12447         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
12448         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
12449         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
12450         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
12451         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
12452         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
12453         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
12454         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
12455         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
12456         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
12457         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
12458         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
12459         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
12460         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
12461         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
12462         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
12463         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
12464         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
12465         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
12466         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
12468         Likewise.
12469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
12470         Likewise.
12471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
12472         Likewise.
12473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
12474         Likewise.
12475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
12476         Likewise.
12477         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
12478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
12479         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
12480         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
12481         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
12482         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
12483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
12484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
12485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
12486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
12487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
12488         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
12489         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
12490         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12491         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12492         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
12493         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12494         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12495         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
12496         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
12497         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
12498         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
12499         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
12500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
12501         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
12502         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
12503         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
12505         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
12506         * nptl/pthreadP.h: Likewise.
12507         * nptl_db/structs.def: Likewise.
12508         * sysdeps/arm/sysdep.h: Likewise.
12509         * sysdeps/nptl/bits/libc-lock.h: Likewise.
12510         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
12511         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
12512         * sysdeps/unix/alpha/sysdep.h: Likewise.
12513         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12514         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
12515         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12517         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12518         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12519         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12520         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12521         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12522         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12523         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12524         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12525         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12526         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
12528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
12529         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12530         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12531         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12532         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12533         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12534         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12535         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
12536         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12537         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
12538         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12540         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
12541         * nptl/pthreadP.h: Likewise.
12542         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
12543         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
12544         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
12545         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
12546         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
12547         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
12548         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12549         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
12550         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
12551         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
12552         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
12553         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12555         Likewise.
12556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12557         Likewise.
12558         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
12559         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
12560         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
12561         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
12562         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
12563         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
12564         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
12565         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
12567         * dlfcn/dladdr.c: Use IS_IN.
12568         * dlfcn/dladdr1.c: Likewise.
12569         * dlfcn/dlclose.c: Likewise.
12570         * dlfcn/dlerror.c: Likewise.
12571         * dlfcn/dlinfo.c: Likewise.
12572         * dlfcn/dlmopen.c: Likewise.
12573         * dlfcn/dlopen.c: Likewise.
12574         * dlfcn/dlsym.c: Likewise.
12575         * dlfcn/dlvsym.c: Likewise.
12577         * include/ifaddrs.h: Use IS_IN.
12578         * inet/check_pf.c: Likewise.
12579         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12580         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
12582         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
12583         IS_IN_ldconfig.
12584         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
12585         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
12587         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
12588         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
12589         IS_IN (libc).
12591         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
12593         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
12594         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
12595         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
12596         * include/libc-symbols.h (IS_IN_LIB): New macro.
12597         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
12598         * include/netdb.h: Likewise.
12599         * include/stap-probe.h: Remove all uses of IN_LIB.
12601         * Makeconfig (module-cppflags-real): Define MODULE_NAME
12602         instead of IN_MODULE.
12603         * include/libc-symbols.h (IN_MODULE): Define using
12604         MODULE_NAME.
12605         (PASTE_NAME, PASTE_NAME1): New macros.
12606         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
12607         of IN_LIB.
12608         (STAP_PROBE_ASM): Likewise.
12610 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12612         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
12613         __mach_init in dlopened libc.
12615 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
12617         * sysdeps/arm/preconfigure.ac: Delete EABI check.
12618         * sysdeps/arm/preconfigure: Regenerate.
12620 2014-11-21  Roland McGrath  <roland@hack.frob.com>
12622         * nptl/pthread_create.c (__pthread_create_2_1): Set
12623         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
12624         when copying values from IATTR into PD.
12626 2014-11-21  Will Newton  <will.newton@linaro.org>
12627             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
12629         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
12630         Refactor inline-asm.  Also add comment.
12632         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
12633         ElfW macro instead of hardcoded Elf64 types.
12634         (la_aarch64_gnu_pltenter): Likewise.
12635         * sysdeps/aarch64/dl-machine.h
12636         (elf_machine_runtime_setup): Use ElfW(Addr).
12638         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
12639         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
12640         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
12641         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
12642         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
12643         (R_AARCH64_TLS_DTPMOD64): Rename to ..
12644         (R_AARCH64_TLS_DTPMOD): This.
12645         (R_AARCH64_TLS_DTPREL64): Rename to ...
12646         (R_AARCH64_TLS_DTPREL): This.
12647         (R_AARCH64_TLS_TPREL64): Rename to ...
12648         (R_AARCH64_TLS_TPREL): This.
12649         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
12650         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
12651         R_AARCH64_TLS_TPREL64.
12652         (elf_machine_rela): Likewise.
12654 2014-11-21  Torvald Riegel  <triegel@redhat.com>
12656         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
12657         by setting it to 0.  64b atomics are not supported currently.
12659 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12661         [BZ #16469]
12662         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
12663         search domain names.
12665 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12667         [BZ #16469]
12668         * NEWS: Update.
12669         * resolv/res_query.c (__libc_res_nquerydomain): Retain
12670         trailing dot.
12671         * posix/tst-getaddrinfo5.c: New.
12672         * posix/Makefile (tests): Add it.
12674 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12676         [BZ #14498]
12677         * NEWS: Fixed.
12678         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
12679         after parsing line but before break_if_match.
12680         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
12681         if there is a protocol mismatch.
12683 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
12685         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
12686         because the potential race is on the user-supplied stream.
12688 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12690         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
12691         string literal if not passed a buffer.
12692         * manual/job.texi (ctermid): Update reasoning, note deviation
12693         from posix, suggest mtasurace when not passed a buffer, for
12694         future non-preliminary safety notes.
12696 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12698         * manual/users.texi (cuserid): Fix MT-Safety note for the case
12699         of not passing it a buffer.
12700         Reported by Peng Haitao.
12702 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
12704         * manual/Makefile ($(objpfx)stamp-summary): Require
12705         check-safety.sh to pass.
12706         * manual/check-safety.sh: Wish for verification that every
12707         @deftypefn and @deftypefun is followed by a @safety remark.
12709 2014-11-20  Roland McGrath  <roland@hack.frob.com>
12711         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
12713         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
12714         PTHREAD_CANCEL_ASYNCHRONOUS.
12715         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
12716         send SIGCANCEL.
12718         * nptl/default-sched.h: New file.
12719         * sysdeps/unix/sysv/linux/default-sched.h: New file.
12720         * nptl/pthread_create.c: Include it.
12721         (__pthread_create_2_1): Use collect_default_sched instead of making
12722         Linux syscalls here directly.
12724 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12726         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
12727         __pthread_once): Use C11 atomics.
12729 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12731         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
12733 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12735         * include/atomic.h (__atomic_link_error, __atomic_check_size,
12736         atomic_thread_fence_acquire, atomic_thread_fence_release,
12737         atomic_thread_fence_seq_cst, atomic_load_relaxed,
12738         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
12739         atomic_compare_exchange_weak_relaxed,
12740         atomic_compare_exchange_weak_acquire,
12741         atomic_compare_exchange_weak_release,
12742         atomic_exchange_acquire, atomic_exchange_release,
12743         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
12744         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
12745         atomic_fetch_and_acquire,
12746         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
12748 2014-11-20  Torvald Riegel  <triegel@redhat.com>
12750         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
12751         USE_ATOMIC_COMPILER_BUILTINS): Define.
12752         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
12753         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12754         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
12755         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12756         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
12757         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12758         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
12759         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12760         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
12761         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
12763         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12764         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
12765         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12766         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
12767         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12768         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12769         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12770         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12771         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12772         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
12773         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12774         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
12775         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12776         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
12777         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12778         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
12779         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12780         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
12781         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12782         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
12783         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12784         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
12785         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12786         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
12787         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12788         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
12789         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12790         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
12791         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
12793 2014-11-19  Roland McGrath  <roland@hack.frob.com>
12795         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
12796         the sched_priority value here.  It was already checked when the user
12797         called pthread_attr_setschedparam.
12799         * nptl/tst-bad-schedattr.c: New file.
12800         * nptl/Makefile (tests): Add it.
12802 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
12803             Florian Weimer  <fweimer@redhat.com>
12804             Joseph Myers  <joseph@codesourcery.com>
12805             Adam Conrad  <adconrad@0c3.net>
12806             Andreas Schwab  <schwab@suse.de>
12807             Brooks  <bmoses@google.com>
12809         [BZ #17625]
12810         * wordexp-test.c (__dso_handle): Add prototype.
12811         (__register_atfork): Likewise.
12812         (__app_register_atfork): New function.
12813         (registered_forks): New global.
12814         (register_fork): New function.
12815         (test_case): Add 3 new tests for WRDE_CMDSUB.
12816         (main): Call __app_register_atfork.
12817         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
12818         fork count is non-zero fail the test.
12819         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
12820         is set.
12821         (parse_dollars): Remove check for WRDE_NOCMD.
12822         (parse_dquote): Likewise.
12824 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
12826         * Makeconfig (built-modules): List non-library modules to be
12827         built.
12828         (module-cppflags): Include libc-modules.h for
12829         everything except shlib-versions.v.i.
12830         (CPPFLAGS): Use it.
12831         (before-compile): Add libc-modules.h.
12832         ($(common-objpfx)libc-modules.h,
12833         $(common-objpfx)libc-modules.stmp): New targets.
12834         (common-generated): Add libc-modules.h and libc-modules.stmp.
12835         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
12836         * include/libc-symbols.h: Don't include libc-modules.h.
12837         * include/libc-modules.h: Remove file.
12838         * scripts/gen-libc-modules.awk: New script to generate
12839         libc-modules.h.
12840         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
12841         Depend on libc-modules.stmp.
12843         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
12845         * Makeconfig (in-module): Get value of libof set for the
12846         translation unit.
12847         (CPPFLAGS): Use $(in-module).
12848         * Makerules: Don't suffix routine names for nonlib.
12849         * include/libc-modules.h: New file.
12850         * include/libc-symbols.h: Include libc-modules.h
12851         (IS_IN): New macro to replace IS_IN_* macros.
12852         * elf/Makefile: Set libof-* for each routine.
12853         * elf/rtld-Rules: Likewise.
12854         * extra-modules.mk: Likewise.
12855         * iconv/Makefile: Likewise.
12856         * iconvdata/Makefile: Likewise.
12857         * locale/Makefile: Likewise.
12858         * malloc/Makefile: Likewise.
12859         * nss/Makefile: Likewise.
12860         * sysdeps/gnu/Makefile: Likewise.
12861         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
12862         * sysdeps/unix/sysv/linux/Makefile: Likewise.
12863         * sysdeps/s390/s390-64/Makefile: Likewise.
12864         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
12865         CPPFLAGS for nscd instead of nonlib.
12867 2014-11-18  Roland McGrath  <roland@hack.frob.com>
12869         * nptl/createthread.c: New file.
12871         * nptl/createthread.c: Moved ...
12872         * sysdeps/unix/sysv/linux/createthread.c: ... here.
12874         * nptl/createthread.c: Add proper top-line comment.
12875         (do_clone): Folded into ...
12876         (create_thread): ... here.  Take new arguments STOPPED_START and
12877         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
12878         increment __nptl_threads, do event-reporting logic, do
12879         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
12880         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
12881         resource cleanup if sched_setaffinity or sched_setscheduler fails,
12882         just send SIGCANCEL.
12883         * nptl/pthread_create.c: Forward-declare create_thread before
12884         including createthread.c.
12885         (start_thread): Use new macro START_THREAD_DEFN to replace defining
12886         declaration, and new macro START_THREAD_SELF to replace argument.
12887         Remove return statement.
12888         (report_thread_creation): New function.
12889         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
12890         synchronization logic, and __nptl_nthreads increment here, around
12891         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
12892         PD->parent_cancelhandling here, before create_thread.  When
12893         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
12894         __deallocate_stack, and ENOMEM translation here.
12896 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
12898         [BZ #17616]
12899         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
12900         (mptwo): Rename to __mptwo.
12901         (__inv): Use __mptwo instead of mptwo.
12902         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
12903         (mptwo): Rename to __mptwo.
12904         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
12905         of mpone and __mptwo instead of mptwo.
12906         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
12907         instead of mpone.
12908         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12909         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
12910         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
12911         of mpone and __mptwo instead of mptwo.
12912         (__mpranred): Use __mpone instead of mpone.
12913         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
12914         variable.
12915         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
12916         (test-xfail-ISO99/math.h/linknamespace): Likewise.
12917         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
12918         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
12919         (test-xfail-ISO11/math.h/linknamespace): Likewise.
12920         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
12921         (test-xfail-XPG3/math.h/linknamespace): Likewise.
12922         (test-xfail-XPG4/math.h/linknamespace): Likewise.
12923         (test-xfail-POSIX/math.h/linknamespace): Likewise.
12924         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
12925         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
12926         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
12927         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
12928         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
12929         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
12930         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
12931         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
12932         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
12933         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
12935 2014-11-18  Tom de Vries  <tom@codesoucery.com>
12937         * manual/signal.texi (Primitives Interrupted by Signals): In section,
12938         replace BSD Handler xref with BSD Signal Handling.
12940 2014-11-17  Richard Henderson  <rth@redhat.com>
12942         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
12943         (_FP_PACK_RAW_2): Remove.
12944         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
12945         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
12946         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
12947         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
12948         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
12949         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
12950         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
12951         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
12952         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
12953         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
12954         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
12955         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
12956         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
12957         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
12958         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
12959         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
12961 2014-11-14  Roland McGrath  <roland@hack.frob.com>
12963         * signal/signal.h [__USE_MISC]
12964         (struct sigvec): Remove type.
12965         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
12966         (sigvec): Remove declaration.
12967         * sysdeps/posix/sigvec.c: Moved ...
12968         * signal/sigvec.c: ... here, replacing old file.
12969         (struct sigvec): New type, copied from old signal.h definition.
12970         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
12971         (__sigvec): Convert definition to prototype.
12972         (sigvec): Replace weak_alias with compat_symbol.
12973         * signal/Versions (libc: GLIBC_2.21): New version set.
12974         * include/signal.h: Remove __sigvec declaration.
12975         * sysdeps/unix/bsd/sigvec.c: Remove file.
12976         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
12977         * manual/signal.texi (BSD Handler): Remove subsection.
12978         Move siginterrupt up to ...
12979         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
12980         (Blocking in BSD): Fold subsection into its parent.
12981         * NEWS: Mention sigvec removal.
12983 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
12985         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
12986         (DLA_FMS): Make definition conditional only on [__FMA4__].
12987         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
12988         definition.
12990         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
12991         Make definition conditional only on [PROF].
12992         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
12993         definition.
12994         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
12995         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
12997         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
12998         !__GNUC__].
12999         * include/signal.h (__sigpause): Move declaration above call to
13000         libc_hidden_proto.
13001         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
13002         variable.
13003         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13004         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13006 2014-11-14  David S. Miller  <davem@davemloft.net>
13008         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
13009         Define before including <string/memcpy.c> and <string/mempcpy.c>.
13011 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
13013         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
13014         * configure: Regenerated.
13015         * manual/install.texi (Tools for Compilation): Document a
13016         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
13017         compiler verified to work.
13018         * INSTALL: Regenerated.
13020         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
13021         redeclare with asm name.
13022         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
13023         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
13024         including <string.h>.
13025         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13026         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
13027         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13028         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
13029         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
13031         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
13033 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
13035         * stdlib/strtol.c (__strtol): Use prototype definition.
13037         [BZ #17594]
13038         * stdlib/strtol.c (SYM__): New macro.
13039         (SYM__1): Likewise.
13040         (__strtol): Likewise.
13041         (strtol): Rename to __strtol and define as weak alias of
13042         __strtol.  Use libc_hidden_weak.
13044 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13046         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
13047         Use numbered labels in inline assembly.
13049 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13051         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
13052         Add setjmp LIBC_PROBE.
13053         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
13054         Likewise.
13055         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
13056         Add longjmp, longjmp_target LIBC_PROBE.
13057         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
13058         Likewise.
13060 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13062         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
13063         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
13064         to get rid of unused variable warning.
13066 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
13068         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
13069         Check for unwind_backtrace ==  NULL only in SHARED case.
13070         (__backchain_backtrace): Compile only in SHARED case.
13071         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
13072         Likewise.
13073         (__backchain_backtrace): Declare as static.
13075 2014-11-12  Roland McGrath  <roland@hack.frob.com>
13077         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
13078         (__libc_multiple_threads_ptr): Variable moved ...
13079         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
13081 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
13083         * conform/GlibcConform.pm: New file.
13084         * conform/conformtest.pl: Use GlibcConform module.
13085         * conform/linknamespace.pl: New file.
13086         * conform/list-header-symbols.pl: Likewise.
13087         * conform/Makefile (linknamespace-symlists-base): New variable.
13088         (linknamespace-symlists-tests): Likewise.
13089         (linknamespace-header-base): Likewise.
13090         (linknamespace-header-tests): Likewise.
13091         (tests-special): Add new tests.
13092         ($(linknamespace-symlists-tests)): New rule.
13093         (linknamespace-libs): New variable.
13094         ($(objpfx)symlist-stdlibs): New rule.
13095         ($(linknamespace-header-tests)): Likewise.
13096         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
13097         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
13098         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
13099         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
13100         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
13101         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
13102         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
13103         (test-xfail-ISO/math.h/linknamespace): Likewise.
13104         (test-xfail-ISO/signal.h/linknamespace): Likewise.
13105         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
13106         (test-xfail-ISO/time.h/linknamespace): Likewise.
13107         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
13108         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
13109         (test-xfail-ISO99/math.h/linknamespace): Likewise.
13110         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
13111         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13112         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
13113         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
13114         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
13115         (test-xfail-ISO11/math.h/linknamespace): Likewise.
13116         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
13117         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13118         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
13119         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
13120         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
13121         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
13122         (test-xfail-XPG3/math.h/linknamespace): Likewise.
13123         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
13124         (test-xfail-XPG3/search.h/linknamespace): Likewise.
13125         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
13126         (test-xfail-XPG3/time.h/linknamespace): Likewise.
13127         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
13128         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
13129         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
13130         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
13131         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
13132         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
13133         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
13134         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
13135         (test-xfail-XPG4/math.h/linknamespace): Likewise.
13136         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
13137         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
13138         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
13139         (test-xfail-XPG4/search.h/linknamespace): Likewise.
13140         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
13141         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
13142         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
13143         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
13144         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
13145         (test-xfail-XPG4/time.h/linknamespace): Likewise.
13146         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
13147         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
13148         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
13149         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
13150         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
13151         (test-xfail-POSIX/math.h/linknamespace): Likewise.
13152         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
13153         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
13154         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
13155         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
13156         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
13157         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13158         (test-xfail-POSIX/time.h/linknamespace): Likewise.
13159         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
13160         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
13161         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
13162         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
13163         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
13164         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
13165         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
13166         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
13167         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
13168         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
13169         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
13170         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
13171         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
13172         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
13173         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
13174         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
13175         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
13176         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
13177         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
13178         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
13179         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13180         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13181         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
13182         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
13183         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
13184         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
13185         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
13186         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
13187         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
13188         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
13189         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
13190         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
13191         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
13192         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
13193         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
13194         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
13195         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
13196         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
13197         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
13198         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
13199         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13200         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
13201         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
13202         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
13203         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
13204         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
13205         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
13206         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13207         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13208         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
13209         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
13210         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
13211         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13212         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
13213         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
13214         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
13215         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
13216         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
13217         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
13218         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
13219         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
13220         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
13221         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
13222         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
13223         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13224         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
13225         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13226         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
13227         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
13228         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
13229         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13230         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13231         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
13232         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13233         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
13234         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13235         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
13236         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
13237         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
13238         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
13239         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
13240         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
13241         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
13242         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
13243         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13244         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
13245         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13246         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
13247         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
13248         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
13249         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
13250         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
13251         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13252         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13253         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
13254         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
13255         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13256         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
13258         [BZ #17589]
13259         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
13260         of fgets_unlocked.
13262         [BZ #17585]
13263         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
13264         (memmem): Rename to __memmem and define as weak alias of
13265         __memmem.  Use libc_hidden_weak.
13266         (__memmem): Use libc_hidden_def.
13267         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
13268         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
13269         memmem.
13271         [BZ #17582]
13272         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
13273         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
13274         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
13275         and define as weak alias of __fgets_unlocked.  Use
13276         libc_hidden_weak.
13277         (__fgets_unlocked): Use libc_hidden_def.
13278         * include/stdio.h (__fgets_unlocked): Declare.  Use
13279         libc_hidden_proto.
13280         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
13281         __fgets_unlocked instead of fgets_unlocked.
13282         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
13283         (GET_NPROCS_CONF_PARSER): Likewise.
13284         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
13285         (GET_NPROCS_CONF_PARSER): Likewise.
13287         [BZ #17574]
13288         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
13289         weak alias of __wmemset.  Use libc_hidden_weak.
13290         (__wmemset): Use libc_hidden_def.
13291         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
13292         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
13293         of wmemset.
13295         [BZ #17573]
13296         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
13297         with asm name __mempcpy.
13298         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
13300         [BZ #17572]
13301         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
13302         and define as weak alias of __rawmemchr.
13303         (__rawmemchr): Do not define as strong alias of rawmemchr.
13305         [BZ #17571]
13306         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
13307         alias of __qsort_r.
13308         (qsort): Call __qsort_r instead of qsort_r.
13309         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
13310         (__qsort_r): Declare.  Call libc_hidden_proto.
13311         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
13312         instead of qsort_r.
13313         * nscd/gai.c (__qsort_r): Define to qsort_r.
13314         * posix/tst-rfc3484.c (__qsort_r): Likewise.
13315         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
13316         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
13318         [BZ #17570]
13319         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
13320         define as weak alias of __malloc_info.
13322         [BZ #17584]
13323         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
13324         as weak alias of __rewinddir.  Don't use libc_hidden_def.
13325         (__rewinddir): Use libc_hidden_def.
13326         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
13327         as weak alias of __rewinddir.  Don't use libc_hidden_def.
13328         (__rewinddir): Use libc_hidden_def.
13329         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
13330         weak alias of __rewinddir.  Don't use libc_hidden_def.
13331         (__rewinddir): Use libc_hidden_def.
13332         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
13333         (__rewinddir): Use libc_hidden_proto.
13334         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
13335         rewinddir.
13336         (__getcwd): Use __rewinddir instead of rewinddir.
13338         [BZ #17583]
13339         * libio/fileno.c (fileno): Rename to __fileno and define as weak
13340         alias of __fileno.  Use libc_hidden_weak.
13341         (__fileno): Use libc_hidden_def.
13342         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
13343         * libio/ftello.c (ftello): Rename to __ftello and define as weak
13344         alias of __ftello.
13345         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
13346         __ftello.
13347         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
13348         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
13349         libc_hidden_def.
13350         (fread_unlocked): Don't use libc_hidden_ver.
13351         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
13352         and define as weak alias of __fread_unlocked.  Don't use
13353         libc_hidden_def.
13354         (__fread_unlocked): Use libc_hidden_def.
13355         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
13356         (ftello): Don't use libc_hidden_proto.
13357         (__ftello): Declare.  Use libc_hidden_proto.
13358         (fread_unlocked): Don't use libc_hidden_proto.
13359         (__fread_unlocked): Declare.  Use libc_hidden_proto.
13360         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
13361         and __ftello instead of fileno, fread_unlocked and ftello.
13363 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13365         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
13366         GOT12.
13367         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13368         Likewise.
13369         (_dl_start_user): Likewise.
13370         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
13372 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
13373             Siddhesh Poyarekar  <siddhesh@redhat.com>
13375         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
13376         Move argv and envp down instead of moving argc up.
13377         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
13379 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
13381         [BZ #17506]
13382         * test-skeleton.c (main): Return successful if one of
13383         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
13384         * string/tst-strcoll-overflow.c: Define expected status.
13386 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
13388         [BZ #17475]
13389         * locale/iso-639.def: Define Bhili and Tulu language codes.
13391 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
13393         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
13395 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
13397         [BZ #17555]
13398         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
13400 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
13402         * configure.ac: Updated check of minimal required version to
13403         2.22.
13404         * manual/install.texi (Tools for Compilation): Updated version
13405         number.
13406         * configure: Regenerated.
13407         * INSTALL: Likewise.
13409 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
13411         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
13412         __tls_get_addr.
13414 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
13416         * include/sys/wait.h (__libc_waitpid): Remove declaration.
13417         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
13418         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13419         libc_hidden_weak.
13420         (waitpid): Define as alias of __waitpid.
13421         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
13422         __waitpid.
13423         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13424         libc_hidden_weak.
13425         (waitpid): Define as alias of __waitpid.
13426         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
13427         __libc_waitpid alias.
13428         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
13429         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
13432         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
13433         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
13434         alias.
13435         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
13436         __waitpid.
13437         (__waitpid): Don't define as alias.  Use libc_hidden_def not
13438         libc_hidden_weak.
13439         (waitpid): Define as alias of __waitpid.
13441 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
13443         * manual/llio.texi: Add comment that write safety has been
13444         fixed in Linux.
13446         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
13447         (localplt-build-dso): Add elf/ld.so.
13448         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
13449         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
13450         and free for ld.so.
13451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
13452         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
13453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
13454         Likewise.
13455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13456         Likewise.
13457         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
13458         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
13459         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
13460         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
13461         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13462         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
13463         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
13464         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
13465         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13466         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
13467         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
13469 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
13471         [BZ #14132]
13472         * include/libc-symbols.h (INTUSE): Remove macro.
13473         (INTDEF): Likewise.
13474         (INTVARDEF): Likewise.
13475         (_INTVARDEF): Likewise.
13476         (INTDEF2): Likewise.
13477         (INTVARDEF2): Likewise.
13478         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
13479         rtld_hidden_def instead of INTVARDEF.
13480         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
13481         (_dl_starting_up_internal): Remove declaration.
13482         (_dl_starting_up): Use rtld_hidden_proto.
13483         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
13484         declaration.
13485         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
13486         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
13487         _dl_starting_up.
13488         * elf/dl-writev.h (_dl_writev): Likewise.
13489         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
13490         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
13491         _dl_starting_up_internal.
13493 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13495         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
13496         test-skeleton.c.
13498 2014-11-05  Will Newton  <will.newton@linaro.org>
13500         * benchtests/Makefile: (bench-malloc): Add malloc thread
13501         scalability benchmark.
13502         * benchtests/bench-malloc-threads.c: New file.
13504 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
13506         * sysdeps/aarch64/strchrnul.S: New file.
13508 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13510         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
13511         definition.
13512         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13513         Likwise.
13514         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13515         Likewise.
13516         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13517         Likewise.
13518         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13519         Likewise.
13520         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13521         Likewise.
13523 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
13525         * catgets/test-gencat.c: Use test-skeleton.c.
13526         * catgets/tst-catgets.c: Likewise.
13527         * csu/tst-empty.c: Likewise.
13528         * elf/tst-audit2.c: Likewise.
13529         * elf/tst-global1.c: Likewise.
13530         * elf/tst-pathopt.c: Likewise.
13531         * elf/tst-piemod1.c: Likewise.
13532         * elf/tst-tls10.c: Likewise.
13533         * elf/tst-tls11.c: Likewise.
13534         * elf/tst-tls12.c: Likewise.
13535         * gnulib/tst-gcc.c: Likewise.
13536         * iconvdata/tst-e2big.c: Likewise.
13537         * iconvdata/tst-loading.c: Likewise.
13538         * iconv/tst-iconv1.c: Likewise.
13539         * iconv/tst-iconv2.c: Likewise.
13540         * inet/test-inet6_opt.c: Likewise.
13541         * inet/tst-gethnm.c: Likewise.
13542         * inet/tst-network.c: Likewise.
13543         * inet/tst-ntoa.c: Likewise.
13544         * intl/tst-codeset.c: Likewise.
13545         * intl/tst-gettext2.c: Likewise.
13546         * intl/tst-gettext3.c: Likewise.
13547         * intl/tst-ngettext.c: Likewise.
13548         * intl/tst-translit.c: Likewise.
13549         * io/test-stat.c: Likewise.
13550         * libio/test-fmemopen.c: Likewise.
13551         * libio/tst-freopen.c: Likewise.
13552         * libio/tst-sscanf.c: Likewise.
13553         * libio/tst-ungetwc1.c: Likewise.
13554         * libio/tst-ungetwc2.c: Likewise.
13555         * libio/tst-widetext.c: Likewise.
13556         * localedata/tst-ctype.c: Likewise.
13557         * localedata/tst-digits.c: Likewise.
13558         * localedata/tst-leaks.c: Likewise.
13559         * localedata/tst-mbswcs1.c: Likewise.
13560         * localedata/tst-mbswcs2.c: Likewise.
13561         * localedata/tst-mbswcs3.c: Likewise.
13562         * localedata/tst-mbswcs4.c: Likewise.
13563         * localedata/tst-mbswcs5.c: Likewise.
13564         * localedata/tst-setlocale.c: Likewise.
13565         * localedata/tst-trans.c: Likewise.
13566         * localedata/tst-wctype.c: Likewise.
13567         * localedata/tst-xlocale1.c: Likewise.
13568         * login/tst-grantpt.c: Likewise.
13569         * malloc/tst-calloc.c: Likewise.
13570         * malloc/tst-malloc.c: Likewise.
13571         * malloc/tst-mallocstate.c: Likewise.
13572         * malloc/tst-mcheck.c: Likewise.
13573         * malloc/tst-mtrace.c: Likewise.
13574         * malloc/tst-obstack.c: Likewise.
13575         * math/atest-exp2.c: Likewise.
13576         * math/atest-exp.c: Likewise.
13577         * math/atest-sincos.c: Likewise.
13578         * math/test-matherr.c: Likewise.
13579         * math/test-misc.c: Likewise.
13580         * math/test-powl.c: Likewise.
13581         * math/tst-definitions.c: Likewise.
13582         * misc/tst-dirname.c: Likewise.
13583         * misc/tst-efgcvt.c: Likewise.
13584         * misc/tst-fdset.c: Likewise.
13585         * misc/tst-hsearch.c: Likewise.
13586         * misc/tst-mntent2.c: Likewise.
13587         * nptl/tst-sem7.c: Likewise.
13588         * nptl/tst-sem8.c: Likewise.
13589         * nptl/tst-sem9.c: Likewise.
13590         * nss/test-netdb.c: Likewise.
13591         * posix/tst-fnmatch.c: Likewise.
13592         * posix/tst-getlogin.c: Likewise.
13593         * posix/tst-gnuglob.c: Likewise.
13594         * posix/tst-mmap.c: Likewise.
13595         * pwd/tst-getpw.c: Likewise.
13596         * resolv/tst-inet_ntop.c: Likewise.
13597         * rt/tst-timer.c: Likewise.
13598         * stdio-common/test-fseek.c: Likewise.
13599         * stdio-common/test-popen.c: Likewise.
13600         * stdio-common/test-vfprintf.c: Likewise.
13601         * stdio-common/tst-cookie.c: Likewise.
13602         * stdio-common/tst-fileno.c: Likewise.
13603         * stdio-common/tst-gets.c: Likewise.
13604         * stdio-common/tst-obprintf.c: Likewise.
13605         * stdio-common/tst-perror.c: Likewise.
13606         * stdio-common/tst-sprintf2.c: Likewise.
13607         * stdio-common/tst-sprintf3.c: Likewise.
13608         * stdio-common/tst-sprintf.c: Likewise.
13609         * stdio-common/tst-swprintf.c: Likewise.
13610         * stdio-common/tst-tmpnam.c: Likewise.
13611         * stdio-common/tst-unbputc.c: Likewise.
13612         * stdio-common/tst-wc-printf.c: Likewise.
13613         * stdlib/tst-environ.c: Likewise.
13614         * stdlib/tst-fmtmsg.c: Likewise.
13615         * stdlib/tst-limits.c: Likewise.
13616         * stdlib/tst-rand48-2.c: Likewise.
13617         * stdlib/tst-rand48.c: Likewise.
13618         * stdlib/tst-random2.c: Likewise.
13619         * stdlib/tst-random.c: Likewise.
13620         * stdlib/tst-strtol.c: Likewise.
13621         * stdlib/tst-strtoll.c: Likewise.
13622         * stdlib/tst-tls-atexit.c: Likewise.
13623         * stdlib/tst-xpg-basename.c: Likewise.
13624         * string/test-ffs.c: Likewise.
13625         * string/tst-bswap.c: Likewise.
13626         * string/tst-inlcall.c: Likewise.
13627         * string/tst-strtok.c: Likewise.
13628         * string/tst-strxfrm.c: Likewise.
13629         * sysdeps/x86_64/tst-audit10.c: Likewise.
13630         * sysdeps/x86_64/tst-audit3.c: Likewise.
13631         * sysdeps/x86_64/tst-audit4.c: Likewise.
13632         * sysdeps/x86_64/tst-audit5.c: Likewise.
13633         * time/tst-ftime_l.c: Likewise.
13634         * time/tst-getdate.c: Likewise.
13635         * time/tst-mktime3.c: Likewise.
13636         * time/tst-mktime.c: Likewise.
13637         * time/tst-posixtz.c: Likewise.
13638         * time/tst-strptime2.c: Likewise.
13639         * time/tst-strptime3.c: Likewise.
13640         * wcsmbs/tst-btowc.c: Likewise.
13641         * wcsmbs/tst-mbrtowc.c: Likewise.
13642         * wcsmbs/tst-mbsrtowcs.c: Likewise.
13643         * wcsmbs/tst-wchar-h.c: Likewise.
13644         * wcsmbs/tst-wcpncpy.c: Likewise.
13645         * wcsmbs/tst-wcrtomb.c: Likewise.
13646         * wcsmbs/tst-wcsnlen.c: Likewise.
13647         * wcsmbs/tst-wcstof.c: Likewise.
13649 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
13651         [BZ #14132]
13652         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
13653         INTDEF.
13654         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
13655         declaration.
13656         (_dl_mcount): Use rtld_hidden_proto.
13657         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
13658         _dl_mcount.
13659         * elf/rtld.c (_rtld_global_ro): Likewise.
13661         [BZ #14132]
13662         * elf/dl-init.c (_dl_init): Don't use INTDEF.
13663         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
13664         of _dl_init_internal.
13665         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
13666         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
13667         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
13668         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
13669         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
13670         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
13671         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
13672         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
13673         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
13674         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
13675         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
13676         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
13677         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
13678         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
13679         * sysdeps/tile/dl-start.S (_start): Likewise.
13680         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
13681         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
13683         [BZ #14132]
13684         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
13685         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
13686         (rtld_progname): Make macro definition unconditional.
13687         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
13688         INTDEF.
13689         (dlmopen_doit): Do not use INTUSE with _dl_argv.
13690         (dl_main): Likewise.
13691         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
13692         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
13693         instead of _dl_argv_internal.
13694         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
13695         __GI__dl_argv instead of INTUSE(_dl_argv).
13696         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
13697         __GI__dl_argv instead of _dl_argv_internal.
13699         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
13700         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
13701         macro.
13702         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
13703         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
13704         New macro.
13705         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
13706         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
13707         macro.
13708         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
13709         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
13711 2014-11-04  Andreas Schwab  <schwab@suse.de>
13713         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
13715 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13717         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
13718         mtvsrd instruction in binary form.
13720 2014-11-03  Andreas Schwab  <schwab@suse.de>
13722         [BZ #17522]
13723         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
13724         for less than MB_LEN_MAX use a local buffer of that size.
13725         * libio/tst-fputws.c: New file.
13726         * libio/Makefile (tests): Add tst-fputws.
13728 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
13730         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
13731         the size of the fpu_fr.fpu_dregs[] array.
13733 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
13735         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
13736         (__nanosleep): Do not define as alias.
13737         (nanosleep): Define as alias of __nanosleep.
13738         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
13739         __libc_nanosleep name.
13741 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13743         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
13744         install.texi in comment.
13746 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13748         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
13749         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
13750         ... add here and use lwsync or sync ...
13751         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
13752         ... and add here using lwsync.
13754 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
13756         * elf/dl-machine-reject-phdr.h: New file.
13757         * elf/dl-load.c: #include that.
13758         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
13759         if that returned true.
13761 2014-10-31  Roland McGrath  <roland@hack.frob.com>
13763         [BZ #17496]
13764         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
13765         gen-as-const-headers chunk.  Add a big scare comment after the last
13766         safe place to touch before-compile.
13768 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
13770         * manual/install.texi (Tools for Compilation): Update autoconf
13771         version requirements.
13772         * INSTALL: Regenerated.
13774         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
13775         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
13776         (__libc_pselect): Likewise.
13778         [BZ #14138]
13779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13784 2014-10-31  Torvald Riegel  <triegel@redhat.com>
13786         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
13787         correct barrier instruction.
13788         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
13789         Likewise.
13790         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
13791         Likewise.
13793 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13795         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
13796         after defining inlines.  Instead, just use parens to defeat macro
13797         expansion of __isctype in its declaration.
13799 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13801         * include/sys/uio.h (__libc_readv): Remove declaration.
13802         (__libc_writev): Likewise.
13803         * misc/readv.c (__libc_readv): Rename to __readv.
13804         (__readv): Do not define as alias.
13805         (readv): Define as alias of __readv.
13806         * misc/writev.c (__libc_writev): Rename to __writev.
13807         (__writev): Do not define as alias.
13808         (writev): Define as alias of __writev.
13809         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
13810         (__readv): Do not define as alias.
13811         (readv): Define unconditionally as alias of __readv.
13812         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
13813         (__writev): Do not define as alias.
13814         (writev): Define unconditionally as alias of __writev.
13815         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
13816         name.
13817         (writev): Do not define __libc_writev name.
13819 2014-10-30  Roland McGrath  <roland@hack.frob.com>
13821         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
13822         (convert_charseq): New function, broken out of ...
13823         (use_from_charmap): ... here.  Call it.
13824         (use_to_charmap): Use convert_charseq and free instead of duplicating
13825         its code with a variable-length stack struct.
13827 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
13829         * include/fcntl.h (__libc_creat): Remove declaration.
13830         * io/creat.c (__libc_creat): Rename to creat.
13831         (creat): Do not define as alias.
13832         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
13833         of creat instead of __libc_creat.
13834         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
13835         to creat.
13836         (creat): Do not define as alias.
13837         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
13838         __libc_creat.
13839         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
13840         __libc_creat name.
13841         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
13842         Likewise.
13844 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
13846         * manual/llio.texi: Add comments discussing why write() may be
13847         considered MT-unsafe on Linux.
13849 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
13851         * dl-load.c (local_strdup): Remove.
13852         (expand_dynamic_string_token): Use __strdup.
13853         (decompose_rpath): Likewise.
13854         (_dl_map_object): Likewise.
13856 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
13858         [BZ #14132]
13859         * sysdeps/generic/unwind-dw2-fde.c
13860         (__register_frame_info_bases_internal): Do not declare.
13861         (__register_frame_info_table_bases_internal): Likewise.
13862         (__deregister_frame_info_bases_internal): Likewise.
13863         (__register_frame_info_bases): Declare and use hidden_proto before
13864         definition.  Use hidden_def instead of INTDEF.
13865         (__register_frame_info_table_bases): Likewise.
13866         (__deregister_frame_info_bases): Likewise.
13867         (__register_frame_info): Do not use INTUSE.
13868         (__register_frame): Likewise.
13869         (__register_frame_info_table): Likewise.
13870         (__register_frame_table): Likewise.
13871         (__deregister_frame_info): Likewise.
13872         (__deregister_frame): Likewise.
13874 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
13876         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13877         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
13878         not undefine.
13879         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
13880         Likewise.
13881         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
13882         Likewise.
13884 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
13886         [BZ #14138]
13887         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
13888         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
13889         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
13890         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
13891         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
13892         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
13893         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
13894         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
13895         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
13896         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
13897         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
13898         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
13899         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
13900         syscall.
13901         (setfsuid): Likewise.
13902         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
13903         (setfsuid): Likewise.
13904         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
13905         (setfsuid): Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
13907         Likewise.
13908         (setfsuid): Likewise.
13909         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
13910         (setfsuid): Likewise.
13911         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
13912         Likewise.
13913         (setfsuid): Likewise.
13915 2014-10-27  Andreas Schwab  <schwab@suse.de>
13917         [BZ #17501]
13918         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
13919         check for Slow_SSE4_2 feature bit.
13920         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
13921         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
13922         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
13923         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
13925 2014-10-24  Roland McGrath  <roland@hack.frob.com>
13927         * configure.ac: Validate compiler version with a empirical test of
13928         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
13929         $CC -v output.
13930         * configure: Regenerated.
13932         * inet/htons.c (htons): Prototypify.
13933         * inet/htonl.c (htonl): Likewise.
13935 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13937         * string/strncat.c (strncat): Improve performance by using strlen.
13939 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13941         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
13943 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13945         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
13946         Call libc_fetestexcept_aarch64.
13948 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13950         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
13951         Call libc_feholdexcept_aarch64.
13953 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13955         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
13956         Call get_rounding_mode.
13958 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13960         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
13961         Simplify logic.
13963 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
13965         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
13966         Simplify logic.
13968 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
13970         [BZ #14138]
13971         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
13972         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
13973         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
13974         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
13975         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
13976         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
13977         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
13978         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
13979         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
13980         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
13981         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
13982         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
13983         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
13984         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
13985         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
13986         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
13987         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
13988         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
13989         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
13990         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
13991         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
13992         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
13993         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
13994         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
13995         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
13996         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
13997         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
13998         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
13999         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
14000         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
14001         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
14002         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
14003         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
14004         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
14005         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
14006         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
14007         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
14008         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
14009         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
14010         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
14011         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
14012         syscall.
14013         (geteuid): Likewise.
14014         (getgid): Likewise.
14015         (getuid): Likewise.
14016         (getresgid): Likewise.
14017         (getresuid): Likewise.
14018         (getgroups): Likewise.
14019         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
14020         (geteuid): Likewise.
14021         (getgid): Likewise.
14022         (getuid): Likewise.
14023         (getresgid): Likewise.
14024         (getresuid): Likewise.
14025         (getgroups): Likewise.
14026         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
14027         (geteuid): Likewise.
14028         (getgid): Likewise.
14029         (getuid): Likewise.
14030         (getresgid): Likewise.
14031         (getresuid): Likewise.
14032         (getgroups): Likewise.
14033         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
14034         Likewise.
14035         (geteuid): Likewise.
14036         (getgid): Likewise.
14037         (getuid): Likewise.
14038         (getresgid): Likewise.
14039         (getresuid): Likewise.
14040         (getgroups): Likewise.
14041         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
14042         (geteuid): Likewise.
14043         (getgid): Likewise.
14044         (getuid): Likewise.
14045         (getresgid): Likewise.
14046         (getresuid): Likewise.
14047         (getgroups): Likewise.
14048         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
14049         Likewise.
14050         (geteuid): Likewise.
14051         (getgid): Likewise.
14052         (getuid): Likewise.
14053         (getgroups): Likewise.
14055         [BZ #14138]
14056         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
14057         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
14058         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
14059         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14060         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
14061         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
14062         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
14063         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
14064         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
14065         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
14066         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
14067         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
14068         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
14069         __chown.
14070         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
14071         (lchown): Likewise.
14072         (fchown): Likewise.
14073         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
14074         Likewise.
14075         (lchown): Likewise.
14076         (fchown): Likewise.
14077         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
14078         (lchown): Likewise.
14079         (fchown): Likewise.
14080         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
14081         Likewise.
14082         (lchown): Likewise.
14083         (fchown): Likewise.
14085 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14087         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
14088         Simplify logic.
14090 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14092         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14093         Cleanup logic.
14095 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14097         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
14098         Remove unused include.
14100 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
14102         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
14103         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
14104         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
14105         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
14107 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
14108             Helge Deller <deller@gmx.de>
14110         [BZ #17508]
14111         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
14112         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
14113         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
14115 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
14117         [BZ #14132]
14118         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
14119         Remove macro definition.
14120         (__ashrdi3_v_glibc20): Likewise.
14121         (__lshrdi3_v_glibc20): Likewise.
14122         (__cmpdi2_v_glibc20): Likewise.
14123         (__ucmpdi2_v_glibc20): Likewise.
14124         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
14125         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
14126         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
14127         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
14128         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
14129         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
14131 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14133         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
14134         old GNU extension [0] syntax.
14135         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
14136         alloca rather than an array member with variable length.
14137         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
14138         * nscd/nscd.c (invalidate_db): New function, broken out of ...
14139         (parse_opt): ... here.  Likewise use alloca there.
14140         Validate the -i argument before checking for rootness.
14141         (send_shutdown): New function, broken out of ...
14142         (parse_opt): ... here.
14144 2014-10-22  Roland McGrath  <roland@hack.frob.com>
14146         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
14147         macro to get at the _rt_local_ro field.
14148         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
14149         ([PIC] case) or _dl_hwcap ([!PIC] case).
14150         * sysdeps/arm/setjmp.S: Likewise.
14152         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
14153         * sysdeps/arm/configure.ac: New check to define it.
14154         * sysdeps/arm/configure: Regenerated.
14155         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
14156         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
14157         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
14158         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
14159         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
14160         Use move/movt pair instead of a load.
14161         (LDST_GLOBAL): Macro removed.
14162         (LDR_GLOBAL): New macro replaces it.
14163         (LDR_HIDDEN): New macro.
14164         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
14165         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
14167         * setjmp/tst-setjmp-static.c: New file.
14168         * setjmp/Makefile (tests): Add it.
14169         (tests-static): New variable.
14171 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
14173         [BZ #17485]
14174         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
14176 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
14178         [BZ #14132]
14179         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
14181 2014-10-21  Roland McGrath  <roland@hack.frob.com>
14183         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
14185 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14187         * io/fts.c (dirent_not_directory): New function.
14188         (fts_build): Call it.
14190 2014-10-20  Roland McGrath  <roland@hack.frob.com>
14192         * nptl/version.c (__nptl_main): Use normal __write rather than
14193         INTERNAL_SYSCALL.
14194         (banner): Update copyright years.
14196         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
14197         gettimeofday.
14198         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14199         * nptl/pthread_cond_timedwait.c: Likewise.
14200         * nptl/pthread_mutex_timedlock.c: Likewise.
14201         * nptl/sem_timedwait.c: Likewise.
14203         * sysdeps/nptl/bits/libc-lock.h
14204         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
14205         (__libc_lock_init_recursive): Return void, not 0.
14206         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
14207         (__libc_rwlock_init): Likewise.
14208         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
14210 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14212         [BZ #15215]
14213         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
14214         (__pthread_once_slow): ... here.
14215         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
14216         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
14218 2014-10-20  Torvald Riegel  <triegel@redhat.com>
14220         [BZ #15215]
14221         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
14222         __PTHREAD_ONCE_FORK_GEN_INCR): New.
14223         * sysdeps/nptl/fork.c (__libc_fork): Use them.
14224         * nptl/pthread_once.c (__pthread_once): Likewise.
14225         Update comments.
14227 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
14229         [BZ #14138]
14230         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
14231         name.
14232         (writev): Use __libc_writev as strong name.
14233         * sysdeps/unix/sysv/linux/readv.c: Remove file.
14234         * sysdeps/unix/sysv/linux/writev.c: Likewise.
14236 2014-10-17  Roland McGrath  <roland@hack.frob.com>
14238         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
14240         * sysdeps/i386/nptl/tls.h
14241         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
14242         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
14243         New macros.
14244         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
14245         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
14246         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
14247         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
14248         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
14249         Call CHECK_THREAD_SYSINFO instead of doing an assert.
14251         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14252         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
14253         on [__NR_futex].
14254         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
14255         broken out of ...
14256         (__pthread_mutex_init): ... here.  Call it.
14257         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
14258         Conditionalize PI cases on [__NR_futex].
14259         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
14260         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
14261         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14263         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
14264         conditional on [SIGSETXID].
14265         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
14266         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
14267         is defined.  Likewise for SIGSETXID.
14268         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
14269         Conditionalize definitions on [SIGSETXID].
14270         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
14271         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
14272         unblocking on [SIGCANCEL].
14274         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
14275         [__NR_set_robust_list].
14277 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14279         * string/strcoll_l.c (get_next_seq): Fix up formatting.
14280         (do_compare): Likewise.
14282 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
14284         [BZ #15884]
14285         * string/strcoll_l.c: Don't include stdio.h.
14286         (coll_seq): Remove members idxarr and rulearr.
14287         (get_next_seq_cached): Remove function.
14288         (get_next_seq): Likewise.
14289         (get_next_seq_nocache): Rename to get_next_seq.
14290         (do_compare): Remove function.
14291         (do_compare_nocache): Rename to do_compare.
14292         (STRCOLL): Remove weight and rules cache.
14294 2014-10-16  Roland McGrath  <roland@hack.frob.com>
14296         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
14297         * sysdeps/arm/sfp-machine.h: ... to here.
14298         * sysdeps/arm/Implies: Remove arm/soft-fp.
14300 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
14302         * conform/data/sys/utsname.h-data (*_t): Allow.
14303         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
14304         [POSIX] (WEXITED): Do not expect constant.
14305         [POSIX] (WSTOPPED): Likewise.
14306         [POSIX] (WNOHANG): Likewise.
14307         [POSIX] (WNOWAIT): Likewise.
14308         [POSIX] (siginfo_t): Do not expect type or elements.
14309         [POSIX] (pid_t): Do not expect type.
14310         [POSIX] (signal.h): Do not allow header.
14311         [POSIX] (sys/resource.h): Likewise.
14312         [POSIX] (si_*): Do not allow pattern.
14313         [POSIX] (W*): Likewise.
14314         [POSIX] (P_*): Likewise.
14315         [POSIX] (BUS_*): Likewise.
14316         [POSIX] (CLD_*): Likewise.
14317         [POSIX] (FPE_*): Likewise.
14318         [POSIX] (ILL_*): Likewise.
14319         [POSIX] (POLL_*): Likewise.
14320         [POSIX] (SEGV_*): Likewise.
14321         [POSIX] (SI_*): Likewise.
14322         [POSIX] (TRAP_*): Likewise.
14323         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
14324         variable.
14326 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
14328         [BZ #12926]
14329         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
14330         infinite loop when __recvmsg returns 0.
14332 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
14334         * CANCEL-FCT-WAIVE: Remove file.
14335         * CANCEL-FILE-WAIVE: Likewise.
14337         [BZ #14132]
14338         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
14339         instead of INTVARDEF.
14340         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14341         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
14342         rtld_hidden_data_def instead of INTVARDEF.
14343         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
14344         * elf/dl-deps.c (expand_dst): Likewise.
14345         * elf/dl-load.c (_dl_dst_count): Likewise.
14346         (_dl_dst_substitute): Likewise.
14347         (decompose_rpath): Likewise.
14348         (_dl_init_paths): Likewise.
14349         (open_path): Likewise.
14350         (_dl_map_object): Likewise.
14351         * elf/rtld.c (dl_main): Likewise.
14352         (process_dl_audit): Likewise.
14353         (process_envvars): Likewise.
14354         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
14355         Remove declaration.
14356         (__libc_enable_secure): Use rtld_hidden_proto.
14358 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14360         * elf/dl-load.c
14361         (add_path): New function broken out of _dl_rtld_di_serinfo.
14362         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
14364 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
14366         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
14367         parentheses around macro arguments.
14368         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
14369         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
14370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
14371         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
14372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
14373         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14375         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
14376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
14377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
14378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
14379         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
14380         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
14381         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
14382         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
14383         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
14384         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
14385         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
14386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
14387         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
14388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
14389         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
14390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
14391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
14392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
14393         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
14394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
14395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
14396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
14397         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
14398         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
14399         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
14400         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
14401         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
14402         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
14403         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
14404         Likewise.
14405         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
14406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14408         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
14409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
14410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
14411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
14412         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
14413         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
14414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
14415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
14416         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
14417         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
14418         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
14419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
14420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
14421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
14422         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
14423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
14424         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
14425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
14426         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
14427         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
14428         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
14429         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
14430         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
14431         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
14432         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
14433         (_FP_FRAC_SRS_1): Likewise.
14434         (_FP_FRAC_CLZ_1): Likewise.
14435         (_FP_MUL_MEAT_1_imm): Likewise.
14436         (_FP_MUL_MEAT_1_wide): Likewise.
14437         (_FP_MUL_MEAT_1_hard): Likewise.
14438         (_FP_SQRT_MEAT_1): Likewise.
14439         (_FP_FRAC_ASSEMBLE_1): Likewise.
14440         (_FP_FRAC_DISASSEMBLE_1): Likewise.
14441         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
14442         (__FP_CLZ_2): Likewise.
14443         (_FP_MUL_MEAT_2_wide): Likewise.
14444         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
14445         (_FP_MUL_MEAT_2_gmp): Likewise.
14446         (_FP_MUL_MEAT_2_120_240_double): Likewise.
14447         (_FP_SQRT_MEAT_2): Likewise.
14448         (_FP_FRAC_ASSEMBLE_2): Likewise.
14449         (_FP_FRAC_DISASSEMBLE_2): Likewise.
14450         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
14451         (_FP_FRAC_CLZ_4): Likewise.
14452         (_FP_MUL_MEAT_4_wide): Likewise.
14453         (_FP_MUL_MEAT_4_gmp): Likewise.
14454         (_FP_SQRT_MEAT_4): Likewise.
14455         (_FP_FRAC_ASSEMBLE_4): Likewise.
14456         (_FP_FRAC_DISASSEMBLE_4): Likewise.
14457         * soft-fp/op-common.h (_FP_CMP): Likewise.
14458         (_FP_CMP_EQ): Likewise.
14459         (_FP_CMP_UNORD): Likewise.
14460         (_FP_TO_INT): Likewise.
14461         (_FP_FROM_INT): Likewise.
14462         [!__FP_CLZ] (__FP_CLZ): Likewise.
14463         (_FP_DIV_HELP_imm): Likewise.
14464         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
14465         Likewise.
14466         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
14467         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
14468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
14469         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
14470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
14471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14473         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
14474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
14475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
14476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
14477         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
14478         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
14479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
14480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
14481         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
14482         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
14483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
14484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
14485         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
14486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
14487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
14488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
14489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
14490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
14491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
14492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
14493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
14494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
14495         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
14496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
14497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
14498         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
14499         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
14500         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
14501         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
14502         (FP_UNPACK_RAW_SP): Likewise.
14503         (FP_PACK_RAW_S): Likewise.
14504         (FP_PACK_RAW_SP): Likewise.
14505         (FP_UNPACK_S): Likewise.
14506         (FP_UNPACK_SP): Likewise.
14507         (FP_UNPACK_SEMIRAW_S): Likewise.
14508         (FP_UNPACK_SEMIRAW_SP): Likewise.
14509         (FP_PACK_S): Likewise.
14510         (FP_PACK_SP): Likewise.
14511         (FP_PACK_SEMIRAW_S): Likewise.
14512         (FP_PACK_SEMIRAW_SP): Likewise.
14513         (_FP_SQRT_MEAT_S): Likewise.
14514         (FP_CMP_S): Likewise.
14515         (FP_CMP_EQ_S): Likewise.
14516         (FP_CMP_UNORD_S): Likewise.
14517         (FP_TO_INT_S): Likewise.
14518         (FP_FROM_INT_S): Likewise.
14520         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
14522         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
14523         (FP_EX_INVALID_IMZ): Likewise.
14524         (FP_EX_INVALID_IMZ_FMA): Likewise.
14525         (FP_EX_INVALID_ISI): Likewise.
14526         (FP_EX_INVALID_ZDZ): Likewise.
14527         (FP_EX_INVALID_IDI): Likewise.
14528         (FP_EX_INVALID_SQRT): Likewise.
14529         (FP_EX_INVALID_CVI): Likewise.
14530         (FP_EX_INVALID_VC): Likewise.
14531         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
14532         "invalid" exceptions.
14533         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
14534         (_FP_ADD_INTERNAL): Likewise.
14535         (_FP_MUL): Likewise.
14536         (_FP_FMA): Likewise.
14537         (_FP_DIV): Likewise.
14538         (_FP_CMP_CHECK_NAN): Likewise.
14539         (_FP_SQRT): Likewise.
14540         (_FP_TO_INT): Likewise.
14541         (FP_EXTEND): Likewise.
14543 2014-10-09  Allan McRae  <allan@archlinux.org>
14545         * po/fr.po: Update French translation from translation project.
14547 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
14549         [BZ #14132]
14550         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
14551         of INTDEF.
14552         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
14553         (__cxa_atexit): Use libc_hidden_proto.
14554         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
14556         [BZ #14132]
14557         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
14558         declaration.
14559         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
14560         [!_ISOMAC] (__iswspace_l_internal): Likewise.
14561         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
14562         [!_ISOMAC] (__iswctype_internal): Likewise.
14563         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
14564         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
14565         alias.
14566         (fcntl): Remove __fcntl_internal alias.
14567         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
14568         __connect_internal alias.
14569         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
14570         Likewise.
14572         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
14573         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
14574         FP_DENORM_ZERO.
14575         (_FP_CHECK_FLUSH_ZERO): New macro.
14576         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
14577         (_FP_CMP): Likewise.
14578         (_FP_CMP_EQ): Likewise.
14579         (_FP_TO_INT): Do not set inexact for subnormal arguments if
14580         FP_DENORM_ZERO.
14581         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
14582         (FP_TRUNC): Likewise.
14584         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
14585         treated as invalid conversion, not as normal exponent.
14587         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
14588         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
14589         (_FP_CMP_EQ): Likewise.
14590         (_FP_CMP_UNORD): Likewise.
14591         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
14592         (FP_CMP_EQ_D): Likewise.
14593         (FP_CMP_UNORD_D): Likewise.
14594         * soft-fp/extended.h (FP_CMP_E): Likewise.
14595         (FP_CMP_EQ_E): Likewise.
14596         (FP_CMP_UNORD_E): Likewise.
14597         * soft-fp/quad.h (FP_CMP_Q): Likewise.
14598         (FP_CMP_EQ_Q): Likewise.
14599         (FP_CMP_UNORD_Q): Likewise.
14600         * soft-fp/single.h (FP_CMP_S): Likewise.
14601         (FP_CMP_EQ_S): Likewise.
14602         (FP_CMP_UNORD_S): Likewise.
14603         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
14604         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
14605         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
14606         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
14607         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
14608         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
14609         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
14610         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
14611         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
14612         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
14613         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
14614         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
14615         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
14616         to FP_CMP_Q.
14617         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
14618         FP_CMP_Q.
14619         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
14620         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
14621         FP_CMP_EQ_Q.
14622         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
14623         FP_CMP_Q.
14624         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
14625         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
14626         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
14627         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
14628         FP_CMP_EQ_Q.
14629         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
14630         FP_CMP_Q.
14631         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
14632         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
14633         FP_CMP_EQ_Q.
14634         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
14635         FP_CMP_Q.
14636         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
14637         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
14638         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
14639         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
14640         FP_CMP_EQ_Q.
14642         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
14643         a subnormal result, set the underflow exception if trapping on
14644         underflow is enabled.
14645         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
14646         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
14647         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
14648         redefine to 0.
14649         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
14650         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14651         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
14652         * soft-fp/extendxftf2.c (__extendxftf2): Use
14653         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
14655         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
14656         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
14657         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14658         FP_HANDLE_EXCEPTIONS.
14659         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
14660         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14661         FP_HANDLE_EXCEPTIONS.
14662         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
14663         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14664         FP_HANDLE_EXCEPTIONS.
14665         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
14666         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
14667         FP_HANDLE_EXCEPTIONS.
14669 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
14671         [BZ #14132]
14672         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
14673         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
14674         use INTUSE.
14675         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
14676         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
14677         Remove alias.
14678         (__adjtimex): Define using libc_hidden_ver.
14679         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
14680         Remove declaration.
14681         (ntp_gettime): Call __adjtimex directly.
14682         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
14683         Remove declaration.
14684         (ntp_gettimex): Call __adjtimex directly.
14685         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
14686         __adjtimex_internal alias.
14688 2014-10-08  Roland McGrath  <roland@hack.frob.com>
14690         [BZ #17460]
14691         * nscd/nscd.c (more_help): Rewrite list of tables collection
14692         using xstrdup and asprintf.
14694         * nscd/nscd_conf.c: Remove local xstrdup declaration.
14696 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14697             Roland McGrath  <roland@hack.frob.com>
14699         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
14700         (do_lookup_unique): ... local function 'enter' here; update callers.
14702 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
14704         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
14705         compat_symbol calls on [SHARED].
14706         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
14707         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
14708         Remove.
14709         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14710         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
14711         (oldsetrlimit): Remove.
14712         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14714         (lchown): New syscall entry.
14715         (oldsetrlimit): Remove.
14716         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14717         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
14718         (oldsetrlimit): Remove.
14719         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
14721         [BZ #14138]
14722         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
14723         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
14724         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
14725         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
14726         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
14727         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
14728         (fchown): Likewise.
14729         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
14730         (fchown): Likewise.
14731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
14732         Likewise.
14734 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14736         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
14737         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
14738         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
14739         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
14740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
14741         Likewise.
14742         (__old_sem_post): Likewise.
14744 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
14746         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
14747         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
14748         HAVE_CLOCK_GETTIME_VSYSCALL macros.
14749         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
14750         Use INLINE_VSYSCALL macro.
14751         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
14752         __vdso_clock_gettime.
14753         * sysdeps/unix/sysv/linux/tile/init-first.c
14754         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
14755         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
14756         __vdso_clock_gettime.
14758         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
14759         to set up frame more cleanly.
14761         * sysdeps/tile/memcmp.c: New file.
14763         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
14765         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
14766         * sysdeps/tile/tilegx/strcasestr.c: New file.
14767         * sysdeps/tile/tilegx/strnlen.c: New file.
14768         * sysdeps/tile/tilegx/strstr.c: New file.
14770         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
14772 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
14774         * nptl/tst-setuid3.c: Write errors to stdout.
14776 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14778         * elf/dl-deps.c
14779         (preload): New functions broken out of _dl_map_object_deps.
14780         (_dl_map_object_deps):  Remove a nested function. Update call sites.
14782 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
14784         [BZ #14138]
14785         * sysdeps/unix/sysv/linux/execve.c: Remove file.
14786         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
14788 2014-10-01  Steve Ellcey  <sellcey@mips.com>
14790         * sysdeps/mips/strcmp.S: New.
14792 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
14794         [BZ #14138]
14795         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
14796         (linkat): Likewise.
14797         (mkdirat): Likewise.
14798         (readlinkat): Likewise.
14799         (renameat): Likewise.
14800         (symlinkat): Likewise.
14801         (unlinkat): Likewise.
14802         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
14803         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
14804         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
14805         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
14806         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
14807         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
14808         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
14810 2014-09-30  Will Newton  <will.newton@linaro.org>
14812         * math/math.h: Define long double math functions if
14813         _LIBC_TEST is defined.
14814         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
14816         * localedata/Makefile: Move assignment to tests-special
14817         into an ifdef testing run-built-tests.
14818         * timezone/Makefile: Likewise.
14820 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
14822         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
14823         with $(BASH) not $(SHELL).
14825 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
14826             Matthew LeGendre  <legendre1@llnl.gov>
14828         [BZ #17411]
14829         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
14830         l_reloc_result.
14832 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
14834         * stdio-common/printf_fp.c
14835         (hack_digit): New function, broken out of ...
14836         (__printf_fp): ... local function here.  Update call sites.
14837         hack_digit now takes an additional parameter that is a pointer
14838         to a struct of the referenced locals.  Those locals moved inside
14839         the struct and references updated.
14841 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
14843         * aclocal.m4: Require autoconf 2.69.
14844         * configure: Regenerated.
14845         * sysdeps/aarch64/configure: Likewise.
14846         * sysdeps/alpha/configure: Likewise.
14847         * sysdeps/arm/armv7/configure: Likewise.
14848         * sysdeps/arm/configure: Likewise.
14849         * sysdeps/ia64/configure: Likewise.
14850         * sysdeps/mach/configure: Likewise.
14851         * sysdeps/mips/configure: Likewise.
14852         * sysdeps/s390/configure: Likewise.
14853         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
14854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
14856         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
14857         file.
14858         * sysdeps/ia64/configure.ac: Likewise.
14860 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
14862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
14863         specify symbol version for ld.so.  Do not include entry for
14864         libpthread.
14865         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
14866         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
14867         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14869         [BZ #14171]
14870         * Makeconfig [$(build-shared) = yes]
14871         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
14872         makefiles.
14873         [$(build-shared) = yes && $(soversions.mk-done) = t]
14874         ($(common-objpfx)gnu/lib-names.h): Remove rule.
14875         [$(build-shared) = yes && $(soversions.mk-done) = t]
14876         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
14877         to Makerules.
14878         [$(build-shared) = yes && $(soversions.mk-done) = t]
14879         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
14880         here.
14881         [$(build-shared) = yes && $(soversions.mk-done) = t]
14882         (common-generated): Don't append gnu/lib-names.h and
14883         gnu/lib-names.stmp here.
14884         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
14885         (lib-names-h-abi): New variable.
14886         [$(build-shared) = yes && $(soversions.mk-done) = t]
14887         (lib-names-stmp-abi): Likewise.
14888         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14889         abi-variants] (before-compile): Append
14890         $(common-objpfx)$(lib-names-h-abi).
14891         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14892         abi-variants] (common-generated): Append gnu/lib-names.h.
14893         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14894         abi-variants] (install-others-nosubdir): Depend on
14895         $(inst_includedir)/$(lib-names-h-abi).
14896         [$(build-shared) = yes && $(soversions.mk-done) = t &&
14897         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
14898         [$(build-shared) = yes && $(soversions.mk-done) = t]
14899         ($(common-objpfx)$(lib-names-h-abi)): New rule.
14900         [$(build-shared) = yes && $(soversions.mk-done) = t]
14901         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
14902         [$(build-shared) = yes && $(soversions.mk-done) = t]
14903         (common-generated): Append $(lib-names-h-abi) and
14904         $(lib-names-stmp-abi).
14905         * scripts/lib-names.awk: Do not handle multi being set.
14906         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
14907         Remove variable.
14908         (abi-lp64_be-ld-soname): Likewise.
14909         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
14910         Likewise.
14911         (abi-hard-ld-soname): Likewise.
14912         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
14913         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
14914         Remove variable.
14915         (abi-o32_hard-ld-soname): Likewise.
14916         (abi-o32_soft_2008-ld-soname): Likewise.
14917         (abi-o32_hard_2008-ld-soname): Likewise.
14918         (abi-n32_soft-ld-soname): Likewise.
14919         (abi-n32_hard-ld-soname): Likewise.
14920         (abi-n32_soft_2008-ld-soname): Likewise.
14921         (abi-n32_hard_2008-ld-soname): Likewise.
14922         (abi-n64_soft-ld-soname): Likewise.
14923         (abi-n64_hard-ld-soname): Likewise.
14924         (abi-n64_soft_2008-ld-soname): Likewise.
14925         (abi-n64_hard_2008-ld-soname): Likewise.
14926         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
14927         Likewise.
14928         (abi-64-v2-ld-soname): Likewise.
14929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
14930         ld.so entries.
14931         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
14932         variable.
14933         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
14934         entry.
14935         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
14936         variable.
14937         (abi-64-ld-soname): Likewise.
14938         (abi-x32-ld-soname): Likewise.
14939         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
14940         entry.
14941         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
14943 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
14945         [BZ #14138]
14946         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
14947         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
14948         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
14949         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
14950         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
14951         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
14952         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
14953         syscall entry for GLIBC_2.2 symbol version.
14954         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
14955         Likewise.
14956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
14957         (setrlimit): Likewise.
14958         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
14959         Likewise.
14961 2014-09-23  Will Newton  <will.newton@linaro.org>
14963         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
14964         _LINUX_ARM_SYSDEP_H include guard too.
14965         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
14966         define.
14968 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14970         * sysdeps/unix/sysv/linux/eventfd.c:
14971         Make first argument unsigned.
14972         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
14973         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
14975 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
14977         * socket/recvmmsg.c (recvmmsg): Drop const argument.
14978         * socket/sys/socket.h: Likewise
14979         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
14981 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14983         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
14985 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
14987         * time/tst-ftime.c: New test.
14988         * time/Makefile (tests): Add tst-ftime.
14990 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
14992         * soft-fp/extended.h: Fix comment formatting.
14993         * soft-fp/op-1.h: Likewise.
14994         * soft-fp/op-2.h: Likewise.
14995         * soft-fp/op-4.h: Likewise.
14996         * soft-fp/op-8.h: Likewise.
14997         * soft-fp/op-common.h: Likewise.
14998         * soft-fp/soft-fp.h: Likewise.
15000         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
15002 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
15004         [BZ #6652]
15005         * Makeconfig (soversions-default-setname): Remove variable.
15006         ($(common-objpfx)soversions.i): Don't pass default_setname to
15007         soversions.awk.
15008         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
15009         oldest_abi to abi-versions.awk.
15010         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
15011         * config.make.in (oldest-abi): Remove variable.
15012         * configure.ac (--enable-oldest-abi): Remove configure option.
15013         * configure: Regenerated.
15014         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
15015         text.
15016         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
15017         * scripts/soversions.awk: Do not handle default_setname variable.
15018         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
15019         variable.
15020         * sysdeps/mach/hurd/configure: Regenerated.
15021         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
15022         variable.
15023         * sysdeps/unix/sysv/linux/configure: Regenerated.
15025 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15027         * elf/Makefile (CFLAGS-interp.c): Remove.
15028         ($(elf-objpfx)runtime-linker.h): Generate header with linker
15029         path string.
15030         * elf/interp.c: Include generated runtime-linker.h
15032         * Makerules (lib%.so): Don't include $(+interp) in
15033         prerequisites.
15034         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
15035         * dlfcn/eval.c: Remove file.
15037         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
15038         macros.
15040         [BZ #17266]
15041         * misc/sys/cdefs.h: Define __extern_always_inline for clang
15042         4.2 and newer.
15044         [BZ #17370]
15045         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
15047 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15048             Jakub Jelinek  <jakub@redhat.com>
15050         [BZ #17266]
15051         * libio/stdio.h: Check definition of __fortify_function
15052         instead of __extern_always_inline to include bits/stdio2.h.
15053         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
15054         check if __extern_always_inline is defined.
15055         [__USE_MISC || __USE_XOPEN]: Likewise.
15056         [__USE_ISOC99] Likewise.
15057         * misc/sys/cdefs.h (__fortify_function): Define only if
15058         __extern_always_inline is defined.
15059         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
15060         __extern_always_inline and __extern_inline only for g++-4.3
15061         and newer or a compatible gcc.
15063 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
15065         [BZ #17371]
15066         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15067         last change to handle zero prefix length.
15069 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15071         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
15072         _SC_REGEX_VERSION.
15074         * posix/getconf.c (vars): Add _POSIX_IPV6 and
15075         _POSIX_RAW_SOCKETS.
15077 2014-09-13  Allan McRae  <allan@archlinux.org>
15079         * po/ru.po: Update Russian translation from translation project.
15081 2014-09-12  Roland McGrath  <roland@hack.frob.com>
15083         * locale/programs/locale.c (show_locale_vars): Inline local function
15084         into its sole call site.  Clean up some style nits.
15085         (print_item): New function, broken out of ...
15086         (show_info): ... local function here.  Clean up style nits.
15088         * locale/programs/ld-ctype.c (set_one_default): New function, broken
15089         out of ...
15090         (set_class_defaults): ... local function set_default here.
15091         Define set_default as a macro locally to pass constant parameters.
15092         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
15093         rather than a shared local.
15095         * stdlib/rpmatch.c (try): New function, broken out of ...
15096         (rpmatch): ... local function here.  Also, prototypify definition.
15098 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
15100         * scripts/soversions.awk: Do not handle configuration names.
15101         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
15102         vendor and os variables to soversions.awk.
15103         * configure.ac: Do not modify gnu-* host_os.
15104         * configure: Regenerated
15105         * shlib-versions: Remove first column with configuration names.
15106         * nptl/shlib-versions: Likewise.
15107         * nptl_db/shlib-versions: Likewise.
15108         * sysdeps/hppa/shlib-versions: Likewise.
15109         * sysdeps/m68k/shlib-versions: Likewise.
15110         * sysdeps/mach/hurd/shlib-versions: Likewise.
15111         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
15112         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
15113         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
15114         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
15115         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
15116         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
15117         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
15118         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
15119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15120         Likewise.
15121         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15122         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15123         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15124         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15125         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15126         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
15127         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
15128         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
15130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
15131         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
15132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
15133         Regenerated.
15134         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
15135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
15136         Condition symbol version definitions on [HAVE_ELFV2_ABI].
15138         * shlib-versions: Remove OS-specific entries.  Moved to files in
15139         sysdeps.
15140         * sysdeps/mach/hurd/shlib-versions: New file.
15141         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
15143         * nptl/shlib-versions: Remove architecture-specific entries.
15144         Moved to files in sysdeps.
15145         * shlib-versions: Likewise.
15146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
15147         file.
15148         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
15149         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
15150         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
15151         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
15153         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
15154         (UDP_NO_CHECK6_RX): Likewise.
15156 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15158         * sysdeps/posix/sysconf.c (__sysconf): Spell
15159         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
15161 2014-08-12  Florian Weimer  <fweimer@redhat.com>
15163         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
15164         loading.
15165         * iconv/Versions (__gconv_transliterate): Export for use from
15166         gconv modules.
15167         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
15168         (struct __gconv_trans_data, __gconv_trans_fct,
15169         __gconv_trans_context_fct, __gconv_trans_query_fct,
15170         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
15171         definitions.
15172         (struct __gconv_step_data): Remove __trans member.
15173         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
15174         longer hidden.  Remove unused trans_data argument.
15175         * iconv/gconv_int.h (struct trans_struct): Remove definition.
15176         (__gconv_translit_find): Remove declaration.
15177         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
15178         prototype.
15179         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
15180         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
15181         trans_data argument.  Add hidden definition.
15182         (__gconv_translit_find): Remove.
15183         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
15184         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
15185         * iconv/skeleton.c: Remove transliteration initialization.
15186         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
15187         __gconv_step_data initialization.
15188         * libio/iofwide.c (__libio_translit_): Remove.
15189         (_IO_fwide): Adjust struct __gconv_step_data initialization.
15190         * wcsmbs/btowc.c (__btowc): Likewise.
15191         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
15192         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
15193         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
15194         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
15195         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
15196         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
15197         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
15198         * wcsmbs/wctob.c (wctob): Likewise.
15200 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15202         [BZ #16194]
15203         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
15204         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
15205         register usage.
15206         * sysdeps/x86/Makefile: Adjust.
15208 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15209             Roland McGrath  <roland@hack.frob.com>
15211         * locale/weight.h: Add include guard.
15212         (findidx): Make static rather than auto; take new parameters
15213         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
15214         * locale/weightwc.h: Likewise.
15215         * posix/fnmatch_loop.c
15216         (FCT): Change type of EXTRA from int32_t to wint_t.
15217         Don't include either header inside the function.
15218         Call FINDIDX rather than findidx, and pass new arguments.
15219         #undef FINDIDX at the end of the file.
15220         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
15221         FINDIDX before including fnmatch_loop.c for the non-wide version.
15222         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
15223         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
15224         for the wide version.
15225         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
15226         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
15227         Pass new arguments to findidx.
15228         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
15229         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
15230         Don't #include it inside the function.  Pass new arguments to findidx.
15231         * posix/regex_internal.h
15232         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
15233         (re_string_elem_size_at): Don't #include it inside the function.
15234         Pass new arguments to findidx.
15235         * string/strcoll_l.c: #include WEIGHT_H at top level.
15236         (get_next_seq): Don't #include it inside the function.
15237         Pass new arguments to findidx.
15238         (get_next_seq_nocache): Likewise.
15239         * string/strxfrm_l.c: #include WEIGHT_H at top level.
15240         (STRXFRM): Don't #include it inside the function.
15241         Pass new arguments to findidx.
15243 2014-09-11  Florian Weimer  <fweimer@redhat.com>
15245         [BZ #17344]
15246         * malloc/malloc.c (unlink): Turn asserts into a call to
15247         malloc_printerr.
15249 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
15251         [BZ #17370]
15252         * libio/wfileops (do_ftell_wide): Free OUT.
15254 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
15256         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
15258 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15260         [BZ #17363]
15261         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
15262         group if the current group is empty.
15264 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15266         * benchtests/bench-memset.c (test_main): Add more test from size
15267         from 32 to 512 bytes.
15268         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15269         Add POWER8 memset object.
15270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15271         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
15272         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
15273         implementation.
15274         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
15275         Likewise.
15276         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
15277         multiarch POWER8 memset optimization.
15278         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
15279         POWER8 memset optimization.
15281         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
15282         Remove bzero multiarch objects.
15283         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
15284         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
15285         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
15286         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
15287         Remove define.
15288         [__bzero]: Redefine to specific name.
15289         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
15290         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
15291         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
15292         define.
15293         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15294         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
15296 2014-09-10  Florian Weimer  <fweimer@redhat.com>
15298         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
15299         warnings into errors.
15301         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
15302         __cxa_thread_atexit_impl prototype.
15304 2014-09-09  Steve Ellcey  <sellcey@mips.com>
15306         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
15307         Fix capitalization of error message.
15309 2014-09-09  Steve Ellcey  <sellcey@mips.com>
15311         * sysdeps/mips/preconfigure: Modify ABI tests.
15313 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
15315         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
15317 2014-09-07  Roland McGrath  <roland@hack.frob.com>
15318             Carlos O'Donell  <carlos@systemhalted.org>
15320         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
15321         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
15322         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
15323         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
15324         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
15325         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
15326         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
15327         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
15328         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
15329         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
15330         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
15331         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
15332         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
15333         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
15334         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
15335         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
15336         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
15337         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
15338         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
15339         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
15340         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
15341         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
15342         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
15343         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
15344         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
15345         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
15346         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
15347         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
15348         Deconditionalize the code that was previously under [RESET_PID].
15349         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
15350         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
15351         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
15352         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
15353         include sysdep.h.
15355 2014-09-08  Allan McRae  <allan@archlinux.org>
15357         * version.h (RELEASE): Set to "development".
15358         (VERSION): Set to "2.20.90"
15360 2014-09-07  Allan McRae  <allan@archlinux.org
15362         * version.h (RELEASE): Set to "stable".
15363         (VERSION): Set to "2.20"
15364         * include/features.h (__GLIBC_MINOR__): Set to 20.
15366         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
15367         Liebler.
15369         * po/ko.po: Update Korean translation from translation project.
15371 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
15373         [BZ #17354]
15374         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
15375         macro for handling signed relocations.
15377 2014-09-03  Florian Weimer  <fweimer@redhat.com>
15379         [BZ #17325]
15380         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
15381         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
15382         assert.
15383         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
15384         * iconvdata/ibm935.c (BODY): Likewise.
15385         * iconvdata/ibm937.c (BODY): Likewise.
15386         * iconvdata/ibm939.c (BODY): Likewise.
15387         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
15388         assert.
15389         * iconvdata/Makefile (iconv-test.out): Pass module list to test
15390         script.
15391         * iconvdata/run-iconv-test.sh: New test loop for checking for
15392         decoder crashers.
15394 2014-09-02  Khem Raj  <raj.khem@gmail.com>
15396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
15397         libm_hidden_ver.
15399 2014-09-01  Allan McRae  <allan@archlinux.org>
15401         * po/eo.po: Update Esperanto translation from translation project.
15403         * po/ca.po: Update Catalan translation from translation project.
15405 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15407         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
15408         __proc_dostop call.
15410 2014-08-27  Mark Wielaard  <mjw@redhat.com>
15412         [BZ #17319]
15413         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
15414         to call set_thread_area instead of hand written asm.
15415         (__NR_set_thread_area): Removed define.
15416         (TLS_FLAG_WRITABLE): Likewise.
15417         (__ASSUME_SET_THREAD_AREA): Remove check.
15418         (TLS_EBX_ARG): Remove define.
15419         (TLS_LOAD_EBX): Likewise.
15421 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15423         Simplify atomicity of socket creation in bind.
15425         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
15426         looking up the name after linking the file.
15428 2014-08-27  Allan McRae  <allan@archlinux.org>
15430         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
15432 2014-08-26  Florian Weimer  <fweimer@redhat.com>
15434         [BZ #17187]
15435         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
15436         trans_compare, open_translit, __gconv_translit_find):
15437         Remove module loading code.
15439 2014-08-26  Allan McRae  <allan@archlinux.org>
15441         * po/vi.po: Update Vietnamese translation from translation project.
15443         * po/uk.po: Update Ukrainian translation from translation project.
15445         * po/fr.po: Update French translation from translation project.
15447         * po/ru.po: Update Russian translation from translation project.
15449         * po/pl.po: Update Polish translation from translation project.
15451         * po/cs.po: Update Czech translation from translation project.
15453         * po/de.po: Update German translation from translation project.
15455         * po/bg.po: Update Bulgarian translation from translation project.
15457         * po/sv.po: Update Sweedish translation from translation project.
15459         * po/nl.po: Update Dutch translation from translation project.
15461         * po/es.po: Update Spanish translation from translation project.
15463 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
15465         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
15467         * catgets/Makefile (CPPFLAGS-gencat): Remove.
15468         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
15469         (CPPFLAGS-iconvconfig): Likewise.
15470         * timezone/Makefile (CPPFLAGS-zic): Likewise.
15472         * include/libc-symbols.h: Remove unnecessary check for
15473         NOT_IN_libc.
15474         * nptl/pthreadP.h: Likewise.
15475         * sysdeps/aarch64/setjmp.S: Likewise.
15476         * sysdeps/alpha/setjmp.S: Likewise.
15477         * sysdeps/arm/sysdep.h: Likewise.
15478         * sysdeps/i386/setjmp.S: Likewise.
15479         * sysdeps/m68k/setjmp.c: Likewise.
15480         * sysdeps/posix/getcwd.c: Likewise.
15481         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
15482         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
15483         * sysdeps/s390/s390-32/setjmp.S: Likewise.
15484         * sysdeps/s390/s390-64/setjmp.S: Likewise.
15485         * sysdeps/sh/sh3/setjmp.S: Likewise.
15486         * sysdeps/sh/sh4/setjmp.S: Likewise.
15487         * sysdeps/unix/alpha/sysdep.h: Likewise.
15488         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
15489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15490         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
15491         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
15492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
15493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
15494         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15496         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
15497         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
15498         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
15499         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
15500         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
15501         * sysdeps/x86_64/setjmp.S: Likewise.
15503 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
15505         [BZ #17263]
15506         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
15507         <stdint.h>.
15508         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
15509         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
15511 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15513         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
15515         [BZ #17262]
15516         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
15517         and __x86_64__ when disabling x87 inline functions.
15519 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
15521         [BZ #17259]
15522         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
15523         asm statement with __cpuid_count.
15525 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
15527         * configure.ac: Change __ehdr_start code to dereference the struct.
15528         Run readelf on the output to look for relocations.
15529         * configure: Regenerated.
15531 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
15533         [BZ #17261]
15534         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
15535         value to 0.
15536         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
15538 2014-08-12  Roland McGrath  <roland@hack.frob.com>
15540         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
15542 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
15544         [BZ #16892]
15545         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
15546         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
15548 2014-08-12  Sean Anderson  <seanga2@gmail.com>
15550         * malloc/malloc.c: Fix typo in comment.
15552 2014-08-09  Allan McRae  <allan@archlinux.org>
15554         * Regenerate libc.po.
15556 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
15558         * intl/tst-gettext2.sh: Check every lang file for creation.
15560 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
15562         * sysdeps/aarch64/fpu/math_private.h
15563         (libc_feholdsetround_noex_aarch64_ctx): New function.
15565 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
15567         * sysdeps/arm/armv6/strcpy.S (strcpy):
15568         Fix performance issue in misaligned cases.
15570 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15572         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
15573         Move definition from termios.h.
15574         (struct termio): Likewise.
15575         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15576         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15577         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15578         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15579         Likewise.
15580         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
15581         Move definition to ioctl-types.h
15582         (struct termio): Likewise.
15583         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15584         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
15585         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
15586         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
15587         Likewise.
15589 2014-08-05  Richard Henderson  <rth@redhat.com>
15591         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
15592         exceptions.
15593         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
15594         Add fraiseexcpt.
15595         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
15596         Use __feraiseexcept.
15597         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
15598         Protect libm symbols with IS_IN_libm.
15600         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
15602 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
15604         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
15606 2014-08-04  Will Newton  <will.newton@linaro.org>
15608         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
15609         file.
15611 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
15613         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
15614         variants for each function.
15616 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15618         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
15619         appended ...
15620         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
15621         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
15622         appended ...
15623         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
15624         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
15625         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
15626         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
15627         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
15628         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
15629         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
15630         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
15631         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
15632         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
15633         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
15634         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
15635         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
15636         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
15637         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
15638         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
15639         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
15640         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
15641         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
15642         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
15643         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
15644         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
15645         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
15646         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
15647         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
15648         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
15649         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
15650         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
15651         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
15652         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
15653         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
15654         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
15655         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
15656         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
15657         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
15658         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
15659         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
15660         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
15661         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
15662         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
15663         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
15664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
15665         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
15666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
15667         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
15668         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
15669         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
15670         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
15671         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
15672         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
15673         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
15674         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
15675         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
15676         Update #include.
15677         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
15678         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
15680 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15682         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
15683         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
15684         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
15685         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
15686         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
15687         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
15689 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15691         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
15692         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
15693         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15694         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
15696 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15698         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
15699         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
15700         (__libc_vfork): Define function under this name.
15701         (__vfork): Define as an alias.
15702         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
15703         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
15705 2014-08-04  Roland McGrath  <roland@hack.frob.com>
15707         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
15708         that was previously under [RESET_PID].
15709         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
15711 2014-08-04  Andreas Schwab  <schwab@suse.de>
15713         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
15715 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
15717         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
15718         (main): Likewise.
15720 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15722         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
15724 2014-08-01  Richard Henderon  <rth@redhat.com>
15726         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
15727         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
15728         typo in exact zero test.
15729         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15730         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15731         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15733 2014-08-01  Roland McGrath  <roland@hack.frob.com>
15735         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
15736         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
15737         * sysdeps/arm/sysdep.h: ... here.
15738         [!__ASSEMBLER__]: Include <stdint.h>.
15740 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15742         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
15743         (HAVE_WCTYPE_H): Likewise.
15744         (HAVE_ISWCTYPE): Likewise.
15745         (ENABLE_NLS): Likewise.
15746         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
15747         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
15749         * posix/regex_internal.c: Check if DEBUG is defined and is
15750         set.
15752         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
15753         (HAVE_MBSRTOWCS): Likewise.
15754         * posix/fnmatch.c: Include string.h unconditionally.
15756 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
15758         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
15759         reversal.
15761 2014-07-31  Roland McGrath  <roland@hack.frob.com>
15763         * sysdeps/generic/safe-fatal.h: New file.
15764         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
15765         * nptl/forward.c: Include it.
15766         (__pthread_unwind): Use __safe_fatal as default action, rather
15767         than a bogus use of INTERNAL_SYSCALL that could never work.
15769         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
15770         * configure.ac (libc_cv_builtin_trap): New test.
15771         * configure: Regenerated.
15772         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
15773         (ABORT_INSTRUCTION): Define using __builtin_trap.
15775         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
15776         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
15777         * sysdeps/nptl/nptl-signals.h: New file.
15778         * nptl/pthreadP.h: Include <nptl-signals.h>.
15780 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15782         * sysdeps/s390/s390-64/utf16-utf32-z9.c
15783         (ONE_DIRECTION): Define.
15784         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15785         (ONE_DIRECTION): Define.
15786         * sysdeps/s390/s390-64/utf8-utf32-z9.c
15787         (ONE_DIRECTION): Define.
15789 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
15791         * sysdeps/s390/Makefile: Delete file.
15792         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
15793         * sysdeps/s390/__longjmp.c: Delete file.
15794         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
15795         Remove fields __flags and __reserved.
15796         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
15797         and add versioning.
15798         * sysdeps/s390/rtld-__longjmp.c: Delete file.
15799         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
15800         * sysdeps/s390/rtld-setjmp.S: Likewise.
15801         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
15802         * sysdeps/s390/s390-32/__longjmp.c: ... here.
15803         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
15804         * sysdeps/s390/s390-32/setjmp.S: ... here.
15805         Add versioning.
15806         (__sigsetjmp): Remove setting __flags field.
15807         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
15808         * sysdeps/s390/s390-64/__longjmp.c: ... here.
15809         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
15810         * sysdeps/s390/s390-64/setjmp.S: ... here.
15811         Add versioning.
15812         (__sigsetjmp): Remove setting __flags field.
15813         * sysdeps/s390/setjmp.S: Delete file.
15814         * sysdeps/s390/sigjmp.c: Likewise.
15815         * sysdeps/s390/v1-longjmp.c: Likewise.
15816         * sysdeps/s390/v1-setjmp.h: Likewise.
15817         * sysdeps/s390/v1-sigjmp.c: Likewise.
15818         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
15819         Remove v1-longjmp_chk.
15820         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
15821         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
15822         Include debug/longjmp_chk.c and add versioning.
15823         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
15824         Include nptl/pt-longjmp.c and add versioning.
15825         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
15826         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
15827         Include __longjmp.c.
15828         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15829         Move to ...
15830         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
15831         (__getcontext): Remove setting __flags field.
15832         Add versioning.
15833         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15834         Don't restore upper high grps.
15835         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
15836         Likewise.
15837         (__swapcontext): Remove setting uc_flags field.
15838         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
15839         Delete file.
15840         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15841         Include __longjmp.c.
15842         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15843         Move to ...
15844         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
15845         (__getcontext): Remove setting __flags field.
15846         Add versioning.
15847         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
15848         (__swapcontext): Remove setting uc_flags field.
15849         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
15850         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
15851         Remove fields uc_high_gprs and __reserved.
15852         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
15853         New file with reverted content.
15854         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
15855         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
15856         Regenerated.
15857         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
15858         Regenerated.
15860 2014-07-31  Andreas Schwab  <schwab@suse.de>
15862         * config.h.in (HAVE_IFUNC): Define to 0.
15863         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
15864         definedness.
15866 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
15868         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
15869         memmove-avx-unaligned, memcpy-avx-unaligned and
15870         mempcpy-avx-unaligned.
15871         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15872         Add tests for AVX memcpy functions.
15873         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
15874         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
15875         memcpy_chk.
15876         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
15877         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
15878         memmove_chk.
15879         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
15880         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
15881         mempcpy_chk.
15882         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
15883         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
15884         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
15886 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15888         [BZ #17213]
15889         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
15890         powerpc64le.
15892 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
15894         [BZ #16839]
15895         * manual/llio.texi: Add section about open file description locks.
15896         * manual/examples/ofdlocks.c: Example of open file description
15897         lock usage.
15898         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
15899         F_OFD_SETLK, and F_OFD_SETLKW.
15901 2014-07-23  Allan McRae  <allan@archlinux.org>
15903         * po/es.po: Update Spanish translation from translation project.
15905 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
15907         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
15909 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
15911         [BZ #17078]
15912         * sysdeps/arm/dl-machine.h (elf_machine_rela)
15913         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
15914         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
15916 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
15918         [BZ #17088]
15919         * math/fesetenv.c (__fesetenv)
15920         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
15921         * math/feupdateenv.c (__feupdateenv)
15922         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
15924         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
15925         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
15926         (__ASSUME_SOCKETCALL): Do not define.
15928         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
15929         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
15930         (__ASSUME_SOCKETCALL): Do not define.
15931         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
15932         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15933         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15934         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
15935         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15936         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
15937         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15938         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15940         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
15941         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
15942         (__ASSUME_SOCKETCALL): Do not define.
15943         (__ASSUME_IPC64): Define unconditionally.
15944         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15945         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15946         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
15947         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15948         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
15949         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15950         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
15951         Likewise.
15953         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
15954         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
15955         (__ASSUME_SOCKETCALL): Do not define.
15956         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
15957         (__ASSUME_FUTEX_LOCK_PI): Likewise.
15958         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15959         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15960         (__ASSUME_REQUEUE_PI): Define unconditionally.
15961         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
15962         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
15963         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15964         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
15965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15966         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15968         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
15969         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
15970         (__ASSUME_SOCKETCALL): Do not define.
15971         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
15972         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15973         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15974         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
15975         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15976         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15978         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
15979         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
15980         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
15981         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
15982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15983         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
15984         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
15985         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
15986         (__ASSUME_GETCPU_SYSCALL): Likewise.
15988         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
15989         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
15990         cases for individual architectures.
15991         * sysdeps/gnu/configure: Regenerated.
15992         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
15993         LIBC_SLIBDIR_RTLDDIR.
15994         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
15995         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
15996         LIBC_SLIBDIR_RTLDDIR.
15997         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
15999         LIBC_SLIBDIR_RTLDDIR.
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16001         Regenerated.
16002         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
16003         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
16004         file.
16005         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
16006         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
16007         file.
16008         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
16009         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
16010         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
16011         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
16013         * sysdeps/aarch64/shlib-versions: Move to ...
16014         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
16015         * sysdeps/alpha/shlib-versions: Move to ...
16016         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
16017         * sysdeps/arm/shlib-versions: Move to ...
16018         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
16019         * sysdeps/hppa/shlib-versions: Move all contents except for
16020         libgcc_s entry to ...
16021         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
16022         entry from ...
16023         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
16024         * sysdeps/ia64/shlib-versions: Move to ...
16025         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
16026         entry from ...
16027         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
16028         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
16029         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
16030         * sysdeps/microblaze/shlib-versions: Move to ...
16031         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
16032         * sysdeps/mips/shlib-versions: Move to ...
16033         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
16034         entry from ...
16035         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
16036         * sysdeps/tile/shlib-versions: Move to ...
16037         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
16038         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
16039         from ...
16040         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
16041         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
16042         entry from ...
16043         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
16045 2014-07-17  Will Newton  <will.newton@linaro.org>
16047         * sysdeps/arm/bits/atomic.h
16048         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
16049         (__arch_compare_and_exchange_bool_16_int): Likewise.
16050         (__arch_compare_and_exchange_bool_64_int): Likewise.
16052         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
16053         into an #else block.
16055 2014-07-16  Roland McGrath  <roland@hack.frob.com>
16057         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
16058         just Linux configurations.  Test empirically that the compiler sets
16059         __ARM_EABI__, rather than using the tuple to decide.
16060         * sysdeps/arm/preconfigure: Regenerated.
16061         * sysdeps/unix/sysv/linux/arm/configure: File removed.
16062         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
16063         contents appended ...
16064         * sysdeps/arm/configure.ac: ... here.
16065         * sysdeps/arm/configure: Regenerated.
16067 2014-07-15  Roland McGrath  <roland@hack.frob.com>
16069         * nptl/pthread_kill.c: New file.
16070         * nptl/pthread_sigmask.c: New file.
16071         * nptl/pthread_sigqueue.c: New file.
16073         * sysdeps/nptl/lowlevellock.h: New file.
16074         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
16075         * sysdeps/nptl/lowlevellock-futex.h: New file.
16077         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
16078         Remove dead declarations.
16080 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
16082         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
16083         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
16084         config-cflags-avx2.
16085         * sysdeps/x86_64/configure.ac: Likewise.
16086         * sysdeps/i386/configure: Regenerated.
16087         * sysdeps/x86_64/configure: Likewise.
16088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16089         memset-avx2 only if config-cflags-avx2 is yes.
16090         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16091         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
16092         defined.
16093         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
16094         only if HAVE_AVX2_SUPPORT is defined.
16095         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16097 2014-07-14  Alan Modra  <amodra@gmail.com>
16099         [BZ #17153]
16100         * elf/elf.h (DT_PPC64_NUM): Correct value.
16101         * NEWS: Add to fixed bug list.
16103 2014-07-13  Jim Meyering  <meyering@fb.com>
16105         [BZ 17150]
16106         regex: don't deref NULL upon heap allocation failure
16107         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
16108         failure in one more place.
16109         To trigger the segfault, configure grep -with-included-regex,
16110         build it, and run these commands:
16111         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
16113 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
16115         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16117 2014-07-11  Richard Henderson  <rth@redhat.com>
16119         * sysdeps/aarch64/libm-test-ulps: Update.
16121 2014-07-10  Florian Weimer  <fweimer@redhat.com>
16123         [BZ #17135]
16124         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
16125         * nptl/allocatestack.c (__nptl_setxid_error): New function.
16126         (__nptl_setxid): Initialize error member.  Call
16127         __nptl_setxid_error.
16128         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
16129         * nptl/descr.h (struct xid_command): Add error member.
16130         * nptl/tst-setuid3.c: New file.
16131         * nptl/Makefile (tests): Add it.
16133 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16135         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
16136         New define.
16137         (__lll_trylock): Use __lll_base_trylock.
16138         (__lll_cond_trylock): Likewise.
16140 2014-07-10  Roland McGrath  <roland@hack.frob.com>
16142         * nptl/pthread_create.c (start_thread): Use atomic_or and
16143         lll_futex_wake directly rather than lll_robust_dead.
16144         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16145         (lll_robust_dead): Macro removed.
16146         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
16147         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16148         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16149         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16150         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16151         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16152         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16153         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16154         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16156         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16157         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16158         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16159         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16160         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16162         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
16163         Use atomic_compare_and_exchange_val_acq directly rather than
16164         lll_robust_trylock.
16165         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
16166         (__lll_robust_trylock, lll_robust_trylock): Removed.
16167         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
16168         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
16169         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
16170         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
16171         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
16172         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
16173         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
16174         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
16175         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
16176         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
16177         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
16178         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
16179         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
16180         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
16182 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16184         * manual/locale.texi (Locale Names): New section documenting
16185         locale name syntax.  Adjust menu and node chaining accordingly.
16186         (Choosing Locale): Reference Locale Names, Locale Categories.
16187         Mention setting LC_ALL=C.  Reflect that name syntax is now
16188         documented.
16189         (Locale Categories): New section title.  Reference Locale Names.
16190         LC_ALL is an environment variable, but not a category.
16191         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
16192         description, now in Locale Name.  Reference that section.  Locale
16193         name syntax is now documented.
16195 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16197         [BZ #17137]
16198         * locale/findlocale.c (name_present, valid_locale_name): New
16199         functions.
16200         (_nl_find_locale): Use the loc_name variable to store name
16201         candidates.  Call name_present and valid_locale_name to check and
16202         validate locale names.  Return an error if the locale is invalid.
16204 2014-07-02  Florian Weimer  <fweimer@redhat.com>
16206         * locale/setlocale.c (setlocale): Use strdup for allocating
16207         composite name copy.
16209 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16211         Sync up with gnulib.
16212         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
16213         [!_LIBC && ENABLE_NLS]: Include gettext.h.
16214         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
16215         and _GL_ARG_NONNULL.
16216         [USE_UNLOCKED_IO]: Include unlocked-io.h.
16217         [!_LIBC]: Include code for Windows and Cygwin.
16218         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
16219         Include prototype for int strerror_r.
16220         [!_LIBC] (is_open): New function.
16221         (flush_stdout): New function.
16222         (print_errno_message): Use it.
16223         (error): Likewise.
16224         (error_at_line): Likewise.
16225         (error_tail) Add function attribute macros.  Use
16226         __builtin_expect.
16228         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
16230         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
16232         * io/ftw.c: Include sys/param.h unconditionally.
16234         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
16236         [BZ #17125]
16237         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
16238         libc_freeres_ptr.
16239         (freecache): New function to free CACHE on exit.
16241         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
16242         initialization.
16244 2014-07-09  David S. Miller  <davem@davemloft.net>
16246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16248         * sysdeps/sparc/nptl/internaltypes.h: Delete.
16249         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
16250         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
16251         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
16252         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
16253         * sysdeps/sparc/nptl/sem_init.c: Likewise.
16254         * sysdeps/sparc/nptl/sem_post.c: Likewise.
16255         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
16256         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
16257         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
16258         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
16259         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
16260         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
16262 2014-07-09  Andreas Schwab  <schwab@suse.de>
16264         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
16265         output.
16266         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
16267         (do_test): Likewise.
16269         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
16271 2014-07-09  Will Newton  <will.newton@linaro.org>
16273         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
16274         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
16275         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
16276         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
16277         * sysdeps/hppa/start.S (_start): Likewise.
16279 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
16281         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
16283         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
16284         defined.
16286 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16288         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
16289         after checking that it is non-NULL.
16291         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
16293 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16295         * sysdeps/powerpc/memmove.c: Remove file.
16296         * sysdeps/powerpc/powerpc32/power4/memcopy.h
16297         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
16298         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
16299         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
16300         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
16301         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
16302         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
16303         string memmove instead of removed powerpc one.
16305         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16306         [weak_alias]: Fix compiler warning due trailing data.
16307         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
16308         [weak_alias]: Likewise.
16309         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
16310         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
16312         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16313         (__libc_ifunc_impl_list): Add memmove functions.
16315 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
16317         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
16318         Remove code.
16319         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
16320         Likewise
16321         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
16322         Likewise
16323         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
16324         Likewise
16325         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
16326         Likewise
16327         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
16328         Likewise
16329         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
16330         Likewise
16331         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
16332         Likewise
16333         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
16334         Likewise
16335         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
16336         Likewise
16337         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
16338         Likewise
16339         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
16340         Likewise
16341         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
16342         Likewise
16343         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
16344         Likewise
16345         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
16346         Likewise
16347         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
16348         Likewise
16349         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
16350         Likewise
16352 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16354         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
16355         to avoid alignment traps in non-cacheable memory.
16356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16358         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
16359         multiarch objects.
16360         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
16361         file: multiarch power7 memmove.
16362         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
16363         multiarch default memmove.
16364         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
16365         multiarch memove for powerpc32/power4.
16367         * string/bcopy.c: Use full path to include memmove.c.
16368         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
16369         multiarch objects.
16370         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
16371         bcopy for powerpc64.
16372         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
16373         bcopy for powerpc64.
16374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
16375         and memmove implementations.
16376         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
16377         optimized multiarch memmove for POWER7/powerpc64.
16378         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
16379         default multiarch memmove for powerpc64.
16380         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
16381         multiarch for powerpc64.
16382         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
16383         for POWER7/powerpc64.
16384         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
16385         memmove for POWER7/powerpc64.
16387         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
16388         glibc default one.
16390         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
16391         __ELF_NATIVE_CLASS equal to 64.
16393 2014-07-07  Roland McGrath  <roland@hack.frob.com>
16395         * sysdeps/nptl/lowlevellock.h: File removed.
16397         * NEWS: NPTL is no longer an add-on!
16398         * nptl/internaltypes.h: Moved ...
16399         * sysdeps/nptl/internaltypes.h: ... here.
16400         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
16401         * sysdeps/nptl/fork.c: Likewise.
16402         * sysdeps/nptl/gai_misc.h: Likewise.
16403         * sysdeps/nptl/librt-cancellation.c: Likewise.
16404         * sysdeps/nptl/jmp-unwind.c: Likewise.
16405         * sysdeps/nptl/setxid.h: Likewise.
16406         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
16407         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
16408         * sysdeps/unix/sysv/linux/arm/Implies: New file.
16409         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
16410         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
16411         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
16412         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
16413         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
16414         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
16415         * sysdeps/unix/sysv/linux/mips/Implies: New file.
16416         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
16417         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
16418         * sysdeps/unix/sysv/linux/sh/Implies: New file.
16419         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
16420         * sysdeps/unix/sysv/linux/tile/Implies: New file.
16421         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
16422         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
16423         * nptl/Makeconfig: Moved ...
16424         * sysdeps/nptl/Makeconfig: ... here.
16425         * nptl/configure: File removed.
16426         * nptl/ANNOUNCE: File removed.
16427         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
16428         * sysdeps/unix/sysv/linux/configure: Regenerated.
16430         * nptl/Makefile (routines): Add libc_pthread_init,
16431         libc_multiple_threads, register-atfork and unregister-atfork.
16432         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
16433         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
16434         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
16435         pthread-pi-defines.sym, structsem.sym.
16436         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
16437         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
16438         [$(subdir) = nptl] (tests): Add tst-setgetname.
16439         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
16440         * sysdeps/unix/sysv/linux/sigaction.c: Just include
16441         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
16442         [!LIBC_SIGACTION]: Remove aliases.
16443         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
16444         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
16445         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
16446         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
16447         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
16448         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
16449         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
16450         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
16451         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
16452         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
16453         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
16454         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
16455         __libc_allocate_rtsig_private.
16456         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
16457         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
16458         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
16459         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
16460         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
16461         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
16462         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
16463         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
16464         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
16465         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
16466         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
16467         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
16468         * nptl/internaltypes.h: ... here.
16469         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
16470         * sysdeps/nptl/jmp-unwind.c: ... here.
16471         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
16472         * nptl/libc-lowlevellock.c: ... here.
16473         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
16474         * nptl/libc_multiple_threads.c: ... here.
16475         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
16476         * nptl/libc_pthread_init.c: ... here.
16477         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
16478         * nptl/lowlevelbarrier.sym: ... here.
16479         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
16480         * nptl/lowlevelcond.sym: ... here.
16481         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
16482         * nptl/lowlevellock.c: ... here.
16483         * nptl/lowlevellock.h: Moved ...
16484         * sysdeps/nptl/lowlevellock.h: ... here.
16485         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
16486         * nptl/lowlevelrobustlock.c: ... here.
16487         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
16488         * nptl/lowlevelrobustlock.sym: ... here.
16489         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
16490         * nptl/lowlevelrwlock.sym: ... here.
16491         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
16492         * nptl/pt-fork.c: ... here.
16493         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
16494         * nptl/pthread-pi-defines.sym: ... here.
16495         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
16496         * nptl/pthread_attr_getaffinity.c: ... here.
16497         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
16498         * nptl/pthread_attr_setaffinity.c: ... here.
16499         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
16500         * nptl/pthread_mutex_cond_lock.c: ... here.
16501         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16502         Update #include.
16503         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
16504         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
16505         * nptl/pthread_once.c: ... here, replacing old file.
16506         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
16507         * nptl/pthread_yield.c: ... here.
16508         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
16509         * nptl/register-atfork.c: ... here.
16510         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
16511         * nptl/sem_post.c: ... here.
16512         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
16513         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
16514         * nptl/sem_timedwait.c: ... here.
16515         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
16516         * nptl/sem_trywait.c: ... here.
16517         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
16518         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
16519         * nptl/sem_wait.c: ... here.
16520         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
16521         * nptl/structsem.sym: ... here.
16522         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
16523         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
16524         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
16525         * nptl/unregister-atfork.c: ... here.
16526         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
16527         * nptl/unwindbuf.sym: ... here.
16528         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
16529         * sysdeps/nptl/fork.c: ... here.
16530         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
16531         * sysdeps/nptl/fork.h: ... here.
16532         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
16533         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
16534         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
16535         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
16536         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
16537         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
16538         * sysdeps/unix/sysv/linux/getpid.c: ... here.
16539         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
16540         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
16541         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
16542         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
16543         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
16544         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
16545         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
16546         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
16547         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
16548         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
16549         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
16550         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
16551         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
16552         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
16553         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
16554         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
16555         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
16556         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
16557         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
16558         * sysdeps/unix/sysv/linux/raise.c: ... here.
16559         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
16560         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
16561         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
16562         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
16563         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
16564         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
16565         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
16566         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
16567         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
16568         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
16569         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
16570         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
16571         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
16572         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
16573         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
16575 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16577         * sysdeps/generic/memcopy.h: Add comment for
16578         MEMCPY_OK_FOR_FWD_MEMMOVE.
16580 2014-07-04  Will Newton  <will.newton@linaro.org>
16582         * string/memchr.c: Merge from gnulib.
16583         [_LIBC]: Remove conditionals.
16584         (__ptr_t): Remove define.
16585         (LONG_MAX_32_BITS): Likewise.
16586         (LONG_MAX): Likewise.
16587         (MEMCHR): Use ANSI prototype and optimize algorithm.
16589         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
16591 2014-07-03  Roland McGrath  <roland@hack.frob.com>
16593         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
16594         (lll_futex_timed_wait_bitset): Fix syscall argument count.
16596         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
16597         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
16598         in a bare environment with no <stdlib.h> installed.
16599         * sysdeps/nptl/configure: Regenerated.
16601         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
16603         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
16604         AC_EGREP_CPP for kernel header checks, so they only succeed if
16605         including <linux/version.h> actually works right.
16606         * sysdeps/unix/sysv/linux/configure: Regenerated.
16608         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
16609         value so it's not diagnosed as unused.
16611         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
16612         thing) with "ifeq ($(subdir),rt)".
16614 2014-07-03  Richard Henderson  <rth@redhat.com>
16616         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
16617         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
16618         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
16620         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
16621         (math_force_eval): New.
16623         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
16624         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
16626         * sysdeps/alpha/fpu/s_round.c: Remove file.
16627         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
16629         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
16630         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
16631         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
16632         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
16633         (_dl_start, print_statistics): Likewise.
16634         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
16635         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
16637         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16638         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16639         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16640         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16641         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16642         (HP_SMALL_TIMING_AVAIL): Define.
16643         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16644         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16645         (HP_SMALL_TIMING_AVAIL): Define.
16646         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16647         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
16649         * sysdeps/aarch64/hp-timing.h: New file.
16651         * sysdeps/generic/hp-timing.h: Remove dead comment.
16652         * sysdeps/generic/hp-timing-common.h: New file.
16653         * sysdeps/alpha/hp-timing.h: Include it.
16654         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
16655         * sysdeps/i386/i686/hp-timing.h: Likewise.
16656         * sysdeps/ia64/hp-timing.h: Likewise.
16657         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16658         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16659         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
16660         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
16661         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
16662         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
16663         (hp_timing_t): New.
16665         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
16666         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
16667         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
16668         * elf/rtld.c (_dl_start_final): Likewise.
16669         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
16670         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16671         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16672         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16673         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16674         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16675         (HP_TIMING_DIFF_INIT): Remove.
16676         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16677         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
16678         (HP_TIMING_DIFF_INIT): Remove.
16679         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
16680         * sysdeps/i386/i686/hp-timing.c: Remove file.
16681         * sysdeps/x86_64/hp-timing.c: Remove file.
16682         * sysdeps/ia64/hp-timing.c: Remove file.
16683         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
16684         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
16685         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
16686         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
16688         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
16689         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
16690         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
16691         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16692         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
16693         (HP_TIMING_ACCUM): Remove.
16694         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16695         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
16696         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
16698         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
16699         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
16700         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
16701         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
16702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
16703         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16704         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
16705         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
16707         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
16709 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
16711         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
16713 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16715         Sync up with gettext.
16716         * intl/loadmsgcat.c: Define O_BINARY if not defined.
16717         [_MSC_VER]: Include malloc.h
16718         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
16719         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
16720         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
16721         TEMP_FAILURE_RETRY.  Cast return of alloca.
16722         [!_LIBC] Call gl_rwlock_init.
16723         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
16725 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16727         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
16728         before checking its value.
16730 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16732         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
16734         * debug/memcpy_chk.c: Don't include pagecopy.h.
16735         * debug/mempcpy_chk.c: Likewise.
16736         * string/memcpy.c: Likewise.
16737         * string/memmove.c: Likewise.
16738         * sysdeps/powerpc/memmove.c: Likewise.
16739         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
16740         definition of PAGE_COPY_FWD_MAYBE here...
16741         * sysdeps/generic/pagecopy.h: ... from here.
16742         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
16744 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
16745             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16747         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
16748         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
16749         optimizations.
16750         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16751         (__libc_ifunc_impl_list): Likewise.
16752         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
16753         multiarch strcat for PPC64.
16754         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
16755         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
16757 2014-07-02  Roland McGrath  <roland@hack.frob.com>
16759         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
16761 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16763         * intl/loadmsgcat.c: Remove declaration of
16764         get_sysdep_segment_value.
16765         (get_sysdep_segment_value): Use ISO C style.
16766         (_nl_load_domain): Use ISO C style.  Get rid of redundant
16767         semicolon.  Fix typo and formatting in comment.
16768         (_nl_unload_domain): Use ISO C style.
16770         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
16772 2014-07-02  Will Newton  <will.newton@linaro.org>
16774         * malloc/obstack.c: Merge from gnulib master.
16775         [HAVE_CONFIG_H]: Remove conditional code.
16776         [!_LIBC]: Include config.h.
16777         [!ELIDE_CODE]: Don't include inttypes.h, include
16778         stdint.h unconditionally.
16779         (print_and_abort): Mark as _Noreturn.
16780         (_obstack_allocated_p): Mark as __attribute_pure__.
16781         (obstack_free): Rename to __obstack_free.
16782         [!__attribute__]: Remove conditional code.
16783         * malloc/obstack.h: Merge from gnulib master.
16784         [__cplusplus]: Move conditional down.
16785         [!__attribute_pure__]: Define __attribute_pure__ here
16786         if it is not already defined.
16787         (_obstack_memory_used): Mark as __attribute_pure__.
16788         [!__obstack_free]: Define as obstack_free.
16789         [__GNUC__]: Remove check for ancient NeXT gcc.
16791 2014-07-02  Will Newton  <will.newton@linaro.org>
16792             Paul Eggert  <eggert@cs.ucla.edu>
16794         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
16796 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16798         * resolv/gethnamaddr.c: Add comment warning that the file is
16799         not maintained.
16801 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
16803         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
16804         entries.
16806         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
16807         entry for aio_cancel and aio_cancel64.
16808         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
16809         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
16810         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
16811         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
16812         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
16813         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
16814         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
16815         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
16816         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
16817         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
16818         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
16819         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
16820         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
16822 2014-07-01  Roland McGrath  <roland@hack.frob.com>
16824         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
16825         * nptl/pthread_mutex_lock.c: Likewise.
16826         * nptl/pthread_mutex_timedlock.c: Likewise.
16827         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
16829 2014-07-01  Richard henderson  <rth@redhat.com>
16831         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
16832         (__isnan, __isnanl): Remove.
16833         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
16835         * sysdeps/alpha/fpu/libm-test-ulps: Update.
16837 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
16839         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16841 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
16843         * resolv/nss_dns/dns-host.c (getanswer_r)
16844         [MULTI_PTRS_ARE_ALIASES]: Remove code.
16846 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
16848         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16849         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
16850         undefine.
16851         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
16852         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
16854 2014-07-01  Roland McGrath <roland@hack.frob.com>
16856         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
16857         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
16859         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
16860         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
16862         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
16863         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
16864         ... here.
16865         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
16866         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
16868         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
16869         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
16870         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
16871         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
16873         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
16874         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
16875         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
16876         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
16877         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
16878         Moved ...
16879         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
16880         ... here.
16881         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
16882         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
16883         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
16884         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
16885         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
16886         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
16887         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
16888         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
16889         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
16890         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
16891         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
16892         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
16893         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
16894         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
16895         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
16896         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
16897         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
16898         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
16899         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
16900         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
16901         ... here.
16902         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
16903         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
16904         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
16905         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
16906         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
16907         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
16908         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
16909         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
16911 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
16913         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
16914         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
16915         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
16916         Add sysdep.
16918 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16920         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16922 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16924         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16925         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16927         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16929         * sysdeps/arm/libm-test-ulps: Regenerated.
16931 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
16932             Roland McGrath <roland@hack.frob.com>
16934         * test-skeleton.c (signal_handler): Kill the whole process group
16935         before killing the child individually.
16936         (main): Report any failure on `setpgid'.
16938 2014-06-30  Roland McGrath  <roland@hack.frob.com>
16940         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
16941         from _TLS_H to _ARM_NPTL_TLS_H.
16942         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
16943         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
16945 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
16947         [BZ #16539]
16948         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
16949         (__expm1l): Return argument unchanged when small but not
16950         subnormal.
16952         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
16953         include macro name.
16954         (_FP_UNPACK_RAW_1_P): Likewise.
16955         (_FP_PACK_RAW_1): Likewise.
16956         (_FP_PACK_RAW_1_P): Likewise.
16957         (_FP_MUL_MEAT_1_wide): Likewise.
16958         (_FP_MUL_MEAT_DW_1_hard): Likewise.
16959         (_FP_MUL_MEAT_1_hard): Likewise.
16960         (_FP_DIV_MEAT_1_imm): Likewise.
16961         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
16962         (_FP_DIV_MEAT_1_udiv): Likewise.
16963         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
16964         (_FP_UNPACK_RAW_2): Likewise.
16965         (_FP_UNPACK_RAW_2_P): Likewise.
16966         (_FP_PACK_RAW_2): Likewise.
16967         (_FP_PACK_RAW_2_P): Likewise.
16968         (_FP_MUL_MEAT_DW_2_wide): Likewise.
16969         (_FP_MUL_MEAT_2_wide): Likewise.
16970         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
16971         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16972         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
16973         (_FP_MUL_MEAT_2_gmp): Likewise.
16974         (_FP_DIV_MEAT_2_udiv): Likewise.
16975         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
16976         (_FP_FRAC_SRL_4): Likewise.
16977         (_FP_FRAC_SRST_4): Likewise.
16978         (_FP_FRAC_SRS_4): Likewise.
16979         (_FP_UNPACK_RAW_4): Likewise.
16980         (_FP_UNPACK_RAW_4_P): Likewise.
16981         (_FP_PACK_RAW_4): Likewise.
16982         (_FP_PACK_RAW_4_P): Likewise.
16983         (_FP_MUL_MEAT_DW_4_wide): Likewise.
16984         (_FP_MUL_MEAT_4_wide): Likewise.
16985         (_FP_MUL_MEAT_4_gmp): Likewise.
16986         (umul_ppppmnnn): Likewise.
16987         (_FP_DIV_MEAT_4_udiv): Likewise.
16988         (__FP_FRAC_ADD_4): Likewise.
16989         (__FP_FRAC_SUB_3): Likewise.
16990         (__FP_FRAC_SUB_4): Likewise.
16991         (__FP_FRAC_DEC_3): Likewise.
16992         (__FP_FRAC_DEC_4): Likewise.
16993         (__FP_FRAC_ADDI_4): Likewise.
16994         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
16995         (_FP_FRAC_SRL_8): Likewise.
16996         (_FP_FRAC_SRS_8): Likewise.
16998         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
16999         include macro name.
17000         (FP_UNPACK_RAW_EP): Likewise.
17001         (FP_PACK_RAW_E): Likewise.
17002         (FP_PACK_RAW_EP): Likewise.
17003         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
17004         (_FP_ISSIGNAN): Likewise.
17005         (_FP_ADD_INTERNAL): Likewise.
17006         (_FP_FMA): Likewise.
17007         (_FP_CMP): Likewise.
17008         (_FP_SQRT): Likewise.
17009         (_FP_TO_INT): Likewise.
17010         (_FP_FROM_INT): Likewise.
17011         (FP_EXTEND): Likewise.
17012         (_FP_DIV_MEAT_N_loop): Likewise.
17014 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
17016         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
17017         throughout.
17019 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
17021         [BZ #17097]
17022         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
17023         result with correct sign in case of exponents that produce
17024         overflow except for X very close to 1.
17026 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
17028         mktime: merge #if/#ifdef usage from glibc
17029         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
17030         as that works with both Glibc's and Gnulib's style.
17031         See thread starting at Siddhesh Poyarekar's bug report at:
17032         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
17034 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17036         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
17037         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
17038         * sysdeps/tile/tilegx/memmove.c: Remove file.
17040 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17042         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
17043         abi-name definition.
17044         * scripts/soversions.awk: Do not handle or generate ABI lines.
17045         * shlib-versions: Remove ABI entries.
17046         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
17047         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
17049 2014-06-27  Roland McGrath  <roland@hack.frob.com>
17051         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
17052         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
17053         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
17054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
17055         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
17056         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
17057         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
17058         Moved ...
17059         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
17060         ... here.
17061         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
17062         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
17063         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
17064         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
17065         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
17066         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
17067         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
17068         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
17069         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
17070         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
17071         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
17072         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
17073         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
17074         Moved ...
17075         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
17076         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
17077         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
17078         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
17079         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
17080         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
17081         Moved ...
17082         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
17083         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
17084         Moved ...
17085         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
17086         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
17087         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
17088         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
17089         Moved ...
17090         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
17091         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
17092         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
17093         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
17094         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
17095         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
17096         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
17097         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
17098         Moved ...
17099         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
17100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
17101         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
17102         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
17103         Moved ...
17104         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
17105         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
17106         Moved ...
17107         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
17108         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
17109         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
17110         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
17111         Moved ...
17112         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
17113         ... here.
17114         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
17115         Identical file removed.
17116         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
17117         Moved ...
17118         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
17119         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
17120         Identical file removed.
17121         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
17122         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
17123         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
17124         Moved ...
17125         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
17126         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
17127         Identical file removed.
17128         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
17129         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
17130         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
17131         Identical file removed.
17132         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
17133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
17134         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
17135         Identical file removed.
17136         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
17137         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
17138         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
17139         Identical file removed.
17140         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
17141         Moved ...
17142         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
17143         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
17144         Identical file removed.
17145         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
17146         Moved ...
17147         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
17148         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
17149         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
17150         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
17151         Identical file removed.
17152         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
17153         Moved ...
17154         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
17155         ... here.
17156         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
17157         Identical file removed.
17158         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
17159         Moved ...
17160         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
17161         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
17162         Identical file removed.
17163         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
17164         Moved ...
17165         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
17166         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
17167         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
17168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
17169         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
17170         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
17171         Moved ...
17172         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
17174         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
17176         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
17177         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
17178         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
17179         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
17180         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
17182 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
17184         [BZ #17092]
17185         * nscd/nscd.c (monitor_child): Return exit status of child
17186         instead of return value from wait syscall.
17188 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
17190         * configure.ac (libc_commonpagesize): Remove variable.
17191         (libc_relro_required): Likewise.
17192         (libc_cv_z_relro): Remove configure test.
17193         * configure: Regenerated.
17194         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
17195         variable.
17196         (libc_relro_required): Likewise.
17197         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
17198         (libc_relro_required): Likewise.
17199         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
17200         (libc_relro_required): Likewise.
17201         * sysdeps/arm/preconfigure: Regenerated.
17202         * sysdeps/ia64/preconfigure: Remove file.
17203         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
17204         variable.
17205         (libc_relro_required): Likewise.
17207         [BZ #16561]
17208         [BZ #16562]
17209         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
17210         (__ieee754_yn): Set FE_TONEAREST mode internally and then
17211         recompute overflowing results in original rounding mode.
17212         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
17213         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
17214         recompute overflowing results in original rounding mode.
17215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
17216         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17217         recompute overflowing results in original rounding mode.
17218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
17219         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17220         recompute overflowing results in original rounding mode.
17221         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
17222         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
17223         recompute overflowing results in original rounding mode.
17224         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
17225         (libc_feholdsetround_ctx): New macro.
17226         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
17227         * sysdeps/i386/fpu/libm-test-ulps: Update.
17228         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
17230 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17232         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
17233         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
17234         corresponding .cpsetup call.
17236 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17238         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
17239         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
17240         * sysdeps/arm/Makefile [$(subdir) = csu]
17241         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
17242         (static-only-routines): Add aeabi_read_tp here.
17243         (shared-only-routines): Add libc-aeabi_read_tp here.
17244         (CFLAGS-libc-start.c): Add -fexceptions here.
17245         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
17246         (sysdep_routines, static-only-routines, shared-only-routines):
17247         Don't add to these here.
17248         (CFLAGS-libc-start.c): Likewise.
17250         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
17251         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17252         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
17253         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17254         * sysdeps/arm/Makefile [$(subdir) = rt]
17255         (librt-sysdep_routines, librt-shared-only-routines):
17256         Append rt-aeabi_unwind_cpp_pr1 here.
17257         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
17258         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
17259         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
17260         (libpthread-sysdep_routines, libpthread-shared-only-routines):
17261         Append nptl-aeabi_unwind_cpp_pr1 here.
17262         (tests): Filter out tst-cleanupx4 here.
17263         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
17264         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
17265         Don't do those here.
17267 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17269         * scripts/list-sources.sh: Do not handle ports specially.
17271 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17273         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
17274         * sysdeps/arm/feupdateenv.c: Likewise.
17276         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
17278 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17280         * manual/texinfo.tex: Update to version 2014-05-05.10 with
17281         trailing whitespace removed.
17282         * scripts/config.guess: Update to version 2014-03-23.
17283         * scripts/config.sub: Update to version 2014-05-01
17284         * scripts/install-sh: Update to version 2013-12-25.23.
17285         * scripts/move-if-change: Update from gnulib.
17287 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17289         * debug/memmove_chk.c: Remove pagecopy.h include.
17291 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
17293         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
17294         identical to gnulib mktime.
17296 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
17298         * configure.ac: Do not test for machine being rs6000.  Do not test
17299         for powerpc*-*soft.
17300         * configure: Regenerated.
17302         [BZ #11505]
17303         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
17304         test.
17305         * configure: Regenerated.
17306         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
17307         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
17308         Remove configure test.
17309         * sysdeps/arm/configure: Regenerated.
17310         * sysdeps/nptl/configure.ac: Do not check
17311         libc_cv_asm_cfi_directives.
17312         * sysdeps/nptl/configure: Regenerated.
17313         * sysdeps/x86_64/nptl/configure.ac: Remove file.
17314         * sysdeps/x86_64/nptl/configure: Remove generated file.
17315         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
17316         unconditional.
17317         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
17319 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17321         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
17322         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
17323         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
17324         it is defined.
17326         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
17327         instead of whether it is defined.
17328         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
17329         * sysdeps/hppa/dl-machine.h: Likewise.
17330         * sysdeps/ia64/dl-machine.h: Likewise.
17331         * sysdeps/m68k/dl-machine.h: Likewise.
17332         * sysdeps/microblaze/dl-machine.h: Likewise.
17333         * sysdeps/mips/dl-machine.: Likewise.
17334         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
17335         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
17336         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
17337         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
17338         * sysdeps/sh/dl-machine.h: Likewise.
17339         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
17340         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
17341         * sysdeps/tile/dl-machine.h: Likewise.
17342         * sysdeps/x86_64/dl-machine.h: Likewise.
17344         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
17345         code.
17346         (verify_persistent_db): Likewise.
17348 2014-06-26  Roland McGrath  <roland@hack.frob.com>
17350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
17351         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
17352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
17353         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
17354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
17355         Moved ...
17356         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
17357         ... here.
17358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
17359         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
17360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
17361         Identical file removed.
17362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
17363         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
17364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
17365         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
17366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
17367         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
17368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
17369         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
17370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
17371         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
17372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17373         Moved ...
17374         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
17375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
17376         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
17377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
17378         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
17379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
17380         Moved ...
17381         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
17382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
17383         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
17384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
17385         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
17386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17387         Identical file removed.
17388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
17389         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
17390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
17391         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
17392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
17393         Moved ...
17394         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
17395         ... here.
17396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
17397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
17398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
17399         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
17400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
17401         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
17402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
17403         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
17404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
17405         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
17406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17407         Moved ...
17408         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
17409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
17410         Moved ...
17411         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
17412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
17413         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
17414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
17415         Moved ...
17416         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
17417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
17418         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
17420         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
17421         folded into ...
17422         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
17423         * sysdeps/unix/sysv/linux/s390/Versions
17424         (libpthread: GLIBC_2.19): New version set.
17425         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
17426         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
17427         (librt: GLIBC_2.3.3): New version set.
17428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
17429         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
17430         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
17431         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
17432         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
17433         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
17434         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
17435         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
17436         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
17437         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
17438         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
17439         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
17440         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
17441         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
17442         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
17443         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
17444         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
17445         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
17446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
17447         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
17448         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
17449         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
17450         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
17451         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
17452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
17453         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
17454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
17455         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
17456         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
17457         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
17458         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
17459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
17460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
17461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
17462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
17463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
17464         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
17465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
17466         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
17467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
17468         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
17469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
17470         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
17471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
17472         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
17474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
17475         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
17476         (__libc_vfork): Define the function under this name.
17477         [!NOT_IN_libc] (__vfork): Make this an alias.
17478         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
17480         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
17481         (__libc_vfork): Define the function under this name.
17482         [!NOT_IN_libc] (__vfork): Make this an alias.
17483         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
17484         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
17485         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
17486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
17487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
17488         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
17490         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
17491         code that was previously under [RESET_PID].
17492         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
17493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
17494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
17496         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
17497         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
17498         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
17499         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
17500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
17501         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
17502         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
17503         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
17504         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
17505         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
17506         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
17507         Moved ...
17508         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
17509         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
17510         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
17511         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
17512         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
17513         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
17514         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
17515         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
17516         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
17517         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
17518         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
17519         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
17520         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
17521         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
17522         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
17523         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
17524         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
17525         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
17526         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
17527         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
17528         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
17529         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
17530         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
17531         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
17532         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
17533         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
17534         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
17535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
17536         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
17538 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17540         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
17541         that was previously under [RESET_PID].
17542         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
17544 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17546         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
17547         not undefine and redefine.
17548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
17549         [O_CLOEXEC]: Make code unconditional.
17550         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
17551         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
17552         <kernel-features.h>.
17553         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
17554         conditional variable definition.
17555         (shm_open) [O_CLOEXEC]: Make code unconditional.
17556         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
17557         code.
17559         * configure.ac (USE_REGPARMS): Don't define here.
17560         * configure: Regenerated.
17561         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
17562         * sysdeps/i386/configure: Regenerated.
17564         * nptl/createthread.c: Don't include kernel-features.h.
17565         * nptl/pthread_cancel.c: Likewise.
17566         * nptl/pthread_condattr_setclock.c: Likewise.
17567         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
17568         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
17569         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
17570         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
17571         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
17572         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
17573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
17574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
17575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
17576         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
17577         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
17578         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
17579         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
17580         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
17581         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
17582         * nscd/gai.c: Likewise.
17583         * nss/nss_db/db-open.c: Likewise.
17584         * sysdeps/generic/ldsodefs.h: Likewise.
17585         * sysdeps/sh/nptl/tls.h: Likewise.
17586         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
17587         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
17588         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
17589         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
17590         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
17591         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
17592         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
17593         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
17595         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
17596         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
17597         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
17598         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
17599         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
17600         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
17601         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
17602         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17603         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
17604         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
17605         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
17606         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
17607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
17608         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
17609         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
17611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
17612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
17613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17614         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
17615         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
17616         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
17617         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
17618         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
17619         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17620         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
17622         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17623         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
17624         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
17625         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
17626         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17627         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
17628         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
17629         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17630         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
17631         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
17632         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
17633         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
17634         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
17635         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
17636         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
17637         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
17638         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
17639         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
17640         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
17641         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
17643         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
17644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
17646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
17647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
17648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
17649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
17650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
17651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
17652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
17655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
17656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
17657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
17658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
17659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
17664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
17665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
17666         * sysdeps/unix/sysv/linux/pread.c: Likewise.
17667         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
17668         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
17669         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
17670         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
17671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
17672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
17673         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
17674         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
17675         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
17676         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
17677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
17678         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
17679         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
17680         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
17681         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
17682         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17683         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
17684         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
17685         * sysdeps/unix/sysv/linux/system.c: Likewise.
17686         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
17687         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
17688         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
17689         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
17690         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
17691         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
17692         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17694         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
17695         * configure: Regenerated.
17696         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
17698         * configure.ac (base_machine): Do not set specially for particular
17699         machines here.
17700         * configure: Regenerated.
17701         * sysdeps/powerpc/preconfigure: Move machine and base_machine
17702         settings from configure.ac.
17703         * sysdeps/i386/preconfigure: New file.
17704         * sysdeps/s390/preconfigure: Likewise.
17705         * sysdeps/sh/preconfigure: Likewise.
17706         * sysdeps/sparc/preconfigure: Likewise.
17708 2014-06-25  Roland McGrath  <roland@hack.frob.com>
17710         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
17711         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
17712         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
17713         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
17714         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
17715         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
17716         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
17717         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
17718         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
17719         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
17720         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
17721         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
17722         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
17723         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
17724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
17725         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
17726         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
17727         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
17728         * sysdeps/sparc/sparc64/Makefile: ... appended here.
17730         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
17731         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
17732         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
17733         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
17734         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
17735         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
17736         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
17737         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
17738         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
17739         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
17740         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
17741         * sysdeps/sparc/sparc32/sem_post.c: ... here.
17742         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
17743         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
17744         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
17745         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
17746         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
17747         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
17748         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
17749         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
17750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
17751         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
17752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
17753         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
17754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
17755         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
17756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
17757         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
17758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
17759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
17760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
17761         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
17762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
17763         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
17764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
17765         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
17766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
17767         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
17769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
17770         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
17771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
17772         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
17773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
17774         Moved ...
17775         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
17776         ... here.
17777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
17778         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
17779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
17780         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
17781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
17782         Moved ...
17783         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
17784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
17785         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
17786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
17787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
17788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
17789         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
17790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
17791         Moved ...
17792         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
17793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
17794         Moved ...
17795         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
17796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
17797         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
17798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
17799         Moved ...
17800         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
17801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
17802         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
17803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
17804         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
17805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
17806         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
17807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
17808         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
17809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
17810         Moved ...
17811         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
17812         ... here.
17813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
17814         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
17815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
17816         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
17817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
17818         Moved ...
17819         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
17820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
17821         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
17822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
17823         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
17825         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
17826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
17827         Moved ...
17828         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
17829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
17830         Moved ...
17831         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
17832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
17833         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
17834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
17835         Moved ...
17836         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
17837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
17838         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
17839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
17840         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
17842 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17844         * timezone/checktab.awk: Update from tzcode 2014e.
17845         * timezone/private.h: Likewise.
17846         * timezone/tzfile.h: Likewise.
17847         * timezone/zdump.c: Likewise.
17848         * timezone/zic.c: Likewise.
17850         * sysdeps/unix/sysv/linux/kernel-features.h
17851         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
17852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
17853         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
17854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17855         Remove conditional code.
17857 2014-06-25  Will Newton  <will.newton@linaro.org>
17859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
17860         (_dl_arm_cap_flags): Add HWCAP2 values.
17861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
17862         (_DL_HWCAP_COUNT): Increase to 37.
17863         (_DL_HWCAP_LAST): New define.
17864         (_DL_HWCAP2_LAST): New define.
17865         (_dl_procinfo): Add support for printing
17866         AT_HWCAP2 entries.
17867         (_dl_string_hwcap): Use _dl_hwcap_string.
17869 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17873 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
17875         * README: Do not mention ports directory.
17877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
17878         Remove macro.
17879         * sysdeps/unix/sysv/linux/futimes.c: Do not include
17880         <kernel-features.h>.
17881         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
17882         conditional variable definition.
17883         (__futimes): Update comment.
17884         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
17885         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
17887         [BZ #16560]
17888         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
17889         arguments close to 0.
17890         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
17891         Likewise.
17892         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
17893         Likewise.
17894         * math/auto-libm-test-in: Add more tests of exp10.
17895         * math/auto-libm-test-out: Regenerated.
17896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17898         * sysdeps/unix/sysv/linux/kernel-features.h
17899         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
17900         * sysdeps/unix/sysv/linux/readv.c: Do not include
17901         <kernel-features.h>.
17902         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17903         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17904         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17905         unconditional.
17906         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17907         conditional code.
17908         * sysdeps/unix/sysv/linux/writev.c: Do not include
17909         <kernel-features.h>.
17910         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
17911         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
17912         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
17913         unconditional.
17914         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
17915         conditional code.
17917 2014-06-25  Will Newton  <will.newton@linaro.org>
17919         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
17920         comment changes throughout the file.  Remove checks
17921         for HAVE_*_H definitions that are not required.
17922         (__gen_tempname): Call abort if an unknown kind value is
17923         passed.
17925 2014-06-25  Andreas Schwab  <schwab@suse.de>
17927         [BZ #17086]
17928         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
17929         scalbln, scalblnf, scalblnl in libc.
17931 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17933         [BZ #17086]
17934         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
17935         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
17936         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
17938 2014-06-24  Roland McGrath  <roland@hack.frob.com>
17940         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
17941         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
17942         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
17943         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
17944         Update #include.
17945         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
17946         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
17947         Update #include.
17948         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
17949         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
17950         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
17951         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
17952         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
17953         * sysdeps/x86/bits/pthreadtypes.h: ... here.
17954         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
17955         * sysdeps/x86/bits/semaphore.h: ... here.
17956         * sysdeps/x86/nptl/elide.h: Moved ...
17957         * sysdeps/x86/elide.h: ... here.
17958         * sysdeps/x86_64/nptl/Implies: File removed.
17959         * sysdeps/i386/nptl/Implies: File removed.
17961 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
17963         [BZ #16539]
17964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
17965         return the argument for normal arguments with exponent below -64.
17966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17967         Likewise.
17968         * math/auto-libm-test-in: Add another test of expm1.
17969         * math/auto-libm-test-out: Regenerated.
17971         [BZ #16287]
17972         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
17973         calling __erfcl for arguments at least 16.
17974         * math/auto-libm-test-in: Add more tests of erf.
17975         * math/auto-libm-test-out: Regenerated.
17977         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
17978         individual architectures.
17979         * sysdeps/unix/sysv/linux/configure: Regenerated.
17980         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
17981         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
17982         * sysdeps/unix/sysv/linux/powerpc/configure.ac
17983         (ldd_rewrite_script): Define variable.
17984         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
17985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
17986         file.
17987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
17988         generated file.
17989         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
17990         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
17991         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
17992         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
17993         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
17994         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
17995         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
17996         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
17998 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18000         [BZ #17084]
18001         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
18002         Rename member __data.d to __data.__elision_data.
18004 2014-06-24  Wilco  <wdijkstr@arm.com>
18006         * NEWS: Add 16918 to fixed bug list.
18008 2014-06-24  Wilco  <wdijkstr@arm.com>
18010         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
18012 2014-06-24  Wilco  <wdijkstr@arm.com>
18014         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
18015         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
18016         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
18017         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
18018         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
18019         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
18020         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
18021         Use _FPU_MASK_RM.
18023 2014-06-24  Wilco  <wdijkstr@arm.com>
18025         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
18027 2014-06-24  Wilco  <wdijkstr@arm.com>
18029         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
18030         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
18031         * sysdeps/arm/fesetround.c (fesetround): Remove space.
18032         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
18034 2014-06-24  Wilco  <wdijkstr@arm.com>
18036         [BZ #16918]
18037         * sysdeps/arm/feupdateenv.c (feupdateenv):
18038         Rewrite to reduce FPSCR accesses and fix return value.
18040 2014-06-24  Wilco  <wdijkstr@arm.com>
18042         * sysdeps/arm/fclrexcpt.c (feclearexcept):
18043         Optimize to avoid unnecessary FPSCR writes.
18044         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
18045         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
18046         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
18047         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
18049 2014-06-24  Wilco  <wdijkstr@arm.com>
18051         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
18052         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
18053         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
18054         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
18055         Call libc_fetestexcept_vfp.
18056         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
18057         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
18058         __SOFTFP__ ifdef so that they can be built for softfp.
18060 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18062         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
18063         argument type signed char.
18065         * Makerules (check-abi): Dump diff of symlist if the test
18066         fails.
18068 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18070         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
18071         using abort.
18073         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
18074         Remove unused variable ST.
18076 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
18078         [BZ #16354]
18079         [BZ #17061]
18080         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
18081         small arguments before calling __expm1.
18082         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
18083         small arguments before calling __expm1f.
18084         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
18085         small arguments before calling __expm1l.
18086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18087         Likewise.
18088         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
18089         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
18090         spurious underflow for some cosh tests.
18091         * math/auto-libm-test-out: Regenerated.
18092         * sysdeps/i386/fpu/libm-test-ulps: Update.
18094         [BZ #17050]
18095         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
18096         (__ieee754_y1): Set errno if return value overflows.
18097         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
18098         (__ieee754_y1f): Set errno if return value overflows.
18099         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
18100         (__ieee754_y1l): Set errno if return value overflows.
18101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
18102         (__ieee754_y1l): Set errno if return value overflows.
18103         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
18104         * math/auto-libm-test-out: Regenerated.
18106         * math/gen-auto-libm-tests.c: Document use of
18107         ignore-zero-inf-sign.
18108         (input_flag_type): Add value flag_ignore_zero_inf_sign.
18109         (input_flags): Add ignore-zero-inf-sign.
18110         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
18111         * math/gen-libm-test.pl (generate_testfile): Handle
18112         ignore-zero-inf-sign.
18113         * math/auto-libm-test-in: Mark some cpow tests with
18114         ignore-zero-inf-sign and some with xfail-rounding.
18115         * math/auto-libm-test-out: Regenerated.
18116         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
18117         * sysdeps/i386/fpu/libm-test-ulps: Update.
18118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18120         [BZ #16315]
18121         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
18122         overflowing or underflowing operations take place with sign of
18123         result.
18124         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18125         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18126         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
18127         (__ieee754_pow): Recompute overflowing and underflowing results in
18128         original rounding mode.
18129         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
18130         (__powl_helper): Allow negative argument X and scale negated value
18131         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
18132         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
18133         overflowing or underflowing operations take place with sign of
18134         result.
18135         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
18136         Include <math.h>.
18137         * math/auto-libm-test-in: Add more tests of pow.
18138         * math/auto-libm-test-out: Regenerated.
18139         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
18140         (pow_tonearest_test_data): Remove.
18141         (pow_test_tonearest): Likewise.
18142         (pow_towardzero_test_data): Likewise.
18143         (pow_test_towardzero): Likewise.
18144         (pow_downward_test_data): Likewise.
18145         (pow_test_downward): Likewise.
18146         (pow_upward_test_data): Likewise.
18147         (pow_test_upward): Likewise.
18148         (main): Don't call removed functions.
18149         * sysdeps/i386/fpu/libm-test-ulps: Update.
18150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18152 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
18155         Moved ...
18156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
18157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18158         Moved ...
18159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
18160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
18161         Moved ...
18162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
18163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
18164         Moved ...
18165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
18166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
18167         File removed.
18168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
18169         File removed.
18170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
18171         File removed.
18172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
18173         File removed.
18174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
18175         File removed.
18176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
18177         File removed.
18178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
18179         File removed.
18180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18181         File removed.
18182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
18183         File removed.
18184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
18185         File removed.
18186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
18187         File removed.
18188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
18189         File removed.
18190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
18191         Moved ...
18192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
18193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
18194         Moved ...
18195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
18196         ... here.
18197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
18198         Moved ...
18199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
18200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
18201         Moved ...
18202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
18203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
18204         Moved ...
18205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
18206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
18207         Moved ...
18208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
18209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
18210         Moved ...
18211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
18212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
18213         Moved ...
18214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
18215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
18216         Moved ...
18217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
18218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
18219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
18220         ... here.
18221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
18222         Moved ...
18223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
18224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
18225         Moved ...
18226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
18227         ... here.
18228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
18229         Moved ...
18230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18231         ... here.
18232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18233         Moved ...
18234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
18235         ... here.
18236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
18237         Moved ...
18238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
18239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18240         Moved ...
18241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
18242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
18243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
18244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18245         Moved ...
18246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
18247         ... here.
18248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
18249         Moved ...
18250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
18251         ... here.
18252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18253         Moved ...
18254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
18255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
18256         Moved ...
18257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
18258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18259         Moved ...
18260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
18261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18262         Moved ...
18263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
18264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18265         Moved ...
18266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
18267         ... here.
18268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
18269         Moved ...
18270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
18271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18272         Moved ...
18273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
18274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
18275         Moved ...
18276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
18277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18278         Moved ...
18279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
18280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
18281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
18282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18283         Moved ...
18284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
18285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
18286         Moved ...
18287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
18288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18289         Moved ...
18290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
18291         ... here.
18292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18293         Moved ...
18294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
18295         ... here.
18296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18297         Moved ...
18298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
18299         ... here.
18300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
18301         Moved ...
18302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
18303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18304         Moved ...
18305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
18306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
18307         Moved ...
18308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
18309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18310         Moved ...
18311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
18312         ... here.
18313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
18314         Moved ...
18315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
18316         ... here.
18317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18318         Moved ...
18319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
18320         ... here.
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
18322         Moved ...
18323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
18324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
18325         Moved ...
18326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
18328 2014-06-23  Will Newton  <will.newton@linaro.org>
18329             Wilco  <wdijkstr@arm.com>
18331         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
18332         implementation.  Include get-rounding-mode.h.
18333         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
18334         [!libc_feholdsetround_noex_ctx]: Define
18335         libc_feholdsetround_noex_ctx.
18336         [!libc_feholdsetround_noexf_ctx]: Define
18337         libc_feholdsetround_noexf_ctx.
18338         [!libc_feholdsetround_noexl_ctx]: Define
18339         libc_feholdsetround_noexl_ctx.
18340         (libc_feholdsetround_ctx): New function.
18341         (libc_feresetround_ctx): New function.
18342         (libc_feholdsetround_noex_ctx): New function.
18343         (libc_feresetround_noex_ctx): New function.
18345 2014-06-23  Roland McGrath  <roland@hack.frob.com>
18347         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
18348         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
18349         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
18350         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
18351         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
18352         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
18354         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
18355         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
18356         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
18357         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
18358         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
18359         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
18360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
18361         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
18362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
18363         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
18364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
18365         Moved ...
18366         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
18367         ... here.
18368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
18369         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
18370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
18371         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
18372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
18373         Moved ...
18374         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
18375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
18376         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
18377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
18378         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
18379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
18380         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
18381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
18382         Moved ...
18383         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
18384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
18385         Moved ...
18386         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
18387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
18388         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
18389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
18390         Moved ...
18391         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
18392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
18393         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
18394         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
18395         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
18396         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
18397         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
18398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
18399         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
18400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
18401         Moved ...
18402         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
18403         ... here.
18404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
18405         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
18406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
18407         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
18408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
18409         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
18410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
18411         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
18412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
18413         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
18414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
18415         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
18416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
18417         Moved ...
18418         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
18419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
18420         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
18421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
18422         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
18423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
18424         Moved ...
18425         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
18426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
18427         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
18428         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
18429         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
18431         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
18432         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
18433         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
18434         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
18435         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
18436         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
18437         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
18438         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
18439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
18440         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
18441         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
18442         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
18443         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
18444         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
18445         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18446         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
18447         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
18448         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
18449         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
18450         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
18451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
18452         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
18453         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
18454         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
18455         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
18456         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
18457         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
18458         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
18460 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
18462         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
18463         (FALLOC_FL_COLLAPSE_RANGE): New macro.
18464         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
18465         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
18466         (IPV6_PMTUDISC_INTERFACE): Likewise.
18467         (IPV6_PMTUDISC_OMIT): Likewise.
18469 2014-06-23  Andreas Schwab  <schwab@suse.de>
18471         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
18472         Remove unused errout label.
18474 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18476         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
18477         macro: hardware supports Vector Crypto instructions.
18479 2014-06-23  Will Newton  <will.newton@linaro.org>
18481         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
18482         rather than __builtin_expect.
18484         * elf/dl-lookup.c (undefined_msg): Remove variable.
18485         (_dl_lookup_symbol_x): Replace undefined_msg with string
18486         literal.
18488         * elf/dl-lookup.c (do_lookup_unique): New function.
18489         (do_lookup_x): Move STB_GNU_UNIQUE handling code
18490         to a separate function.
18492 2014-06-23  Andreas Schwab  <schwab@suse.de>
18494         [BZ #17079]
18495         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
18496         before reading the next line.
18498 2014-06-23  Will Newton  <will.newton@linaro.org>
18500         * test-skeleton.c (signal_handler): Use printf and %m
18501         rather than perror.  Use printf rather than fprintf to
18502         stderr.  Use puts rather than fputs to stderr.
18503         (main): Likewise.
18505 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
18507         * nscd/nscd.c (thread_info_t): Remove typedef.
18508         (thread_info): Remove variable.
18510 2014-06-21  Allan McRae  <allan@archlinux.org>
18512         * NEWS: Mention CVE-2014-4043.
18514 2014-06-20  Roland McGrath  <roland@hack.frob.com>
18516         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
18517         * nptl/smp.h: ... here.
18519         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
18521         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
18522         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
18523         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
18524         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
18526         * nptl/allocatestack.c: Include <stack-aliasing.h>.
18527         * nptl/stack-aliasing.h: New file.
18528         * sysdeps/i386/i686/stack-aliasing.h: New file.
18529         * sysdeps/i386/i686/nptl/Makefile: File removed.
18530         * sysdeps/x86_64/stack-aliasing.h: New file.
18531         * sysdeps/x86_64/nptl/Makefile
18532         (CFLAGS-pthread_create.c): Variable removed.
18534         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
18535         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
18536         old file.
18537         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
18538         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
18539         old file.
18541 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
18543         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18544         (__ASSUME_SIGFRAME_V2): Remove macro.
18545         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
18546         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
18547         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
18548         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
18549         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
18550         Declare as function.  Remove conditional macro definitions.
18551         (__default_rt_sa_restorer): Likewise.
18552         (__default_sa_restorer_v1): Remove declaration.
18553         (__default_sa_restorer_v2): Likewise.
18554         (__default_rt_sa_restorer_v1): Likewise.
18555         (__default_rt_sa_restorer_v2): Likewise.
18556         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
18557         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
18558         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
18560 2014-06-20  Roland McGrath  <roland@hack.frob.com>
18562         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
18563         (libpthread-routines): Add sysdep.
18564         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
18565         * sysdeps/unix/sysv/linux/sparc/Versions
18566         (libpthread: GLIBC_2.3.3): New version set.
18567         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
18568         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
18569         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
18570         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
18571         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
18572         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
18573         Moved ...
18574         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
18575         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
18576         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
18577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
18578         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
18579         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
18580         * sysdeps/sparc/nptl/sem_init.c: ... here.
18581         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
18582         * sysdeps/sparc/nptl/sem_post.c: ... here.
18583         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
18584         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
18585         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
18586         * sysdeps/sparc/nptl/sem_wait.c: ... here.
18587         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
18588         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
18589         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
18590         (libpthread-routines): Add cpu_relax.
18591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
18592         File removed.
18593         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
18594         (librt: GLIBC_2.3.3): New version set.
18595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
18596         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
18597         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
18598         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
18599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
18600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
18601         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
18602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
18603         Moved ...
18604         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
18605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
18606         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
18607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
18608         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
18609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
18610         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
18611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
18612         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
18613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
18614         Moved ...
18615         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
18616         Update #include.
18617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
18618         Moved ...
18619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
18620         Update #include.
18621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
18622         Moved ...
18623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
18624         Update #include.
18625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
18626         Moved ...
18627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
18628         Update #include.
18629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
18630         Moved ...
18631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
18632         Update #include.
18633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
18634         Moved ...
18635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
18636         Update #include.
18637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
18638         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
18639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
18640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
18641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
18642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
18643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
18644         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
18645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
18646         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
18647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
18648         Moved ...
18649         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
18650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
18651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
18652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
18653         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
18655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18657         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
18658         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
18659         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
18660         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
18661         * nscd/nscd.c: Likewise.
18662         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
18663         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
18664         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
18665         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
18667         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
18668         <kernel-features.h>.
18669         (init_mq_netlink): Remove conditional have_sock_cloexec
18670         definitions.  Remove code conditional on have_sock_cloexec < 0.
18671         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
18672         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
18673         * sysdeps/unix/sysv/linux/opensock.c: Do not include
18674         <kernel-features.h>.
18675         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
18676         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
18678 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18681         Add tests for memset_chk and memset.
18683         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
18684         with AVX2_Usable.
18686 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18688         [BZ #16046]
18689         * elf/tst-dl-iter-static.c: New file.
18690         * elf/Makefile (tests-static): Add tst-dl-iter-static.
18692         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
18693         error.
18695 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18697         * sysdeps/unix/sysv/linux/kernel-features.h
18698         (__ASSUME_F_GETOWN_EX): Remove macro.
18699         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
18700         <kernel-features.h>.
18701         (miss_F_GETOWN_EX): Remove variable or macro.
18702         (do_fcntl): Do not check miss_F_GETOWN_EX.
18703         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
18705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
18706         Remove macro.
18707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
18708         [!__ASSUME_AT_RANDOM]: Remove conditional code.
18709         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
18711         * sysdeps/unix/sysv/linux/kernel-features.h
18712         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
18713         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
18714         [ADJ_OFFSET_SS_READ]: Make code unconditional.
18715         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
18717 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
18719         [BZ #17075]
18720         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
18721         Fix calculation of the symbol's value.
18722         * sysdeps/arm/tst-armtlsdescloc.c: New file.
18723         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
18724         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
18725         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
18726         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
18727         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
18728         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
18729         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
18730         (modules-names): Add `tst-armtlsdescmod',
18731         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
18732         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
18733         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18734         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
18735         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
18736         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
18737         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
18738         ($(objpfx)tst-armtlsdescloc): New dependency.
18739         ($(objpfx)tst-armtlsdescextnow): Likewise.
18740         ($(objpfx)tst-armtlsdescextlazy): Likewise.
18741         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
18742         TLS scheme support.
18743         * sysdeps/arm/configure: Regenerate.
18745 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
18747         * include/fcntl.h (__atfct_seterrno): Remove prototype.
18748         (__atfct_seterrno_2): Likewise.
18749         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
18750         <kernel-features.h>.
18751         (__ASSUME_ATFCTS): Do not undefine and redefine.
18752         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
18753         (__have_atfcts): Remove conditional definition.
18754         (__fxstatat([__NR_fstatat64]: Make code unconditional.
18755         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
18756         unreachable if [__ASSUME_ATFCTS].
18757         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
18758         not undefine and redefine.
18759         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
18760         <kernel-features.h>.
18761         (faccessat) [__NR_faccessat]: Make code unconditional.
18762         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
18763         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
18764         <kernel-features.h>.
18765         (fchmodat) [__NR_fchmodat]: Make code unconditional.
18766         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18767         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
18768         <kernel-features.h>.
18769         (fchownat) [__NR_fchownat]: Make code unconditional.
18770         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
18771         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
18772         <kernel-features.h>.
18773         (futimesat) [__NR_futimesat]: Make code unconditional.
18774         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
18775         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18776         <kernel-features.h>.
18777         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18778         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18779         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18780         <kernel-features.h>.
18781         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
18782         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18783         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
18784         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18785         <kernel-features.h>.
18786         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
18787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18788         * sysdeps/unix/sysv/linux/linkat.c: Do not include
18789         <kernel-features.h>.
18790         (linkat) [__NR_linkat]: Make code unconditional.
18791         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18792         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
18793         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
18794         <kernel-features.h>.
18795         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
18796         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
18797         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
18798         <kernel-features.h>.
18799         (mkdirat) [__NR_mkdirat]: Make code unconditional.
18800         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
18801         * sysdeps/unix/sysv/linux/openat.c: Do not include
18802         <kernel-features.h>.
18803         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
18804         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
18805         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
18806         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
18807         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
18808         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
18809         <kernel-features.h>.
18810         (readlinkat) [__NR_readlinkat]: Make code unconditional.
18811         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
18812         result of INLINE_SYSCALL directly, not via int variable.
18813         * sysdeps/unix/sysv/linux/renameat.c: Do not include
18814         <kernel-features.h>.
18815         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
18816         (renameat) [__NR_renameat]: Make code unconditional.
18817         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
18818         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
18819         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
18820         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
18821         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
18822         (__ASSUME_ATFCTS): Do not undefine and redefine.
18823         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
18824         <kernel-features.h>.
18825         (symlinkat) [__NR_symlinkat]: Make code unconditional.
18826         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18827         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
18828         <kernel-features.h>.
18829         (unlinkat) [__NR_unlinkat]: Make code unconditional.
18830         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
18831         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
18832         (__ASSUME_ATFCTS): Do not undefine and redefine.
18833         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18834         <kernel-features.h>.
18835         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
18836         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
18837         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18838         <kernel-features.h>.
18839         (__xmknodat) [__NR_mknodat]: Make code unconditional.
18840         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
18842 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
18844         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
18846 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
18848         [BZ #17069]
18849         * posix/regcomp.c (parse_reg_exp): Deallocate partially
18850         constructed tree before returning error.
18851         * posix/bug-regexp36.c: Expand test case.
18853 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18855         [BZ #6803]
18856         * math/libm-test.inc (scalbln_test_date):
18857         Add errno expectations.
18858         * math/w_scalblnf.c: New File.
18859         Add wrapper which checks for setting errno to ERANGE.
18860         Add weak_alias for corresponding scalbln function.
18861         * math/w_scalbln.c: Likewise.
18862         * math/w_scalblnl.c: Likewise.
18863         * math/Makefile (libm-calls): Add w_scalbln.
18864         * sysdeps/ieee754/flt-32/s_scalblnf.c:
18865         Remove weak_alias for corresponding scalbln function.
18866         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
18868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
18869         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
18870         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
18871         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
18872         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
18873         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
18874         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
18875         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
18876         Remove long_double_symbol for scalblnl function in libm, libc.
18877         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
18878         Add wrapper which checks for setting errno to ERANGE.
18879         Add long_double_symbol for scalblnl function in libm, libc.
18880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
18881         Remove long_double_symbol for scalblnl in libm.
18882         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
18883         Add wrapper which checks for setting errno to ERANGE.
18884         Add long_double_symbol for scalblnl function in libm.
18885         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
18886         Do not use wrapper because of own implementation.
18888 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
18890         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
18891         3 bytes for __pad1 for x32.
18892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
18894 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
18895             H.J. Lu  <hongjiu.lu@intel.com>
18897         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
18898         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
18899         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18900         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18901         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
18903 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
18905         [BZ #17069]
18906         * posix/regcomp.c (parse_expression): Deallocate partially
18907         constructed tree before returning error.
18908         * posix/Makefile.c (tests): Add bug-regex36.
18909         (generated): Add bug-regex36.mtrace.
18910         (tests-special): Add $(objpfx)bug-regex36-mem.out
18911         (bug-regex36-ENV): New variable.
18912         ($(objpfx)bug-regex36-mem.out): New rule.
18913         * posix/bug-regex36.c: New file.
18915 2014-06-19  Will Newton  <will.newton@linaro.org>
18917         * malloc/malloc.c (systrim): If extra is zero then return
18918         early.
18920 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
18922         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
18924 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
18926         * sysdeps/aarch64/strchr.S: New file.
18928 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18930         [BZ #17022]
18931         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
18932         from arguments -2 or below.
18933         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18934         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
18936 2014-06-18  Andreas Schwab  <schwab@suse.de>
18938         [BZ #17062]
18939         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
18940         of a bracket expr not to run off the end of the string.
18941         * posix/Makefile (tests): Add tst-fnmatch3.
18942         * posix/tst-fnmatch3.c: New file.
18944 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
18946         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
18947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
18948         [$(cross-compiling) = no]: Likewise.
18949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
18950         [$(cross-compiling) = no]: Likewise.
18952 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18954         [BZ #17031]
18955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
18956         double, adjusted for any remainder from the high double.
18957         * math/libm-test.inc (nearbyint): Add tests.
18958         (rint): Likewise.
18960 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18962         * nptl/sysdeps/powerpc/Makefile: Moved ...
18963         * sysdeps/powerpc/nptl/Makefile: ... here.
18964         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
18965         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
18966         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
18967         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
18968         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
18969         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
18970         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
18971         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
18972         * nptl/sysdeps/powerpc/tls.h: Moved ...
18973         * sysdeps/powerpc/nptl/tls.h: ... here.
18975 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
18977         [BZ #16681]
18978         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
18979         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18980         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
18981         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
18982         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18983         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
18984         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
18985         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18986         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
18988 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
18990         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
18992 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
18994         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
18995         defined operator.
18997         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
18998         $TIMEOUTFACTOR.
19000 2014-06-16  Florian Weimer  <fweimer@redhat.com>
19002         [BZ #17058]
19003         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
19004         non-executed part of the test.
19006 2014-06-16  Andreas Schwab  <schwab@suse.de>
19008         * string/bits/string2.h (strdup, strndup): Update feature guard.
19010 2014-06-14  David S. Miller  <davem@davemloft.net>
19012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19014 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
19016         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
19017         that was previously under [RESET_PID].
19018         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
19020         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
19021         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
19022         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
19023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
19024         (__libc_vfork): New strong alias.
19025         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
19027 2014-06-14 Andi Kleen  <ak@linux.intel.com>
19029         * sysdeps/generic/elide.h: New file.
19031 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
19033         * Makefile (installed-headers): Adjust path of pthread.h header.
19035 2014-06-13  Roland McGrath  <roland@hack.frob.com>
19037         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
19038         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
19039         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
19040         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
19042         * nptl/sysdeps/s390/Makefile: Moved ...
19043         * sysdeps/s390/nptl/Makefile: ... here.
19044         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
19045         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
19046         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
19047         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
19048         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
19049         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
19050         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
19051         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
19052         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
19053         * sysdeps/s390/nptl/pthreaddef.h: ... here.
19054         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
19055         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
19056         * nptl/sysdeps/s390/tls.h: Moved ...
19057         * sysdeps/s390/nptl/tls.h: ... here.
19059         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
19060         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
19062 2014-06-13  David S. Miller  <davem@davemloft.net>
19064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
19065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
19066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
19067         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
19068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
19069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
19070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
19071         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
19072         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
19073         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
19074         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
19075         Remove RESET_PID cpp guards.
19076         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
19077         Remove RESET_PID cpp guards.
19078         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
19080 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
19082         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
19083         __sp to uintptr_t.
19085 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
19088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
19089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
19090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
19091         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
19092         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
19093         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
19094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
19095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
19096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
19097         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
19098         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
19099         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
19100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
19101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
19102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
19103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
19104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
19105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
19106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
19108         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
19109         (pthread_rwlock_rdlock): Add elision.
19110         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
19111         (pthread_rwlock_wrlock): Add elision.
19112         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
19113         (pthread_rwlock_trywrlock): Add elision.
19114         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
19115         (pthread_rwlock_tryrdlock): Add elision.
19116         * nptl/pthread_rwlock_unlock.c: Include elide.h.
19117         (pthread_rwlock_tryrdlock): Add elision unlock.
19118         * nptl/sysdeps/pthread/pthread.h:
19119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
19120         (PTHREAD_RWLOCK_INITIALIZER,
19121         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
19122         Handle new elision field.
19123         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
19124         * sysdeps/arm/nptl/bits/pthreadtypes.h
19125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19126         * sysdeps/sh/nptl/bits/pthreadtypes.h
19127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19128         * sysdeps/tile/nptl/bits/pthreadtypes.h
19129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19130         * sysdeps/a/nptl/bits/pthreadtypes.h
19131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
19133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19134         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
19135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19136         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
19137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
19139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
19141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19142         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
19143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19144         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
19145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19146         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
19147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19148         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
19149         (elision_init): Set try_xbegin to zero when no RTM.
19150         * sysdeps/x86/nptl/bits/pthreadtypes.h
19151         (pthread_rwlock_t): Change __pad1 to __rwelision.
19152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
19154 2014-06-13  Andi Kleen  <ak@linux.intel.com>
19156         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
19157         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
19158         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
19159         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
19161 2014-06-13  Meador Inge  <meadori@codesourcery.com>
19163         [BZ #16996]
19164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
19165         that the cached result has been set before returning it.
19167 2014-06-12  Roland McGrath  <roland@hack.frob.com>
19169         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
19170         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
19171         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
19172         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
19173         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
19174         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
19176         * nptl/sysdeps/sparc/Makefile: Moved ...
19177         * sysdeps/sparc/nptl/Makefile: ... here.
19178         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
19179         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
19180         * nptl/sysdeps/sparc/tls.h: Moved ...
19181         * sysdeps/sparc/nptl/tls.h: ... here.
19182         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
19183         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
19184         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
19185         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
19186         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
19187         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
19188         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
19189         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
19190         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
19191         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
19192         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
19193         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
19194         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
19195         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
19196         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
19197         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
19198         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
19199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
19200         Update #include.
19201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
19202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
19203         Update #include.
19204         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
19205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
19206         Update #include.
19207         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
19208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
19209         Update #include.
19211         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19213         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
19214         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
19216         * sysdeps/pthread/posix-timer.h: Include <list.h>.
19217         (struct list_links): Type removed.
19218         (struct thread_node, struct timer_node): Replace struct list_links
19219         with struct list_head.
19220         (list_unlink_ip): Likewise.
19221         * sysdeps/pthread/timer_routines.c
19222         (timer_free_list, thread_free_list, thread_active_list): Likewise.
19223         (list_append, list_insbefore): Likewise.
19224         (list_init): Function removed.
19225         (thread_init, init_module): Use INIT_LIST_HEAD instead.
19226         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
19227         * sysdeps/pthread/Makefile: ... here, new file.
19229         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
19230         * sysdeps/nptl/Implies: ... here.
19231         * sysdeps/unix/sysv/linux/Implies: Add nptl.
19232         * nptl/sysdeps/pthread/list.h: Moved ...
19233         * include/list.h: ... here.
19234         * nptl/sysdeps/pthread/createthread.c: Moved ...
19235         * nptl/createthread.c: ... here.
19236         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
19237         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
19238         * nptl/pt-longjmp.c: ... here.
19239         * nptl/sysdeps/pthread/Makefile: Moved ...
19240         * sysdeps/nptl/Makefile: ... here.
19241         * nptl/sysdeps/pthread/Subdirs: Moved ...
19242         * sysdeps/nptl/Subdirs: ... here.
19243         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
19244         * sysdeps/nptl/aio_misc.h: ... here.
19245         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
19246         * sysdeps/nptl/bits/libc-lock.h: ... here.
19247         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
19248         * sysdeps/nptl/bits/libc-lockP.h: ... here.
19249         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
19250         * sysdeps/nptl/bits/stdio-lock.h: ... here.
19251         * nptl/sysdeps/pthread/configure: Moved ...
19252         * sysdeps/nptl/configure: ... here.
19253         * nptl/sysdeps/pthread/configure.ac: Moved ...
19254         * sysdeps/nptl/configure.ac: ... here.
19255         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
19256         * sysdeps/nptl/gai_misc.h: ... here.
19257         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
19258         * sysdeps/nptl/librt-cancellation.c: ... here.
19259         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
19260         * sysdeps/nptl/malloc-machine.h: ... here.
19261         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
19262         * sysdeps/nptl/pthread-functions.h: ... here.
19263         * nptl/sysdeps/pthread/pthread.h: Moved ...
19264         * sysdeps/nptl/pthread.h: ... here.
19265         * nptl/sysdeps/pthread/setxid.h: Moved ...
19266         * sysdeps/nptl/setxid.h: ... here.
19267         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
19268         * sysdeps/nptl/sigfillset.c: ... here.
19269         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
19270         * sysdeps/nptl/tcb-offsets.h: ... here.
19271         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
19272         * sysdeps/nptl/tst-mqueue8x.c: ... here.
19273         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
19274         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
19275         * nptl/sysdeps/pthread/allocalim.h: Moved ...
19276         * sysdeps/pthread/allocalim.h: ... here.
19277         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
19278         * sysdeps/pthread/bits/sigthread.h: ... here.
19279         * nptl/sysdeps/pthread/flockfile.c: Moved ...
19280         * sysdeps/pthread/flockfile.c: ... here.
19281         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
19282         * sysdeps/pthread/ftrylockfile.c: ... here.
19283         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
19284         * sysdeps/pthread/funlockfile.c: ... here.
19285         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
19286         * sysdeps/pthread/posix-timer.h: ... here.
19287         * nptl/sysdeps/pthread/timer_create.c: Moved ...
19288         * sysdeps/pthread/timer_create.c: ... here.
19289         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
19290         * sysdeps/pthread/timer_delete.c: ... here.
19291         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
19292         * sysdeps/pthread/timer_getoverr.c: ... here.
19293         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
19294         * sysdeps/pthread/timer_gettime.c: ... here.
19295         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
19296         * sysdeps/pthread/timer_routines.c: ... here.
19297         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
19298         * sysdeps/pthread/timer_settime.c: ... here.
19299         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
19300         * sysdeps/pthread/tst-timer.c: ... here.
19301         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
19302         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
19304         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
19305         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
19307         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
19308         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
19309         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
19310         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
19311         Update #include target.
19312         * nptl/sysdeps/i386/i686/Makefile: Moved ...
19313         * sysdeps/i386/i686/nptl/Makefile: ... here.
19314         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
19315         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
19316         Update #include target.
19317         * nptl/sysdeps/i386/i686/tls.h: Moved ...
19318         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
19319         * nptl/sysdeps/i386/Makefile: Moved ...
19320         * sysdeps/i386/nptl/Makefile: ... here.
19321         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
19322         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
19323         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
19324         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
19325         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
19326         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
19327         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
19328         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
19329         * sysdeps/i386/nptl/pthreaddef.h: ... here.
19330         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
19331         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
19332         * nptl/sysdeps/i386/tls.h: Moved ...
19333         * sysdeps/i386/nptl/tls.h: ... here.
19335         * sysdeps/sh/Makefile [$(subdir) = csu]
19336         (gen-as-const-headers): Add tcb-offsets.sym.
19337         * nptl/sysdeps/sh/Makefile: File removed.
19338         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
19339         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
19340         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
19341         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
19342         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
19343         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
19344         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
19345         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
19346         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
19347         * sysdeps/sh/nptl/pthreaddef.h: ... here.
19348         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
19349         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
19350         * nptl/sysdeps/sh/tls.h: Moved ...
19351         * sysdeps/sh/nptl/tls.h: ... here.
19352         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
19353         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
19354         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
19355         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
19356         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
19357         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
19358         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
19359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
19360         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
19361         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
19362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
19363         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
19364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
19365         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
19366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
19367         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
19368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
19369         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
19370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
19371         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
19372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
19373         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
19374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
19375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
19376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
19377         Moved ...
19378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
19379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
19380         Moved ...
19381         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
19382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
19383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
19384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
19385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
19386         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
19387         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
19388         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
19389         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
19390         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
19391         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
19392         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
19393         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
19394         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
19395         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
19396         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
19397         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
19398         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
19399         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
19401 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
19403         * posix/spawn_faction_addopen.c: Include string.h.
19405 2014-06-11  Roland McGrath  <roland@hack.frob.com>
19407         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
19408         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
19409         * nptl/sysdeps/x86_64/Makefile: Moved ...
19410         * sysdeps/x86_64/nptl/Makefile: ... here.
19411         * nptl/sysdeps/x86_64/configure: Moved ...
19412         * sysdeps/x86_64/nptl/configure: ... here.
19413         * nptl/sysdeps/x86_64/configure.ac: Moved ...
19414         * sysdeps/x86_64/nptl/configure.ac: ... here.
19415         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
19416         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
19417         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
19418         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
19419         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
19420         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
19421         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
19422         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
19423         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
19424         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
19425         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
19426         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
19427         * nptl/sysdeps/x86_64/tls.h: Moved ...
19428         * sysdeps/x86_64/nptl/tls.h: ... here.
19429         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
19430         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
19431         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
19432         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
19434         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
19436 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19440 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
19442         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
19443         type.
19444         [POSIX] (off_t): Likewise.
19445         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
19446         [POSIX] (S_ISBLK): Require macro.
19447         [POSIX] (S_ISCHR): Likewise.
19448         [POSIX] (S_ISDIR): Likewise.
19449         [POSIX] (S_ISFIFO): Likewise.
19450         [POSIX] (S_ISREG): Likewise.
19451         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
19452         optional-macro.
19453         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
19454         type.
19455         [POSIX] (time_t): Likewise.
19456         [POSIX] (timer_t): Likewise.
19458 2014-06-11  Florian Weimer  <fweimer@redhat.com>
19460         [BZ #17048]
19461         * posix/spawn_int.h (struct __spawn_action): Make the path string
19462         non-const to support deallocation.
19463         * posix/spawn_faction_addopen.c
19464         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
19465         * posix/spawn_faction_destroy.c
19466         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
19467         path in all spawn_do_open actions.
19468         * posix/tst-spawn.c (do_test): Exercise the copy operation in
19469         posix_spawn_file_actions_addopen.
19471 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
19473         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
19474         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
19475         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
19476         conditional code always true.
19477         (__libc_vfork): New alias.
19479 2014-06-11  Roland McGrath  <roland@hack.frob.com>
19481         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19482         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
19484         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
19486         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19487         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
19489         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
19490         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
19492         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19493         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
19495 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19497         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
19498         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
19499         multiarch strcmp for PPC64.
19500         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
19501         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
19502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
19503         multiarch optimizations.
19504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19505         (__libc_ifunc_impl_list): Likewise.
19507 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19509         * benchtests/scripts/validate_benchout.py: New script.
19510         * benchtests/Makefile (bench-func): Call it.
19511         * benchtests/scripts/benchout.schema.json: New file.
19513 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
19515         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
19516         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
19517         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
19518         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
19519         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
19520         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
19521         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
19522         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
19523         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
19524         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
19525         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
19526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
19527         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
19528         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
19529         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
19530         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
19531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
19532         Moved ...
19533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
19534         ... here.
19535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
19536         Moved ...
19537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
19538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
19539         Moved ...
19540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
19541         ... here.
19542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
19543         Moved ...
19544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
19545         ... here.
19546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
19547         Moved ...
19548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
19549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
19550         Moved ...
19551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
19552         ... here.
19553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
19554         Moved ...
19555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
19556         ... here.
19557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
19558         Moved ...
19559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
19560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
19561         Moved ...
19562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
19563         ... here.
19564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
19565         Moved ...
19566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
19567         ... here.
19568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
19569         Moved ...
19570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
19571         ... here.
19572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
19573         Moved ...
19574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
19575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
19576         Moved ...
19577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
19578         ... here.
19579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
19580         Moved ...
19581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
19582         ... here.
19583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
19584         Moved ...
19585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
19586         ... here.
19587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
19588         Moved ...
19589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
19590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
19591         Moved ...
19592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
19593         ... here.
19594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
19595         Moved ...
19596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
19597         ... here.
19598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
19599         Moved ...
19600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
19601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
19602         Moved ...
19603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
19604         ... here.
19605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
19606         Moved ...
19607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
19608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
19609         Moved ...
19610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
19611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
19612         Moved ...
19613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
19614         ... here.
19615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
19616         Moved ...
19617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
19618         ... here.
19619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
19620         Moved ...
19621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
19622         ... here.
19623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
19624         Moved ...
19625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
19626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
19627         Moved ...
19628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
19629         ... here.
19630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
19631         Moved ...
19632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
19633         ... here.
19634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
19635         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
19636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
19637         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
19638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
19639         Moved ...
19640         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
19641         ... here.
19642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
19643         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
19644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
19645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
19646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
19647         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
19648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
19649         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
19650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
19651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
19652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
19653         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
19654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
19655         Moved ...
19656         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
19657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
19658         Moved ...
19659         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
19660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
19661         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
19662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
19663         Moved ...
19664         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
19665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
19666         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
19667         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
19668         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
19669         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
19670         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
19672 2014-06-10  Wilco  <wdijkstr@arm.com>
19674         * math/test-fenv-return.c: New file.
19675         * math/Makefile: Add new test test-fenv-return.
19677 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
19679         [BZ #17042]
19680         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
19681         when x - 1 is zero.
19682         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
19683         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19684         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
19685         0.0L for an argument of 1.0L.
19686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
19687         Likewise.
19688         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
19689         value when x - 1 is zero.
19690         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
19691         * sysdeps/i386/fpu/libm-test-ulps: Update.
19692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19694 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
19696         [BZ #15119]
19697         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
19699 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19701         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
19702         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
19704 2014-06-09  Roland McGrath  <roland@hack.frob.com>
19706         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19707         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
19709         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19710         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
19712         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19713         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
19715         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
19716         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
19718         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
19719         if not already defined.
19720         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
19721         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
19722         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
19723         (TLS_INIT_TP): Use it.
19724         (TLS_DEFINE_INIT_TP): New macro.
19725         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
19727 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
19729         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
19730         constant.
19731         [POSIX] (IXANY): Likewise.
19732         [POSIX] (OLCUC): Likewise.
19733         [POSIX || POSIX2008] (CBAUD): Do not allow.
19734         [POSIX || POSIX2008] (DEFECHO): Likewise.
19735         [POSIX || POSIX2008] (ECHOCTL): Likewise.
19736         [POSIX || POSIX2008] (ECHOKE): Likewise.
19737         [POSIX || POSIX2008] (ECHOPRT): Likewise.
19738         [POSIX || POSIX2008] (EXTA): Likewise.
19739         [POSIX || POSIX2008] (EXTB): Likewise.
19740         [POSIX || POSIX2008] (FLUSHO): Likewise.
19741         [POSIX || POSIX2008] (LOBLK): Likewise.
19742         [POSIX || POSIX2008] (PENDIN): Likewise.
19743         [POSIX || POSIX2008] (SWTCH): Likewise.
19744         [POSIX || POSIX2008] (VDISCARD): Likewise.
19745         [POSIX || POSIX2008] (VDSUSP): Likewise.
19746         [POSIX || POSIX2008] (VLNEXT): Likewise.
19747         [POSIX || POSIX2008] (VREPRINT): Likewise.
19748         [POSIX || POSIX2008] (VSTATUS): Likewise.
19749         [POSIX || POSIX2008] (VWERASE): Likewise.
19750         (B*): Change to B[0123456789]*.
19751         * conform/data/time.h-data [POSIX || UNIX98]
19752         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
19753         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19754         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
19755         [POSIX] (tm_*): Do not allow.
19757 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
19759         * Makefile (install): Don't set LANGUAGE.
19760         * Makefile.in (install): Likewise.
19761         * assert/Makefile (test-assert-ENV): Remove variable.
19762         (test-assert-perr-ENV): Likewise.
19763         * elf/Makefile (neededtest4-ENV): Likewise.
19764         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
19765         [$(cross-compiling) = no]: Don't set LANGUAGE.
19766         * io/ftwtest-sh (LANG): Remove variable.
19767         * libio/Makefile (tst-widetext-ENV): Likewise.
19768         * manual/install.texi (Running make install): Don't refer to
19769         environment settings for make install.
19770         * INSTALL: Regenerated.
19771         * nptl/tst-tls6.sh: Don't set LANG.
19772         * posix/globtest.sh (LANG): Remove variable.
19773         * string/Makefile (tester-ENV): Likewise.
19774         (inl-tester-ENV): Likewise.
19775         (noinl-tester-ENV): Likewise.
19776         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
19777         [$(cross-compiling) = no]: Don't set LANGUAGE.
19778         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
19779         without explicit environment settings.
19781 2014-06-06  Roland McGrath  <roland@hack.frob.com>
19783         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
19784         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
19785         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
19786         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
19788 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
19790         * crypt/crypt-private.h [DOS]: Add some includes taken from the
19791         other files in the crypt directory.
19792         * crypt/crypt.c: Remove duplicate includes.
19793         * crypt/crypt-entry.c: Likewise.
19794         * crypt/crypt_util.c: Likewise.
19796 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
19798         * Makeconfig (run-program-env): New variable.
19799         (run-program-prefix-before-env): Likewise.
19800         (run-program-prefix-after-env): Likewise.
19801         (run-program-prefix): Define in terms of new variables.
19802         (built-program-cmd-before-env): New variable.
19803         (built-program-cmd-after-env): Likewise.
19804         (built-program-cmd): Define in terms of new variables.
19805         (test-program-prefix-before-env): New variable.
19806         (test-program-prefix-after-env): Likewise.
19807         (test-program-prefix): Define in terms of new variables.
19808         (test-program-cmd-before-env): New variable.
19809         (test-program-cmd-after-env): Likewise.
19810         (test-program-cmd): Define in terms of new variables.
19811         * Rules (make-test-out): Use $(run-program-env).
19812         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
19813         (help): Do not mention environment variables.  Mention
19814         --timeoutfactor option.
19815         (timeoutfactor): New variable.
19816         (blacklist_exports): Remove function.
19817         (exports): Remove variable.
19818         (command): Do not include ${exports}.
19819         * manual/install.texi (Configuring and compiling): Do not mention
19820         test wrappers preserving environment variables.  Mention that last
19821         assignment to a variable must take precedence.
19822         * INSTALL: Regenerated.
19823         * benchtests/Makefile (run-bench): Use $(run-program-env).
19824         * catgets/Makefile ($(objpfx)test1.cat): Use
19825         $(built-program-cmd-before-env), $(run-program-env) and
19826         $(built-program-cmd-after-env).
19827         ($(objpfx)test2.cat): Do not specify environment variables
19828         explicitly.
19829         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
19830         $(run-program-env) and $(built-program-cmd-after-env).
19831         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
19832         $(run-program-env) and $(test-program-cmd-after-env).
19833         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
19834         explicitly.
19835         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
19836         run_program_env and test_program_cmd_after_env arguments.
19837         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
19838         * elf/tst-pathopt.sh: Use run_program_env argument.
19839         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
19840         $(test-wrapper-env) and $(run-program-env).
19841         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
19842         run_program_env arguments.
19843         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
19844         * intl/Makefile ($(objpfx)tst-gettext.out): Use
19845         $(test-program-prefix-before-env), $(run-program-env) and
19846         $(test-program-prefix-after-env).
19847         ($(objpfx)tst-gettext2.out): Likewise.
19848         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
19849         run_program_env and test_program_prefix_after_env arguments.
19850         * intl/tst-gettext2.sh: Likewise.
19851         * intl/tst-gettext4.sh: Do not set environment variables
19852         explicitly.
19853         * intl/tst-gettext6.sh: Likewise.
19854         * intl/tst-translit.sh: Likewise.
19855         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
19856         $(test-program-prefix-before-env), $(run-program-env) and
19857         $(test-program-prefix-after-env).
19858         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
19859         run_program_env and test_program_prefix_after_env arguments.
19860         * math/Makefile (run-regen-ulps): Use $(run-program-env).
19861         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
19862         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
19863         explicitly with each use of ${test_wrapper_env}.
19864         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
19865         $(test-program-prefix-before-env), $(run-program-env) and
19866         $(test-program-prefix-after-env).
19867         * posix/tst-getconf.sh: Do not set environment variables
19868         explicitly.
19869         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
19870         run_program_env and test_program_prefix_after_env arguments.
19871         * stdio-common/tst-printf.sh: Do not set environment variables
19872         explicitly.
19873         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
19874         $(test-program-prefix-before-env), $(run-program-env) and
19875         $(test-program-prefix-after-env).
19876         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
19877         run_program_env and test_program_prefix_after_env arguments.
19878         Split $test calls into $test_pre and $test.
19879         * timezone/Makefile (build-testdata): Use
19880         $(built-program-cmd-before-env), $(run-program-env) and
19881         $(built-program-cmd-after-env).
19883 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19885         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
19886         strlen for non SHARED builds.
19888 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
19890         * nptl/allocatestack.c (check_list): Inlined function...
19891         (__reclaim_stacks): ... here.
19893 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19895         [BZ #15698]
19896         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
19897         memory overrun.
19899 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
19901         * Rules (make-test-out): Include
19902         LOCPATH=$(common-objpfx)localedata in default environment.
19903         * debug/Makefile (tst-chk1-ENV): Remove variable.
19904         (tst-chk2-ENV): Likewise.
19905         (tst-chk3-ENV): Likewise.
19906         (tst-chk4-ENV): Likewise.
19907         (tst-chk5-ENV): Likewise.
19908         (tst-chk6-ENV): Likewise.
19909         (tst-lfschk1-ENV): Likewise.
19910         (tst-lfschk2-ENV): Likewise.
19911         (tst-lfschk3-ENV): Likewise.
19912         (tst-lfschk4-ENV): Likewise.
19913         (tst-lfschk5-ENV): Likewise.
19914         (tst-lfschk6-ENV): Likewise.
19915         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
19916         (tst-iconv7-ENV): Likewise.
19917         * intl/Makefile (LOCPATH-ENV): Likewise.
19918         (tst-codeset-ENV): Likewise.
19919         (tst-gettext3-ENV): Likewise.
19920         (tst-gettext5-ENV): Likewise.
19921         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
19922         (tst-fopenloc-ENV): Likewise.
19923         (tst-fgetws-ENV): Remove variable.
19924         (tst-ungetwc1-ENV): Likewise.
19925         (tst-ungetwc2-ENV): Likewise.
19926         (bug-ungetwc2-ENV): Likewise.
19927         (tst-swscanf-ENV): Likewise.
19928         (bug-ftell-ENV): Likewise.
19929         (tst-fgetwc-ENV): Likewise.
19930         (tst-fseek-ENV): Likewise.
19931         (tst-ftell-partial-wide-ENV): Likewise.
19932         (tst-ftell-active-handler-ENV): Likewise.
19933         (tst-ftell-append-ENV): Likewise.
19934         * posix/Makefile (tst-fnmatch-ENV): Likewise.
19935         (tst-regexloc-ENV): Likewise.
19936         (bug-regex1-ENV): Likewise.
19937         (tst-regex-ENV): Likewise.
19938         (tst-regex2-ENV): Likewise.
19939         (bug-regex5-ENV): Likewise.
19940         (bug-regex6-ENV): Likewise.
19941         (bug-regex17-ENV): Likewise.
19942         (bug-regex18-ENV): Likewise.
19943         (bug-regex19-ENV): Likewise.
19944         (bug-regex20-ENV): Likewise.
19945         (bug-regex22-ENV): Likewise.
19946         (bug-regex23-ENV): Likewise.
19947         (bug-regex25-ENV): Likewise.
19948         (bug-regex26-ENV): Likewise.
19949         (bug-regex30-ENV): Likewise.
19950         (bug-regex32-ENV): Likewise.
19951         (bug-regex33-ENV): Likewise.
19952         (bug-regex34-ENV): Likewise.
19953         (bug-regex35-ENV): Likewise.
19954         (tst-rxspencer-ENV): Likewise.
19955         (tst-rxspencer-no-utf8-ENV): Likewise.
19956         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
19957         (tst-sscanf-ENV): Likewise.
19958         (tst-swprintf-ENV): Likewise.
19959         (tst-swscanf-ENV): Likewise.
19960         (test-vfprintf-ENV): Likewise.
19961         (scanf13-ENV): Likewise.
19962         (bug14-ENV): Likewise.
19963         (tst-grouping-ENV): Likewise.
19964         * stdlib/Makefile (tst-strtod-ENV): Likewise.
19965         (tst-strtod3-ENV): Likewise.
19966         (tst-strtod4-ENV): Likewise.
19967         (tst-strtod5-ENV): Likewise.
19968         (testmb2-ENV): Likewise./
19969         * string/Makefile (tst-strxfrm-ENV): Likewise.
19970         (tst-strxfrm2-ENV): Likewise.
19971         (bug-strcoll1-ENV): Likewise.
19972         (test-strcasecmp-ENV): Likewise.
19973         (test-strncasecmp-ENV): Likewise.
19974         * time/Makefile (tst-strptime-ENV): Likewise.
19975         (tst-ftime_l-ENV): Likewise.
19976         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
19977         (tst-mbrtowc-ENV): Likewise.
19978         (tst-wcrtomb-ENV): Likewise.
19979         (tst-mbrtowc2-ENV): Likewise.
19980         (tst-c16c32-1-ENV): Likewise.
19981         (tst-mbsnrtowcs-ENV): Likewise.
19983 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
19985         * manual/resource.texi (How to get information about the memory
19986         subsystem?): Fix typo.
19987         Reported by Peon de la Parra Ivan <peon@keba.com>
19989 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
19991         [BZ #16882]
19992         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
19993         (pthread_spin_lock): Branch out of spin loop to proper location.
19994         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
19995         (pthread_spin_lock): Likewise.
19997         * nptl/tst-spin4.c: New test.
19998         * nptl/Makefile (tests): Add tst-spin4.
20000 2014-06-03  Andreas Schwab  <schwab@suse.de>
20002         [BZ #15946]
20003         * resolv/res_send.c (send_dg): Reload file descriptor after
20004         calling reopen.
20006 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
20008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20010 2014-06-03  Richard Henderson  <rth@redhat.com>
20012         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
20013         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
20014         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
20015         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
20016         in the SAVE_PID block.
20017         (__libc_vfork): New alias.
20018         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
20020         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
20021         child in registers, not on the stack.  Remove RESET_PID conditionals.
20022         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
20024 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
20026         * sysdeps/aarch64/libm-test-ulps: Regenerate.
20028 2014-06-03  Wilco  <wdijkstr@arm.com>
20030         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
20031         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
20032         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20033         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
20034         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
20035         Likewise.
20037 2014-06-03  Wilco  <wdijkstr@arm.com>
20039         * sysdeps/aarch64/fpu/math_private.h
20040         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
20041         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
20042         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
20043         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
20044         Fix declarations.
20046 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20048         * crypt/crypt-private.h: Include ufc-crypt.h.
20049         (__b64_from_24bit): Declare extern.
20050         * crypt/crypt_util.c(__b64_from_24bit): New function.
20051         (b64t): New static const variable.
20052         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
20053         (b64t): Remove variable.
20054         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
20055         * crypt/sha256-crypt.c: Include crypt-private.h.
20056         (b64t): Remove variable.
20057         (__sha256_crypt_r): Remove b64_from_24bit and replace
20058         with __b64_from_24bit.
20059         * crypt/sha512-crypt.c: Likewise.
20061 2014-06-02  Roland McGrath  <roland@hack.frob.com>
20063         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
20064         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
20065         Label the code __libc_vfork rather than __vfork.
20066         [!NOT_IN_libc] (vfork): Define as weak alias.
20067         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
20068         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
20069         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
20071 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20073         * malloc/malloc.c (malloc_info): Fix format specifier for
20074         n_mmaps.
20076 2014-06-02  Wilco  <wdijkstr@arm.com>
20078         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
20079         FPCR write.
20081 2014-06-02  Wilco  <wdijkstr@arm.com>
20083         [BZ #17009]
20084         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
20085         Rewrite to reduce FPCR/FPSR accesses.
20087 2014-06-01  David S. Miller  <davem@davemloft.net>
20089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20091 2014-05-31  David S. Miller  <davem@davemloft.net>
20093         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
20094         to occur in round to nearest mode when |x| >= 2.0
20096 2014-05-30  Richard Henderson  <rth@twiddle.net>
20098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
20099         (PSEUDO_RET_NOERRNO): Remove.
20100         (ret): Don't redefine.
20101         (ret_NOERRNO): Define in terms of ret.
20102         (ret_ERRVAL): Likewise.
20104         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
20105         use of PSEUDO_RET; perform the error check directly.
20107 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
20109         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
20110         with __int128_t.
20112 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20114         * malloc/malloc (malloc_info): Fix formatting.
20116 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
20117             Roland McGrath  <roland@hack.frob.com>
20119         * malloc/malloc (malloc_info): Also print mmapped statistics.
20121 2014-05-30  Roland McGrath  <roland@hack.frob.com>
20123         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
20124         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
20126 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
20128         * malloc/malloc.c (malloc_info): Inline mi_arena.
20130 2014-05-29  Richard Henderson  <rth@twiddle.net>
20132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
20133         Remove comma before expanding ASM_ARGS_##nr.
20134         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
20135         Make _x0 a strict output; make _x8 a strict input; adjust expansion
20136         of ASM_ARGS_##nr.
20137         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
20138         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
20139         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
20140         (ASM_ARGS_1): Add leading comma.
20142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
20143         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
20144         to __errno_location.
20145         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
20146         Remove the expected plt for __errno_location.
20148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20149         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
20150         call to __read_tp.
20152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20153         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
20154         it and break it down.
20155         (DOCARGS_0, DOCARGS_1): Do nothing.
20156         (DOCARGS_2): Update to store into the new stack frame.
20157         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
20158         (UNDOCARGS_1): Update to restore from the new stack frame.
20159         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
20160         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
20162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20163         (SINGLE_THREAD_P): New parameter for result regno.
20164         (PSEUDO): Update to match; use cbz instead of beq.
20166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20167         Use ENTRY to define the _nocancel entry point.  Share the syscall
20168         and syscall error check paths with the cancel path.
20169         (PSEUDO_END): New.
20171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
20172         whitespace; tabs before and after asm mnemonics.
20174 2014-05-29  Eric Wong  <normalperson@yhbt.net>
20176         [BZ #15132]
20177         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20178         Call fstat64 or stat64 internally, depending on arguments passed.
20179         Replace stat buffer argument with file descriptor argument.
20180         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
20181         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
20182         Pass fd to __internal_statvfs instead of calling fstat64.
20183         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
20184         Pass fd to __internal_statvfs64 instead of calling fstat64.
20185         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
20186         Pass -1 to __internal_statvfs instead of calling stat64.
20187         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
20188         Pass -1 to __internal_statvfs64 instead of calling stat64.
20190 2014-05-28  Roland McGrath  <roland@hack.frob.com>
20192         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
20193         that was previously under [RESET_PID].
20194         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
20196         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
20197         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
20199 2014-05-27  Roland McGrath  <roland@hack.frob.com>
20201         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
20203         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
20204         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
20206 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
20208         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
20210 2014-05-27  Andreas Schwab  <schwab@suse.de>
20212         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
20213         TLS_INIT_TP macro.
20214         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
20215         * elf/rtld.c (init_tls, dl_main): Likewise.
20216         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
20217         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
20218         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
20219         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
20220         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
20221         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
20222         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
20223         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
20224         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
20225         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
20226         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
20227         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
20228         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
20229         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
20230         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
20231         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
20232         * sysdeps/generic/tls.h: Update description.
20234 2014-05-27  Will Newton  <will.newton@linaro.org>
20236         [BZ #16990]
20237         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
20238         and restore r2 rather than just restoring.
20240 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20242         [BZ #16724]
20243         * libio/tst-ftell-append.c: New test case.
20244         * libio/Makefile (tests): Add test case.
20245         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
20246         append mode.
20247         * libio/wfileops.c (do_ftell_wide): Likewise.
20249 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20253         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
20254         ...
20255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
20256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
20257         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
20258         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
20259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
20260         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
20261         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
20262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
20263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
20264         Moved ...
20265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
20266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
20267         Moved ...
20268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
20269         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
20270         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
20271         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
20272         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
20273         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
20274         ...
20275         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
20276         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
20277         Moved ...
20278         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
20279         here.
20280         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
20281         ...
20282         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
20283         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
20284         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
20286         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
20287         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
20288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
20289         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
20291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
20292         merge into ...
20293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
20294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
20295         ...
20296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
20297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
20298         ...
20299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
20300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
20301         Moved ...
20302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
20303         here.
20304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
20305         Moved ...
20306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
20307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
20308         Moved ...
20309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
20311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
20312         conditional [RESET_PID].
20313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
20314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
20315         removed.
20316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
20317         removed.
20319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
20320         <tcb-offsets.h>.
20321         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20322         (__libc_vfork): New strong alias.
20323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
20324         removed.
20325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
20326         Removed.
20328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
20329         <tcb-offsets.h>.
20330         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
20331         (__libc_vfork): New strong alias.
20332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
20333         removed.
20334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
20335         removed.
20337 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
20339         * malloc/malloc.c (mi_arena): New function.
20340         (malloc_info): Remove nested function mi_arena. Call non-nosted
20341         function mi_arena.
20343 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20345         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
20346         by insrwi.
20347         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
20348         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
20349         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
20350         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
20351         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
20352         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
20353         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
20355 2014-05-26  Andreas Schwab  <schwab@suse.de>
20357         [BZ #16984]
20358         * locale/programs/repertoire.c (repertoire_read): Add slash
20359         between I18NPATH element and file name.
20360         * locale/programs/locfile.c (locfile_read): Likewise.
20362 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20364         * nptl/pthread_mutexattr_settype.c
20365         (__pthread_mutexattr_settype):
20366         Disable lock elision for PTHREAD_MUTEX_NORMAL.
20368 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
20370         * nptl/tst-mutex5 (do_test):
20371         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
20373 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20375         * benchtests/README: Document 'init' directive.
20376         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
20377         BENCH_INIT.
20378         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
20379         (parse_file): Recognize 'init' directive.
20381 2014-05-26  Kyle McMartin  <kyle@redhat.com>
20383         [BZ #16796]
20384         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
20385         alignment of struct pthread.
20387 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20389         [BZ #16878]
20390         * nscd/netgroupcache.c (addgetnetgrentX): Look for
20391         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20392         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
20393         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
20395 2014-05-25  Richard Henderson  <rth@twiddle.net>
20397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20398         (SINGLE_THREAD_P_PIC): Remove.
20399         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
20400         (SINGLE_THREAD_P_PIC): Remove.
20402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
20403         branch to syscall error ...
20404         (PSEUDO): ... here.
20405         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20406         from __local_syscall_error to .Lsyscall_error.
20407         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
20408         (SYSCALL_ERROR): Update label name.
20410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20411         Do not use DOARGS/UNDOARGS.
20412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
20413         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
20414         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
20415         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
20416         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
20418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
20419         block comment.
20421         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
20422         define if !NOT_IN_libc.
20423         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
20424         define with non-default symbol versions.
20426 2014-05-23  Richard Henderson  <rth@twiddle.net>
20428         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
20429         (vfork, __vfork): Define via compat_symbol.
20431         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
20432         [!HAVE_IFUNC] (vfork_compat): Remove.
20433         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
20435 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
20437         [BZ #16978]
20438         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
20439         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
20440         variable.
20442 2014-05-23  Richard Henderson  <rth@twiddle.net>
20444         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
20445         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
20446         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
20447         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
20449         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
20450         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
20451         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
20452         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
20453         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
20454         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
20455         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
20456         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
20457         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
20458         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
20459         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
20460         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
20461         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
20462         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
20463         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
20464         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
20465         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
20466         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
20467         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
20468         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
20469         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
20470         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
20471         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
20472         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
20473         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
20474         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
20475         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
20476         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
20477         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
20478         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
20479         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
20480         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
20481         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
20482         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
20483         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
20484         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
20485         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
20486         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
20487         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
20488         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
20489         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
20490         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
20491         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
20492         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
20493         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
20494         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
20495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
20496         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
20497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
20498         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
20499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
20500         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
20501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
20502         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
20503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
20504         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
20506         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
20507         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
20508         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
20509         before exiting on error.
20510         (__libc_vfork): New strong alias.
20511         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
20512         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
20514         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
20515         that was previously under [RESET_PID].
20516         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
20518         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
20520 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
20522         [BZ #16977]
20523         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
20524         value when x - 1 is zero.
20525         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
20526         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20527         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
20528         0.0L for an argument of 1.0L.
20529         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
20530         Likewise.
20531         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
20532         value when x - 1 is zero.
20533         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
20534         * sysdeps/i386/fpu/libm-test-ulps: Update.
20535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20537 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
20539         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
20540         alphasort and versionsort.
20542 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20544         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
20545         macro.
20546         [copysignf]: Likewise.
20548 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20550         * crypt/md5-crypt.c: Fix formatting.
20552 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
20554         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
20555         (b64_from_24bit): New function.
20557 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20559         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
20560         libc_hidden_builtin_def to ifunc.
20561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
20562         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
20564 2014-05-21  Roland McGrath  <roland@hack.frob.com>
20566         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
20567         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
20569 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
20571         * nscd/Depend (linuxthreads): Remove.
20572         (nptl): Add.
20573         * resolv/Depend (linuxthreads): Remove.
20574         * rt/Depend (linuxthreads): Remove.
20576         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
20577         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
20578         $(common-objpfx)elf/.
20579         (link-libc-before-gnulib): Likewise.
20580         (elfobjdir): Remove variable.
20581         * Makefile (install): Use $(elf-objpfx) instead of
20582         $(common-objpfx)elf/.
20583         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
20584         $(elfobjdir)/.
20585         (link-libc-deps): Likewise.
20586         ($(common-objpfx)libc.so): Likewise.
20587         ($(common-objpfx)linkobj/libc.so): Likewise.
20588         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
20589         instead of $(common-objpfx)elf/.
20590         (symbolic-link-list): Likewise.
20591         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20592         [$(cross-compiling) = no]: Likewise.
20593         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
20594         $(elfobjdir)/.
20595         (static-gnulib-arch): Likewise.
20596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20597         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
20598         $(common-objpfx)elf/.
20600 2014-05-21  Richard Henderson  <rth@redhat.com>
20602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
20603         (SINGLE_THREAD_P): Use the correct width load.  Fold
20604         into the ldr offset.
20606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
20607         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
20609 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
20611         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
20612         (libgcc_s_resume): Use __attribute_used__.
20613         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
20614         Likewise.
20616 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20618         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
20619         optimization when used with float constants.
20621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20623 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
20625         [BZ #16915]
20626         * locale/nl_langinfo_l.c: Make direct reference to every
20627         _nl_current_CATEGORY symbol.
20628         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
20629         (tests-static): Add tst-langinfo-static.
20630         (tests-special): Add tst-langinfo-static.out.
20631         ($(objpfx)tst-langinfo.out): Redirect output.
20632         ($(objpfx)tst-langinfo-static.out): New.
20633         * localedata/tst-langinfo.sh: Send output to stdout.
20634         * localedata/tst-langinfo-static.c: New file.
20636         [BZ #16965]
20637         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
20638         when the shift amount is modulo the limb size.
20640 2014-05-20  Richard Henderson  <rth@redhat.com>
20642         [BZ #16967]
20643         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
20644         Change type of sa_flags from unsigned int to int.
20646         [BZ #16966]
20647         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
20649         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
20651 2014-05-20  Will Newton  <will.newton@linaro.org>
20653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
20654         Test the return value of the system call in the nocancel case.
20656 2014-05-20  Will Newton  <will.newton@linaro.org>
20657             Yvan Roux  <yvan.roux@linaro.org>
20659         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
20660         #include of asm/ptrace.h.
20661         (PTRACE_GET_THREAD_AREA): Remove #undef.
20662         (PTRACE_GETHBPREGS): Likewise.
20663         (PTRACE_SETHBPREGS): Likewise.
20664         (struct user_regs_struct): New structure.
20665         (struct user_fpsimd_struct): New structure.
20666         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
20667         #include of asm/ptrace.h and second #include of sys/user.h.
20668         (PTRACE_GET_THREAD_AREA): Remove #undef.
20669         (PTRACE_GETHBPREGS): Likewise.
20670         (PTRACE_SETHBPREGS): Likewise.
20671         (ELF_NGREG): Use new struct user_regs_struct.
20672         (elf_fpregset_t): Use new struct user_fpsimd_struct.
20674 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
20677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
20679 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
20681         [BZ #16958]
20682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
20683         membar to avoid block loads/stores to overlap previous stores.
20685 2014-05-17  Richard Henderson  <rth@redhat.com>
20687         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
20688         Create the __##syscall_name##_nocancel entry point.
20689         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
20690         Remove; let the sysdep-cancel.h code create it.
20692 2014-05-17  David S. Miller  <davem@davemloft.net>
20694         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
20695         Protect with __USE_GNU.
20696         (TIOCSET_TEMPT): Likewise.
20697         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
20698         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
20699         these are already provided in bits/ioctl-types.h
20701 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20703         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
20704         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
20706         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
20707         Use wait4 regardless of [__NR_waitpid].
20709 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
20711         PR libgcc/60166
20712         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20713         (_FP_NANSIGN_Q): Set the quiet bit.
20715 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
20717         * benchtests/Makefile
20718         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
20719         not $(common-objpfx)math/libm.so.
20720         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
20721         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
20722         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
20723         $(common-objpfx)dlfcn/libdl.so.
20724         ($(objpfx)tst-audit8): Depend on $(libm), not
20725         $(common-objpfx)math/libm.so.
20726         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
20727         not $(common-objpfx)dlfcn/libdl.so.
20728         * math/Makefile
20729         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20730         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
20731         [$(build-shared) = yes].
20732         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
20733         $(common-objpfx)nptl/libpthread.so.
20734         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
20735         $(common-objpfx)math/libm.so$(libm.so-version) or
20736         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
20737         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
20738         $(common-objpfx)dlfcn/libdl.so.
20739         * setjmp/Makefile (link-libm): Remove variable.
20740         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
20741         * stdio-common/Makefile (link-libm): Remove variable.
20742         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
20743         * stdlib/Makefile (link-libm): Remove variable.
20744         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
20745         ($(objpfx)tst-strtod-round): Likewise.
20746         ($(objpfx)tst-tininess): Likewise.
20747         ($(objpfx)tst-strtod-underflow): Likewise.
20748         ($(objpfx)tst-strtod6): Likewise.
20749         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
20750         $(libdl), not $(common-objpfx)nptl/libpthread.so and
20751         $(common-objpfx)dlfcn/libdl.so.
20753 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
20756         BSD terminal modes definitions.
20758 2014-05-16  Roland McGrath  <roland@hack.frob.com>
20760         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
20761         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
20763         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
20764         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
20765         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
20766         Don't do #include_next.
20767         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
20768         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
20769         Don't do #include_next.
20770         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
20771         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
20772         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
20773         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
20775 2014-05-16  Allan McRae  <allan@archlinux.org>
20777         * po/sv.po: Update Swedish translation from translation project.
20779         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
20780         in sed expression.
20782 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
20784         [BZ #16917]
20785         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
20786         errno if the TIOCGPTN ioctl fails with an error different than
20787         EINVAL.
20788         * login/tst-ptsname.c: New file.
20789         * login/Makefile (tests): Add tst-ptsname.
20791         [BZ #16943]
20792         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
20793         and prlimit64.
20795 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20797         [BZ #16849]
20798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
20799         herrno to return EAI_AGAIN.
20801 2014-05-14  Roland McGrath  <roland@hack.frob.com>
20803         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
20804         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
20805         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
20806         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
20807         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
20808         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
20809         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
20810         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
20811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
20812         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
20813         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
20814         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
20815         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
20816         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
20817         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
20818         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
20819         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
20820         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
20821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
20822         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
20823         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
20824         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
20825         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
20826         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
20827         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
20828         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
20829         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
20830         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
20831         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
20832         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
20833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
20834         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
20835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
20836         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
20837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
20838         Moved ...
20839         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
20840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
20841         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
20842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
20843         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
20844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
20845         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
20846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
20847         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
20848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
20849         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
20850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
20851         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
20852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
20853         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
20854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
20855         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
20856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
20857         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
20858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
20859         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
20860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
20861         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
20862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
20863         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
20864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
20865         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
20866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20867         Moved ...
20868         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
20869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
20870         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
20871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
20872         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
20873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
20874         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
20875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
20876         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
20877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
20878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
20879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
20880         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
20881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
20882         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
20883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
20884         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
20885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
20886         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
20887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20888         Moved ...
20889         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
20890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
20891         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
20893         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
20894         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
20895         (libpthread-sysdep_routines): Add elision-related stuff here instead.
20896         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
20897         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
20898         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
20899         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
20900         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
20901         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
20902         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
20903         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
20904         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
20905         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
20906         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
20907         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
20908         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
20909         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
20910         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
20911         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
20912         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
20913         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
20914         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
20915         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
20916         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
20917         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
20918         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
20919         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
20920         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
20921         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
20922         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
20923         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
20925         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
20926         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
20928         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
20929         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
20930         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
20931         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
20932         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
20933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
20934         Moved ...
20935         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
20936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20937         Moved ...
20938         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
20939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20940         Moved ...
20941         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
20942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
20943         Moved ...
20944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
20945         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
20946         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
20947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20948         Moved ...
20949         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
20950         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
20951         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
20952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
20953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
20954         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
20955         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
20956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20957         Moved ...
20958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
20959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20960         Moved ...
20961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
20962         ... here.
20963         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
20964         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
20965         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
20966         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
20967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20968         Moved ...
20969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
20970         ... here.
20971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
20972         Moved ...
20973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
20974         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
20975         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
20976         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
20977         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
20978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
20979         Moved ...
20980         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
20981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20982         Moved ...
20983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
20984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20985         Moved ...
20986         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
20987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
20988         Moved ...
20989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
20990         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
20991         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
20992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
20993         Moved ...
20994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
20995         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
20996         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
20997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
20998         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
20999         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
21000         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
21001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
21002         Moved ...
21003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
21004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21005         Moved ...
21006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
21007         ... here.
21008         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
21009         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
21010         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
21011         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
21012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21013         Moved ...
21014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
21015         ... here.
21016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
21017         Moved ...
21018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
21019         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
21020         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
21021         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
21022         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
21023         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
21024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
21025         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
21026         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
21027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
21028         Moved ...
21029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
21030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
21031         Moved ...
21032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
21033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
21034         Moved ...
21035         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
21036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
21037         Moved ...
21038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
21039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
21040         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
21041         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
21042         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
21043         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
21044         Moved ...
21045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
21046         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
21047         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
21048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
21049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
21050         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
21051         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
21052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
21053         Moved ...
21054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
21055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21056         Moved ...
21057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
21058         ... here.
21059         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
21060         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
21061         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
21062         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
21063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21064         Moved ...
21065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
21066         ... here.
21067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
21068         Moved ...
21069         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
21070         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
21071         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
21072         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
21073         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
21074         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
21075         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
21076         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
21077         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
21078         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
21079         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
21081         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
21082         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
21084         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
21085         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
21087         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
21088         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
21089         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
21090         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
21091         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
21092         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
21093         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
21094         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
21095         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
21096         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
21097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
21098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
21099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
21100         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
21101         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
21102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
21103         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
21104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
21105         Moved ...
21106         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
21107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
21108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
21109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
21110         Moved ...
21111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
21112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
21113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
21114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
21115         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
21116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
21117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
21118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
21119         Moved ...
21120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
21121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
21122         Moved ...
21123         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
21124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
21125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
21126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
21127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
21128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
21129         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
21130         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
21131         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
21132         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
21133         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
21134         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
21135         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
21136         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
21137         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
21138         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
21139         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
21141         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
21142         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
21143         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
21144         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
21145         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
21147         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
21148         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
21149         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
21150         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
21151         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
21152         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
21153         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
21154         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
21155         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
21156         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
21158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
21159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
21161         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
21162         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
21163         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
21164         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
21165         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
21166         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
21167         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
21168         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
21169         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
21170         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
21171         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
21172         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
21173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
21174         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
21175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
21176         Update #include.
21177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
21178         Likewise.
21179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
21180         Likewise.
21181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
21182         Likewise.
21183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
21184         Likewise.
21185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
21186         Likewise.
21187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
21188         Likewise.
21189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
21190         Likewise.
21191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
21192         Likewise.
21193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
21194         Likewise.
21195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
21196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
21197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
21198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
21199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
21200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
21201         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
21202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
21203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
21204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
21205         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
21206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
21207         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
21208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
21209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
21211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
21212         that was previously under [RESET_PID].
21213         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
21214         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
21215         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
21217         * sysdeps/i386/nptl/Implies: New file.
21218         * sysdeps/x86_64/nptl/Implies: New file.
21219         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
21220         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
21221         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
21222         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
21224         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
21225         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21226         (__libc_vfork): New strong alias.
21227         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
21228         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
21230         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
21231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21232         (__libc_vfork): New strong alias.
21233         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
21234         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
21236         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
21237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
21238         (__libc_vfork): New strong alias.
21239         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
21240         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
21241         * nptl/pt-vfork.c: New file.
21242         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
21243         (libpthread: GLIBC_2.20): New version set (empty).
21245 2014-05-14  Will Newton  <will.newton@linaro.org>
21247         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
21248         rather than #if.
21250 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
21252         [BZ #16564]
21253         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
21254         arguments with exponent 65 or above.
21255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
21256         arguments 0x1p113L or above.
21257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
21258         to arguments 0x1p107L or above.
21259         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
21260         positive arguments with exponent 65 or above.
21261         * math/auto-libm-test-in: Add more tests of log1p.
21262         * math/auto-libm-test-out: Regenerated.
21264         [BZ #16928]
21265         * math/s_cacos.c (__cacos): Ensure zero real part of result from
21266         non-finite arguments is +0.
21267         * math/s_cacosf.c (__cacosf): Likewise.
21268         * math/s_cacosl.c (__cacosl): Likewise.
21269         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
21270         * sysdeps/i386/fpu/libm-test-ulps: Update.
21271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21273         [BZ #16927]
21274         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
21275         value.
21276         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
21277         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
21278         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
21279         for explicit high bit of mantissa when testing for argument equal
21280         to 1.
21281         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
21282         * sysdeps/i386/fpu/libm-test-ulps: Update.
21283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21285         [BZ #16516]
21286         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
21287         (__erf): Scale by 16 instead of 8 in potentially underflowing
21288         case.  Ensure exception if result actually underflows.
21289         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
21290         (__erff): Scale by 16 instead of 8 in potentially underflowing
21291         case.  Ensure exception if result actually underflows.
21292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
21293         (efx8): Remove variable.
21294         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21295         case.  Ensure exception if result actually underflows.
21296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
21297         (efx8): Remove variable.
21298         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21299         case.  Ensure exception if result actually underflows.
21300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
21301         (efx8): Remove variable.
21302         (__erfl): Scale by 16 instead of 8 in potentially underflowing
21303         case.  Ensure exception if result actually underflows.
21304         * math/auto-libm-test-in: Add more tests of erf.
21305         * math/auto-libm-test-out: Regenerated.
21307 2014-05-14  Andreas Schwab  <schwab@suse.de>
21309         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
21310         Remove code conditionalized on USE___THREAD.
21312         * config.h.in (HAVE_PT_CHOWN): Define as 0.
21313         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
21314         not definedness.
21316 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
21318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
21319         Define unconditionally.
21320         (__ASSUME_O_CLOEXEC): Likewise.
21321         (__ASSUME_SOCK_CLOEXEC): Likewise.
21322         (__ASSUME_IN_NONBLOCK): Likewise.
21323         (__ASSUME_PIPE2): Likewise.
21324         (__ASSUME_EVENTFD2): Likewise.
21325         (__ASSUME_SIGNALFD4): Likewise.
21326         (__ASSUME_DUP3): Likewise.
21327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21328         (__ASSUME_DUP3): Do not define.
21329         (__ASSUME_EVENTFD2): Likewise.
21330         (__ASSUME_IN_NONBLOCK): Likewise.
21331         (__ASSUME_O_CLOEXEC): Likewise.
21332         (__ASSUME_PIPE2): Likewise.
21333         (__ASSUME_SIGNALFD4): Likewise.
21334         (__ASSUME_SOCK_CLOEXEC): Likewise.
21335         (__ASSUME_UTIMES): Undefine.
21336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21337         (__ASSUME_UTIMES): Do not define.
21338         (__ASSUME_O_CLOEXEC): Likewise.
21339         (__ASSUME_SOCK_CLOEXEC): Likewise.
21340         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
21341         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
21342         0x020621].
21343         (__ASSUME_PIPE2): Likewise.
21344         (__ASSUME_EVENTFD2): Likewise.
21345         (__ASSUME_SIGNALFD4): Likewise.
21346         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
21347         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
21348         Do not define.
21349         (__ASSUME_EVENTFD2): Likewise.
21350         (__ASSUME_SIGNALFD4): Likewise.
21351         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21352         (__ASSUME_32BITUIDS): Likewise.
21353         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21354         (__ASSUME_IPC64): Likewise.
21355         (__ASSUME_ST_INO_64_BIT): Likewise.
21356         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
21357         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
21358         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21359         (__ASSUME_UTIMES): Do not define.
21360         (__ASSUME_PSELECT): Likewise.
21361         (__ASSUME_PPOLL): Likewise.
21362         (__ASSUME_O_CLOEXEC): Likewise.
21363         (__ASSUME_SOCK_CLOEXEC): Likewise.
21364         (__ASSUME_IN_NONBLOCK): Likewise.
21365         (__ASSUME_PIPE2): Likewise.
21366         (__ASSUME_EVENTFD2): Likewise.
21367         (__ASSUME_SIGNALFD4): Likewise.
21368         (__ASSUME_DUP3): Likewise.
21369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21370         (__ASSUME_UTIMES): Likewise.
21371         (__ASSUME_O_CLOEXEC): Likewise.
21372         (__ASSUME_SOCK_CLOEXEC): Likewise.
21373         (__ASSUME_IN_NONBLOCK): Likewise.
21374         (__ASSUME_PIPE2): Likewise.
21375         (__ASSUME_EVENTFD2): Likewise.
21376         (__ASSUME_SIGNALFD4): Likewise.
21377         (__ASSUME_DUP3): Likewise.
21378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21379         (__ASSUME_UTIMES): Likewise.
21380         (__ASSUME_O_CLOEXEC): Likewise.
21381         (__ASSUME_SOCK_CLOEXEC): Likewise.
21382         (__ASSUME_IN_NONBLOCK): Likewise.
21383         (__ASSUME_PIPE2): Likewise.
21384         (__ASSUME_EVENTFD2): Likewise.
21385         (__ASSUME_SIGNALFD4): Likewise.
21386         (__ASSUME_DUP3): Likewise.
21387         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
21388         Likewise.
21389         (__ASSUME_UTIMES): Likewise.
21390         (__ASSUME_EVENTFD2): Likewise.
21391         (__ASSUME_SIGNALFD4): Likewise.
21392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21393         (__ASSUME_O_CLOEXEC): Likewise.
21394         (__ASSUME_SOCK_CLOEXEC): Likewise.
21395         (__ASSUME_IN_NONBLOCK): Likewise.
21396         (__ASSUME_PIPE2): Likewise.
21397         (__ASSUME_EVENTFD2): Likewise.
21398         (__ASSUME_SIGNALFD4): Likewise.
21399         (__ASSUME_DUP3): Likewise.
21400         (__ASSUME_UTIMES): Undefine.
21402         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
21403         feclearexcept.  Remove symbol versioning code.
21404         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
21405         symbol versioning code.
21406         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
21407         symbol versioning code.
21408         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
21409         feupdateenv.  Remove symbol versioning code.
21410         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
21411         fegetexceptflag.  Remove symbol versioning code.
21412         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
21413         fesetexceptflag.  Remove symbol versioning code.
21414         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
21415         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
21416         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
21417         (__posix_fadvise64_l32): Remove prototype.
21418         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
21419         code.
21421 2014-05-13  Roland McGrath  <roland@hack.frob.com>
21423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
21424         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
21425         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
21426         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
21428 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
21430         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
21431         current working directory
21433 2014-05-13  Roland McGrath  <roland@hack.frob.com>
21435         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
21436         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
21437         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
21438         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
21439         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
21440         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
21441         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
21442         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
21443         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
21444         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
21445         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
21446         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
21447         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
21448         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
21449         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
21450         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
21451         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
21452         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
21453         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
21454         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
21455         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
21456         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
21457         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
21458         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
21459         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
21460         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
21461         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
21462         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
21463         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
21464         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
21465         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
21466         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
21467         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
21468         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
21469         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
21470         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
21471         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
21472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
21473         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
21474         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
21475         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
21476         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
21478         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
21479         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
21481         * sysdeps/unix/sysv/linux/arm/Makefile
21482         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
21483         Add rt-aeabi_unwind_cpp_pr1.
21484         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
21485         Add nptl-aeabi_unwind_cpp_pr1.
21486         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
21487         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
21488         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
21489         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
21490         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
21491         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
21493         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
21494         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
21495         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
21496         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
21498         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
21499         Deconditionalize the code that was previously under [RESET_PID].
21500         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
21502         * sysdeps/generic/exit-thread.h: New file.
21503         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
21504         * include/unistd.h (__exit_thread): Remove declaration.
21505         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
21506         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
21507         * csu/libc-start.c: Include <exit-thread.h>.
21508         (LIBC_START_MAIN): Pass no argument to __exit_thread.
21509         * nptl/pthread_create.c: Include <exit-thread.h>.
21510         (start_thread): Call __exit_thread in place of __exit_thread_inline.
21511         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
21512         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
21513         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
21514         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
21515         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
21516         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
21517         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
21518         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
21519         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
21520         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
21521         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
21522         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
21523         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
21524         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
21525         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
21526         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
21528 2014-05-13  Andreas Schwab  <schwab@suse.de>
21530         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
21532 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
21534         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
21535         (__ASSUME_UTIMES): Do not condition on kernel version.
21536         (__ASSUME_PSELECT): Define unconditionally.
21537         (__ASSUME_PPOLL): Likewise.
21538         (__ASSUME_ATFCTS): Likewise.
21539         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
21540         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
21541         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
21542         (__ASSUME_UTIMENSAT): Define unconditionally.
21543         (__ASSUME_PRIVATE_FUTEX): Likewise.
21544         (__ASSUME_FALLOCATE): Likewise.
21545         (__ASSUME_O_CLOEXEC): Likewise.
21546         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
21547         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
21548         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
21549         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
21550         (__ASSUME_IN_NONBLOCK): Likewise.
21551         (__ASSUME_PIPE2): Likewise.
21552         (__ASSUME_EVENTFD2): Likewise.
21553         (__ASSUME_SIGNALFD4): Likewise.
21554         (__ASSUME_DUP3): Likewise.
21555         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21556         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
21557         (__ASSUME_AT_RANDOM): Likewise.
21558         (__ASSUME_PREADV): Likewise.
21559         (__ASSUME_PWRITEV): Likewise.
21560         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
21561         (__ASSUME_F_GETOWN_EX): Define unconditionally.
21562         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
21563         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
21564         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
21565         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21566         (__ASSUME_O_CLOEXEC): Define unconditionally.
21567         (__ASSUME_PSELECT): Do not undefine conditionally.
21568         (__ASSUME_PPOLL): Likewise.
21569         (__ASSUME_ATFCTS): Likewise.
21570         (__ASSUME_SET_ROBUST_LIST): Likewise.
21571         (__ASSUME_UTIMENSAT): Likewise.
21572         (__ASSUME_FDATASYNC): Define unconditionally.
21573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21574         (__ASSUME_SIGFRAME_V2): Likewise.
21575         )__ASSUME_EVENTFD2): Likewise.
21576         (__ASSUME_SIGNALFD4): Likewise.
21577         (__ASSUME_PSELECT): Do not undefine conditionally.
21578         (__ASSUME_PPOLL): Likewise.
21579         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21580         (__ASSUME_PSELECT): Define unconditionally.
21581         (__ASSUME_PPOLL): Likewise.
21582         (__ASSUME_O_CLOEXEC): Likewise.
21583         (__ASSUME_SOCK_CLOEXEC): Likewise.
21584         (__ASSUME_IN_NONBLOCK): Likewise.
21585         (__ASSUME_PIPE2): Likewise.
21586         (__ASSUME_EVENTFD2): Likewise.
21587         (__ASSUME_SIGNALFD4): Likewise.
21588         (__ASSUME_DUP3): Likewise.
21589         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21590         (__ASSUME_O_CLOEXEC): Likewise.
21591         (__ASSUME_SOCK_CLOEXEC): Likewise.
21592         (__ASSUME_IN_NONBLOCK): Likewise.
21593         (__ASSUME_PIPE2): Likewise.
21594         (__ASSUME_EVENTFD2): Likewise.
21595         (__ASSUME_SIGNALFD4): Likewise.
21596         (__ASSUME_DUP3): Likewise.
21597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21598         (__ASSUME_EVENTFD2): Likewise.
21599         (__ASSUME_SIGNALFD4): Likewise.
21600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21602 2014-05-12  Andreas Schwab  <schwab@suse.de>
21604         [BZ #16932]
21605         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
21606         (_nss_nis_gethostbyname4_r): Return error if item length is larger
21607         than maximum RPC packet size.
21608         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
21609         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
21610         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
21611         (_nss_nis_getservbyport_r): Likewise.
21613 2014-05-12  Will Newton  <will.newton@linaro.org>
21615         * malloc/Makefile (tests): Add tst-mallopt.
21616         * malloc/tst-mallopt.c: New file.
21618 2014-05-09  Roland McGrath  <roland@hack.frob.com>
21620         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
21621         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
21623 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21625         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
21626         (tst-tlsmod6.so): Likewise.
21628 2014-05-09  Roland McGrath  <roland@hack.frob.com>
21630         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
21632 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
21634         [BZ #16064]
21635         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
21636         and <dl-procinfo.h>.
21637         (__fegetenv): Save SSE state in envp->__eip if supported.
21638         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
21639         envp->__eip if supported.
21640         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
21641         and <dl-procinfo.h>.
21642         (__fesetenv): Always set __eip, __cs_selector, __opcode,
21643         __data_offset and __data_selector in environment to 0.  Set SSE
21644         state if supported.
21645         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
21646         test-fenv-sse.
21647         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
21648         -mfpmath=sse.
21649         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
21651 2014-05-09  Will Newton  <will.newton@linaro.org>
21653         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
21654         and libc_relro_required for ARM.
21655         * sysdeps/arm/preconfigure: Regenerate.
21657 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
21658             Stefan Liebler  <stli@linux.vnet.ibm.com>
21660         * config.make.in (enable-lock-elision): New Makefile variable.
21661         * configure.ac: Likewise.
21662         * configure: Regenerate.
21663         * sysdeps/s390/configure.ac:
21664         Add check for gcc transactions support.
21665         * sysdeps/s390/configure: Regenerate.
21666         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
21667         Build elision files if enabled.
21668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
21669         Add lock elision support for s390.
21670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21671         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
21672         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
21673         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
21674         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
21675         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
21677         Likewise.
21678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
21679         Likewise.
21680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
21681         Likewise.
21682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
21683         Likewise.
21684         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
21685         (__lll_timedlock_elision, __lll_lock_elision)
21686         (__lll_unlock_elision, __lll_trylock_elision)
21687         (lll_timedlock_elision, lll_lock_elision)
21688         (lll_unlock_elision, lll_trylock_elision): Add.
21689         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
21690         (pthread_mutex_t): Add lock elision support for s390.
21692 2014-05-14  Wilco  <wdijkstr@arm.com>
21694         * sysdeps/arm/fclrexcpt.c: Cleanup.
21695         * sysdeps/arm/fedisblxcpt.c: Cleanup.
21696         * sysdeps/arm/feenablxcpt.c: Cleanup.
21697         * sysdeps/arm/fegetenv.c: Cleanup.
21698         * sysdeps/arm/fegetexcept.c: Cleanup.
21699         * sysdeps/arm/fegetround.c: Cleanup.
21700         * sysdeps/arm/feholdexcpt.c: Cleanup.
21701         * sysdeps/arm/fesetenv.c: Cleanup.
21702         * sysdeps/arm/fesetround.c: Cleanup.
21703         * sysdeps/arm/feupdateenv.c: Cleanup.
21704         * sysdeps/arm/fgetexcptflg.c: Cleanup.
21705         * sysdeps/arm/fraiseexcpt.c: Cleanup.
21706         * sysdeps/arm/fsetexcptflg.c: Cleanup.
21707         * sysdeps/arm/ftestexcept.c: Cleanup.
21708         * sysdeps/arm/get-rounding-mode.h: Cleanup.
21709         * sysdeps/arm/setfpucw.c: Cleanup.
21711 2014-05-09  Will Newton  <will.newton@linaro.org>
21713         * sysdeps/arm/armv7/strcmp.S: New file.
21714         * NEWS: Mention addition of ARMv7 optimized strcmp.
21716 2014-05-08  Roland McGrath  <roland@hack.frob.com>
21718         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
21719         look for %.ac rather than %.in.
21721         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
21722         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
21723         * sysdeps/mach/hurd/configure: Regenerated.
21724         * sysdeps/unix/sysv/linux/configure: Regenerated.
21726         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
21728 2014-05-07  Steve Ellcey  <sellcey@mips.com>
21730         [BZ# 16922]
21731         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
21732         (LONG_SUB): Ditto.
21733         (PTR_SUB): Ditto.
21735 2014-05-07  Andreas Schwab  <schwab@suse.de>
21737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
21738         when skipping over non-matching result from nscd.
21740 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
21742         [BZ #16876]
21743         * nptl/sockperf.c (client): Check socket return value.
21745         [BZ #16877]
21746         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
21747         nscd security class.
21749 2014-05-06  Roland McGrath  <roland@hack.frob.com>
21751         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
21752         * sysdeps/arm/unwind.h: ... here.
21754 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
21756         [BZ# 16916]
21757         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
21758         Define.
21760 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
21762         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
21763         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
21764         multiarch strncpy for PPC64.
21765         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
21766         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
21767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
21768         multiarch optimizations.
21769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21770         (__libc_ifunc_impl_list): Likewise.
21771         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
21772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
21773         multiarch stpncpy for PPC64.
21774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
21775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
21777 2014-05-06  Andreas Schwab  <schwab@suse.de>
21779         [BZ #16912]
21780         * gmon/mcount.c (_MCOUNT_DECL): Use
21781         atomic_compare_and_exchange_bool_acq instead of
21782         catomic_compare_and_exchange_bool_acq.
21784 2014-05-05  Roland McGrath  <roland@hack.frob.com>
21786         * elf/Makefile (others, install-bin): Remove pldd.
21787         (pldd-modules): Variable removed.
21788         ($(objpfx)pldd): Target removed.
21789         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
21790         (others, install-bin): Append pldd here.
21791         ($(objpfx)pldd): New target.
21793         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
21794         to 0, so the first #if test emitted later doesn't see it undefined.
21795         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
21796         * sysdeps/gnu/errlist.c: Regenerated.
21798 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
21801         [libc_hidden_builtin_def]: Define to empty value.
21802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
21803         [libc_hidden_builtin_def]: Likewise.
21804         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
21805         [libc_hidden_builtin_def]: Likewise.
21806         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
21807         [libc_hidden_builtin_def]: Likewise.
21808         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
21809         __redirect_memcpy and define ifunc as default hidden symbol.
21810         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
21811         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
21813 2014-05-04  Adam Conrad  <adconrad@0c3.net>
21815         * locale/iso-4217.def: Reintroduce XDR currency.
21817 2014-05-04  Allan McRae  <allan@archlinux.org>
21819         * po/eo.po: Update Esperanto translation from translation project.
21821 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
21823         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
21824         and FEATURE_INDEX_MAX to 1.
21825         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
21827 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21829         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
21830         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
21831         * iconvdata/big5.c (ONE_DIRECTION): Define.
21832         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
21833         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
21834         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
21835         * iconvdata/cp932.c (ONE_DIRECTION): Define.
21836         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
21837         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
21838         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
21839         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
21840         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
21841         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
21842         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
21843         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
21844         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
21845         * iconvdata/gbk.c (ONE_DIRECTION): Define.
21846         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
21847         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
21848         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
21849         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
21850         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
21851         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
21852         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
21853         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
21854         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
21855         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
21856         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
21857         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
21858         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
21859         * iconvdata/iso646.c (ONE_DIRECTION): Define.
21860         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
21861         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
21862         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
21863         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
21864         * iconvdata/johab.c (ONE_DIRECTION): Define.
21865         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
21866         * iconvdata/sjis.c (ONE_DIRECTION): Define.
21867         * iconvdata/t.61.c (ONE_DIRECTION): Define.
21868         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
21869         * iconvdata/tscii.c (ONE_DIRECTION): Define.
21870         * iconvdata/uhc.c (ONE_DIRECTION): Define.
21871         * iconvdata/unicode.c (ONE_DIRECTION): Define.
21872         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
21873         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
21874         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
21876 2014-05-01  Roland McGrath  <roland@hack.frob.com>
21878         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
21879         (_IO_JUMPS_OFFSET): Define to 0.
21881         * nptl/sysdeps/pthread/bits/libc-lock.h
21882         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
21883         (__libc_lock_define_initialized_recursive): Always define using
21884         initializer.  Modern compilers treat uninitialized (implicit zero) and
21885         explicit zero initializers the same (i.e. put the datum in bss).
21887 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21889         * nscd/nscd-client.h: Include <string.h>.
21891 2014-05-01  David S. Miller  <davem@davemloft.net>
21893         [BZ #16885]
21894         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
21895         multiple zero bytes exist at the end of a string.
21896         Reported by Aurelien Jarno <aurelien@aurel32.net>
21898         * string/test-strcmp.c (check): Add explicit test for situations where
21899         there are multiple zero bytes after the first.
21901 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
21903         [BZ #16890]
21904         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
21905         when compiling wprintf.
21906         * stdio-common/tstdiomisc.c (t3): New function.
21907         (main): Call it.
21909 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21911         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
21912         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
21913         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
21914         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
21916 2014-05-01  Steve Ellcey  <sellcey@mips.com>
21918         * stdlib/longlong.h: Updated from GCC.
21920 2014-05-01  Will Newton  <will.newton@linaro.org>
21921             Bernard Ogden  <bernie.ogden@linaro.org>
21923         * NEWS: Update fixed bug list.
21925         [BZ #15119]
21926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
21928 2014-04-30  David S. Miller  <davem@davemloft.net>
21930         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
21931         (libc_feholdexcept_setround_sparc_ctx): New function.
21932         (libc_fesetenv_sparc_ctx): Likewise.
21933         (libc_feupdateenv_sparc_ctx): Likewise.
21934         (libc_feholdsetround_sparc_ctx): Likewise.
21935         (libc_feholdexcept_setround_ctx): Define.
21936         (libc_feholdexcept_setroundf_ctx): Likewise.
21937         (libc_feholdexcept_setroundl_ctx): Likewise.
21938         (libc_fesetenv_ctx): Likewise.
21939         (libc_fesetenvf_ctx): Likewise.
21940         (libc_fesetenvl_ctx): Likewise.
21941         (libc_feupdateenv_ctx): Likewise.
21942         (libc_feupdateenvf_ctx): Likewise.
21943         (libc_feupdateenvl_ctx): Likewise.
21944         (libc_feresetround_ctx): Likewise.
21945         (libc_feresetroundf_ctx): Likewise.
21946         (libc_feresetroundl_ctx): Likewise.
21947         (libc_feholdsetround_ctx): Likewise.
21948         (libc_feholdsetroundf_ctx): Likewise.
21949         (libc_feholdsetroundl_ctx): Likewise.
21951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21952         with __USE_GNU instead of XOPEN cpp guards.
21954         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
21955         0.
21957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
21958         with XOPEN cpp guards.
21960 2014-04-30  Julian Brown  <julian@codesourcery.com>
21962         [BZ #16888]
21963         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
21964         handling.
21966 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
21968         [BZ #9894]
21969         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21970         Change to 2.6.32.
21971         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
21972         * sysdeps/unix/sysv/linux/configure: Regenerated.
21973         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
21974         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
21975         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
21976         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
21977         * README: Update reference to required Linux kernel version.
21978         * manual/install.texi (Linux): Update reference to required Linux
21979         kernel headers version.
21980         * INSTALL: Regenerated.
21982         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
21983         header inclusion.
21984         [POSIX] (limits.h): Likewise.
21985         [POSIX] (math.h): Likewise.
21986         [POSIX] (sys/wait.h): Likewise.
21987         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
21988         function.
21989         [POSIX] (stddef.h): Do not allow header inclusion.
21991 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21993         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
21995 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
21997         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
21998         Return immediately after lll_futex_wake.
22000 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22002         [BZ #16791]
22003         * nscd/nscd-client.h (datahead_init_common): Initialize entire
22004         structure.
22005         (datahead_init_pos): Call datahead_init_common early.
22006         (datahead_init_neg): Likewise.
22008         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
22009         datahead_init_neg): New functions.
22010         * nscd/aicache.c (addhstaiX): Use them.
22011         * nscd/grpcache.c (cache_addgr): Likewise.
22012         * nscd/hstcache.c (cache_addhst): Likewise.
22013         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22014         * nscd/netgroupcache.c (do_notfound): Likewise.
22015         (addgetnetgrentX): Likewise.
22016         (addinnetgrX): Likewise.
22017         * nscd/pwdcache.c (cache_addpw): Likewise.
22018         * nscd/servicescache.c (cache_addserv): Likewise.
22020 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22021             Atsushi Onoe  <atsushi@onoe.org>
22023         [BZ #14308]
22024         [BZ #12994]
22025         [BZ #13651]
22026         * resolv/res_query.c (__libc_res_nsearch): Return if at least
22027         one response is valid.
22028         * resolv/res_send.c (send_dg): Check for validity of other
22029         response if the current response is a referral.
22031 2014-04-29  Steve Ellcey  <sellcey@mips.com>
22033         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
22035 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
22037         [BZ #16823]
22038         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
22039         Always divide by positive zero when computing -Inf result.
22040         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22041         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
22043 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22045         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
22046         FPSCR if value do not change.
22047         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
22048         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
22049         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
22050         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
22051         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
22052         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
22053         function.
22055 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
22057         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
22058         * sysdeps/unix/sysv/linux/hppa: Move directory from
22059         ports/systeps/unix/sysv/linux/hppa.
22060         * README: Update listing for hppa-*-linux-gnu.
22062 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
22064         [BZ #16754]
22065         * manual/stdio.texi (Hook functions): Fix types of stream hook
22066         functions.
22067         [BZ #16854]
22068         * socket/sys/socket.h: Fix typo in comment.
22070 2014-04-28  Wilco  <wdijkstr@arm.com>
22072         * sysdeps/arm/fenv_private.h: New file.
22073         * sysdeps/arm/math_private.h: New file.
22074         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
22076 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
22078         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
22079         with __int128_t.
22080         (La_x86_64_retval): Likewise.
22082 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
22084         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
22085         fpsr if value didn't change.
22086         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
22087         to fpcr if value didn't change.
22088         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
22089         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
22090         fpsr or fpcr if value didn't change.
22091         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
22092         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
22093         fpcr if value didn't change.
22094         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
22095         to fpsr if value didn't change.
22097 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
22099         * nptl/tst-sem3.c: Use test-skeleton.c
22100         (main): Rename to do_test.  Use return instead of
22101         exit.
22102         * nptl/tst-sem4.c: Use test-skeleton.c
22103         (main): Rename to do_test.
22105 2014-04-22  David S. Miller  <davem@davemloft.net>
22107         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
22108         (struct sigaction): New struct member __glibc_reserved0, change
22109         type of sa_flags to int.
22111 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
22113         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
22114         (COUNT_LEADING_ZEROS_0): Define for AArch64.
22116 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
22118         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
22119         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
22121 2014-04-22  Will Newton  <will.newton@linaro.org>
22122             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
22124         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
22125         (__longjmp): Add longjmp and longjmp_target SystemTap
22126         probes.
22127         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
22128         (__sigsetjmp): Add setjmp SystemTap probe.
22130 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
22132         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
22133         match manual order.
22135 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22137         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
22139         * sysdeps/powerpc/fpu/fenv_private.h
22140         (libc_feholdexcept_setroundl_ctx): Define to
22141         libc_feholdexcept_setround_ppc_ctx.
22142         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
22143         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
22144         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
22145         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
22147 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22149         * sysdeps/aarch64/math-tests.h: New file.
22151 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
22153         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
22154         New.
22155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22156         Check and set bit_AVX2_Usable.
22157         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
22158         macro.
22159         (bit_AVX2): Likewise.
22160         (index_AVX2_Usable): Likewise.
22161         (CPUID_AVX2): Likewise.
22162         (HAS_AVX2): Likewise.
22164 2014-04-17  Will Newton  <will.newton@linaro.org>
22166         * manual/setjmp.texi (System V contexts): Add note that
22167         calling setcontext on a context created by a call to a
22168         signal handler is undefined.  Update text to note that
22169         setcontext from a signal handler is possible but not
22170         recommended.
22172         [BZ #16629]
22173         * stdlib/tst-setcontext.c: Include signal.h.
22174         (main): Check that the signal stack before and
22175         after swapcontext is the same.
22177         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
22178         Re-implement to restore registers in user code and avoid
22179         rt_sigreturn system call.
22181 2014-04-17  Wilco  <wdijkstr@arm.com>
22183         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
22184         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
22185         * math/test-fenv.c: Skip exception trap tests on targets which only
22186         support non-stop mode.
22188 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
22189             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22191         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
22192         (libc_feholdsetround_aarch64_ctx)
22193         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
22194         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
22195         (libc_feresetround_ctx, libc_feresetroundf_ctx)
22196         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
22197         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
22198         (libc_feresetround_noexl_ctx): Define.
22200 2014-04-16  Richard Henderson  <rth@redhat.com>
22202         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
22204         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
22205         unwind tables.
22207         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
22208         const from the non-libc, non-ldso copy.
22210         * sysdeps/alpha/libm-test-ulps: Regenerate.
22212 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
22213             Wilco Dijkstra  <wilco.dijkstra@arm.com>
22215         * sysdeps/aarch64/fpu/math_private.h: New file.
22217 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
22219         * sysdeps/aarch64/libm-test-ulps: Regenerate.
22221 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
22223         [BZ #16275]
22224         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
22225         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
22226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
22227         Intel MPX bound registers before _dl_profile_fixup.
22228         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
22229         registers after _dl_profile_fixup.  Save and restore bound
22230         registers bnd0/bnd1 when calling _dl_call_pltexit.
22231         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
22232         (LR_BND_OFFSET): Likewise.
22233         (LRV_BND0_OFFSET): Likewise.
22234         (LRV_BND1_OFFSET): Likewise.
22236 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22238         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
22239         to...
22240         * sysdeps/mach/hurd/i386/tls.h: ... here.
22241         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
22242         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
22243         fields.
22245 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22247         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
22249 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22253 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22255         [BZ #14770]
22256         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
22257         * sysdeps/s390/configure: Regenerate.
22259         [BZ #16824]
22260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
22261         Set round-to-nearest internally to reduce error accumulation.
22263 2014-04-16  Alan Modra  <amodra@gmail.com>
22265         [BZ #16740]
22266         [BZ #16619]
22267         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
22268         * math/libm-test.inc (frexp_test_data): Add tests.
22269         * NEWS: Update fixed bug list.
22271 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22273         * benchtests/Makefile: Depend on libraries in build directory.
22274         (bench-math): Separate out math tests.
22275         (bench-pthread): Separate out pthread tests.
22276         (bench): Include math and pthread tests.
22278 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
22280         [BZ #16831]
22281         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
22282         _dl_debug_initialize.
22284         * configure.ac: Remove SELinux header check.
22285         * configure: Regenerate.
22286         * nscd/selinux.c (perms): Array of const char* to permission names.
22287         (nscd_request_avc_has_perm): Call security_deny_unknown to find
22288         default policy. Call string_to_security_class and string_to_av_perm to
22289         translate strings. Enforce default policy and call avs_has_perm with
22290         results of translated strings.
22292 2014-04-13  David S. Miller  <davem@davemloft.net>
22294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22296 2014-04-12  Allan McRae  <allan@archlinux.org>
22298         [BZ #16838]
22299         * manual/string.texi (Collation Functions): Fix qsort argument
22300         order in example.
22301         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22303 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
22305         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
22306         Make the test a no-op if there are no exceptions defined.
22308 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22310         * elf/Makefile (tests): make tst-dlopen-aout conditional on
22311         enable-hardcoded-path-in-tests
22313 2014-04-11  Will Newton  <will.newton@linaro.org>
22315         * benchtests/Makefile (extra-objs): Add json-lib.o.
22316         (bench-func): Tidy up JSON output.
22317         * benchtests/bench-skeleton.c: Include json-lib.h.
22318         (main): Use JSON library functions to do output of
22319         benchmark results.
22320         * benchtests/bench-timing-type.c (main): Output the
22321         timing type simply, leaving formatting to the user.
22322         * benchtests/json-lib.c: New file.
22323         * benchtests/json-lib.h: Likewise.
22325 2014-04-11  Torvald Riegel  <triegel@redhat.com>
22327         [BZ #15215]
22328         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
22329         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
22330         memory barriers.  Add comments.
22331         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
22332         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
22333         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22334         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
22335         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
22336         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
22338 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22340         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
22341         * sysdeps/s390/s390-64/configure.ac: ... this ...
22342         * sysdeps/s390/configure.ac: ... to here.
22343         * sysdeps/s390/s390-32/configure: Delete file.
22344         * sysdeps/s390/s390-64/configure: Delete file.
22345         * sysdeps/s390/configure: Regenerate.
22347 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
22349         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
22351 2014-04-11  Will Newton  <will.newton@linaro.org>
22353         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
22354         to zero if it is not defined elsewhere.  (mtrim): Test
22355         the value of MALLOC_DEBUG with #if rather than #ifdef.
22357 2014-04-10 Torvald Riegel  <triegel@redhat.com>
22359         * benchtests/pthread_once-inputs: New file.
22360         * benchtests/pthread_once-source.c: New file.
22361         * benchtests/README: Update documentation.
22363 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
22364             H.J. Lu  <hongjiu.lu@intel.com>
22366         [BZ #16275]
22367         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
22368         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
22369         * sysdeps/x86_64/configure: Regenerated.
22370         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
22371         macro.
22372         (REGISTER_SAVE_RAX): Likewise.
22373         (REGISTER_SAVE_RCX): Likewise.
22374         (REGISTER_SAVE_RDX): Likewise.
22375         (REGISTER_SAVE_RSI): Likewise.
22376         (REGISTER_SAVE_RDI): Likewise.
22377         (REGISTER_SAVE_R8): Likewise.
22378         (REGISTER_SAVE_R9): Likewise.
22379         (REGISTER_SAVE_BND0): Likewise.
22380         (REGISTER_SAVE_BND1): Likewise.
22381         (REGISTER_SAVE_BND2): Likewise.
22382         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
22383         bound registers when calling _dl_fixup.
22385 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22387         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
22388         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
22389         of its definition.
22390         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
22391         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
22392         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
22393         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
22394         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
22395         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
22396         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
22398 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
22400         [BZ #15514]
22401         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
22402         pathconf(_PC_NAME_MAX).
22404 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22406         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
22407         Remove macro usage.
22408         (__PTHREAD_SPINS): Move definition to ...
22409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22410         (__PTHREAD_SPINS): ... here.
22411         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22412         (__PTHREAD_SPIN): Likewise.
22413         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
22414         (__PTHREAD_SPIN): Likewise.
22415         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
22416         (__PTHREAD_SPIN): Likewise.
22417         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
22418         (__PTHREAD_SPIN): Likewise.
22419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
22420         (__PTHREAD_SPIN): Likewise.
22421         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
22422         (__PTHREAD_SPIN): Likewise.
22423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
22424         (__PTHREAD_SPIN): Likewise.
22425         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
22426         (__PTHREAD_SPIN): Likewise.
22427         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
22428         (__PTHREAD_SPIN): Likewise.
22429         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
22430         (__PTHREAD_SPIN): Likewise.
22431         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
22432         (__PTHREAD_SPIN): Likewise.
22433         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
22434         (__PTHREAD_SPIN): Likewise.
22436         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
22437         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
22438         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
22439         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
22440         imply folder.
22441         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
22442         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
22443         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
22444         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
22445         correct imply path.
22446         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
22447         strlen symbol for non multi-arch builds.
22448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
22449         missing hidden_def and weak_alias.
22451 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
22453         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
22455 2014-04-07  Will Newton  <will.newton@linaro.org>
22457         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
22458         and contents.  [!_LIBC] Remove #ifndef and contents.
22459         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
22460         * string/memccpy.c (__memccpy): Use ANSI prototype.
22461         * string/memfrob.c (memfrob): Likewise.
22462         * string/strcoll.c (STRCOLL): Likewise.
22463         * string/strlen.c (strlen): Likewise.
22464         * string/strtok.c (STRTOK): Likewise.
22465         * string/strcat.c: Remove unused #include of memcopy.h.
22466         (strcat): Use ANSI prototype.
22467         * string/strchr.c: Remove unused #include of memcopy.h.
22468         (strchr): Use ANSI prototype.
22469         * string/strcmp.c: Remove unused #include of memcopy.h.
22470         (strcmp): Use ANSI prototype.
22471         * string/strcpy.c: Remove unused #include of memcopy.h.
22472         (strcpy): Use ANSI prototype.
22474 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22476         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
22477         * config.make.in (config-extra-cppflags): Set it from
22478         libc_extra_cppflags.
22479         * configure.ac (libc_extra_cflags): Make it accumulate over
22480         configure fragments.
22481         (libc_extra_cppflags): New flag.
22482         * configure. Regenerate.
22483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
22484         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
22485         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
22486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22488         [BZ #16815]
22489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
22490         result for FE_DOWNWARD rounding mode.
22491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
22492         Likewise.
22493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22495 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
22497         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
22498         in function argument name.
22500 2014-04-03  David Svoboda  <svoboda@cert.org>
22502         [BZ #5666]
22503         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
22504         explicitly.
22506 2014-04-03  Roland McGrath  <roland@hack.frob.com>
22508         * elf/dl-unmap-segments.h: New file.
22509         * sysdeps/generic/ldsodefs.h
22510         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
22511         * elf/dl-close.c: Include <dl-unmap-segments.h>.
22512         * elf/dl-fptr.c: Likewise.
22513         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
22514         * sysdeps/aarch64/tlsdesc.c: Likewise.
22515         * sysdeps/arm/tlsdesc.c: Likewise.
22516         * sysdeps/i386/tlsdesc.c: Likewise.
22517         * sysdeps/tile/dl-runtime.c: Likewise.
22518         * sysdeps/x86_64/tlsdesc.c: Likewise.
22519         * elf/dl-load.h: New file.
22520         * elf/dl-load.c: Include it.
22521         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
22522         Macros moved to dl-load.h.
22523         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
22524         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
22525         Use _dl_unmap_segments in place of __munmap.
22526         Break out segment-mapping loop into ...
22527         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
22529 2014-04-03  Will Newton  <will.newton@linaro.org>
22531         * elf/dl-lookup.c (do_lookup_x): Remove comment
22532         referring to nested function and move variable
22533         declarations down to before first use.
22535 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
22537         [BZ #16799]
22538         [BZ #16800]
22539         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
22540         with 0 numerator.
22541         * math/s_catanf.c (__catanf): Likewise.
22542         * math/s_catanh.c (__catanh): Likewise.
22543         * math/s_catanhf.c (__catanhf): Likewise.
22544         * math/s_catanhl.c (__catanhl): Likewise.
22545         * math/s_catanl.c (__catanl): Likewise.
22546         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
22547         by positive zero when computing -Inf result.
22548         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
22549         (catanh_test): Likewise.
22550         * sysdeps/i386/fpu/libm-test-ulps: Update.
22551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22553         [BZ #16789]
22554         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
22555         instead of using underflowing value in computing result.
22556         * math/s_clog10.c (__clog10): Likewise.
22557         * math/s_clog10f.c (__clog10f): Likewise.
22558         * math/s_clog10l.c (__clog10l): Likewise.
22559         * math/s_clogf.c (__clogf): Likewise.
22560         * math/s_clogl.c (__clogl): Likewise.
22561         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
22562         (clog10_test): Likewise.
22563         * sysdeps/i386/fpu/libm-test-ulps: Update.
22564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22566 2014-04-02  Alan Modra  <amodra@gmail.com>
22568         [BZ #16739]
22569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
22570         output when value is near a power of two.  Use int64_t for lx and
22571         remove casts.  Use decimal rather than hex exponent constants.
22572         Don't use long double multiplication when double will suffice.
22573         * math/libm-test.inc (nextafter_test_data): Add tests.
22574         * NEWS: Add 16739 and 16786 to bug list.
22576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
22578         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
22580 2014-04-01  Will Newton  <will.newton@linaro.org>
22582         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
22583         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
22585 2014-04-01  Florian Weimer  <fweimer@redhat.com>
22587         [BZ #13347]
22588         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
22589         * nptl/tst-setuid2.c: New file.
22590         * nptl/Makefile (xtests): Add tst-setuid2.
22592 2014-04-01  Alan Modra  <amodra@gmail.com>
22594         [BZ #16786]
22595         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
22597 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
22599         [BZ #6803]
22600         [BZ #6804]
22601         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
22602         set errno as appropriate.
22603         * math/w_scalbf.c (__scalbf): Likewise.
22604         * math/w_scalbl.c (__scalbl): Likewise.
22605         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
22606         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
22607         * math/libm-test.inc (scalb_test_data): Add errno expectations.
22608         Add more NaN tests.
22610         [BZ #16349]
22611         * math/w_atan2.c: Include <errno.h>.
22612         (__atan2): Set errno for result underflowing to zero.
22613         * math/w_atan2f.c: Include <errno.h>.
22614         (__atan2f): Set errno for result underflowing to zero.
22615         * math/w_atan2l.c: Include <errno.h>.
22616         (__atan2l): Set errno for result underflowing to zero.
22617         * math/auto-libm-test-in: Don't allow missing errno for some atan2
22618         tests.
22619         * math/auto-libm-test-out: Regenerated.
22621 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
22624         Encode instruction correctly in little endian.
22625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
22626         Likewise.
22627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
22628         Likewise.
22629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
22630         Likewise.
22631         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
22632         Likewise.
22634 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
22636         [BZ #9894]
22637         * sysdeps/unix/sysv/linux/kernel-features.h
22638         [__sparc__ && !__arch64__ && !__sparc_v9__]
22639         (__ASSUME_SET_ROBUST_LIST): Do not define.
22640         [__sparc__ && !__arch64__ && !__sparc_v9__]
22641         (__ASSUME_FUTEX_LOCK_PI): Likewise.
22642         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
22643         Likewise.
22644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22645         (__ASSUME_FUTEX_LOCK_PI): Undefine.
22646         (__ASSUME_REQUEUE_PI): Likewise.
22647         (__ASSUME_SET_ROBUST_LIST): Likewise.
22648         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22649         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
22650         Undefine.
22651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22652         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
22653         Likewise.
22654         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
22655         Likewise.
22656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
22657         Likewise.
22658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22659         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
22660         Undefine.
22661         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
22662         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
22663         Likewise.
22665         [BZ #16648]
22666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
22668         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
22670 2014-03-31  Will Newton  <will.newton@linaro.org>
22672         * benchtests/Makefile (bench): Add ffs and ffsll to list
22673         of tests.
22674         * benchtests/ffs-inputs: New file.
22675         * benchtests/ffsll-inputs: Likewise.
22677 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
22679         [BZ #16770]
22680         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
22681         too large before casting to int.
22682         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
22683         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
22684         * math/libm-test.inc (scalb_test_data): Add more tests.
22686 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22688         * benchtests/Makefile (DETAILED_OPT): New make option.
22689         (bench-func): Run benchmark program with -d if DETAILED_OPT is
22690         set.
22691         * benchtests/bench-skeleton.c: Include stdbool.h.
22692         (main): Store and print timings per input.
22693         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
22694         member to each argument value.
22695         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
22696         (_print_arg_data): Initialize per-input timing to 0.
22698         * benchtests/Makefile (timing-type): New binary.
22699         (bench-clean): Also remove bench-timing-type.
22700         (bench): New target for timing-type.
22701         (bench-func): Print output in JSON format.
22702         * benchtests/bench-skeleton.c (main): Print output in JSON
22703         format.
22704         * benchtests/bench-timing-type.c: New file.
22705         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
22706         (TIMING_PRINT_STATS): Remove.
22707         * benchtests/scripts/bench.py (_print_arg_data): Store variant
22708         name separately.
22710         * benchtests/bench-modf.c: Remove.
22711         * benchtests/modf-inputs: New inputs file.
22713 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
22715         [BZ #16362]
22716         * math/s_clog10.c (M_PI_LOG10E): New macro.
22717         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
22718         imaginary parts are 0.
22719         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
22720         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
22721         imaginary parts are 0.
22722         * math/s_clog10l.c (M_PI_LOG10El): New macro.
22723         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
22724         imaginary parts are 0.
22725         * math/libm-test.inc (clog10_test_data): Update expected results
22726         for when real and imaginary parts are 0.
22728 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
22730         * elf/dl-load.c: Finish conversion of __builtin_expect into
22731         __glibc_{un}likely.
22733 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
22735         [BZ #16348]
22736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
22737         1+x for argument with exponent below -67.
22738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
22739         Likewise.
22740         * math/auto-libm-test-in: Add more tests of exp.
22741         * math/auto-libm-test-out: Regenerated.
22743 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22745         [BZ #16759]
22746         * inet/getnetgrent_r.c (get_nonempty_val): New function.
22747         (nscd_getnetgrent): Use it.
22749         [BZ #16760]
22750         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
22751         of stpcpy.
22753 2014-03-27  Andi Kleen  <ak@linux.intel.com>
22755         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
22756         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22757         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22758         (lll_robust_unlock): Remove out of line section. Use cfi
22759         intrinsics.
22760         (LLL_STUB_UNWIND_INFO*): Remove.
22761         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
22762         (lll_robust_lock, lll_cond_lock, lll_timedlock)
22763         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
22764         (lll_robust_unlock): Remove out of line section. Use cfi
22765         intrinsics.
22766         (LLL_STUB_UNWIND_INFO*): Remove.
22768 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22770         [BZ #16758]
22771         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
22772         blank values.
22774 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
22776         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
22778 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
22780         [BZ #16198]
22781         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
22782         fnstenv.
22783         * math/test-fenv-preserve.c: New file.
22784         * math/Makefile (tests): Add test-fenv-preserve.
22786 2014-03-26  Will Newton <will.newton@linaro.org>
22788         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
22790 2014-03-25  Roland McGrath  <roland@hack.frob.com>
22792         * scripts/versionlist.awk: Partition the version sets and emit all
22793         GLIBC_* (sorted) before all others (sorted).
22795 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22797         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
22798         GLIBC_2.2.5 version.
22800 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22802         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
22803         calls.
22805         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
22806         previous change.
22808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22810 2014-03-25  Andreas Schwab  <schwab@suse.de>
22812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
22813         label to be used after in6ailist is initialized.
22815 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
22818         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22820 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
22822         [BZ #16357]
22823         [BZ #16599]
22824         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
22825         min_plus_half.
22826         (fp_formats): Update initializers.
22827         (init_fp_formats): Initialize new field.
22828         (output_for_one_input_case): Allow underflow for results up to
22829         min_plus_half.
22830         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
22831         * math/auto-libm-test-in: Don't mark some underflows from asin and
22832         atanh as spurious.
22833         * math/auto-libm-test-out: Regenerated.
22834         * sysdeps/i386/fpu/libm-test-ulps: Update.
22835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837 2014-03-25  Andreas Schwab  <schwab@suse.de>
22839         * libio/Makefile (tst-ftell-partial-wide-ENV)
22840         (tst-ftell-active-handler-ENV): Define.
22842 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
22844         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
22846 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22848         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
22850 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22852         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
22853         * sysdeps/x86_64/fpu/multiarch/e_exp.c
22854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
22856 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22858         [BZ #16634]
22859         * elf/dl-load.c (open_verify): Add mode parameter.
22860         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
22861         (open_path): Change from boolean 'secure' to complete flag 'mode'
22862         (_dl_map_object): Adjust.
22863         * elf/Makefile (tests): Add tst-dlopen-aout.
22864         * elf/tst-dlopen-aout.c: New test.
22866 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
22868         [BZ #16714]
22869         * sysdeps/unix/sysv/linux/s390/bits/stat.h
22870         (struct stat): Rename member pad0 to __glibc_reserved0.
22872         [BZ #16712]
22873         * sysdeps/s390/s390-32/bits/wordsize.h
22874         (__WORDSIZE32_SIZE_ULONG): New define.
22875         * sysdeps/s390/s390-64/bits/wordsize.h
22876         (__WORDSIZE32_SIZE_ULONG): Likewise.
22877         * sysdeps/generic/stdint.h (SIZE_MAX):
22878         Define as UL if __WORDSIZE32_SIZE_ULONG.
22880         [BZ #16713]
22881         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
22882         (__glibc_reserved0): New variable.
22883         (sa_flags): Change type to int.
22885         * posix/Makefile (before-compile): Use += before-compile instead
22886         of a :=.
22888         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
22889         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
22891 2014-03-20  Andreas Schwab  <schwab@suse.de>
22893         [BZ #16743]
22894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
22895         non-matching result from nscd.
22897 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22899         * scripts/bench.py: Moved to ...
22900         * benchtests/scripts/bench.py: ... here.
22901         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
22903 2014-03-24  Andreas Schwab  <schwab@suse.de>
22905         [BZ #16002]
22906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
22907         alloca_account and account alloca use for struct in6ailist.
22909 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
22911         [BZ #16284]
22912         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
22913         rounding mode to recompute results that overflow to infinity or
22914         underflow to zero.
22915         * math/auto-libm-test-in: Don't mark tests as expected to fail for
22916         bug 16284.
22917         * math/auto-libm-test-out: Regenerated.
22918         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
22919         (ccosh_test): Likewise.
22920         (csin_test_data): Use plus_oflow.
22921         (csin_test): Use ALL_RM_TEST.
22922         (csinh_test_data): Use plus_oflow.
22923         (csinh_test): Use ALL_RM_TEST.
22924         * sysdeps/i386/fpu/libm-test-ulps: Update.
22925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22927 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
22929         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
22930         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
22931         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
22933         [BZ #16731]
22934         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
22935         when x - 1 is zero.
22936         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
22937         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
22938         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
22939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
22940         argument is 1.
22941         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
22942         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
22943         zero.
22944         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
22945         * sysdeps/i386/fpu/libm-test-ulps: Update.
22946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22948 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22950         * scripts/bench.pl: Remove file.
22951         * scripts/bench.py: New benchmark script.
22952         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
22953         * benchtests/README: Mention python dependency.
22954         * scripts/pylintrc: New file.
22955         * scripts/pylint: New file.
22957         * bits/mathdef.h: Use #ifdef instead of #if.
22958         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
22959         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22960         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
22961         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22962         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
22963         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
22965 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22966             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
22968         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
22969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
22970         and strpbrk-ppc64 objects.
22971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22972         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
22973         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
22974         multiarch strpbrk for POWER7.
22975         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
22976         multiarch strpbrk for PPC64.
22977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
22978         ifunc selector.
22979         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
22980         strpbrk for POWER7.
22982 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
22984         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
22985         (atan_test): Likewise.
22986         (atanh_test_data): Use NO_TEST_INLINE for two tests.
22987         (atanh_test): Use ALL_RM_TEST.
22988         (atan2_test_data): Likewise.
22989         (cabs_test): Likewise.
22990         (cacosh_test): Likewise.
22991         (carg_test): Likewise.
22992         (casin_test): Likewise.
22993         (casinh_test): Likewise.
22994         (cbrt_test): Likewise.
22995         (csqrt_test): Likewise.
22996         (erf_test): Likewise.
22997         (erfc_test): Likewise.
22998         (pow10_test): Likewise.
22999         (exp2_test): Likewise.
23000         (hypot_test): Likewise.
23001         (j0_test): Likewise.
23002         (j1_test): Likewise.
23003         (lgamma_test): Likewise.
23004         (gamma_test): Likewise.
23005         (sincos_test): Likewise.
23006         (tanh_test): Likewise.
23007         (y0_test): Likewise.
23008         (y1_test): Likewise.
23009         * sysdeps/i386/fpu/libm-test-ulps: Update.
23010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23012 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23014         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
23015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
23016         and strcspn-ppc64 objects.
23017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23018         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
23019         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
23020         multiarch strcspn for POWER7.
23021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
23022         multiarch strcspn for PPC64.
23023         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
23024         ifunc selector.
23025         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
23026         strcspn for POWER7.
23028 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
23030         * math/gen-libm-test.pl (generate_testfile): Expect only function
23031         name as argument to AUTO_TESTS_* and pass results for all rounding
23032         modes to parse_args.
23033         (parse_auto_input): Separate inputs of automatic tests from
23034         outputs before storing in %auto_tests.
23035         * math/libm-test.inc (acos_test_data): Update call to
23036         AUTO_TESTS_f_f.
23037         (acos_test): Use ALL_RM_TEST.
23038         (acos_tonearest_test_data): Remove.
23039         (acos_test_tonearest): Likewise.
23040         (acos_towardzero_test_data): Likewise.
23041         (acos_test_towardzero): Likewise.
23042         (acos_downward_test_data): Likewise.
23043         (acos_test_downward): Likewise.
23044         (acos_upward_test_data): Likewise.
23045         (acos_test_upward): Likewise.
23046         (acosh_test_data): Update call to AUTO_TESTS_f_f.
23047         (asin_test_data): Likewise.
23048         (asin_test): Use ALL_RM_TEST.
23049         (asin_tonearest_test_data): Remove.
23050         (asin_test_tonearest): Likewise.
23051         (asin_towardzero_test_data): Likewise.
23052         (asin_test_towardzero): Likewise.
23053         (asin_downward_test_data): Likewise.
23054         (asin_test_downward): Likewise.
23055         (asin_upward_test_data): Likewise.
23056         (asin_test_upward): Likewise.
23057         (asinh_test_data): Update call to AUTO_TESTS_f_f.
23058         (atan_test_data): Likewise.
23059         (atanh_test_data): Likewise.
23060         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
23061         (cabs_test_data): Update call to AUTO_TESTS_c_f.
23062         (carg_test_data): Likewise.
23063         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
23064         (ccos_test_data): Update call to AUTO_TESTS_c_c.
23065         (ccosh_test_data): Likewise.
23066         (cexp_test_data): Likewise.
23067         (clog_test_data): Likewise.
23068         (clog10_test_data): Likewise.
23069         (cos_test_data): Update call to AUTO_TESTS_f_f.
23070         (cos_test): Use ALL_RM_TEST.
23071         (cos_tonearest_test_data): Remove.
23072         (cos_test_tonearest): Likewise.
23073         (cos_towardzero_test_data): Likewise.
23074         (cos_test_towardzero): Likewise.
23075         (cos_downward_test_data): Likewise.
23076         (cos_test_downward): Likewise.
23077         (cos_upward_test_data): Likewise.
23078         (cos_test_upward): Likewise.
23079         (cosh_test_data): Update call to AUTO_TESTS_f_f.
23080         (cosh_test): Use ALL_RM_TEST.
23081         (cosh_tonearest_test_data): Remove.
23082         (cosh_test_tonearest): Likewise.
23083         (cosh_towardzero_test_data): Likewise.
23084         (cosh_test_towardzero): Likewise.
23085         (cosh_downward_test_data): Likewise.
23086         (cosh_test_downward): Likewise.
23087         (cosh_upward_test_data): Likewise.
23088         (cosh_test_upward): Likewise.
23089         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
23090         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
23091         (ctan_test_data): Likewise.
23092         (ctan_test): Use ALL_RM_TEST.
23093         (ctan_tonearest_test_data): Remove.
23094         (ctan_test_tonearest): Likewise.
23095         (ctan_towardzero_test_data): Likewise.
23096         (ctan_test_towardzero): Likewise.
23097         (ctan_downward_test_data): Likewise.
23098         (ctan_test_downward): Likewise.
23099         (ctan_upward_test_data): Likewise.
23100         (ctan_test_upward): Likewise.
23101         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
23102         (ctanh_test): Use ALL_RM_TEST.
23103         (ctanh_tonearest_test_data): Remove.
23104         (ctanh_test_tonearest): Likewise.
23105         (ctanh_towardzero_test_data): Likewise.
23106         (ctanh_test_towardzero): Likewise.
23107         (ctanh_downward_test_data): Likewise.
23108         (ctanh_test_downward): Likewise.
23109         (ctanh_upward_test_data): Likewise.
23110         (ctanh_test_upward): Likewise.
23111         (erf_test_data): Update call to AUTO_TESTS_f_f.
23112         (erfc_test_data): Likewise.
23113         (exp_test_data): Likewise.
23114         (exp_test): Use ALL_RM_TEST.
23115         (exp_tonearest_test_data): Remove.
23116         (exp_test_tonearest): Likewise.
23117         (exp_towardzero_test_data): Likewise.
23118         (exp_test_towardzero): Likewise.
23119         (exp_downward_test_data): Likewise.
23120         (exp_test_downward): Likewise.
23121         (exp_upward_test_data): Likewise.
23122         (exp_test_upward): Likewise.
23123         (exp10_test_data): Update call to AUTO_TESTS_f_f.
23124         (exp10_test): Use ALL_RM_TEST.
23125         (exp10_tonearest_test_data): Remove.
23126         (exp10_test_tonearest): Likewise.
23127         (exp10_towardzero_test_data): Likewise.
23128         (exp10_test_towardzero): Likewise.
23129         (exp10_downward_test_data): Likewise.
23130         (exp10_test_downward): Likewise.
23131         (exp10_upward_test_data): Likewise.
23132         (exp10_test_upward): Likewise.
23133         (exp2_test_data): Update call to AUTO_TESTS_f_f.
23134         (expm1_test_data): Likewise.
23135         (expm1_test): Use ALL_RM_TEST.
23136         (expm1_tonearest_test_data): Remove.
23137         (expm1_test_tonearest): Likewise.
23138         (expm1_towardzero_test_data): Likewise.
23139         (expm1_test_towardzero): Likewise.
23140         (expm1_downward_test_data): Likewise.
23141         (expm1_test_downward): Likewise.
23142         (expm1_upward_test_data): Likewise.
23143         (expm1_test_upward): Likewise.
23144         (fma_test_data): Update call to AUTO_TESTS_fff_f.
23145         (fma_test): Use ALL_RM_TEST.
23146         (fma_towardzero_test_data): Remove.
23147         (fma_test_towardzero): Likewise.
23148         (fma_downward_test_data): Likewise.
23149         (fma_test_downward): Likewise.
23150         (fma_upward_test_data): Likewise.
23151         (fma_test_upward): Likewise.
23152         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
23153         (j0_test_data): Update call to AUTO_TESTS_f_f.
23154         (j1_test_data): Likewise.
23155         (jn_test_data): Update call to AUTO_TESTS_if_f.
23156         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
23157         (log_test_data): Update call to AUTO_TESTS_f_f.
23158         (log10_test_data): Likewise.
23159         (log1p_test_data): Likewise.
23160         (log2_test_data): Likewise.
23161         (pow_test_data): Update call to AUTO_TESTS_ff_f.
23162         (pow_tonearest_test_data): Likewise.
23163         (sin_test_data): Update call to AUTO_TESTS_f_f.
23164         (sin_test): Use ALL_RM_TEST.
23165         (sin_tonearest_test_data): Remove.
23166         (sin_test_tonearest): Likewise.
23167         (sin_towardzero_test_data): Likewise.
23168         (sin_test_towardzero): Likewise.
23169         (sin_downward_test_data): Likewise.
23170         (sin_test_downward): Likewise.
23171         (sin_upward_test_data): Likewise.
23172         (sin_test_upward): Likewise.
23173         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
23174         (sinh_test_data): Update call to AUTO_TESTS_f_f.
23175         (sinh_test): Use ALL_RM_TEST.
23176         (sinh_tonearest_test_data): Remove.
23177         (sinh_test_tonearest): Likewise.
23178         (sinh_towardzero_test_data): Likewise.
23179         (sinh_test_towardzero): Likewise.
23180         (sinh_downward_test_data): Likewise.
23181         (sinh_test_downward): Likewise.
23182         (sinh_upward_test_data): Likewise.
23183         (sinh_test_upward): Likewise.
23184         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
23185         (sqrt_test): Use ALL_RM_TEST.
23186         (sqrt_tonearest_test_data): Remove.
23187         (sqrt_test_tonearest): Likewise.
23188         (sqrt_towardzero_test_data): Likewise.
23189         (sqrt_test_towardzero): Likewise.
23190         (sqrt_downward_test_data): Likewise.
23191         (sqrt_test_downward): Likewise.
23192         (sqrt_upward_test_data): Likewise.
23193         (sqrt_test_upward): Likewise.
23194         (tan_test_data): Update call to AUTO_TESTS_f_f.
23195         (tan_test): Use ALL_RM_TEST.
23196         (tan_tonearest_test_data): Remove.
23197         (tan_test_tonearest): Likewise.
23198         (tan_towardzero_test_data): Likewise.
23199         (tan_test_towardzero): Likewise.
23200         (tan_downward_test_data): Likewise.
23201         (tan_test_downward): Likewise.
23202         (tan_upward_test_data): Likewise.
23203         (tan_test_upward): Likewise.
23204         (tanh_test_data): Update call to AUTO_TESTS_f_f.
23205         (tgamma_test_data): Likewise.
23206         (y0_test_data): Likewise.
23207         (y1_test_data): Likewise.
23208         (yn_test_data): Update call to AUTO_TESTS_if_f.
23209         (main): Do not call removed functions.
23211 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23213         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
23214         (ldexp_test_data): Remove.
23215         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
23216         scalbn_test_data.
23217         (scalb_test): Use ALL_RM_TEST.
23219 2014-03-19  Andreas Schwab  <schwab@suse.de>
23221         * nscd/nscd.service: Also invalidate netgroup cache on reload.
23223 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
23225         [BZ #16649]
23226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23227         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
23228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
23229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23230         (__ASSUME_PREADV): Undefine.
23231         (__ASSUME_PWRITEV): Likewise.
23233 2014-03-18  Roland McGrath  <roland@hack.frob.com>
23235         * bits/mman-linux.h: Add comment about non-Linux use.
23236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
23237         bits/mman-linux.h resting place.
23239         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
23240         * bits/mman-linux.h: ... here.
23242 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23244         * conform/conformtest.pl: Add standard definition when calling C
23245         preprocessor on data files.
23246         (checknamespace): Remove unused variable.
23248 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
23250         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
23251         minus_oflow, plus_uflow and minus_uflow in expected results.
23252         * math/libm-test.inc (scalbn_test_data): Add more tests of
23253         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
23254         minus_uflow.
23255         (scalbn_test): Use ALL_RM_TEST.
23256         (scalbln_test_data): Add more tests of negative arguments.  Use
23257         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
23258         (scalbln_test): Use ALL_RM_TEST.
23260 2014-03-18  Roland McGrath  <roland@hack.frob.com>
23262         * scripts/abilist.awk: Ignore symbols marked with .hidden.
23264 2014-03-18  Will Newton  <will.newton@linaro.org>
23266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
23267         inaccurate comment.
23269 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
23271         * Makerules [!subdir] (check-abi): Exit with error status if a
23272         test failed.
23274 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
23276         * math/libm-test.inc (nearbyint_test_data): Include all tests used
23277         for rint.  Include results for all rounding modes.
23278         (nearbyint_test): Use ALL_RM_TEST.
23279         (rint_test_data): Include all tests used for nearbyint.
23281 2014-03-17  Will Newton  <will.newton@linaro.org>
23283         * nptl/sysdeps/pthread/pthread.h: Revert previous
23284         change.
23286         * sysdeps/generic/ldsodefs.h: Revert previous
23287         change.
23289         * libio/genops.c: Revert previous change.
23290         * libio/libioP.h: Likewise.
23291         * stdio-common/vfprintf.c: Likewise.
23293         * sysdeps/generic/math_private.h: Revert previous
23294         change.
23296         * sysdeps/generic/math_private.h: Check whether
23297         HAVE_RM_CTX is defined with #ifdef rather
23298         than #if.
23300         * argp/argp-fmtstream.h: Check whether
23301         __STRICT_ANSI__ is defined with #ifdef rather
23302         than #if.
23303         * argp/argp.h: Likewise.
23305         * libio/genops.c: Check whether
23306         _IO_JUMPS_OFFSET is defined with #ifdef rather
23307         than #if.
23308         * libio/libioP.h: Likewise.
23309         * stdio-common/vfprintf.c: Likewise.
23311         * sysdeps/generic/ldsodefs.h: Check whether
23312         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
23313         than #if.
23315         * nptl/sysdeps/pthread/pthread.h: Check
23316         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
23317         its value.
23319 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23321         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
23322         setting O_APPEND.
23323         * libio/tst-ftell-active-handler.c (do_append_test): Add a
23324         test case.
23326         [BZ #16680]
23327         * libio/fileops.c (_IO_file_open): Seek to end of file but
23328         don't cache the offset.
23329         (get_file_offset): Remove function.
23330         (do_ftell): Use cached offset when available.
23331         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
23332         don't cache the offset.
23333         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
23334         case.
23335         (do_one_test): Call it.
23336         (do_ftell_test): Fix up expected old offset for a+ mode.
23337         * libio/wfileops.c (do_ftell_wide): Used cached offset when
23338         available.
23340         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
23341         up test status with function return status.
23342         (do_write_test): Likewise.
23343         (do_append_test): Likewise.
23345         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
23346         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
23347         Remove.
23349 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
23351         * math/gen-libm-test.pl (parse_args): Handle results specified for
23352         each rounding mode separately.
23353         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
23354         tests and results from lrint_tonearest_test_data,
23355         lrint_towardzero_test_data, lrint_downward_test_data and
23356         lrint_upward_test_data.
23357         (lrint_test): Use ALL_RM_TEST.
23358         (lrint_tonearest_test_data): Remove.
23359         (lrint_test_tonearest): Likewise.
23360         (lrint_towardzero_test_data): Likewise.
23361         (lrint_test_towardzero): Likewise.
23362         (lrint_downward_test_data): Likewise.
23363         (lrint_test_downward): Likewise.
23364         (lrint_upward_test_data): Likewise.
23365         (lrint_test_upward): Likewise.
23366         (llrint_test_data): Merge in per-rounding-mode tests and results
23367         from llrint_tonearest_test_data, llrint_towardzero_test_data,
23368         llrint_downward_test_data and llrint_upward_test_data.
23369         (llrint_test): Use ALL_RM_TEST.
23370         (llrint_tonearest_test_data): Remove.
23371         (llrint_test_tonearest): Likewise.
23372         (llrint_towardzero_test_data): Likewise.
23373         (llrint_test_towardzero): Likewise.
23374         (llrint_downward_test_data): Likewise.
23375         (llrint_test_downward): Likewise.
23376         (llrint_upward_test_data): Likewise.
23377         (llrint_test_upward): Likewise.
23378         (rint_test_data): Merge in per-rounding-mode tests and results
23379         from rint_tonearest_test_data, rint_towardzero_test_data,
23380         rint_downward_test_data and rint_upward_test_data.  Add
23381         per-rounding-mode results for tests not in those arrays.
23382         (rint_test): Use ALL_RM_TEST.
23383         (rint_tonearest_test_data): Remove.
23384         (rint_test_tonearest): Likewise.
23385         (rint_towardzero_test_data): Likewise.
23386         (rint_test_towardzero): Likewise.
23387         (rint_downward_test_data): Likewise.
23388         (rint_test_downward): Likewise.
23389         (rint_upward_test_data): Likewise.
23390         (rint_test_upward): Likewise.
23391         (main): Don't call removed functions.
23393 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23395         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
23396         "Compiled on ..." crapola.  It is anti-useful.
23398 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
23400         * scripts/evaluate-test.sh: Handle fourth argument to determine
23401         whether test run should stop on failure.
23402         * Makeconfig (stop-on-test-failure): New variable.
23403         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
23404         $(stop-on-test-failure).
23405         * Makefile (tests): Give a summary of results from testing and
23406         exit with failure status if they include an ERROR or FAIL.
23407         (xtests): Likewise.
23408         * manual/install.texi (Configuring and compiling): Mention
23409         stop-on-test-failure=y.
23410         * INSTALL: Regenerated.
23412 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23414         * scripts/versionlist.awk: New file.
23415         * Makerules [$(build-shared) = yes]
23416         (postclean-generated): Add Versions.def, not Versions.def.v and
23417         Versions.def.v.i.
23418         ($(common-objpfx)Versions.def.v.i): Target removed.
23419         ($(common-objpfx)Versions.def): New target.
23420         ($(common-objpfx)Versions.all): Depend on that rather that
23421         $(common-objpfx)Versions.def.v.
23422         * Versions.def: File removed.
23424         * Makeconfig (+gccwarn): Add -Wundef.
23425         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
23426         a dl-sysdep.h breaking its contract.
23427         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
23428         * include/stackinfo.h: New file.
23429         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
23430         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
23431         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
23432         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
23433         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23434         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
23435         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23436         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23437         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23438         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23439         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23440         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
23441         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23442         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23443         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
23445 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23447         [BZ #16707]
23448         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
23449         implementation.
23450         * math/libm-test.inc (round_test_data): Add more tests.
23452         [BZ #16706]
23453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
23454         implementation.
23455         * math/libm-test.inc (nearbyint_test_data): Add more tests.
23457         [BZ #16701]
23458         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
23459         implementation.
23460         * math/libm-test.inc (ceil_test_data): Add more tests.
23462         * math/libm-test.inc (trunc_test_data): Add more tests related to
23463         BZ#16414.
23465 2014-03-14  Roland McGrath  <roland@hack.frob.com>
23467         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
23468         with #if rather than #ifdef.
23469         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
23471 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
23473         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
23474         first.  Disable AVX-512 GCC support if assembler doesn't support
23475         it.
23476         * sysdeps/x86_64/configure: Regenerated.
23478 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
23480         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
23481         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
23482         (__old_pthread_attr_setstack): Likewise.
23483         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
23484         [!_STACK_GROWS_DOWN]: Likewise.
23486 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
23488         * config.make.in (have-bash2): Delete.
23489         * configure.ac (libc_cv_have_bash2): Delete.
23490         * configure: Regenerate.
23491         * elf/Makefile (common-ldd-rewrite): Rename to ...
23492         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
23493         (sh-ldd-rewrite): Delete.
23494         (bash-ldd-rewrite): Delete.
23495         (have-bash2): Delete checks.
23496         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
23497         ldd-rewrite.
23499         * config.make.in (have-ksh): Delete.
23500         (KSH): Delete.
23501         * configure.ac (libc_cv_have_ksh): Delete.
23502         * configure: Regenerate.
23504         * elf/Makefile: Delete $(have-ksh) check.
23505         ($(objpfx)sotruss): Change KSH to BASH.
23506         * elf/sotruss.ksh: Rename to ...
23507         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
23508         function style to match POSIX.  Drop ksh vim mode setting.
23510         * manual/time.texi (Specifying the Time Zone with TZ): Change
23511         Tuesday to Thursday.
23513         * debug/tst-longjmp_chk2.c: Update header comment.
23514         (stackoverflow_handler): Add comment.  Call assert on pass value.
23516 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
23518         [BZ #16194]
23519         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
23520         (HAVE_AVX512_ASM_SUPPORT): Likewise.
23521         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
23522         (La_x86_64_vector): Add zmm.
23523         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
23524         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
23525         ($(objpfx)tst-audit10): New target.
23526         ($(objpfx)tst-audit10.out): Likewise.
23527         (tst-audit10-ENV): New.
23528         (AVX512-CFLAGS): Likewise.
23529         (CFLAGS-tst-audit10.c): Likewise.
23530         (CFLAGS-tst-auditmod10a.c): Likewise.
23531         (CFLAGS-tst-auditmod10b.c): Likewise.
23532         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
23533         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
23534         * sysdeps/x86_64/configure: Regenerated.
23535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
23536         AVX-512 zmm register support.
23537         (_dl_x86_64_save_sse): Likewise.
23538         (_dl_x86_64_restore_sse): Likewise.
23539         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
23540         size vector registers.
23541         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
23542         (ZMM_SIZE): Likewise.
23543         * sysdeps/x86_64/tst-audit10.c: New file.
23544         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
23545         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
23547 2014-03-13  Roland McGrath  <roland@hack.frob.com>
23549         * configure.ac (HAVE_EHDR_START): New check.
23550         * configure: Regenerated.
23551         * config.h.in (HAVE_EHDR_START): New #undef.
23552         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
23553         assuming the lowest-addressed segment maps the start of the file.
23555 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
23557         * INSTALL: Regenerated.
23559 2014-03-13  Will Newton  <will.newton@linaro.org>
23561         * manual/setjmp.texi (System V contexts): Improve
23562         clarity and grammar of documentation.
23564 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23566         [BZ #16381]
23567         * elf/Makefile (tests): Add tst-pie2.
23568         (tests-pie): Add tst-pie2.
23569         * elf/tst-pie2.c: New file.
23570         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
23571         for ET_EXEC.
23572         * elf/rtld.c (map_doit): Load executable as lt_executable.
23573         (dl_main): Likewise.
23575 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
23577         [BZ #16642]
23578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23579         (__ASSUME_PSELECT): Undefine.
23581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23583         [BZ #16689]
23584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
23585         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
23586         static build.
23587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
23588         selector for static builds.
23590 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23592         [BZ #16695]
23593         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
23594         key in the buffer.
23596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
23599         IFUNC selector for static builds.
23601 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
23603         * sysdeps/mips/math_private.h [__mips_hard_float]
23604         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
23605         libc_feresetround_mips_ctx.
23606         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
23607         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
23608         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
23610         [BZ #16677]
23611         * math/s_nextafter.c (__nextafter): Do not return value from
23612         overflowing computation.
23613         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
23614         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
23615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
23616         Likewise.
23617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23618         Likewise.
23619         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
23620         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
23622 2014-03-11  Roland McGrath  <roland@hack.frob.com>
23624         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
23625         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
23626         Move sfi_sp use from the load-multiple (that no longer sets sp) to
23627         the new mov targetting sp.
23629 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23631         [BZ #16683]
23632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
23633         Define it for static builds as well.
23634         (NO_BZERO_IMPL): Likewise.
23636 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23638         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
23639         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
23640         multiarch strspn for PPC64.
23641         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
23642         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
23643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23644         (__libc_ifunc_impl_list): Likewise.
23645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
23646         multiarch optimizations
23647         * string/strspn.c (strspn): Using macro to redefine symbol name.
23649 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
23650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23652         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
23653         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
23654         multiarch strncat for PPC64.
23655         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
23656         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
23657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23658         (__libc_ifunc_impl_list): Likewise.
23659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
23660         multiarch optimizations
23662 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23664         [BZ #16639]
23665         * nscd/nscd.service: Make service type forking.
23667 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23669         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
23670         sign in non default rounding modes.
23671         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
23673 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
23675         * math/libm-test.inc (ALL_RM_TEST): New macro.
23676         (ceil_test): Use ALL_RM_TEST.
23677         (cimag_test): Likewise.
23678         (conj_test): Likewise.
23679         (copysign_test): Likewise.
23680         (cproj_test): Likewise.
23681         (creal_test): Likewise.
23682         (fabs_test): Likewise.
23683         (floor_test): Likewise.
23684         (fmax_test): Likewise.
23685         (fmin_test): Likewise.
23686         (fmod_test): Likewise.
23687         (fpclassify_test): Likewise.
23688         (frexp_test): Likewise.
23689         (ilogb_test): Likewise.
23690         (isfinite_test): Likewise.
23691         (finite_test): Likewise.
23692         (isgreater_test): Likewise.
23693         (isgreaterequal_test): Likewise.
23694         (isinf_test): Likewise.
23695         (isless_test): Likewise.
23696         (islessequal_test): Likewise.
23697         (islessgreater_test): Likewise.
23698         (isnan_test): Likewise.
23699         (isnormal_test): Likewise.
23700         (issignaling_test): Likewise.
23701         (isunordered_test): Likewise.
23702         (logb_test): Likewise.
23703         (logb_downward_test_data): Remove.
23704         (logb_test_downward): Likewise.
23705         (lround_test): Use ALL_RM_TEST.
23706         (llround_test): Likewise.
23707         (modf_test): Likewise.
23708         (nexttoward_test): Likewise.
23709         (remainder_test): Likewise.
23710         (drem_test): Likewise.
23711         (remainder_tonearest_test_data): Likewise.
23712         (remainder_test_tonearest): Likewise.
23713         (drem_test_tonearest): Likewise.
23714         (remainder_towardzero_test_data): Likewise.
23715         (remainder_test_towardzero): Likewise.
23716         (drem_test_towardzero): Likewise.
23717         (remainder_downward_test_data): Likewise.
23718         (remainder_test_downward): Likewise.
23719         (drem_test_downward): Likewise.
23720         (remainder_upward_test_data): Likewise.
23721         (remainder_test_upward): Likewise.
23722         (drem_test_upward): Likewise.
23723         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
23724         (round_test): Use ALL_RM_TEST.
23725         (signbit_test): Likewise.
23726         (trunc_test): Likewise.
23727         (significand_test): Likewise.
23728         (main): Don't call removed functions.
23730 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
23732         [BZ #16674]
23733         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
23734         || __USE_XOPEN2K8].
23735         (ILL_ILLOPN): Likewise.
23736         (ILL_ILLADR): Likewise.
23737         (ILL_ILLTRP): Likewise.
23738         (ILL_PRVOPC): Likewise.
23739         (ILL_PRVREG): Likewise.
23740         (ILL_COPROC): Likewise.
23741         (ILL_BADSTK): Likewise.
23742         (FPE_INTDIV): Likewise.
23743         (FPE_INTOVF): Likewise.
23744         (FPE_FLTDIV): Likewise.
23745         (FPE_FLTOVF): Likewise.
23746         (FPE_FLTUND): Likewise.
23747         (FPE_FLTRES): Likewise.
23748         (FPE_FLTINV): Likewise.
23749         (FPE_FLTSUB): Likewise.
23750         (SEGV_MAPERR): Likewise.
23751         (SEGV_ACCERR): Likewise.
23752         (BUS_ADRALN): Likewise.
23753         (BUS_ADRERR): Likewise.
23754         (BUS_OBJERR): Likewise.
23755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23756         (TRAP_TRACE): Likewise.
23757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23758         __USE_XOPEN2K8].
23759         (CLD_KILLED): Likewise.
23760         (CLD_DUMPED): Likewise.
23761         (CLD_TRAPPED): Likewise.
23762         (CLD_STOPPED): Likewise.
23763         (CLD_CONTINUED): Likewise.
23764         (POLL_IN): Likewise.
23765         (POLL_OUT): Likewise.
23766         (POLL_MSG): Likewise.
23767         (POLL_ERR): Likewise.
23768         (POLL_PRI): Likewise.
23769         (POLL_HUP): Likewise.
23770         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
23771         Likewise.
23772         (ILL_ILLOPN): Likewise.
23773         (ILL_ILLADR): Likewise.
23774         (ILL_ILLTRP): Likewise.
23775         (ILL_PRVOPC): Likewise.
23776         (ILL_PRVREG): Likewise.
23777         (ILL_COPROC): Likewise.
23778         (ILL_BADSTK): Likewise.
23779         (FPE_INTDIV): Likewise.
23780         (FPE_INTOVF): Likewise.
23781         (FPE_FLTDIV): Likewise.
23782         (FPE_FLTOVF): Likewise.
23783         (FPE_FLTUND): Likewise.
23784         (FPE_FLTRES): Likewise.
23785         (FPE_FLTINV): Likewise.
23786         (FPE_FLTSUB): Likewise.
23787         (SEGV_MAPERR): Likewise.
23788         (SEGV_ACCERR): Likewise.
23789         (BUS_ADRALN): Likewise.
23790         (BUS_ADRERR): Likewise.
23791         (BUS_OBJERR): Likewise.
23792         (BUS_MCEERR_AR): Likewise.
23793         (BUS_MCEERR_AO): Likewise.
23794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23795         (TRAP_TRACE): Likewise.
23796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23797         __USE_XOPEN2K8].
23798         (CLD_KILLED): Likewise.
23799         (CLD_DUMPED): Likewise.
23800         (CLD_TRAPPED): Likewise.
23801         (CLD_STOPPED): Likewise.
23802         (CLD_CONTINUED): Likewise.
23803         (POLL_IN): Likewise.
23804         (POLL_OUT): Likewise.
23805         (POLL_MSG): Likewise.
23806         (POLL_ERR): Likewise.
23807         (POLL_PRI): Likewise.
23808         (POLL_HUP): Likewise.
23809         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
23810         (ILL_ILLOPN): Likewise.
23811         (ILL_ILLADR): Likewise.
23812         (ILL_ILLTRP): Likewise.
23813         (ILL_PRVOPC): Likewise.
23814         (ILL_PRVREG): Likewise.
23815         (ILL_COPROC): Likewise.
23816         (ILL_BADSTK): Likewise.
23817         (FPE_INTDIV): Likewise.
23818         (FPE_INTOVF): Likewise.
23819         (FPE_FLTDIV): Likewise.
23820         (FPE_FLTOVF): Likewise.
23821         (FPE_FLTUND): Likewise.
23822         (FPE_FLTRES): Likewise.
23823         (FPE_FLTINV): Likewise.
23824         (FPE_FLTSUB): Likewise.
23825         (SEGV_MAPERR): Likewise.
23826         (SEGV_ACCERR): Likewise.
23827         (BUS_ADRALN): Likewise.
23828         (BUS_ADRERR): Likewise.
23829         (BUS_OBJERR): Likewise.
23830         (BUS_MCEERR_AR): Likewise.
23831         (BUS_MCEERR_AO): Likewise.
23832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23833         (TRAP_TRACE): Likewise.
23834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23835         __USE_XOPEN2K8].
23836         (CLD_KILLED): Likewise.
23837         (CLD_DUMPED): Likewise.
23838         (CLD_TRAPPED): Likewise.
23839         (CLD_STOPPED): Likewise.
23840         (CLD_CONTINUED): Likewise.
23841         (POLL_IN): Likewise.
23842         (POLL_OUT): Likewise.
23843         (POLL_MSG): Likewise.
23844         (POLL_ERR): Likewise.
23845         (POLL_PRI): Likewise.
23846         (POLL_HUP): Likewise.
23847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
23848         Likewise.
23849         (ILL_ILLOPN): Likewise.
23850         (ILL_ILLADR): Likewise.
23851         (ILL_ILLTRP): Likewise.
23852         (ILL_PRVOPC): Likewise.
23853         (ILL_PRVREG): Likewise.
23854         (ILL_COPROC): Likewise.
23855         (ILL_BADSTK): Likewise.
23856         (ILL_BADIADDR): Likewise.
23857         (ILL_BREAK): Likewise.
23858         (FPE_INTDIV): Likewise.
23859         (FPE_INTOVF): Likewise.
23860         (FPE_FLTDIV): Likewise.
23861         (FPE_FLTOVF): Likewise.
23862         (FPE_FLTUND): Likewise.
23863         (FPE_FLTRES): Likewise.
23864         (FPE_FLTINV): Likewise.
23865         (FPE_FLTSUB): Likewise.
23866         (FPE_DECOVF): Likewise.
23867         (FPE_DECDIV): Likewise.
23868         (FPE_DECERR): Likewise.
23869         (FPE_INVASC): Likewise.
23870         (FPE_INVDEC): Likewise.
23871         (SEGV_MAPERR): Likewise.
23872         (SEGV_ACCERR): Likewise.
23873         (SEGV_PSTKOVF): Likewise.
23874         (BUS_ADRALN): Likewise.
23875         (BUS_ADRERR): Likewise.
23876         (BUS_OBJERR): Likewise.
23877         (BUS_MCEERR_AR): Likewise.
23878         (BUS_MCEERR_AO): Likewise.
23879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23880         (TRAP_TRACE): Likewise.
23881         (TRAP_BRANCH): Likewise.
23882         (TRAP_HWBKPT): Likewise.
23883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23884         __USE_XOPEN2K8].
23885         (CLD_KILLED): Likewise.
23886         (CLD_DUMPED): Likewise.
23887         (CLD_TRAPPED): Likewise.
23888         (CLD_STOPPED): Likewise.
23889         (CLD_CONTINUED): Likewise.
23890         (POLL_IN): Likewise.
23891         (POLL_OUT): Likewise.
23892         (POLL_MSG): Likewise.
23893         (POLL_ERR): Likewise.
23894         (POLL_PRI): Likewise.
23895         (POLL_HUP): Likewise.
23896         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
23897         (ILL_ILLOPN): Likewise.
23898         (ILL_ILLADR): Likewise.
23899         (ILL_ILLTRP): Likewise.
23900         (ILL_PRVOPC): Likewise.
23901         (ILL_PRVREG): Likewise.
23902         (ILL_COPROC): Likewise.
23903         (ILL_BADSTK): Likewise.
23904         (FPE_INTDIV): Likewise.
23905         (FPE_INTOVF): Likewise.
23906         (FPE_FLTDIV): Likewise.
23907         (FPE_FLTOVF): Likewise.
23908         (FPE_FLTUND): Likewise.
23909         (FPE_FLTRES): Likewise.
23910         (FPE_FLTINV): Likewise.
23911         (FPE_FLTSUB): Likewise.
23912         (SEGV_MAPERR): Likewise.
23913         (SEGV_ACCERR): Likewise.
23914         (BUS_ADRALN): Likewise.
23915         (BUS_ADRERR): Likewise.
23916         (BUS_OBJERR): Likewise.
23917         (BUS_MCEERR_AR): Likewise.
23918         (BUS_MCEERR_AO): Likewise.
23919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23920         (TRAP_TRACE): Likewise.
23921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23922         __USE_XOPEN2K8].
23923         (CLD_KILLED): Likewise.
23924         (CLD_DUMPED): Likewise.
23925         (CLD_TRAPPED): Likewise.
23926         (CLD_STOPPED): Likewise.
23927         (CLD_CONTINUED): Likewise.
23928         (POLL_IN): Likewise.
23929         (POLL_OUT): Likewise.
23930         (POLL_MSG): Likewise.
23931         (POLL_ERR): Likewise.
23932         (POLL_PRI): Likewise.
23933         (POLL_HUP): Likewise.
23934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
23935         (ILL_ILLOPN): Likewise.
23936         (ILL_ILLADR): Likewise.
23937         (ILL_ILLTRP): Likewise.
23938         (ILL_PRVOPC): Likewise.
23939         (ILL_PRVREG): Likewise.
23940         (ILL_COPROC): Likewise.
23941         (ILL_BADSTK): Likewise.
23942         (FPE_INTDIV): Likewise.
23943         (FPE_INTOVF): Likewise.
23944         (FPE_FLTDIV): Likewise.
23945         (FPE_FLTOVF): Likewise.
23946         (FPE_FLTUND): Likewise.
23947         (FPE_FLTRES): Likewise.
23948         (FPE_FLTINV): Likewise.
23949         (FPE_FLTSUB): Likewise.
23950         (SEGV_MAPERR): Likewise.
23951         (SEGV_ACCERR): Likewise.
23952         (BUS_ADRALN): Likewise.
23953         (BUS_ADRERR): Likewise.
23954         (BUS_OBJERR): Likewise.
23955         (BUS_MCEERR_AR): Likewise.
23956         (BUS_MCEERR_AO): Likewise.
23957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23958         (TRAP_TRACE): Likewise.
23959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23960         __USE_XOPEN2K8].
23961         (CLD_KILLED): Likewise.
23962         (CLD_DUMPED): Likewise.
23963         (CLD_TRAPPED): Likewise.
23964         (CLD_STOPPED): Likewise.
23965         (CLD_CONTINUED): Likewise.
23966         (POLL_IN): Likewise.
23967         (POLL_OUT): Likewise.
23968         (POLL_MSG): Likewise.
23969         (POLL_ERR): Likewise.
23970         (POLL_PRI): Likewise.
23971         (POLL_HUP): Likewise.
23972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
23973         (ILL_ILLOPN): Likewise.
23974         (ILL_ILLADR): Likewise.
23975         (ILL_ILLTRP): Likewise.
23976         (ILL_PRVOPC): Likewise.
23977         (ILL_PRVREG): Likewise.
23978         (ILL_COPROC): Likewise.
23979         (ILL_BADSTK): Likewise.
23980         (FPE_INTDIV): Likewise.
23981         (FPE_INTOVF): Likewise.
23982         (FPE_FLTDIV): Likewise.
23983         (FPE_FLTOVF): Likewise.
23984         (FPE_FLTUND): Likewise.
23985         (FPE_FLTRES): Likewise.
23986         (FPE_FLTINV): Likewise.
23987         (FPE_FLTSUB): Likewise.
23988         (SEGV_MAPERR): Likewise.
23989         (SEGV_ACCERR): Likewise.
23990         (BUS_ADRALN): Likewise.
23991         (BUS_ADRERR): Likewise.
23992         (BUS_OBJERR): Likewise.
23993         (BUS_MCEERR_AR): Likewise.
23994         (BUS_MCEERR_AO): Likewise.
23995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
23996         (TRAP_TRACE): Likewise.
23997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
23998         __USE_XOPEN2K8].
23999         (CLD_KILLED): Likewise.
24000         (CLD_DUMPED): Likewise.
24001         (CLD_TRAPPED): Likewise.
24002         (CLD_STOPPED): Likewise.
24003         (CLD_CONTINUED): Likewise.
24004         (POLL_IN): Likewise.
24005         (POLL_OUT): Likewise.
24006         (POLL_MSG): Likewise.
24007         (POLL_ERR): Likewise.
24008         (POLL_PRI): Likewise.
24009         (POLL_HUP): Likewise.
24010         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
24011         (ILL_ILLOPN): Likewise.
24012         (ILL_ILLADR): Likewise.
24013         (ILL_ILLTRP): Likewise.
24014         (ILL_PRVOPC): Likewise.
24015         (ILL_PRVREG): Likewise.
24016         (ILL_COPROC): Likewise.
24017         (ILL_BADSTK): Likewise.
24018         (ILL_DBLFLT): Likewise.
24019         (ILL_HARDWALL): Likewise.
24020         (FPE_INTDIV): Likewise.
24021         (FPE_INTOVF): Likewise.
24022         (FPE_FLTDIV): Likewise.
24023         (FPE_FLTOVF): Likewise.
24024         (FPE_FLTUND): Likewise.
24025         (FPE_FLTRES): Likewise.
24026         (FPE_FLTINV): Likewise.
24027         (FPE_FLTSUB): Likewise.
24028         (SEGV_MAPERR): Likewise.
24029         (SEGV_ACCERR): Likewise.
24030         (BUS_ADRALN): Likewise.
24031         (BUS_ADRERR): Likewise.
24032         (BUS_OBJERR): Likewise.
24033         (BUS_MCEERR_AR): Likewise.
24034         (BUS_MCEERR_AO): Likewise.
24035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24036         (TRAP_TRACE): Likewise.
24037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24038         __USE_XOPEN2K8].
24039         (CLD_KILLED): Likewise.
24040         (CLD_DUMPED): Likewise.
24041         (CLD_TRAPPED): Likewise.
24042         (CLD_STOPPED): Likewise.
24043         (CLD_CONTINUED): Likewise.
24044         (POLL_IN): Likewise.
24045         (POLL_OUT): Likewise.
24046         (POLL_MSG): Likewise.
24047         (POLL_ERR): Likewise.
24048         (POLL_PRI): Likewise.
24049         (POLL_HUP): Likewise.
24050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
24051         (ILL_ILLOPN): Likewise.
24052         (ILL_ILLADR): Likewise.
24053         (ILL_ILLTRP): Likewise.
24054         (ILL_PRVOPC): Likewise.
24055         (ILL_PRVREG): Likewise.
24056         (ILL_COPROC): Likewise.
24057         (ILL_BADSTK): Likewise.
24058         (FPE_INTDIV): Likewise.
24059         (FPE_INTOVF): Likewise.
24060         (FPE_FLTDIV): Likewise.
24061         (FPE_FLTOVF): Likewise.
24062         (FPE_FLTUND): Likewise.
24063         (FPE_FLTRES): Likewise.
24064         (FPE_FLTINV): Likewise.
24065         (FPE_FLTSUB): Likewise.
24066         (SEGV_MAPERR): Likewise.
24067         (SEGV_ACCERR): Likewise.
24068         (BUS_ADRALN): Likewise.
24069         (BUS_ADRERR): Likewise.
24070         (BUS_OBJERR): Likewise.
24071         (BUS_MCEERR_AR): Likewise.
24072         (BUS_MCEERR_AO): Likewise.
24073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
24074         (TRAP_TRACE): Likewise.
24075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
24076         __USE_XOPEN2K8].
24077         (CLD_KILLED): Likewise.
24078         (CLD_DUMPED): Likewise.
24079         (CLD_TRAPPED): Likewise.
24080         (CLD_STOPPED): Likewise.
24081         (CLD_CONTINUED): Likewise.
24082         (POLL_IN): Likewise.
24083         (POLL_OUT): Likewise.
24084         (POLL_MSG): Likewise.
24085         (POLL_ERR): Likewise.
24086         (POLL_PRI): Likewise.
24087         (POLL_HUP): Likewise.
24088         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
24089         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24091         [BZ #16670]
24092         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
24093         before #include of <time.h>.
24094         [!__USE_XOPEN2K] (__need_timespec): Likewise.
24095         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
24096         (test-xfail-UNIX98/sched.h/conform): Likewise.
24098 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
24100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
24101         error absence of trapping exception support.
24102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
24104 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
24106         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
24107         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
24108         * timezone/Makefile (testdata): Move definition above include of
24109         Rules.
24110         (test-zones): New variable.
24111         (tests-special): Add zone files.
24112         (build-testdata): Use $(evaluate-test).
24114         * elf/Makefile (tests-special): Rename tests to end with .out.
24115         ($(objpfx)noload-mem): Likewise.
24116         ($(objpfx)tst-leaks1-mem): Likewise.
24117         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
24118         * iconv/Makefile (xtests-special): Change test-iconvconfig to
24119         $(objpfx)test-iconvconfig.out.
24120         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
24121         set -e inside subshell and redirect output to file.
24122         * iconvdata/Makefile (generated): Rename tests to end with .out.
24123         Correct type.
24124         (tests-special): Rename tests to end with .out.
24125         ($(objpfx)mtrace-tst-loading): Likewise.
24126         * intl/Makefile (generated): Likewise.
24127         (tests-special): Likewise.
24128         ($(objpfx)mtrace-tst-gettext): Likewise.
24129         * misc/Makefile (generated): Likewise.
24130         (tests-special): Likewise.
24131         ($(objpfx)tst-error1-mem): Likewise.
24132         * nptl/Makefile (tests-special): Likewise.
24133         ($(objpfx)tst-stack3-mem): Likewise.
24134         (generated): Likewise.
24135         * posix/Makefile (generated): Likewise.
24136         (tests-special): Likewise.
24137         (xtests-special): Likewise.
24138         ($(objpfx)tst-fnmatch-mem): Likewise.
24139         ($(objpfx)bug-regex2-mem): Likewise.
24140         ($(objpfx)bug-regex14-mem): Likewise.
24141         ($(objpfx)bug-regex21-mem): Likewise.
24142         ($(objpfx)bug-regex31-mem): Likewise.
24143         ($(objpfx)tst-vfork3-mem): Likewise.
24144         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
24145         ($(objpfx)tst-pcre-mem): Likewise.
24146         ($(objpfx)tst-boost-mem): Likewise.
24147         ($(objpfx)bug-ga2-mem): Likewise.
24148         ($(objpfx)bug-glob2-mem): Likewise.
24149         * resolv/Makefile (generate): Likewise.
24150         (tests-special): Likewise.
24151         (xtests-special): Likewise.
24152         (generated): Likewise.
24153         ($(objpfx)mtrace-tst-leaks): Likewise.
24154         ($(objpfx)mtrace-tst-leaks2): Likewise.
24156         * scripts/merge-test-results.sh: New file.
24157         * Makefile (tests-special-notdir): New variable.
24158         (tests): Run merge-test-results.sh.
24159         (xtests): Likewise.
24160         * Rules (tests-special-notdir): New variable.
24161         (xtests-special-notdir): Likewise.
24162         (tests): Run merge-test-results.sh
24163         (xtests): Likewise.
24165         * Makeconfig (test-xfail-name): New variable.
24166         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
24167         compute variable name for expected failures.
24168         * conform/Makefile (conformtest-headers-data): New variable.
24169         (conformtest-standards): Likewise.
24170         (conformtest-headers-ISO): Likewise.
24171         (conformtest-headers-ISO99): Likewise.
24172         (conformtest-headers-ISO11): Likewise.
24173         (conformtest-headers-POSIX): Likewise.
24174         (conformtest-headers-XPG3): Likewise.
24175         (conformtest-headers-XPG4): Likewise.
24176         (conformtest-headers-UNIX98): Likewise.
24177         (conformtest-headers-XOPEN2K): Likewise.
24178         (conformtest-headers-POSIX2008): Likewise.
24179         (conformtest-headers-XOPEN2K8): Likewise.
24180         (conformtest-header-list-base): Likewise.
24181         (conformtest-header-list-tests): Likewise.
24182         (conformtest-header-base): Likewise.
24183         (conformtest-header-tests): Likewise.
24184         (tests-special): Add $(conformtest-header-list-tests).  If
24185         [$(fast-check) && !$(cross-compiling)], add
24186         $(conformtest-header-tests) instead of
24187         $(objpfx)run-conformtest.out.
24188         (generated): Add $(conformtest-header-list-base).  If
24189         [$(fast-check) && !$(cross-compiling)], add
24190         $(conformtest-header-base).  Remove previous setting.
24191         ($(conformtest-header-list-tests)): New target.
24192         (test-xfail-run-conformtest): Remove variable.
24193         ($(objpfx)run-conformtest.out): Remove target.
24194         (test-xfail-ISO11/complex.h/conform): New variable.
24195         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24196         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24197         (test-xfail-XPG3/varargs.h/conform): Likewise.
24198         (test-xfail-XPG4/varargs.h/conform): Likewise.
24199         (test-xfail-UNIX98/varargs.h/conform): Likewise.
24200         (test-xfail-XPG4/ndbm.h/conform): Likewise.
24201         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
24202         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
24203         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
24204         (test-xfail-XPG3/fcntl.h/conform): Likewise.
24205         (test-xfail-XPG3/ftw.h/conform): Likewise.
24206         (test-xfail-XPG3/grp.h/conform): Likewise.
24207         (test-xfail-XPG3/langinfo.h/conform): Likewise.
24208         (test-xfail-XPG3/limits.h/conform): Likewise.
24209         (test-xfail-XPG3/pwd.h/conform): Likewise.
24210         (test-xfail-XPG3/search.h/conform): Likewise.
24211         (test-xfail-XPG3/signal.h/conform): Likewise.
24212         (test-xfail-XPG3/stdio.h/conform): Likewise.
24213         (test-xfail-XPG3/stdlib.h/conform): Likewise.
24214         (test-xfail-XPG3/string.h/conform): Likewise.
24215         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
24216         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
24217         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24218         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
24219         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
24220         (test-xfail-XPG3/sys/types.h/conform): Likewise.
24221         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
24222         (test-xfail-XPG3/termios.h/conform): Likewise.
24223         (test-xfail-XPG3/time.h/conform): Likewise.
24224         (test-xfail-XPG3/unistd.h/conform): Likewise.
24225         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
24226         (test-xfail-XPG4/fcntl.h/conform): Likewise.
24227         (test-xfail-XPG4/langinfo.h/conform): Likewise.
24228         (test-xfail-XPG4/netdb.h/conform): Likewise.
24229         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
24230         (test-xfail-XPG4/signal.h/conform): Likewise.
24231         (test-xfail-XPG4/stdio.h/conform): Likewise.
24232         (test-xfail-XPG4/stdlib.h/conform): Likewise.
24233         (test-xfail-XPG4/stropts.h/conform): Likewise.
24234         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24235         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
24236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
24238         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24239         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
24240         (test-xfail-XPG4/sys/time.h/conform): Likewise.
24241         (test-xfail-XPG4/sys/types.h/conform): Likewise.
24242         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
24243         (test-xfail-XPG4/termios.h/conform): Likewise.
24244         (test-xfail-XPG4/ucontext.h/conform): Likewise.
24245         (test-xfail-XPG4/unistd.h/conform): Likewise.
24246         (test-xfail-XPG4/utmpx.h/conform): Likewise.
24247         (test-xfail-POSIX/sched.h/conform): Likewise.
24248         (test-xfail-POSIX/signal.h/conform): Likewise.
24249         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24250         (test-xfail-POSIX/tar.h/conform): Likewise.
24251         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
24252         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
24253         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
24254         (test-xfail-UNIX98/netdb.h/conform): Likewise.
24255         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
24256         (test-xfail-UNIX98/sched.h/conform): Likewise.
24257         (test-xfail-UNIX98/signal.h/conform): Likewise.
24258         (test-xfail-UNIX98/stdio.h/conform): Likewise.
24259         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
24260         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24261         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24262         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
24263         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24264         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
24265         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24266         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
24267         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
24268         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
24269         (test-xfail-UNIX98/unistd.h/conform): Likewise.
24270         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
24271         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
24272         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
24273         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
24274         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
24275         (test-xfail-XOPEN2K/math.h/conform): Likewise.
24276         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
24277         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
24278         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
24279         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
24280         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
24281         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
24282         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
24283         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24284         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24285         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
24286         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24287         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
24288         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24289         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
24290         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
24291         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
24292         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
24293         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24294         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
24295         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24296         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
24297         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
24298         (test-xfail-POSIX2008/signal.h/conform): Likewise.
24299         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24300         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
24301         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
24302         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
24303         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24304         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
24305         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
24306         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
24307         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24308         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
24309         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
24310         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
24311         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
24312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
24313         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
24314         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
24315         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
24316         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
24317         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24318         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
24319         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
24320         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
24321         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
24322         (conformtest-cc-flags): Likewise.
24323         ($(conformtest-header-tests): New target.
24324         * conform/check-header-lists.sh: New file.
24325         * conform/run-conformtest.sh: Remove.
24327         * conform/conformtest.pl: Allow ' and \ in values given for
24328         constants.
24329         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
24330         inclusion.
24331         [POSIX] (sys/types.h): Likewise.
24332         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
24333         inclusion.
24334         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
24335         inclusion.
24336         * conform/data/signal.h-data (SIGIO): Remove expectation.
24337         [XPG3] (SIGBUS): Do not expect.
24338         [POSIX || XPG3] (SIGPOLL): Likewise.
24339         [POSIX || XPG3] (SIGPROF): Likewise.
24340         [POSIX || XPG3] (SIGSYS): Likewise.
24341         [XPG3] (SIGTRAP): Likewise.
24342         [POSIX || XPG3] (SIGURG): Likewise.
24343         [POSIX || XPG3] (SIGVTALRM): Likewise.
24344         [POSIX || XPG3] (SIGXCPU): Likewise.
24345         [POSIX || XPG3] (SIGXFSZ): Likewise.
24346         [POSIX] (SA_SIGINFO): Expect.
24347         [XPG3] (siginfo_t): Do not expect type or contents.
24348         [POSIX] (si_pid): Do not expect element.
24349         [POSIX] (si_uid): Likewise.
24350         [POSIX] (si_addr): Likewise.
24351         [POSIX] (si_status): Likewise.
24352         [POSIX] (si_band): Likewise.
24353         [XPG4] (si_value): Likewise.
24354         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
24355         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
24356         [POSIX || XPG3] (ILL_ILLADR): Likewise.
24357         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
24358         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
24359         [POSIX || XPG3] (ILL_PRVREG): Likewise.
24360         [POSIX || XPG3] (ILL_COPROC): Likewise.
24361         [POSIX || XPG3] (ILL_BADSTK): Likewise.
24362         [POSIX || XPG3] (FPE_INTDIV): Likewise.
24363         [POSIX || XPG3] (FPE_INTOVF): Likewise.
24364         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
24365         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
24366         [POSIX || XPG3] (FPE_FLTUND): Likewise.
24367         [POSIX || XPG3] (FPE_FLTRES): Likewise.
24368         [POSIX || XPG3] (FPE_FLTINV): Likewise.
24369         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
24370         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
24371         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
24372         [POSIX || XPG3] (BUS_ADRALN): Likewise.
24373         [POSIX || XPG3] (BUS_ADRERR): Likewise.
24374         [POSIX || XPG3] (BUS_OBJERR): Likewise.
24375         [POSIX || XPG3] (CLD_EXITED): Likewise.
24376         [POSIX || XPG3] (CLD_KILLED): Likewise.
24377         [POSIX || XPG3] (CLD_DUMPED): Likewise.
24378         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
24379         [POSIX || XPG3] (CLD_STOPPED): Likewise.
24380         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
24381         [POSIX || XPG3] (POLL_IN): Likewise.
24382         [POSIX || XPG3] (POLL_OUT): Likewise.
24383         [POSIX || XPG3] (POLL_MSG): Likewise.
24384         [POSIX || XPG3] (POLL_ERR): Likewise.
24385         [POSIX || XPG3] (POLL_PRI): Likewise.
24386         [POSIX || XPG3] (POLL_HUP): Likewise.
24387         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
24388         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
24389         (SIG*): Do not allow.
24390         [XPG3] (si_*): Likewise.
24391         [XPG3] (SI_*): Likewise.
24392         [XPG3 || XPG4] (sigev_*): Likewise.
24393         [XPG3 || XPG4] (SIGEV_*): Likewise.
24394         [XPG3 || XPG4] (sival_*): Likewise.
24395         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
24396         [POSIX || XPG3] (BUS_*): Likewise.
24397         [POSIX || XPG3] (CLD_*): Likewise.
24398         [POSIX || XPG3] (FPE_*): Likewise.
24399         [POSIX || XPG3] (ILL_*): Likewise.
24400         [POSIX || XPG3] (POLL_*): Likewise.
24401         [POSIX || XPG3] (SEGV_*): Likewise.
24402         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
24403         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
24404         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
24405         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
24406         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
24407         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
24408         Specify type and value.
24409         (TVERSLEN): Likewise.
24410         (REGTYPE): Likewise.
24411         (AREGTYPE): Likewise.
24412         (LNKTYPE): Likewise.
24413         (SYMTYPE): Likewise.
24414         (CHRTYPE): Likewise.
24415         (BLKTYPE): Likewise.
24416         (DIRTYPE): Likewise.
24417         (FIFOTYPE): Likewise.
24418         (CONTTYPE): Likewise.
24419         (TSUID): Likewise.
24420         (TSGID): Likewise.
24421         (TSVTX): Likewise.
24422         (TUREAD): Likewise.
24423         (TUWRITE): Likewise.
24424         (TUEXEC): Likewise.
24425         (TGREAD): Likewise.
24426         (TGWRITE): Likewise.
24427         (TGEXEC): Likewise.
24428         (TOREAD): Likewise.
24429         (TOWRITE): Likewise.
24430         (TOEXEC): Likewise.
24431         [POSIX] (TSVTX): Expect constant.
24433 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
24435         * Makefile (tests): Change dependencies to ....
24436         (tests-special): ... additions to this variable.
24437         (tests): Depend on $(tests-special).
24438         * Makerules (check-abi-list): New variable.
24439         (check-abi): Depend on $(check-abi-list).
24440         [$(subdir) = elf] (tests-special): Add
24441         $(objpfx)check-abi-libc.out.
24442         [$(build-shared) = yes && subdir] (tests-special): Add
24443         $(check-abi-list).
24444         [$(build-shared) = yes && subdir] (tests): Do not depend on
24445         check-abi.
24446         * Rules (tests): Depend on $(tests-special).
24447         (xtests): Depend on $(xtests-special).
24448         * catgets/Makefile (tests): Change dependencies to ....
24449         (tests-special): ... additions to this variable.
24450         * conform/Makefile (tests): Change dependencies to ....
24451         (tests-special): ... additions to this variable.
24452         * elf/Makefile (tests): Change dependencies to ....
24453         (tests-special): ... additions to this variable.
24454         * grp/Makefile (tests): Change dependencies to ....
24455         (tests-special): ... additions to this variable.
24456         * iconv/Makefile (xtests): Change dependencies to ....
24457         (xtests-special): ... additions to this variable.
24458         * iconvdata/Makefile (tests): Change dependencies to ....
24459         (tests-special): ... additions to this variable.
24460         * intl/Makefile (tests): Change dependencies to ....
24461         (tests-special): ... additions to this variable.  Also add
24462         $(objpfx)tst-gettext.out.
24463         * io/Makefile (tests): Change dependencies to ....
24464         (tests-special): ... additions to this variable.
24465         * libio/Makefile (tests): Change dependencies to ....
24466         (tests-special): ... additions to this variable.
24467         * malloc/Makefile (tests): Change dependencies to ....
24468         (tests-special): ... additions to this variable.
24469         * misc/Makefile (tests): Change dependencies to ....
24470         (tests-special): ... additions to this variable.
24471         * nptl/Makefile (tests): Change dependencies to ....
24472         (tests-special): ... additions to this variable.
24473         * nptl_db/Makefile (tests): Change dependencies to ....
24474         (tests-special): ... additions to this variable.
24475         * posix/Makefile (tests): Change dependencies to ....
24476         (tests-special): ... additions to this variable.
24477         (xtests): Change dependencies to ....
24478         (xtests-special): ... additions to this variable.
24479         * resolv/Makefile (tests): Change dependencies to ....
24480         (tests-special): ... additions to this variable.
24481         (xtests): Change dependencies to ....
24482         (xtests-special): ... additions to this variable.
24483         * stdio-common/Makefile (tests): Change dependencies to ....
24484         (tests-special): ... additions to this variable.
24485         (do-tst-unbputc): Remove target.
24486         (do-tst-printf): Likewise.
24487         * stdlib/Makefile (tests): Change dependencies to ....
24488         (tests-special): ... additions to this variable.
24489         * string/Makefile (tests): Change dependencies to ....
24490         (tests-special): ... additions to this variable.
24491         * sysdeps/x86/Makefile (tests): Change dependencies to ....
24492         (tests-special): ... additions to this variable.
24494         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
24495         whole file.
24496         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
24497         whole file.
24498         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
24499         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
24501         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
24502         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
24503         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
24504         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
24505         * conform/data/libgen.h-data [XPG3]: Likewise.
24506         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
24507         * conform/data/ndbm.h-data [XPG3]: Likewise.
24508         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24509         * conform/data/netdb.h-data [XPG3]: Likewise.
24510         * conform/data/netinet/in.h-data [XPG3]: Likewise.
24511         * conform/data/poll.h-data [XPG3]: Likewise.
24512         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
24513         * conform/data/strings.h-data [XPG3]: Likewise.
24514         * conform/data/stropts.h-data [XPG3]: Likewise.
24515         * conform/data/sys/mman.h-data [XPG3]: Likewise.
24516         * conform/data/sys/resource.h-data [XPG3]: Likewise.
24517         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
24518         Likewise.
24519         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
24520         * conform/data/sys/time.h-data [XPG3]: Likewise.
24521         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
24522         * conform/data/sys/uio.h-data [XPG3]: Likewise.
24523         * conform/data/sys/un.h-data [XPG3]: Likewise.
24524         * conform/data/syslog.h-data [XPG3]: Likewise.
24525         * conform/data/ucontext.h-data [XPG3]: Likewise.
24526         * conform/data/utmpx.h-data [XPG3]: Likewise.
24527         * conform/data/varargs.h-data [UNIX98]: Enable file.
24529         * manual/Makefile (INSTALL_INFO): Remove variable setting.
24531         * math/libm-test.inc (struct test_f_f_data): Move expected results
24532         into structure for each rounding mode.
24533         (struct test_ff_f_data): Likewise.
24534         (struct test_ff_f_data_nexttoward): Likewise.
24535         (struct test_fi_f_data): Likewise.
24536         (struct test_fl_f_data): Likewise.
24537         (struct test_if_f_data): Likewise.
24538         (struct test_fff_f_data): Likewise.
24539         (struct test_c_f_data): Likewise.
24540         (struct test_f_f1_data): Likewise.
24541         (struct test_fF_f1_data): Likewise.
24542         (struct test_ffI_f1_data): Likewise.
24543         (struct test_c_c_data): Likewise.
24544         (struct test_cc_c_data): Likewise.
24545         (struct test_f_i_data): Likewise.
24546         (struct test_ff_i_data): Likewise.
24547         (struct test_f_l_data): Likewise.
24548         (struct test_f_L_data): Likewise.
24549         (struct test_fFF_11_data): Likewise.
24550         (RM_): New macro.
24551         (RM_FE_DOWNWARD): Likewise.
24552         (RM_FE_TONEAREST): Likewise.
24553         (RM_FE_TOWARDZERO): Likewise.
24554         (RM_FE_UPWARD): Likewise.
24555         (RUN_TEST_LOOP_f_f): Update references to expected results.
24556         (RUN_TEST_LOOP_2_f): Likewise.
24557         (RUN_TEST_LOOP_fff_f): Likewise.
24558         (RUN_TEST_LOOP_c_f): Likewise.
24559         (RUN_TEST_LOOP_f_f1): Likewise.
24560         (RUN_TEST_LOOP_fF_f1): Likewise.
24561         (RUN_TEST_LOOP_fI_f1): Likewise.
24562         (RUN_TEST_LOOP_ffI_f1): Likewise.
24563         (RUN_TEST_LOOP_c_c): Likewise.
24564         (RUN_TEST_LOOP_cc_c): Likewise.
24565         (RUN_TEST_LOOP_f_i): Likewise.
24566         (RUN_TEST_LOOP_f_i_tg): Likewise.
24567         (RUN_TEST_LOOP_ff_i_tg): Likewise.
24568         (RUN_TEST_LOOP_f_b): Likewise.
24569         (RUN_TEST_LOOP_f_b_tg): Likewise.
24570         (RUN_TEST_LOOP_f_l): Likewise.
24571         (RUN_TEST_LOOP_f_L): Likewise.
24572         (RUN_TEST_LOOP_fFF_11): Likewise.
24573         * math/gen-libm-test.pl (parse_args): Output four copies of
24574         expected results for each test.
24576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24577         (__ASSUME_UTIMES): Remove.
24578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24579         (__ASSUME_UTIMES): Likewise.
24581         * math/gen-auto-libm-tests.c: Update comment on output format.
24582         (output_for_one_input_case): Generate before-rounding and
24583         after-rounding information as conditions on output flags not
24584         floating-point format.
24585         * math/auto-libm-test-out: Regenerated.
24586         * math/gen-libm-test.pl (cond_value): New function.
24587         (or_cond_value): Use cond_value.
24588         (generate_testfile): Handle conditional exceptions.
24590 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
24592         * math/libm-test.inc (max_valid_error): New variable.
24593         (init_max_error): Take new argument specifying whether function
24594         results are exactly determined.  Set max_valid_error and bound
24595         other variables for errors based on this argument.
24596         (set_max_error): Do not record results above max_valid_error.
24597         (check_float_internal): Only accept errors of up to 0.5ulps if
24598         also at most max_valid_error.
24599         (START): Take new argument EXACT and pass it to init_max_error.
24600         (acos_test): Update call to START.
24601         (acos_test_tonearest): Likewise.
24602         (acos_test_towardzero): Likewise.
24603         (acos_test_downward): Likewise.
24604         (acos_test_upward): Likewise.
24605         (acosh_test): Likewise.
24606         (asin_test): Likewise.
24607         (asin_test_tonearest): Likewise.
24608         (asin_test_towardzero): Likewise.
24609         (asin_test_downward): Likewise.
24610         (asin_test_upward): Likewise.
24611         (asinh_test): Likewise.
24612         (atan_test): Likewise.
24613         (atanh_test): Likewise.
24614         (atan2_test): Likewise.
24615         (cabs_test): Likewise.
24616         (cacos_test): Likewise.
24617         (cacosh_test): Likewise.
24618         (carg_test): Likewise.
24619         (casin_test): Likewise.
24620         (casinh_test): Likewise.
24621         (catan_test): Likewise.
24622         (catanh_test): Likewise.
24623         (cbrt_test): Likewise.
24624         (ccos_test): Likewise.
24625         (ccosh_test): Likewise.
24626         (ceil_test): Likewise.
24627         (cexp_test): Likewise.
24628         (cimag_test): Likewise.
24629         (clog_test): Likewise.
24630         (clog10_test): Likewise.
24631         (conj_test): Likewise.
24632         (copysign_test): Likewise.
24633         (cos_test): Likewise.
24634         (cos_test_tonearest): Likewise.
24635         (cos_test_towardzero): Likewise.
24636         (cos_test_downward): Likewise.
24637         (cos_test_upward): Likewise.
24638         (cosh_test): Likewise.
24639         (cosh_test_tonearest): Likewise.
24640         (cosh_test_towardzero): Likewise.
24641         (cosh_test_downward): Likewise.
24642         (cosh_test_upward): Likewise.
24643         (cpow_test): Likewise.
24644         (cproj_test): Likewise.
24645         (creal_test): Likewise.
24646         (csin_test): Likewise.
24647         (csinh_test): Likewise.
24648         (csqrt_test): Likewise.
24649         (ctan_test): Likewise.
24650         (ctan_test_tonearest): Likewise.
24651         (ctan_test_towardzero): Likewise.
24652         (ctan_test_downward): Likewise.
24653         (ctan_test_upward): Likewise.
24654         (ctanh_test): Likewise.
24655         (ctanh_test_tonearest): Likewise.
24656         (ctanh_test_towardzero): Likewise.
24657         (ctanh_test_downward): Likewise.
24658         (ctanh_test_upward): Likewise.
24659         (erf_test): Likewise.
24660         (erfc_test): Likewise.
24661         (exp_test): Likewise.
24662         (exp_test_tonearest): Likewise.
24663         (exp_test_towardzero): Likewise.
24664         (exp_test_downward): Likewise.
24665         (exp_test_upward): Likewise.
24666         (exp10_test): Likewise.
24667         (exp10_test_tonearest): Likewise.
24668         (exp10_test_towardzero): Likewise.
24669         (exp10_test_downward): Likewise.
24670         (exp10_test_upward): Likewise.
24671         (pow10_test): Likewise.
24672         (exp2_test): Likewise.
24673         (expm1_test): Likewise.
24674         (expm1_test_tonearest): Likewise.
24675         (expm1_test_towardzero): Likewise.
24676         (expm1_test_downward): Likewise.
24677         (expm1_test_upward): Likewise.
24678         (fabs_test): Likewise.
24679         (fdim_test): Likewise.
24680         (floor_test): Likewise.
24681         (fma_test): Likewise.
24682         (fma_test_towardzero): Likewise.
24683         (fma_test_downward): Likewise.
24684         (fma_test_upward): Likewise.
24685         (fmax_test): Likewise.
24686         (fmin_test): Likewise.
24687         (fmod_test): Likewise.
24688         (fpclassify_test): Likewise.
24689         (frexp_test): Likewise.
24690         (hypot_test): Likewise.
24691         (ilogb_test): Likewise.
24692         (isfinite_test): Likewise.
24693         (finite_test): Likewise.
24694         (isgreater_test): Likewise.
24695         (isgreaterequal_test): Likewise.
24696         (isinf_test): Likewise.
24697         (isless_test): Likewise.
24698         (islessequal_test): Likewise.
24699         (islessgreater_test): Likewise.
24700         (isnan_test): Likewise.
24701         (isnormal_test): Likewise.
24702         (issignaling_test): Likewise.
24703         (isunordered_test): Likewise.
24704         (j0_test): Likewise.
24705         (j1_test): Likewise.
24706         (jn_test): Likewise.
24707         (ldexp_test): Likewise.
24708         (lgamma_test): Likewise.
24709         (gamma_test): Likewise.
24710         (lrint_test): Likewise.
24711         (lrint_test_tonearest): Likewise.
24712         (lrint_test_towardzero): Likewise.
24713         (lrint_test_downward): Likewise.
24714         (lrint_test_upward): Likewise.
24715         (llrint_test): Likewise.
24716         (llrint_test_tonearest): Likewise.
24717         (llrint_test_towardzero): Likewise.
24718         (llrint_test_downward): Likewise.
24719         (llrint_test_upward): Likewise.
24720         (log_test): Likewise.
24721         (log10_test): Likewise.
24722         (log1p_test): Likewise.
24723         (log2_test): Likewise.
24724         (logb_test): Likewise.
24725         (logb_test_downward): Likewise.
24726         (lround_test): Likewise.
24727         (llround_test): Likewise.
24728         (modf_test): Likewise.
24729         (nearbyint_test): Likewise.
24730         (nextafter_test): Likewise.
24731         (nexttoward_test): Likewise.
24732         (pow_test): Likewise.
24733         (pow_test_tonearest): Likewise.
24734         (pow_test_towardzero): Likewise.
24735         (pow_test_downward): Likewise.
24736         (pow_test_upward): Likewise.
24737         (remainder_test): Likewise.
24738         (drem_test): Likewise.
24739         (remainder_test_tonearest): Likewise.
24740         (drem_test_tonearest): Likewise.
24741         (remainder_test_towardzero): Likewise.
24742         (drem_test_towardzero): Likewise.
24743         (remainder_test_downward): Likewise.
24744         (drem_test_downward): Likewise.
24745         (remainder_test_upward): Likewise.
24746         (drem_test_upward): Likewise.
24747         (remquo_test): Likewise.
24748         (rint_test): Likewise.
24749         (rint_test_tonearest): Likewise.
24750         (rint_test_towardzero): Likewise.
24751         (rint_test_downward): Likewise.
24752         (rint_test_upward): Likewise.
24753         (round_test): Likewise.
24754         (scalb_test): Likewise.
24755         (scalbn_test): Likewise.
24756         (scalbln_test): Likewise.
24757         (signbit_test): Likewise.
24758         (sin_test): Likewise.
24759         (sin_test_tonearest): Likewise.
24760         (sin_test_towardzero): Likewise.
24761         (sin_test_downward): Likewise.
24762         (sin_test_upward): Likewise.
24763         (sincos_test): Likewise.
24764         (sinh_test): Likewise.
24765         (sinh_test_tonearest): Likewise.
24766         (sinh_test_towardzero): Likewise.
24767         (sinh_test_downward): Likewise.
24768         (sinh_test_upward): Likewise.
24769         (sqrt_test): Likewise.
24770         (sqrt_test_tonearest): Likewise.
24771         (sqrt_test_towardzero): Likewise.
24772         (sqrt_test_downward): Likewise.
24773         (sqrt_test_upward): Likewise.
24774         (tan_test): Likewise.
24775         (tan_test_tonearest): Likewise.
24776         (tan_test_towardzero): Likewise.
24777         (tan_test_downward): Likewise.
24778         (tan_test_upward): Likewise.
24779         (tanh_test): Likewise.
24780         (tgamma_test): Likewise.
24781         (trunc_test): Likewise.
24782         (y0_test): Likewise.
24783         (y1_test): Likewise.
24784         (yn_test): Likewise.
24785         (significand_test): Likewise.
24787         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
24788         individual tests in comment.
24789         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
24790         (prev_max_error): New variable.
24791         (prev_real_max_error): Likewise.
24792         (prev_imag_max_error): Likewise.
24793         (compare_ulp_data): Don't refer to test names in comment.
24794         (find_test_ulps): Remove function.
24795         (find_function_ulps): Likewise.
24796         (find_complex_function_ulps): Likewise.
24797         (init_max_error): Take function name as argument.  Look up ulps
24798         for that function.
24799         (print_ulps): Remove function.
24800         (print_max_error): Use prev_max_error instead of calling
24801         find_function_ulps.
24802         (print_complex_max_error): Use prev_real_max_error and
24803         prev_imag_max_error instead of calling find_complex_function_ulps.
24804         (check_float_internal): Take max_ulp parameter instead of calling
24805         find_test_ulps.  Don't call print_ulps.
24806         (check_float): Update call to check_float_internal.
24807         (check_complex): Update calls to check_float_internal.
24808         (START): Pass argument to init_max_error.
24809         * math/gen-libm-test.pl (%results): Don't include "kind"
24810         information.
24811         (parse_ulps): Don't handle ulps of individual tests.
24812         (print_ulps_file): Likewise.
24813         (output_ulps): Likewise.
24814         * math/README.libm-test: Update.
24815         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
24816         individual tests.
24817         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
24818         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
24819         * sysdeps/arm/libm-test-ulps: Likewise.
24820         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24821         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
24822         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
24823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
24824         * sysdeps/microblaze/libm-test-ulps: Likewise.
24825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24828         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24830         * sysdeps/sh/libm-test-ulps: Likewise.
24831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24832         * sysdeps/tile/libm-test-ulps: Likewise.
24833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24835 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
24837         * math/libm-test.inc (print_complex_max_error): Check separately
24838         whether real and imaginary errors are within allowed range and
24839         pass 0 to print_complex_function_ulps instead of value within
24840         allowed range.
24842 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
24845         formatting.
24846         (get_handles_fopen): Likewise.
24847         (do_write_test): Likewise.
24849         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
24851         * libio/fileops.c (do_ftell): Use cached offset when
24852         available.
24853         * libio/iofwide.c (do_ftell_wide): Likewise.
24854         * libio/iofdopen.c (_IO_new_fdopen): Don't use
24855         _IO_file_attach.
24856         * libio/wfileops.c (_IO_fwide): Don't cache offset.
24858         [BZ #16532]
24859         * libio/libioP.h (get_file_offset): New function.
24860         * libio/fileops.c (get_file_offset): Likewise.
24861         (do_ftell): Likewise.
24862         (_IO_new_file_seekoff): Split out ftell logic.
24863         * libio/wfileops.c (do_ftell_wide): Likewise.
24864         (_IO_wfile_seekoff): Split out ftell logic.
24865         * libio/tst-ftell-active-handler.c: New test case.
24866         * libio/Makefile (tests): Add it.
24868 2014-03-03  Roland McGrath  <roland@hack.frob.com>
24870         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
24871         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
24873 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24875         [BZ #16639]
24876         * nscd/connections.c (nscd_init): Call do_exit.
24877         (start_threads): Call do_exit and notify_parent.
24878         (begin_drop_privileges): Call do_exit.
24879         (finish_drop_privileges): Likewise.
24880         * nscd/selinux.c (preserve_capabilities): Likewise.
24881         (install_real_capabilities): Likewise.
24882         (nscd_selinux_enabled): Likewise.
24883         (avc_create_thread): Likewise.
24884         (avc_alloc_lock): Likewise.
24885         (nscd_avc_init): Likewise.
24886         * nscd/nscd.c (parent_fd): New static variable.
24887         (main): Create a pipe between parent and child processes.
24888         Skip closing parent_fd.
24889         (monitor_child): New function.
24890         (do_exit): Likewise.
24891         (notify_parent): Likewise.
24892         * nscd/nscd.h (notify_parent): Likewise.
24893         (do_exit): Likewise.
24895 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
24897         * malloc/malloc.c (__libc_calloc): Revert last change.
24899 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24903 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24905         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
24906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
24907         implementation.
24908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24909         (__libc_ifunc_impl_list): Likewise.
24910         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
24911         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
24912         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
24913         * string/strrchr.c: Define STRRCHR.
24915 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
24917         * benchtest/bench-strtok.c (simple_strtok): Delete.
24918         (strtok_string): Use as benchmark.
24919         * string/strtok (STRTOK): New macro.
24921 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
24923         * manual/threads.texi: Add header and standard comments to all
24924         functions.
24926         * elf/dl-lookup.c (check_match): New function.
24927         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
24928         (do_lookup_x): Remove nested function check_match. Use non-nested
24929         function check_match.
24931 2014-02-28  Roland McGrath  <roland@hack.frob.com>
24933         * csu/Makefile (generated, before-compile): Use += rather than =.
24934         * catgets/Makefile (generated, generated-dirs): Likewise.
24935         * debug/Makefile (generated): Likewise.
24936         * dlfcn/Makefile (generated): Likewise.
24937         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
24938         * iconvdata/Makefile (before-compile, generated): Likewise.
24939         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
24940         * libio/Makefile (generated): Likewise.
24941         * malloc/Makefile (generated): Likewise.
24942         * manual/Makefile (generated, generated-dirs): Likewise.
24943         * misc/Makefile (generated): Likewise.
24944         * posix/Makefile (generated): Likewise.
24945         * resolv/Makefile (generated): Likewise.
24946         * sunrpc/Makefile (generated, generated-dirs): Likewise.
24947         * timezone/Makefile (generated, generated-dirs): Likewise.
24949         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
24951 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
24954         power8 implementation.
24955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
24956         file: POWER8 llround ifunc implementation.
24957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
24958         (__lllround): Add POWER8 implementation.
24959         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
24960         POWER8 llround implementation.
24962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
24963         power8 implementation.
24964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
24965         file: POWER8 llrint ifunc implementation.
24966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
24967         Add POWER8 implementation.
24968         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
24969         POWER8 llrint implementation.
24971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
24972         power8 implementation.
24973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
24974         file: POWER8 finite ifunc implementation.
24975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
24976         Add POWER8 implementation.
24977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
24978         Likewise.
24979         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
24980         POWER8 finite implementation.
24981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
24983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
24984         power8 implementation.
24985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
24986         file: POWER8 isinf ifunc implementation.
24987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
24988         POWER8 implementation.
24989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
24990         Likewise.
24991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
24992         isinf implementation.
24993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
24995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
24996         (INIT_ARCH): Add hwcap2 initialization.
24997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
24998         power8 implementation.
24999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
25000         file: POWER8 isnan ifunc implementation.
25001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
25002         POWER8 implementation.
25003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
25004         Likewise.
25005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
25006         isnan implementation.
25007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
25009 2014-02-27  Joey Ye  <joey.ye@arm.com>
25011         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
25012         (_FP_NANFRAC_Q): Set to zero.
25014 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25016         [BZ #16623]
25017         * math/auto-libm-test-in: New test inputs.
25018         * math/auto-libm-test-out: Regenerate.
25019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
25020         and DA.
25021         (__cos): Likewise.
25022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25024 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
25026         * scripts/evaluate-test.sh: Take new argument indicating whether
25027         failure is expected.
25028         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
25029         indicating whether failure is expected.
25030         * conform/Makefile (test-xfail-run-conformtest): New variable.
25031         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
25032         level.
25033         * posix/Makefile (test-xfail-annexc): New variable.
25034         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
25036 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
25038         * argp/Makefile: Include Makeconfig immediately after defining
25039         subdir.
25040         * assert/Makefile: Likewise.
25041         * benchtests/Makefile: Likewise.
25042         * catgets/Makefile: Likewise.
25043         * conform/Makefile: Likewise.
25044         * crypt/Makefile: Likewise.
25045         * csu/Makefile: Likewise.
25046         (all): Remove target.
25047         * ctype/Makefile: Include Makeconfig immediately after defining
25048         subdir.
25049         * debug/Makefile: Likewise.
25050         * dirent/Makefile: Likewise.
25051         * dlfcn/Makefile: Likewise.
25052         * gmon/Makefile: Likewise.
25053         * gnulib/Makefile: Likewise.
25054         * grp/Makefile: Likewise.
25055         * gshadow/Makefile: Likewise.
25056         * hesiod/Makefile: Likewise.
25057         * hurd/Makefile: Likewise.
25058         (all): Remove target.
25059         * iconvdata/Makefile: Include Makeconfig immediately after
25060         defining subdir.
25061         * inet/Makefile: Likewise.
25062         * intl/Makefile: Likewise.
25063         * io/Makefile: Likewise.
25064         * libio/Makefile: Likewise.
25065         (all): Remove target.
25066         * locale/Makefile: Include Makeconfig immediately after defining
25067         subdir.
25068         * login/Makefile: Likewise.
25069         * mach/Makefile: Likewise.
25070         (all): Remove target.
25071         * malloc/Makefile: Include Makeconfig immediately after defining
25072         subdir.
25073         (all): Remove target.
25074         * manual/Makefile: Include Makeconfig immediately after defining
25075         subdir.
25076         * math/Makefile: Likewise.
25077         * misc/Makefile: Likewise.
25078         * nis/Makefile: Likewise.
25079         * nss/Makefile: Likewise.
25080         * po/Makefile: Likewise.
25081         (all): Remove target.
25082         * posix/Makefile: Include Makeconfig immediately after defining
25083         subdir.
25084         * pwd/Makefile: Likewise.
25085         * resolv/Makefile: Likewise.
25086         * resource/Makefile: Likewise.
25087         * rt/Makefile: Likewise.
25088         * setjmp/Makefile: Likewise.
25089         * shadow/Makefile: Likewise.
25090         * signal/Makefile: Likewise.
25091         * socket/Makefile: Likewise.
25092         * soft-fp/Makefile: Likewise.
25093         * stdio-common/Makefile: Likewise.
25094         * stdlib/Makefile: Likewise.
25095         * streams/Makefile: Likewise.
25096         * string/Makefile: Likewise.
25097         * sunrpc/Makefile: Likewise.
25098         (all): Remove target.
25099         * sysvipc/Makefile: Include Makeconfig immediately after defining
25100         subdir.
25101         * termios/Makefile: Likewise.
25102         * time/Makefile: Likewise.
25103         * timezone/Makefile: Likewise.
25104         (all): Remove target.
25105         * wcsmbs/Makefile: Include Makeconfig immediately after defining
25106         subdir.
25107         * wctype/Makefile: Likewise.
25109 2014-02-26  Steve Ellcey  <sellcey@mips.com>
25111         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
25112         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
25113         (libc_feholdexcept_setround_mips): Ditto.
25114         (libc_feholdsetround): New.
25115         (libc_feholdsetroundf): New.
25116         (libc_feholdsetroundl): New.
25117         (libc_feupdateenv_test_mips): New.
25118         (libc_feupdateenv_test): New.
25119         (libc_feupdateenv_testf): New.
25120         (libc_feupdateenv_testl): New.
25121         (libc_feresetround): New.
25122         (libc_feresetroundf): New.
25123         (libc_feresetroundl): New.
25124         (libc_fetestexcept_mips): New.
25125         (libc_fetestexcept): New.
25126         (libc_fetestexceptf): New.
25127         (libc_fetestexceptl): New.
25128         (HAVE_RM_CTX): New.
25129         (libc_feholdexcept_setround_mips_ctx): New.
25130         (libc_feholdexcept_setround_ctx): New.
25131         (libc_feholdexcept_setroundf_ctx): New.
25132         (libc_feholdexcept_setroundl_ctx): New.
25133         (libc_fesetenv_mips_ctx): New.
25134         (libc_fesetenv_ctx): New.
25135         (libc_fesetenv_ctxf): New.
25136         (libc_fesetenv_ctxl): New.
25137         (libc_feupdateenv_mips_ctx): New.
25138         (libc_feupdateenv_ctx): New.
25139         (libc_feupdateenvf_ctx): New.
25140         (libc_feupdateenvl_ctx): New.
25141         (libc_feholdsetround_mips_ctx): New.
25142         (libc_feholdsetround_ctx): New.
25143         (libc_feholdsetroundf_ctx): New.
25144         (libc_feholdsetroundl_ctx): New.
25145         (libc_feresetround_mips_ctx): New.
25146         (libc_feresetround_ctx): New.
25147         (libc_feresetroundf_ctx): New.
25148         (libc_feresetroundl_ctx): New.
25150 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
25152         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
25154         * manual/ipc.texi: New file.
25155         * manual/Makefile (chapters): Add ipc.
25156         * manual/job.texi: Add "Inter-Process Communication" to next.
25157         * manual/process.texi: Add "Inter-Process Communication" to prev.
25159 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25163 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
25165         * malloc/malloc.c (__libc_calloc): Simplify implementation.
25167         * manual/arith.texi: Fix spaces after sentences.
25168         * manual/charset.texi: Likewise.
25169         * manual/errno.texi: Likewise.
25170         * manual/install.texi: Likewise.
25171         * manual/llio.texi: Likewise.
25172         * manual/locale.texi: Likewise.
25173         * manual/maint.texi: Likewise.
25174         * manual/math.texi: Likewise.
25175         * manual/memory.texi: Likewise.
25176         * manual/message.texi: Likewise.
25177         * manual/probes.texi: Likewise.
25178         * manual/resource.texi: Likewise.
25179         * manual/signal.texi: Likewise.
25180         * manual/socket.texi: Likewise.
25181         * manual/stdio.texi: Likewise.
25182         * manual/string.texi: Likewise.
25183         * manual/time.texi: Likewise.
25184         * manual/users.texi: Likewise.
25186 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
25188         [BZ #16632]
25189         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
25190         _DEFAULT_SOURCE is defined.
25192 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
25193             Carlos O'Donell  <carlos@redhat.com>
25195         [BZ #16613]
25196         * elf/dl-tls.c (_dl_count_modids): New function.
25197         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
25198         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
25199         audit library and increment generation counter.
25200         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
25201         * elf/tst-audit9.c: New file.
25202         * elf/tst-auditmod9a.c: New file.
25203         * elf/tst-auditmod9b.c: New file.
25204         * elf/Makefile: Add rules to build and run tst-audit9.
25206 2014-02-25  Florian Weimer  <fweimer@redhat.com>
25208         [BZ #15347]
25209         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
25211 2014-02-25  Will Newton  <will.newton@linaro.org>
25213         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
25214         (__longjmp): Restore sp and lr before restoring callee
25215         saved registers.  Add longjmp and longjmp_target
25216         SystemTap probe point.
25217         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
25218         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
25219         Define to zero to match jmpbuf layout.
25220         * sysdeps/arm/setjmp.S: Include stap-probe.h.
25221         (__sigsetjmp): Save sp and lr before saving callee
25222         saved registers.  Add setjmp SystemTap probe point.
25224 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
25226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25228 2014-02-24  Andreas Schwab  <schwab@suse.de>
25230         [BZ #15804]
25231         * elf/pldd.c (wait_for_ptrace_stop): New function.
25232         (main): Call it after attaching.
25234 2014-02-22  Roland McGrath  <roland@hack.frob.com>
25236         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
25237         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
25238         Versions files is now verboten.
25239         * hurd/Versions (libc: GLIBC_2.0):
25240         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
25241         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
25242         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
25243         * mach/Versions: Likewise.
25245         * csu/Versions: Remove unused %include.
25246         * resolv/Versions: Likewise.
25248 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
25250         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
25251         ($(objpfx)check-local-headers.out): Likewise.
25252         ($(objpfx)begin-end-check.out): Likewise.
25253         * Makerules (check-abi-%.out): Likewise.
25254         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
25255         ($(objpfx)test2.cat): Likewise.
25256         ($(objpfx)de/libc.cat): Likewise.
25257         ($(objpfx)test-gencat.out): Likewise.
25258         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
25259         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
25260         ($(objpfx)noload-mem): Likewise.
25261         ($(objpfx)tst-pathopt.out): Likewise.
25262         ($(objpfx)tst-rtld-load-self.out): Likewise.
25263         ($(objpfx)tst-array1-cmp.out): Likewise.
25264         ($(objpfx)tst-array1-static-cmp.out): Likewise.
25265         ($(objpfx)tst-array2-cmp.out): Likewise.
25266         ($(objpfx)tst-array3-cmp.out): Likewise.
25267         ($(objpfx)tst-array4-cmp.out): Likewise.
25268         ($(objpfx)tst-array5-cmp.out): Likewise.
25269         ($(objpfx)tst-array5-static-cmp.out): Likewise.
25270         ($(objpfx)check-textrel.out): Likewise.
25271         ($(objpfx)check-execstack.out): Likewise.
25272         ($(objpfx)check-localplt.out): Likewise.
25273         ($(objpfx)order2-cmp.out): Likewise.
25274         ($(objpfx)tst-leaks1-mem): Likewise.
25275         ($(objpfx)tst-leaks1-static-mem): Likewise.
25276         ($(objpfx)tst-initorder-cmp.out): Likewise.
25277         ($(objpfx)tst-initorder2-cmp.out): Likewise.
25278         ($(objpfx)tst-unused-dep.out): Likewise.
25279         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
25280         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
25281         * iconv/Makefile (test-iconvconfig): Likewise.
25282         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
25283         ($(objpfx)iconv-test.out): Likewise.
25284         ($(objpfx)tst-tables.out): Likewise.
25285         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
25286         ($(objpfx)tst-gettext.out): Likewise.
25287         ($(objpfx)tst-translit.out): Likewise.
25288         ($(objpfx)tst-gettext2.out): Likewise.
25289         ($(objpfx)tst-gettext4.out): Likewise.
25290         ($(objpfx)tst-gettext6.out): Likewise.
25291         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
25292         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
25293         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
25294         ($(objpfx)tst-fopenloc-mem.out): Likewise.
25295         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
25296         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
25297         * posix/Makefile ($(objpfx)globtest.out): Likewise.
25298         ($(objpfx)wordexp-tst.out): Likewise.
25299         ($(objpfx)annexc.out): Likewise.
25300         ($(objpfx)tst-fnmatch-mem): Likewise.
25301         ($(objpfx)bug-regex2-mem): Likewise.
25302         ($(objpfx)bug-regex14-mem): Likewise.
25303         ($(objpfx)bug-regex21-mem): Likewise.
25304         ($(objpfx)bug-regex31-mem): Likewise.
25305         ($(objpfx)tst-vfork3-mem): Likewise.
25306         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25307         ($(objpfx)tst-pcre-mem): Likewise.
25308         ($(objpfx)tst-boost-mem): Likewise.
25309         ($(objpfx)tst-getconf.out): Likewise.
25310         ($(objpfx)bug-ga2-mem): Likewise.
25311         ($(objpfx)bug-glob2-mem): Likewise.
25312         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
25313         ($(objpfx)mtrace-tst-leaks2): Likewise.
25314         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
25315         ($(objpfx)tst-printf.out): Likewise.
25316         ($(objpfx)tst-setvbuf1.out): Likewise.
25317         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
25318         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
25319         ($(objpfx)tst-fmtmsg.out): Likewise.
25320         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
25321         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
25323         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
25324         * bits/sigaction.h [__USE_MISC]: Likewise.
25325         * bits/waitstatus.h: Update #endif comments.
25326         * ctype/ctype.h: Likewise.
25327         * dirent/dirent.h: Likewise.
25328         [__USE_MISC]: Remove redundant conditionals.
25329         * grp/grp.h: Update #endif comments.
25330         [__USE_GNU]: Remove redundant conditionals.
25331         [__USE_MISC]: Likewise.
25332         * inet/netinet/in.h [__USE_GNU]: Likewise.
25333         * io/sys/stat.h [__USE_MISC]: Likewise.
25334         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
25335         * libio/bits/stdio.h: Update #endif comments.
25336         [__USE_MISC]: Remove redundant conditionals.
25337         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
25338         * libio/stdio.h: Update #endif comments.
25339         [__USE_MISC]: Remove redundant conditionals.
25340         * math/bits/math-finite.h [__USE_MISC]: Likewise.
25341         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
25342         * math/math.h: Update #else and #endif comments.
25343         [__USE_MISC]: Remove redundant conditionals.
25344         * misc/sys/uio.h: Update #endif comments.
25345         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
25346         * posix/glob.h [__USE_MISC]: Likewise.
25347         * posix/sys/types.h: Update #endif comments.
25348         [__USE_MISC]: Remove redundant conditionals.
25349         * posix/sys/wait.h: Update #endif comments.
25350         [__USE_MISC]: Remove redundant conditionals.
25351         * posix/unistd.h: Update #endif comments.
25352         [__USE_MISC]: Remove redundant conditionals.
25353         * pwd/pwd.h [__USE_GNU]: Likewise.
25354         [__USE_MISC]: Likewise.
25355         * resolv/netdb.h [__USE_GNU]: Likewise.
25356         * signal/signal.h: Update #endif comments.
25357         [__USE_MISC]: Remove redundant conditionals.
25358         * stdlib/stdlib.h: Update #else and #endif comments.
25359         [__USE_MISC]: Remove redundant conditionals.
25360         [__USE_GNU]: Likewise.
25361         * string/bits/string2.h [__USE_MISC]: Likewise.
25362         * string/string.h: Update #endif comments.
25363         [__USE_MISC]: Remove redundant conditionals.
25364         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
25365         Likewise.
25366         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
25367         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
25368         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
25369         Likewise.
25370         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
25371         Likewise.
25372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
25373         comments.
25374         [__USE_MISC]: Remove redundant conditionals.
25375         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
25376         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
25377         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
25378         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
25379         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
25380         Likewise.
25381         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
25382         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
25383         Likewise.
25384         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
25385         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
25386         Likewise.
25387         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
25388         Likewise.
25389         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
25390         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
25391         Likewise.
25392         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
25393         Likewise.
25394         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
25395         * sysdeps/x86/bits/string.h: Update #endif comments.
25396         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
25397         conditionals.
25398         * time/sys/time.h: Update #endif comments.
25399         * time/time.h: Likewise.
25400         [__USE_MISC]: Remove redundant conditionals.
25402 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
25404         [BZ #16600]
25405         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
25407 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
25409         * Versions.def (librt): Add GLIBC_2.17.
25411 2014-02-21  Adam Conrad  <adconrad@0c3.net>
25413         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
25414         synonym for _SYS_AUXV_H to allow direct inclusion.
25415         * sysdeps/sparc/bits/hwcap.h: Likewise.
25416         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
25417         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
25418         * sysdeps/sparc/sysdep.h: Likewise.
25420 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25422         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
25424 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25426         * benchtests/bench-strrchr.c: Print length instead of position.
25428 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
25430         [BZ #16611]
25431         * sysdeps/unix/sysv/linux/kernel-features.h
25432         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
25433         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
25434         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
25435         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
25436         Likewise.
25437         [__i386__ || __powerpc__ || __sh__ || __sparc__]
25438         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25439         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
25440         (__ASSUME_SENDMMSG): Define instead of using previous
25441         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
25442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25443         (__ASSUME_SENDMMSG_SYSCALL): Define.
25444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25445         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
25446         Likewise.
25447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25449         Likewise.
25450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25452         Likewise.
25453         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
25454         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25455         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25456         [__ASSUME_SENDMMSG]: Change conditionals to
25457         [__ASSUME_SENDMMSG_SOCKETCALL].
25458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25459         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
25460         Define.
25461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25462         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
25463         Likewise.
25464         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
25465         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
25466         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
25467         [!__ASSUME_SENDMMSG]: Change conditional to
25468         [!__ASSUME_SENDMMSG_SOCKETCALL].
25469         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
25471         Define.
25473         [BZ #16610]
25474         * sysdeps/unix/sysv/linux/kernel-features.h
25475         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
25476         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
25477         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
25478         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
25479         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
25480         [__i386__ || __sparc__]
25481         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25482         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
25483         (__ASSUME_RECVMMSG): Define instead of using previous
25484         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
25485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25486         (__ASSUME_RECVMMSG_SYSCALL): Define.
25487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25489         Likewise.
25490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25492         Likewise.
25493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25494         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25495         Likewise.
25496         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
25497         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25498         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25499         [__ASSUME_RECVMMSG]: Change condition to
25500         [__ASSUME_RECVMMSG_SOCKETCALL].
25501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25503         Define.
25504         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
25505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
25507         Likewise.
25508         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
25509         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
25510         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
25511         [!__ASSUME_RECVMMSG]: Change condition to
25512         [!__ASSUME_RECVMMSG_SOCKETCALL].
25513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25514         (__ASSUME_RECVMMSG_SYSCALL): Define.
25516         [BZ #16609]
25517         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
25518         __powerpc__ || __s390__ || __sh__ || __sparc__]
25519         (__ASSUME_SOCKETCALL): Define.
25520         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
25521         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
25522         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
25523         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
25524         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
25525         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
25526         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
25527         (__ASSUME_ACCEPT4): Define instead of using previous
25528         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
25529         __powerpc__ || __sparc__ || __s390__)] condition.
25530         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25531         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25532         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
25533         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25534         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25535         [!__ASSUME_ACCEPT4]: Change condition to
25536         [!__ASSUME_ACCEPT4_SOCKETCALL].
25537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
25538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
25539         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
25540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
25541         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
25542         __ASSUME_ACCEPT4_SYSCALL.
25543         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
25544         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
25545         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
25546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
25547         __ASSUME_ACCEPT4_SYSCALL.
25548         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
25549         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
25550         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
25551         [__ASSUME_ACCEPT4]: Change condition to
25552         [__ASSUME_ACCEPT4_SOCKETCALL].
25553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25554         (__ASSUME_SOCKETCALL): Define.
25555         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
25556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25557         (__ASSUME_SOCKETCALL): Define.
25558         (__ASSUME_ACCEPT4): Remove.
25559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
25560         Define.
25561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
25562         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
25563         Likewise.
25564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25565         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
25567         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
25568         macro.
25569         (HWCAP_ARM_LPAE): Likewise.
25570         (HWCAP_ARM_EVTSTRM): Likewise.
25571         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
25572         Add vpfd32, lpae and evtstrm.
25573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
25574         Increase to 22.
25576 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
25578         * math/auto-libm-test-in: Add tests of clog10.
25579         * math/auto-libm-test-out: Regenerated.
25580         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
25581         * sysdeps/i386/fpu/libm-test-ulps: Update.
25582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25584 2014-02-18  Andreas Schwab  <schwab@suse.de>
25586         [BZ #16574]
25587         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
25588         Store non-zero if the second buffer was newly allocated.
25589         (send_dg): Likewise.
25590         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
25591         to send_vc and send_dg.
25592         (res_nsend): Pass NULL for ansp2_malloced.
25593         * resolv/res_query.c (__libc_res_nquery): Add parameter
25594         answerp2_malloced and pass it down to __libc_res_nsend.
25595         (res_nquery): Pass additional NULL to __libc_res_nquery.
25596         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
25597         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
25598         second answer buffer if answerp2_malloced was set.
25599         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
25600         (__libc_res_nquerydomain): Add parameter
25601         answerp2_malloced and pass it down to __libc_res_nquery.
25602         (res_nquerydomain): Pass additional NULL to
25603         __libc_res_nquerydomain.
25604         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
25605         additional NULL to __libc_res_nsend and __libc_res_nquery.
25606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
25607         additional NULL to __libc_res_nsearch.
25608         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
25609         parameter of __libc_res_nsearch to check for separately allocated
25610         second buffer.
25611         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
25612         __libc_res_nquery.
25613         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
25614         additional NULL to __libc_res_nquery.
25615         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
25616         __libc_res_nsearch.
25617         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
25618         * include/resolv.h: Update prototypes of __libc_res_nquery,
25619         __libc_res_nsearch, __libc_res_nsend.
25621 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
25623         * math/auto-libm-test-in: Add tests of fma.
25624         * math/auto-libm-test-out: Regenerated.
25625         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
25626         (fma_towardzero_test_data): Likewise.
25627         (fma_downward_test_data): Likewise.
25628         (fma_upward_test_data): Likewise.
25629         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
25630         mpc_mode.
25631         (rounding_modes): Add values for new field.
25632         (func_calc_method): Add value mpfr_fff_f.
25633         (func_calc_desc): Add mpfr_fff_f union field.
25634         (test_function): Add field exact_args.
25635         (FUNC): Add macro argument EXACT_ARGS.
25636         (FUNC_mpfr_f_f): Update call to FUNC.
25637         (FUNC_mpfr_f_f): Likewise.
25638         (FUNC_mpfr_ff_f): Likewise.
25639         (FUNC_mpfr_if_f): Likewise.
25640         (FUNC_mpc_c_f): Likewise.
25641         (FUNC_mpc_c_c): Likewise.
25642         (test_functions): Add fma.  Update calls to FUNC.
25643         (handle_input_arg): Add argument exact_args.
25644         (add_test): Update call to handle_input_arg.
25645         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
25646         (output_for_one_input_case): Update call to calc_generic_results.
25647         Recalculate exact zero results in each rounding mode.
25649         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
25650         non-negative before setting low bit.
25651         * math/auto-libm-test-in: Mark one asin test possibly having
25652         spurious underflow.
25653         * math/auto-libm-test-out: Regenerated.
25654         * sysdeps/i386/fpu/libm-test-ulps: Update.
25655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25657 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
25659         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
25660         * sysdeps/unix/sysv/linux/microblaze: Move directory from
25661         ports/sysdeps/unix/sysv/linux/microblaze.
25662         * README: Add missing listing for microblaze*-*-linux-gnu.
25664 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
25666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
25667         duplicate code
25669 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
25671         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
25672         * sysdeps/unix/sysv/linux/ia64: Move directory from
25673         ports/sysdeps/unix/sysv/linux/ia64.
25674         * README: Update listing for ia64-*-linux-gnu.
25676 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
25677             Joseph Myers  <joseph@codesourcery.com>
25679         * Makeconfig (test-name): New variable.
25680         (evaluate-test): Likewise.
25681         * Makerules (do-test-clean): Remove .test-result files.
25682         (common-mostlyclean): Likewise.
25683         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
25684         * scripts/evaluate-test.sh: New file.
25686 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
25688         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
25689         separate $(objpfx)tst-fopenloc-cmp.out and
25690         $(objpfx)tst-fopenloc-mem.out targets.
25691         (tests): Update dependencies.
25692         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
25693         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
25694         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
25695         (tst-rxspencer-no-utf8-ARGS): New variable.
25696         (tst-rxspencer-no-utf8-ENV): Likewise.
25697         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
25698         instead of $(objpfx)tst-rxspencer-mem.
25699         ($(objpfx)tst-rxspencer-mem): Change target to
25700         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
25701         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
25702         * posix/tst-rxspencer-no-utf8.c: New file.
25704         * elf/Makefile ($(objpfx)order.out): Remove rule.
25705         [$(run-built-tests) = yes] (tests): Depend on
25706         $(objpfx)order-cmp.out.
25707         ($(objpfx)order-cmp.out): New rule.
25708         [$(run-built-tests) = yes] (tests): Depend on
25709         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
25710         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
25711         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
25712         $(objpfx)tst-array5-static-cmp.out.
25713         ($(objpfx)tst-array1.out): Remove rule.
25714         ($(objpfx)tst-array1-cmp.out): New rule.
25715         ($(objpfx)tst-array1-static.out): Remove rule.
25716         ($(objpfx)tst-array1-static-cmp.out): New rule.
25717         ($(objpfx)tst-array2.out): Remove rule.
25718         ($(objpfx)tst-array2-cmp.out): New rule.
25719         ($(objpfx)tst-array3.out): Remove rule.
25720         ($(objpfx)tst-array3-cmp.out): New rule.
25721         ($(objpfx)tst-array4.out): Remove rule.
25722         ($(objpfx)tst-array4-cmp.out): New rule.
25723         ($(objpfx)tst-array5.out): Remove rule.
25724         ($(objpfx)tst-array5-cmp.out): New rule.
25725         ($(objpfx)tst-array5-static.out): Remove rule.
25726         ($(objpfx)tst-array5-static-cmp.out): New rule.
25727         [$(run-built-tests) = yes] (tests): Depend on
25728         $(objpfx)order2-cmp.out.
25729         ($(objpfx)order2.out): Remove rule.
25730         ($(objpfx)order2-cmp.out): New rule.
25731         ($(objpfx)tst-initorder.out): Remove rule.
25732         [$(run-built-tests) = yes] (tests): Depend on
25733         $(objpfx)tst-initorder-cmp.out.
25734         ($(objpfx)tst-initorder-cmp.out): New rule.
25735         ($(objpfx)tst-initorder2.out): Remove rule.
25736         [$(run-built-tests) = yes] (tests): Depend on
25737         $(objpfx)tst-initorder2-cmp.out.
25738         ($(objpfx)tst-initorder2-cmp.out): New rule.
25739         [$(run-built-tests) = yes] (tests): Depend on
25740         $(objpfx)tst-unused-dep-cmp.out.
25741         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
25742         ($(objpfx)tst-unused-dep-cmp.out): New rule.
25743         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
25744         on $(objpfx)tst-setvbuf1-cmp.out.
25745         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
25746         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
25747         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
25748         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
25749         ($(objpfx)tst-svc.out): Remove rule.
25750         ($(objpfx)tst-svc-cmp.out): New rule.
25752 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
25754         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
25755         * ctype/ctype.h [__USE_MISC]: Likewise.
25756         * dirent/dirent.h [__USE_MISC]: Likewise.
25757         * grp/grp.h [__USE_MISC]: Likewise.
25758         * io/fcntl.h [__USE_MISC]: Likewise.
25759         * io/sys/stat.h [__USE_MISC]: Likewise.
25760         * libio/stdio.h [__USE_MISC]: Likewise.
25761         * posix/unistd.h [__USE_MISC]: Likewise.
25762         * pwd/pwd.h [__USE_MISC]: Likewise.
25763         * stdlib.h [__USE_MISC]: Likewise.
25764         * string/bits/string2.h [__USE_MISC]: Likewise.
25765         * string/string.h [__USE_MISC]: Likewise.
25766         * time/time.h [__USE_MISC]: Likewise.
25768 2014-02-13  Andreas Schwab  <schwab@suse.de>
25770         [BZ #16574]
25771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
25772         second answer buffer if it was separately allocated.
25774 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
25776         * sysdeps/mips/math-tests.h: Include <features.h>.
25777         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25778         (ROUNDING_TESTS_long_double): Do not define.
25779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
25780         (EXCEPTION_TESTS_long_double): Likewise.
25781         * sysdeps/mips/mips64/libm-test-ulps: Update.
25783         * include/features.h (__USE_BSD): Remove macro definitions.
25784         (__USE_SVID): Likewise.
25785         (_BSD_SOURCE): Likewise.
25786         (_SVID_SOURCE): Likewise.
25787         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
25788         from definition of _DEFAULT_SOURCE.
25789         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
25790         [_DEFAULT_SOURCE].
25791         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
25792         * bits/mman.h [__USE_BSD]: Likewise.
25793         * bits/termios.h [__USE_BSD]: Likewise.
25794         * bits/waitstatus.h [__USE_BSD]: Likewise.
25795         * ctype/ctype.h [__USE_SVID]: Likewise.
25796         * dirent/dirent.h [__USE_BSD]: Likewise.
25797         * grp/grp.h [__USE_SVID]: Likewise.
25798         [__USE_BSD]: Likewise.
25799         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
25800         * io/fcntl.h [__USE_BSD]: Likewise.
25801         * io/ftw.h [__USE_BSD]: Likewise.
25802         * io/sys/stat.h [__USE_BSD]: Likewise.
25803         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
25804         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
25805         * libio/stdio.h [__USE_SVID]: Likewise.
25806         [__USE_BSD]: Likewise.
25807         * math/math.h [__USE_SVID]: Likewise.
25808         [__USE_BSD]: Likewise.
25809         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
25810         * misc/bits/syslog.h [__USE_BSD]: Likewise.
25811         * misc/search.h [__USE_SVID]: Likewise.
25812         * misc/sys/mman.h [__USE_BSD]: Likewise.
25813         * misc/sys/syslog.h [__USE_BSD]: Likewise.
25814         * misc/sys/uio.h [__USE_BSD]: Likewise.
25815         * posix/bits/unistd.h [__USE_BSD]: Likewise.
25816         * posix/glob.h [__USE_BSD]: Likewise.
25817         * posix/regex.h [__USE_BSD]: Likewise.
25818         * posix/sys/types.h [__USE_BSD]: Likewise.
25819         [__USE_SVID]: Likewise.
25820         * posix/sys/utsname.h [__USE_SVID]: Likewise.
25821         * posix/sys/wait.h [__USE_BSD]: Likewise.
25822         [__USE_SVID]: Likewise.
25823         * posix/unistd.h [__USE_BSD]: Likewise.
25824         [__USE_SVID]: Likewise.
25825         * pwd/pwd.h [__USE_SVID]: Likewise.
25826         * resolv/netdb.h [__USE_BSD]: Likewise.
25827         * setjmp/setjmp.h [__USE_BSD]: Likewise.
25828         * signal/signal.h [__USE_BSD]: Likewise.
25829         [__USE_SVID]: Likewise.
25830         * socket/sys/socket.h [__USE_BSD]: Likewise.
25831         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
25832         * stdlib/stdlib.h [__USE_BSD]: Likewise.
25833         [__USE_SVID]: Likewise.
25834         * string/bits/string2.h [__USE_BSD]: Likewise.
25835         [__USE_SVID]: Likewise.
25836         * string/bits/string3.h [__USE_BSD]: Likewise.
25837         * string/endian.h [__USE_BSD]: Likewise.
25838         * string/string.h [__USE_SVID]: Likewise.
25839         [__USE_BSD]: Likewise.
25840         * string/strings.h [__USE_BSD]: Likewise.
25841         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
25842         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
25843         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
25844         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
25845         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
25846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
25847         Likewise.
25848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
25849         Likewise.
25850         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
25851         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
25852         Likewise.
25853         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
25854         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
25855         Likewise.
25856         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
25857         Likewise.
25858         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
25859         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
25860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
25861         Likewise.
25862         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
25863         Likewise.
25864         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
25865         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
25866         * termios/termios.h [__USE_BSD]: Likewise.
25867         * time/sys/time.h [__USE_BSD]: Likewise.
25868         * time/time.h [__USE_BSD]: Likewise.
25869         [__USE_SVID]: Likewise.
25871         * Makefile (subdir_targets): Remove subdir_lint.out.
25873         * stdio-common/Makefile (do-tst-unbputc): Remove target.
25874         (do-tst-printf): Likewise.
25875         (tests): Depend directly on $(objpfx)tst-unbputc.out and
25876         $(objpfx)tst-printf.out.
25878         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
25880         * Makerules (check-abi-%): Change target to
25881         $(objpfx)check-abi-%.out.
25882         (check-abi target): Update dependencies.
25883         (check-abi-pattern variable): Redirect output of diff to $@.
25884         (check-abi variable): Likewise.
25885         * elf/Makefile (check-abi): Update dependencies.
25887         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
25888         unused.
25889         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
25890         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
25891         subnormal range.
25892         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
25893         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
25894         value has largest subnormal exponent.
25895         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
25896         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
25897         * sysdeps/aarch64/soft-fp/sfp-machine.h
25898         (_FP_TININESS_AFTER_ROUNDING): New macro.
25899         * sysdeps/alpha/soft-fp/sfp-machine.h
25900         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25901         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25902         Likewise.
25903         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
25904         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25905         * sysdeps/mips/soft-fp/sfp-machine.h
25906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25907         * sysdeps/powerpc/soft-fp/sfp-machine.h
25908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25909         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25910         Likewise.
25911         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
25912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
25914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
25915         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
25916         Likewise.
25918 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
25920         [BZ #16545]
25921         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
25922         model 1.
25924 2014-02-12  Richard Henderson  <rth@redhat.com>
25926         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
25927         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
25928         * sysdeps/unix/sysv/linux/alpha: Move directory from
25929         ports/sysdeps/unix/sysv/linux/alpha.
25930         * README: Update listing for alpha-*-linux-gnu.
25932 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
25934         * include/features.h: Update comment documenting feature test
25935         macros.
25936         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
25937         _DEFAULT_SOURCE.
25938         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
25939         (_SVID_SOURCE): Likewise.
25940         (_DEFAULT_SOURCE): Update description of default features.
25941         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
25942         with _GNU_SOURCE.
25943         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
25944         (S_ISVTX): Likewise.
25945         * manual/math.texi (Mathematical Constants): Likewise.
25946         * manual/signal.texi (Interrupted Primitives): Likewise.
25947         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
25948         * math/test-matherr.c (_SVID_SOURCE): Do not define.
25949         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
25950         Don't refer to _SVID_SOURCE in warning text.
25952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25954         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
25955         already defined.
25956         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
25957         * sysdeps/mips/dl-lookup.c: Remove.
25958         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
25960 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25962         [BZ #16447]
25963         * math/auto-libm-test-in: Add testcase for expl.
25964         * math/auto-libm-test-out: Regenerate.
25965         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
25966         calculation of unsafe.
25967         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
25969 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
25971         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
25972         * sysdeps/unix/sysv/linux/aarch64: Move directory from
25973         ports/sysdeps/unix/sysv/linux/aarch64.
25974         * README: Update listing for aarch64*-*-linux-gnu.
25976 2014-02-11  Will Newton  <will.newton@linaro.org>
25978         * manual/probes.texi (Mathematical Function Probes): Use
25979         "triggered" instead of "hit".
25981         * manual/probes.texi (Internal Probes): Add documentation
25982         of setjmp, longjmp and longjmp_target probes.
25984         * include/stap-probe.h: Add comment about probe argument
25985         format.
25987         * malloc/mtrace.c (attribute_hidden): Remove unused macro
25988         definition.  (tr_where, tr_freehook, tr_mallochook,
25989         tr_reallochook, tr_memalignhook): Use ANSI protoype.
25991 2014-02-11  David S. Miller  <davem@davemloft.net>
25993         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
25994         processing int_tests.
25996 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
25998         * sysdeps/mips: Move directory from ports/sysdeps/mips.
25999         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
26000         * sysdeps/unix/sysv/linux/mips: Move directory from
26001         ports/sysdeps/unix/sysv/linux/mips.
26002         * README: Update listing for mips-*-linux-gnu and
26003         mips64-*-linux-gnu.
26005 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
26007         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
26008         * sysdeps/unix/sysv/linux/m68k: Move directory from
26009         ports/sysdeps/unix/sysv/linux/m68k.
26010         * README: Update listing for m68k-*-linux-gnu.
26012 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
26014         * sysdeps/tile: Move directory from ports/sysdeps/tile.
26015         * sysdeps/unix/sysv/linux/generic: Move directory from
26016         ports/sysdeps/unix/sysv/linux/generic.
26017         * sysdeps/unix/sysv/linux/tile: Move directory from
26018         ports/sysdeps/unix/sysv/linux/tile.
26019         * README: Update listing for tile*-*-linux-gnu.
26021 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
26023         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
26024         __builtin_expect.
26025         * benchtests/bench-memmem.c (simple_memmem): Likewise.
26026         * catgets/open_catalog.c (__open_catalog): Likewise.
26027         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
26028         * debug/confstr_chk.c: Likewise.
26029         * debug/fread_chk.c (__fread_chk): Likewise.
26030         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
26031         * debug/getgroups_chk.c: Likewise.
26032         * debug/mbsnrtowcs_chk.c: Likewise.
26033         * debug/mbsrtowcs_chk.c: Likewise.
26034         * debug/mbstowcs_chk.c: Likewise.
26035         * debug/memcpy_chk.c: Likewise.
26036         * debug/memmove_chk.c: Likewise.
26037         * debug/mempcpy_chk.c: Likewise.
26038         * debug/memset_chk.c: Likewise.
26039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26040         * debug/strcat_chk.c (__strcat_chk): Likewise.
26041         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
26042         * debug/strncat_chk.c (__strncat_chk): Likewise.
26043         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
26044         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
26045         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
26046         * debug/wcpncpy_chk.c: Likewise.
26047         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26048         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
26049         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
26050         * debug/wcsncpy_chk.c: Likewise.
26051         * debug/wcsnrtombs_chk.c: Likewise.
26052         * debug/wcsrtombs_chk.c: Likewise.
26053         * debug/wcstombs_chk.c: Likewise.
26054         * debug/wmemcpy_chk.c: Likewise.
26055         * debug/wmemmove_chk.c: Likewise.
26056         * debug/wmempcpy_chk.c: Likewise.
26057         * debug/wmemset_chk.c: Likewise.
26058         * dirent/scandirat.c (SCANDIRAT): Likewise.
26059         * dlfcn/dladdr1.c (dladdr1): Likewise.
26060         * dlfcn/dladdr.c (dladdr): Likewise.
26061         * dlfcn/dlclose.c (dlclose_doit): Likewise.
26062         * dlfcn/dlerror.c (__dlerror): Likewise.
26063         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
26064         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
26065         * dlfcn/dlopen.c (dlopen_doit): Likewise.
26066         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
26067         * dlfcn/dlsym.c (dlsym_doit): Likewise.
26068         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
26069         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
26070         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
26071         Likewise.
26072         * elf/dl-conflict.c: Likewise.
26073         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
26074         * elf/dl-dst.h: Likewise.
26075         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
26076         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
26077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
26078         * elf/dl-init.c (call_init, _dl_init): Likewise.
26079         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
26080         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
26081         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
26082         Likewise.
26083         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
26084         Likewise.
26085         * elf/dl-minimal.c (__libc_memalign): Likewise.
26086         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
26087         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26088         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
26089         * elf/dl-sym.c (do_sym): Likewise.
26090         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
26091         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
26092         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
26093         * elf/dl-writev.h (_dl_writev): Likewise.
26094         * elf/ldconfig.c (search_dir): Likewise.
26095         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
26096         (dl_main): Likewise.
26097         * elf/setup-vdso.h (setup_vdso): Likewise.
26098         * grp/compat-initgroups.c (compat_call): Likewise.
26099         * grp/fgetgrent.c (fgetgrent): Likewise.
26100         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
26101         * grp/putgrent.c (putgrent): Likewise.
26102         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
26103         Likewise.
26104         * hurd/hurdinit.c: Likewise.
26105         * iconvdata/8bit-gap.c (struct): Likewise.
26106         * iconvdata/ansi_x3.110.c : Likewise.
26107         * iconvdata/big5.c : Likewise.
26108         * iconvdata/big5hkscs.c : Likewise.
26109         * iconvdata/cp1255.c: Likewise.
26110         * iconvdata/cp1258.c : Likewise.
26111         * iconvdata/cp932.c : Likewise.
26112         * iconvdata/euc-cn.c: Likewise.
26113         * iconvdata/euc-jisx0213.c : Likewise.
26114         * iconvdata/euc-jp.c: Likewise.
26115         * iconvdata/euc-jp-ms.c : Likewise.
26116         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
26117         * iconvdata/gb18030.c : Likewise.
26118         * iconvdata/gbbig5.c (const): Likewise.
26119         * iconvdata/gbgbk.c: Likewise.
26120         * iconvdata/gbk.c : Likewise.
26121         * iconvdata/ibm1364.c : Likewise.
26122         * iconvdata/ibm930.c : Likewise.
26123         * iconvdata/ibm932.c: Likewise.
26124         * iconvdata/ibm933.c : Likewise.
26125         * iconvdata/ibm935.c : Likewise.
26126         * iconvdata/ibm937.c : Likewise.
26127         * iconvdata/ibm939.c : Likewise.
26128         * iconvdata/ibm943.c: Likewise.
26129         * iconvdata/iso_11548-1.c: Likewise.
26130         * iconvdata/iso-2022-cn.c : Likewise.
26131         * iconvdata/iso-2022-cn-ext.c : Likewise.
26132         * iconvdata/iso-2022-jp-3.c: Likewise.
26133         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
26134         * iconvdata/iso-2022-kr.c : Likewise.
26135         * iconvdata/iso646.c (gconv_end): Likewise.
26136         * iconvdata/iso_6937-2.c : Likewise.
26137         * iconvdata/iso_6937.c : Likewise.
26138         * iconvdata/iso8859-1.c: Likewise.
26139         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
26140         * iconvdata/shift_jisx0213.c : Likewise.
26141         * iconvdata/sjis.c : Likewise.
26142         * iconvdata/t.61.c : Likewise.
26143         * iconvdata/tcvn5712-1.c : Likewise.
26144         * iconvdata/tscii.c: Likewise.
26145         * iconvdata/uhc.c : Likewise.
26146         * iconvdata/unicode.c (gconv_end): Likewise.
26147         * iconvdata/utf-16.c (gconv_end): Likewise.
26148         * iconvdata/utf-32.c (gconv_end): Likewise.
26149         * iconvdata/utf-7.c (base64): Likewise.
26150         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
26151         * iconv/gconv_close.c (__gconv_close): Likewise.
26152         * iconv/gconv_open.c (__gconv_open): Likewise.
26153         * iconv/gconv_simple.c (internal_ucs4_loop_single)
26154         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
26155         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
26156         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
26157         (ucs4le_internal_loop_single): Likewise.
26158         * iconv/iconv.c (iconv): Likewise.
26159         * iconv/iconv_close.c: Likewise.
26160         * iconv/loop.c (SINGLE): Likewise.
26161         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
26162         * include/atomic.h: Likewise.
26163         * inet/inet6_option.c (option_alloc): Likewise.
26164         * intl/bindtextdom.c (set_binding_values): Likewise.
26165         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
26166         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
26167         * intl/localealias.c (read_alias_file): Likewise.
26168         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
26169         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
26170         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
26171         * libio/fmemopen.c (fmemopen): Likewise.
26172         * libio/iofgets.c (_IO_fgets): Likewise.
26173         * libio/iofgets_u.c (fgets_unlocked): Likewise.
26174         * libio/iofgetws.c (fgetws): Likewise.
26175         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
26176         * libio/iogetdelim.c (_IO_getdelim): Likewise.
26177         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
26178         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
26179         * locale/findlocale.c (_nl_find_locale): Likewise.
26180         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
26181         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
26182         Likewise.
26183         * locale/setlocale.c (setlocale): Likewise.
26184         * login/programs/pt_chown.c (main): Likewise.
26185         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
26186         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
26187         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
26188         (mmap, mmap64, mremap, munmap): Likewise.
26189         * math/e_exp2l.c: Likewise.
26190         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
26191         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
26192         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
26193         * math/s_catan.c (__catan): Likewise.
26194         * math/s_catanf.c (__catanf): Likewise.
26195         * math/s_catanh.c (__catanh): Likewise.
26196         * math/s_catanhf.c (__catanhf): Likewise.
26197         * math/s_catanhl.c (__catanhl): Likewise.
26198         * math/s_catanl.c (__catanl): Likewise.
26199         * math/s_ccosh.c (__ccosh): Likewise.
26200         * math/s_ccoshf.c (__ccoshf): Likewise.
26201         * math/s_ccoshl.c (__ccoshl): Likewise.
26202         * math/s_cexp.c (__cexp): Likewise.
26203         * math/s_cexpf.c (__cexpf): Likewise.
26204         * math/s_cexpl.c (__cexpl): Likewise.
26205         * math/s_clog10.c (__clog10): Likewise.
26206         * math/s_clog10f.c (__clog10f): Likewise.
26207         * math/s_clog10l.c (__clog10l): Likewise.
26208         * math/s_clog.c (__clog): Likewise.
26209         * math/s_clogf.c (__clogf): Likewise.
26210         * math/s_clogl.c (__clogl): Likewise.
26211         * math/s_csin.c (__csin): Likewise.
26212         * math/s_csinf.c (__csinf): Likewise.
26213         * math/s_csinh.c (__csinh): Likewise.
26214         * math/s_csinhf.c (__csinhf): Likewise.
26215         * math/s_csinhl.c (__csinhl): Likewise.
26216         * math/s_csinl.c (__csinl): Likewise.
26217         * math/s_csqrt.c (__csqrt): Likewise.
26218         * math/s_csqrtf.c (__csqrtf): Likewise.
26219         * math/s_csqrtl.c (__csqrtl): Likewise.
26220         * math/s_ctan.c (__ctan): Likewise.
26221         * math/s_ctanf.c (__ctanf): Likewise.
26222         * math/s_ctanh.c (__ctanh): Likewise.
26223         * math/s_ctanhf.c (__ctanhf): Likewise.
26224         * math/s_ctanhl.c (__ctanhl): Likewise.
26225         * math/s_ctanl.c (__ctanl): Likewise.
26226         * math/w_pow.c: Likewise.
26227         * math/w_powf.c: Likewise.
26228         * math/w_powl.c: Likewise.
26229         * math/w_scalb.c (sysv_scalb): Likewise.
26230         * math/w_scalbf.c (sysv_scalbf): Likewise.
26231         * math/w_scalbl.c (sysv_scalbl): Likewise.
26232         * misc/error.c (error_tail): Likewise.
26233         * misc/pselect.c (__pselect): Likewise.
26234         * nis/nis_callback.c (__nis_create_callback): Likewise.
26235         * nis/nis_call.c (__nisfind_server): Likewise.
26236         * nis/nis_creategroup.c (nis_creategroup): Likewise.
26237         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
26238         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
26239         * nis/nis_getservlist.c (nis_getservlist): Likewise.
26240         * nis/nis_lookup.c (nis_lookup): Likewise.
26241         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
26242         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
26243         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
26244         * nis/nis_xdr.c (xdr_endpoint): Likewise.
26245         * nis/nss_compat/compat-grp.c (getgrent_next_file)
26246         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
26247         * nis/nss_compat/compat-initgroups.c (add_group)
26248         (internal_getgrent_r): Likewise.
26249         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
26250         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
26251         * nis/nss_compat/compat-spwd.c (getspent_next_file)
26252         (internal_getspnam_r): Likewise.
26253         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
26254         (_nss_nis_getaliasbyname_r): Likewise.
26255         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
26256         (_nss_nis_getntohost_r): Likewise.
26257         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
26258         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
26259         (_nss_nis_getgrgid_r): Likewise.
26260         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
26261         (internal_nis_gethostent_r, internal_gethostbyname2_r)
26262         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
26263         (_nss_nis_gethostbyname4_r): Likewise.
26264         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
26265         (initgroups_netid): Likewise.
26266         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
26267         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
26268         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
26269         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
26270         (_nss_nis_getprotobynumber_r): Likewise.
26271         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
26272         (_nss_nis_getsecretkey): Likewise.
26273         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
26274         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
26275         (_nss_nis_getpwuid_r): Likewise.
26276         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
26277         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
26278         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
26279         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
26280         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
26281         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
26282         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
26283         Likewise.
26284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
26285         (_nss_nisplus_getntohost_r): Likewise.
26286         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
26287         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
26288         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
26289         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
26290         Likewise.
26291         * nis/nss_nisplus/nisplus-initgroups.c
26292         (_nss_nisplus_initgroups_dyn): Likewise.
26293         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
26294         (_nss_nisplus_getnetbyaddr_r): Likewise.
26295         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
26296         (_nss_nisplus_getprotobynumber_r): Likewise.
26297         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
26298         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
26299         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
26300         Likewise.
26301         * nis/nss_nisplus/nisplus-service.c
26302         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
26303         (_nss_nisplus_getservbyport_r): Likewise.
26304         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
26305         (_nss_nisplus_getspnam_r): Likewise.
26306         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
26307         Likewise.
26308         * nscd/aicache.c (addhstaiX): Likewise.
26309         * nscd/cache.c (cache_search, prune_cache): Likewise.
26310         * nscd/connections.c (register_traced_file, send_ro_fd)
26311         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
26312         (main_loop_epoll): Likewise.
26313         * nscd/grpcache.c (addgrbyX): Likewise.
26314         * nscd/hstcache.c (addhstbyX): Likewise.
26315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26316         * nscd/mem.c (gc, mempool_alloc): Likewise.
26317         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
26318         (addinnetgrX): Likewise.
26319         * nscd/nscd-client.h (__nscd_acquire_maplock)
26320         (__nscd_drop_map_ref): Likewise.
26321         * nscd/nscd_getai.c (__nscd_getai): Likewise.
26322         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
26323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
26324         Likewise.
26325         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
26326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
26327         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
26328         (__nscd_get_map_ref): Likewise.
26329         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
26330         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
26331         Likewise.
26332         * nscd/pwdcache.c (addpwbyX): Likewise.
26333         * nscd/selinux.c (preserve_capabilities): Likewise.
26334         * nscd/servicescache.c (addservbyX): Likewise.
26335         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
26336         * posix/fnmatch.c (fnmatch): Likewise.
26337         * posix/getopt.c (_getopt_internal_r): Likewise.
26338         * posix/glob.c (glob, glob_in_dir): Likewise.
26339         * posix/wordexp.c (exec_comm_child): Likewise.
26340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
26341         (getanswer_r, gaih_getanswer_slice): Likewise.
26342         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
26343         * resolv/res_init.c: Likewise.
26344         * resolv/res_mkquery.c (res_nmkquery): Likewise.
26345         * resolv/res_query.c (__libc_res_nquery): Likewise.
26346         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
26347         Likewise.
26348         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
26349         * stdio-common/perror.c (perror): Likewise.
26350         * stdio-common/printf_fp.c (___printf_fp): Likewise.
26351         * stdio-common/tmpnam.c (tmpnam): Likewise.
26352         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26353         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
26354         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
26355         Likewise.
26356         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
26357         * stdlib/putenv.c (putenv): Likewise.
26358         * stdlib/setenv.c (__add_to_environ): Likewise.
26359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26360         * stdlib/strtol_l.c (INTERNAL): Likewise.
26361         * string/memmem.c (memmem): Likewise.
26362         * string/strerror.c (strerror): Likewise.
26363         * string/strnlen.c (__strnlen): Likewise.
26364         * string/test-memmem.c (simple_memmem): Likewise.
26365         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
26366         * sunrpc/pm_getport.c (__get_socket): Likewise.
26367         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
26368         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
26369         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
26370         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
26371         Likewise.
26372         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
26373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26374         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
26375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
26376         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
26377         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
26378         Likewise.
26379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
26380         Likewise.
26381         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
26382         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
26383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
26384         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
26385         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
26386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
26387         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
26388         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
26389         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
26390         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
26391         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26392         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
26393         Likewise.
26394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
26395         Likewise.
26396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
26397         Likewise.
26398         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
26399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
26401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
26402         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
26403         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
26404         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
26406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
26407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
26408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
26409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
26411         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
26412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
26414         Likewise.
26415         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
26416         Likewise.
26417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
26418         Likewise.
26419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
26420         Likewise.
26421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26423         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
26424         Likewise.
26425         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
26426         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
26427         * sysdeps/posix/opendir.c (__opendirat): Likewise.
26428         * sysdeps/posix/sleep.c: Likewise.
26429         * sysdeps/posix/tempname.c: Likewise.
26430         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
26431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26432         Likewise.
26433         * sysdeps/powerpc/powerpc32/dl-machine.h
26434         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
26435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
26436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26437         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
26438         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
26439         Likewise.
26440         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
26441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
26442         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
26444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
26445         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
26446         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
26447         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
26448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26449         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
26450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
26451         (elf_machine_lazy_rel): Likewise.
26452         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
26453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
26454         (elf_machine_lazy_rel): Likewise.
26455         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
26456         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
26457         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
26458         * sysdeps/unix/grantpt.c (grantpt): Likewise.
26459         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
26460         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
26461         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
26462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26463         Likewise.
26464         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26465         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26466         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
26467         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
26468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26470         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
26471         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
26472         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
26473         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26475         Likewise.
26476         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
26477         (__posix_fallocate64_l64): Likewise.
26478         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
26479         (posix_fallocate): Likewise.
26480         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26481         Likewise.
26482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26483         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
26484         (getifaddrs_internal): Likewise.
26485         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
26486         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
26487         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26488         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26489         * sysdeps/unix/sysv/linux/posix_fallocate64.c
26490         (__posix_fallocate64_l64): Likewise.
26491         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
26492         Likewise.
26493         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
26494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
26495         (__get_clockfreq): Likewise.
26496         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
26497         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26498         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
26499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26501         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
26502         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
26503         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
26504         Likewise.
26505         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
26506         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
26507         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
26508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
26509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
26510         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
26511         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
26512         Likewise.
26513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26514         (posix_fallocate): Likewise.
26515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26516         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26517         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
26518         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
26519         (elf_machine_rela, elf_machine_rela_relative)
26520         (elf_machine_lazy_rel): Likewise.
26521         * time/asctime.c (asctime_internal): Likewise.
26522         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
26523         * time/tzset.c (__tzset_parse_tz): Likewise.
26524         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
26525         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
26526         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
26527         * wcsmbs/wcsmbsload.h: Likewise.
26529         [BZ #15894]
26530         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
26532         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
26533         (arena_get2): Remove THREAD_STATS conditionals.
26534         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
26535         (__malloc_stats, int): Likewise.
26537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
26539         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
26540         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
26542         * manual/setjmp.texi: Fix typos/grammar errors.
26544         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
26545         Only return early when n is <= 0.  Delete unused return statement.
26547         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
26548         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
26549         * debug/tst-longjmp_chk3.c: New file.
26551         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
26552         (test_main): Replace code with set_fortify_handler call.
26553         * debug/test-strcpy_chk.c: Likewise.
26554         * debug/tst-chk1.c: Likewise.
26555         * debug/tst-longjmp_chk.c: Likewise.
26556         * test-skeleton.c: Include fcntl.h & paths.h
26557         (set_fortify_handler): Define.
26559         * debug/tst-longjmp_chk.c: Add header comment and include
26560         ../test-skeleton.c.
26561         (do_test): Mark static.
26562         (TEST_FUNCTION): Define.
26564         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
26565         (IP_PMTUDISC_INTERFACE): Likewise.
26566         (IP_MULTICAST_IF): Likewise.
26567         (IP_MULTICAST_TTL): Likewise.
26568         (IP_MULTICAST_LOOP): Likewise.
26569         (IP_ADD_MEMBERSHIP): Likewise.
26570         (IP_DROP_MEMBERSHIP): Likewise.
26571         (IP_UNBLOCK_SOURCE): Likewise.
26572         (IP_BLOCK_SOURCE): Likewise.
26573         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
26574         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
26575         (IP_MSFILTER): Likewise.
26576         (MCAST_JOIN_GROUP): Likewise.
26577         (MCAST_BLOCK_SOURCE): Likewise.
26578         (MCAST_UNBLOCK_SOURCE): Likewise.
26579         (MCAST_LEAVE_GROUP): Likewise.
26580         (MCAST_JOIN_SOURCE_GROUP): Likewise.
26581         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
26582         (MCAST_MSFILTER): Likewise.
26583         (IP_MULTICAST_ALL): Likewise.
26584         (IP_UNICAST_IF): Likewise.
26586         * timezone/Makefile: Delete $(have-ksh) check.
26587         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
26588         * timezone/tzselect.ksh: Add +x mode bits.
26590         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
26591         (ANON_INODE_FS_MAGIC): Likewise.
26592         (BDEVFS_MAGIC): Likewise.
26593         (BINFMTFS_MAGIC): Likewise.
26594         (BTRFS_TEST_MAGIC): Likewise.
26595         (CRAMFS_MAGIC_WEND): Likewise.
26596         (DEBUGFS_MAGIC): Likewise.
26597         (ECRYPTFS_SUPER_MAGIC): Likewise.
26598         (EXT3_SUPER_MAGIC): Likewise.
26599         (EXT4_SUPER_MAGIC): Likewise.
26600         (FUTEXFS_SUPER_MAGIC): Likewise.
26601         (HOSTFS_SUPER_MAGIC): Likewise.
26602         (HUGETLBFS_MAGIC): Likewise.
26603         (MINIX3_SUPER_MAGIC): Likewise.
26604         (MTD_INODE_FS_MAGIC): Likewise.
26605         (NILFS_SUPER_MAGIC): Likewise.
26606         (OPENPROM_SUPER_MAGIC): Likewise.
26607         (PIPEFS_MAGIC): Likewise.
26608         (PSTOREFS_MAGIC): Likewise.
26609         (QNX6_SUPER_MAGIC): Likewise.
26610         (RAMFS_MAGIC): Likewise.
26611         (REISERFS_SUPER_MAGIC_STRING): Likewise.
26612         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
26613         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
26614         (SECURITYFS_MAGIC): Likewise.
26615         (SELINUX_MAGIC): Likewise.
26616         (SMACK_MAGIC): Likewise.
26617         (SOCKFS_MAGIC): Likewise.
26618         (SQUASHFS_MAGIC): Likewise.
26619         (STACK_END_MAGIC): Likewise.
26620         (TMPFS_MAGIC): Likewise.
26621         (USBDEVICE_SUPER_MAGIC): Likewise.
26622         (V9FS_MAGIC): Likewise.
26623         (XENFS_SUPER_MAGIC): Likewise.
26624         (CRAMFS_MAGIC): Fix typo in comment.
26625         (EXT2_SUPER_MAGIC): Update comment.
26626         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
26628 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
26630         * sysdeps/arm: Move directory from ports/sysdeps/arm.
26631         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
26632         * sysdeps/unix/sysv/linux/arm: Move directory from
26633         ports/sysdeps/unix/sysv/linux/arm.
26634         * README: Update listing for arm-*-linux-gnueabi.
26636         * README: Remove mention of am33.
26638 2014-02-07  Roland McGrath  <roland@hack.frob.com>
26640         * bits/sigset.h (__sigemptyset): Use a statement expression rather
26641         than the comma operator, to avoid "rhs of comma has no effect"
26642         compiler warnings.
26643         (__sigfillset, __sigandset, __sigorset): Likewise.
26644         * include/signal.h (__sigemptyset): Likewise.
26645         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
26647 2014-02-07  Allan McRae  <allan@archlinux.org>
26649         * version.h (RELEASE): Set to "development".
26650         (VERSION): Set to "2.19.90"
26651         * NEWS: Add 2.20 section.
26653 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
26655         [BZ #16529]
26656         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
26658 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
26660         * manual/contrib.texi: Update entry for Carlos O'Donell,
26661         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
26663 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
26665         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
26667         * sysdeps/unix/sysv/linux/kernel-features.h
26668         [__LINUX_KERNEL_VERSION >= 0x020621]
26669         (__ASSUME_PROC_PID_TASK_COMM): Define.
26671 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26673         [BZ #16398]
26674         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
26675         conversion when destination buffer does not have enough space.
26676         * libio/tst-ftell-partial-wide.c: New test case.
26677         * libio/Makefile (tests): Add tst-ftell-partial-wide.
26679         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
26680         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
26681         Leonard and Allan McRae.
26683 2014-02-04  David S. Miller  <davem@davemloft.net>
26685         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
26686         32-bit.
26688 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
26691         New file
26692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
26693         New file
26694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
26695         New file.
26696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
26697         New file.
26698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
26699         New file.
26700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
26701         New file.
26702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
26703         New file.
26704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
26705         New file.
26706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
26707         New file.
26708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
26709         New file.
26710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
26711         New file.
26712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
26713         New file.
26714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
26715         New file.
26717 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26719         * nptl/shlib-versions: Change powerpc*le start to 2.17.
26720         * shlib-versions: Likewise.
26722 2014-02-04  Roland McGrath  <roland@hack.frob.com>
26723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26725         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
26726         (abilist-pattern): New variable, set to %-le.abilist.
26728         * Makerules (abilist-pattern): New variable.
26729         (vpath): Use $(abilist-pattern) in place of %.abilist.
26730         (check-abi-% pattern rule): Likewise.
26731         (check-abi, update-abi): Likewise.
26733 2014-02-04  Eric Wong  <normalperson@yhbt.net>
26735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26737 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
26739         * manual/startup.texi: Add next, previous, and top entries for
26740         the `Program Arguments' and `Environment Variables' nodes.
26742 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
26744         * manual/macros.texi: Add comments before MTASC-safety macros.
26746         * manual/users.texi: Document MTASC-safety properties.
26748         * manual/threads.texi (pthread_key_create, pthread_key_delete)
26749         (pthread_getspecific, pthread_setspecific): Format with
26750         @deftypefun, and add @safety note.
26751         * manual/signal.texi: Move comments that analyze the above
26752         functions to their home place.
26754 2014-02-03  Allan McRae  <allan@archlinux.org>
26756         * po/sl.po: Update Slovenian translation from translation project.
26758 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
26760         * manual/time.texi (timegm): Add missing blank after @c.
26761         Reported by Joseph Myers <joseph@codesourcery.com>.
26763 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
26765         * manual/check-safety.sh: New.
26766         * manual/Makefile ($(objpfx)stamp-summary): Run it.
26768         * manual/terminal.texi: Document MTASC-safety properties.
26770         * manual/filesys.texi: Document MTASC-safety properties.
26772         * manual/errno.texi: Document MTASC-safety properties.
26774         * manual/intro.texi: Document safety identifiers and
26775         conditionals.
26777         * manual/string.texi (wcstok): Fix prototype.
26778         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
26780         * manual/time.texi: Document MTASC-safety properties.
26782         * manual/string.texi: Document MTASC-safety properties.
26784         * manual/threads.texi: Document MTASC-safety properties.
26786         * manual/stdio.texi: Document MTASC-safety properties.
26788         * manual/syslog.texi: Document MTASC-safety properties.
26790         * manual/sysinfo.texi: Document MTASC-safety properties.
26792         * manual/startup.texi: Document MTASC-safety properties.
26794         * manual/socket.texi: Document MTASC-safety properties.
26796         * manual/signal.texi: Document MTASC-safety properties.
26798 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
26800         * manual/setjmp.texi: Document MTASC-safety properties.
26802         * manual/search.texi: Document MTASC-safety properties.
26804         * manual/resource.texi: Document MTASC-safety properties.
26806         * manual/process.texi: Document MTASC-safety properties.
26808         * manual/platform.texi: Document MTASC-safety properties.
26810         * manual/pipe.texi: Document MTASC-safety properties.
26812         * manual/pattern.texi: Document MTASC-safety properties.
26814         * manual/message.texi: Document MTASC-safety properties.
26816         [BZ #12751]
26817         * manual/memory.texi: Document MTASC-safety properties.
26819         * manual/math.texi: Document MTASC-safety properties.
26821         * manual/locale.texi: Document MTASC-safety properties.
26823         * manual/llio.texi: Document MTASC-safety properties.
26825         * manual/libdl.texi: New.
26827         * manual/lang.texi: Document MTASC-safety properties.
26829         * manual/job.texi: Document MTASC-safety properties.
26831         * manual/getopt.texi: Document MTASC-safety properties.
26833         * manual/ctype.texi: Document MTASC-safety properties.
26835 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
26837         [BZ #16046]
26838         * csu/libc-tls.c (static_map): Remove variable.
26839         (__libc_setup_tls): Use main executable's link map for TLS data.
26840         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
26841         casing for LM_ID_BASE and GL(dl_nns).
26842         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
26843         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
26844         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
26845         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
26846         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
26847         member.
26848         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
26849         l_phnum members.
26851 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
26853         * manual/debug.texi: Document MTASC-safety properties.
26855 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
26857         [BZ #16510]
26858         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
26859         of __x86_64__ when disabling x87 inline functions.
26861 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
26863         * manual/charset.texi: Document MTASC-safety properties.
26865         * manual/crypt.texi: Document MTASC-safety properties.
26867         * manual/conf.texi: Document MTASC-safety properties.
26869         * manual/arith.texi: Document MTASC-safety properties.
26871         * manual/argp.texi: Document MTASC-safety properties.
26873         * manual/macros.texi: Introduce macros to document multi
26874         thread, asynchronous signal and asynchronous cancellation
26875         safety properties.
26876         * manual/intro.texi: Introduce the properties themselves.
26878 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26880         * sysdeps/sh/sh4/Makefile: New file.
26882 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
26884         * math/gen-libm-test.pl ($srcdir): New variable.
26885         ($auto_input): Use it.
26887 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26889         [BZ #16506]
26890         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
26891         access beyond array bounds when parsing netgroups file.
26893         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
26894         the old buffer before realloc.
26896 2014-01-27  Allan McRae  <allan@archlinux.org>
26898         * po/fr.po: Update French translation from translation project.
26900 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26902         * sysdeps/sh/libm-test-ulps: Regenerate.
26904 2014-01-24  David S. Miller  <davem@davemloft.net>
26906         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
26908 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26910         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
26911         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
26913 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26915         [BZ #16474]
26916         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
26917         string pointers after reallocation.
26919 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
26922         __SH4A__ instead of __SH_FPU_ANY__.
26924 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26926         * sysdeps/sh/fpu_control.h: New file.
26927         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
26928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
26929         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
26930         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
26931         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
26932         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
26933         * sysdeps/sh/sys/ucontext.h: Remove.
26934         * sysdeps/sh/sys: Remove directory.
26936 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26938         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
26939         s390/sys/ucontext.h.
26940         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
26941         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
26943 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
26945         [BZ #15605]
26946         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
26948 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26950         [BZ#16431]
26951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26952         Adjust the vDSO correctly for internal calls.
26953         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
26955 2014-01-20  Allan McRae  <allan@archlinux.org>
26957         * po/ca.po: Update Catalan translation from translation project.
26959 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
26961         * sysdeps/s390/sotruss-lib.c: New file.
26963 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26965         [BZ#16430]
26966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
26967         (__GI___gettimeofday): Alias for a different internal symbol to avoid
26968         local calls issues by not having a PLT stub required for IFUNC calls.
26969         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
26971 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
26973         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
26974         * math/test-fpucw-static.c: Likewise.
26976 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26978         [BZ #16453]
26979         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
26981 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26983         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
26984         implementation for powerpc.
26986 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
26988         [BZ #14782]
26989         * sysdeps/posix/system.c (__libc_system): Do not enable
26990         asynchronous cancellation.
26992 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26994         [BZ #16427]
26995         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
26996         handling only for numbers special also in the IEEE case.
26998 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
27002 2014-01-11  Allan McRae  <allan@archlinux.org>
27004         * po/bg.po: Update Bulgarian translation from translation project.
27006         * po/de.po: Update German translation from translation project.
27008 2014-01-10  Roland McGrath  <roland@hack.frob.com>
27010         * sysdeps/generic/gcc-compat.h: New file.
27012 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27014         * benchtests/asin-inputs: Correct slow inputs.
27015         * benchtests/acos-inputs: Likewise.
27017 2014-01-10  Allan McRae  <allan@archlinux.org>
27019         * po:sv.po: Update Swedish translation from translation project.
27021         * po/vi.po: Update Vietnamese translation from translation project.
27023         * po/eo.po: Update Esperanto translation from translation project.
27025         * po/cs.po: Update Czech translation from translation project.
27027         * po/nl.po: Update Dutch translation from translation project.
27029         * po/pl.po: Update Polish translation from translation project.
27031         * po/ru.po: Update Russian translation from translation project.
27033         * po/uk.po: Update Ukrainian translation from translation project.
27035 2014-01-08  Brooks Moses  <bmoses@google.com>
27037         * elf/dl-load.c: Fix comment typo.
27039 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
27041         * po/header.pot: Rename to...
27042         * po/pot.header: ... this.
27043         * po/Makefile: Use pot.header.
27045 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
27046             Maxim Kuvyrkov  <maxim@kugelworks.com>
27048         [BZ #16394]
27049         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
27050         SRC and DEST against LEN.
27052 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27054         [BZ #16414]
27055         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
27056         implementation.
27057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
27059 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27063 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
27065         [BZ #16408]
27066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
27067         for large positive arguments.
27069 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
27071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27073         * math/auto-libm-test-in: Mark various tests with
27074         xfail-rounding:ldbl-128ibm.
27075         * math/auto-libm-test-out: Regenerated.
27077         [BZ #16407]
27078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
27079         Increase overflow threshold.
27081 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
27083         [BZ #14286]
27084         * stdio-common/vfprintf.c: Check for integer overflow.
27086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27088         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
27089         the first argument and return value of __tls_get_addr_internal.
27091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27093         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
27094         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
27096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27098         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
27099         * sysdeps/s390/rtld-global-offsets.sym: New file.
27100         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
27101         GLIBC_2.19 symbol.
27102         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
27103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
27104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
27105         ... this.
27106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
27107         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
27108         ... this.
27109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27110         Regenerate.
27111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27112         Regenerate.
27113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
27114         halfs of GPRs for high_gprs contexts.
27115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
27116         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
27117         field.
27118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
27119         uc_flags field.
27120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
27121         64 bit versions:
27122         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
27123         for high GPRs (uc_high_gprs) and for future extensions
27124         (__reserved).
27125         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
27126         for future extensions (__reserved).
27127         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
27128         64 bit versions:
27129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
27130         SC_HIGHGPRS offset definition.
27131         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
27132         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
27134         * Versions.def: Add GLIBC_2.19 for libpthread.
27135         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
27136         siglongjmp for libpthread with GLIBC_2.19 symver.
27137         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
27138         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
27139         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
27140         * sysdeps/s390/__longjmp.c: New file.
27141         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
27142         * sysdeps/s390/longjmp.c: New file.
27143         * sysdeps/s390/setjmp.S: New file.
27144         * sysdeps/s390/sigjmp.S: New file.
27145         * sysdeps/s390/v1-longjmp.c: New file.
27146         * sysdeps/s390/v1-setjmp.h: New file.
27147         * sysdeps/s390/v1-sigjmp.c: New file.
27148         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
27149         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
27150         GLIBC_2.19 version.
27151         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
27152         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
27153         versioned symbols for ____longjmp_chk.
27154         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
27155         Likewise.
27156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27157         Regenerate.
27158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27159         Regenerate.
27160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27161         Regenerate.
27162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27163         Regenerate.
27164         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
27165         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
27166         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
27167         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
27168         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
27169         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
27170         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
27171         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
27172         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
27173         * sysdeps/s390/rtld-__longjmp.c: New file.
27174         * sysdeps/s390/rtld-setjmp.S: New file.
27176 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #16400]
27179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27180         Return -__logl (x) for small positive arguments without evaluating
27181         a polynomial.
27183 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
27185         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
27186         Rename to ...
27187         (__ptrace_peeksiginfo_args): ... this.
27188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27192 2014-01-06  Allan McRae  <allan@archlinux.org>
27194         * inet/netinet/in.h: Fix typo in comment.
27196 2014-01-05  Andreas Jaeger  <aj@suse.de>
27198         * sysdeps/i386/fpu/libm-test-ulps: Update.
27200 2014-01-05  Allan McRae  <allan@archlinux.org>
27202         * po/libc.pot: Regenerated.
27204         * malloc/memusagestat.c: Fix gettext call formatting.
27206 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
27208         * nscd/nscd.c: Improve usage() output.
27210 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
27212         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
27213         * sysdeps/unix/sysv/linux/configure: Regenerated.
27214         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
27215         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
27217 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27219         [BZ #16390]
27220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
27221         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
27223 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
27226         extra tokens at end of #undef directive.
27227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
27229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
27231 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
27233         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
27235         * math/auto-libm-test-in: Mark various tests with
27236         xfail-rounding:ldbl-128ibm.
27237         * math/auto-libm-test-out: Regenerated.
27239 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
27241         [BZ #16386]
27242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
27243         numbers with subnormal high part when calculating exponent.
27245         [BZ #16385]
27246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
27247         fabs.
27249         [BZ #16384]
27250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
27251         M_LN2l.
27252         (__ieee754_acoshl): Use __log1pl not __log1p.
27254 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
27256         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
27257         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
27258         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
27259         (grow_heap, heap_trim, _int_new_arena, get_free_list)
27260         (reused_arena, arena_get2): Convert to GNU style.
27261         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
27262         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
27263         (memalign_check, __malloc_set_state): Likewise.
27264         * malloc/mallocbug.c (main): Likewise.
27265         * malloc/malloc.c (__malloc_assert, malloc_init_state)
27266         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
27267         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
27268         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
27269         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
27270         (__posix_memalign, malloc_info): Likewise.
27271         * malloc/malloc.h: Likewise.
27272         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
27273         (mallochook, memalignhook, reallochook, mabort): Likewise.
27274         * malloc/mcheck.h: Likewise.
27275         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
27276         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
27277         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
27278         * malloc/morecore.c (__default_morecore): Likewise.
27279         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
27280         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
27281         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
27282         (print_and_abort): Likewise.
27283         * malloc/obstack.h: Likewise.
27284         * malloc/set-freeres.c (__libc_freeres): Likewise.
27285         * malloc/tst-mallocstate.c (main): Likewise.
27286         * malloc/tst-mtrace.c (main): Likewise.
27287         * malloc/tst-realloc.c (do_test): Likewise.
27289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27291         [BZ #16366]
27292         * nscd/netgroupcache.c (do_notfound): New function.
27293         (addgetnetgrentX): Use it.
27295         [BZ # 16365]
27296         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
27297         NSS_STATUS_NOTFOUND.
27299 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
27301         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27304 2014-01-01  Allan McRae  <allan@archlinux.org>
27306         * scripts/update-copyrights: Update configure input file suffix.
27308         * NEWS: Update copyright year.
27309         * catgets/gencat.c: Likewise.
27310         * csu/version.c: Likewise.
27311         * debug/catchsegv.sh: Likewise.
27312         * debug/pcprofiledump.c: Likewise.
27313         * debug/xtrace.sh: Likewise.
27314         * elf/ldconfig.c: Likewise.
27315         * elf/ldd.bash.in: Likewise.
27316         * elf/pldd.c: Likewise.
27317         * elf/sotruss.ksh: Likewise.
27318         * elf/sprof.c: Likewise.
27319         * iconv/iconv_prog.c: Likewise.
27320         * iconv/iconvconfig.c: Likewise.
27321         * locale/programs/locale.c: Likewise.
27322         * locale/programs/localedef.c: Likewise.
27323         * login/programs/pt_chown.c: Likewise.
27324         * malloc/memusage.sh: Likewise.
27325         * malloc/memusagestat.c: Likewise.
27326         * malloc/mtrace.pl: Likewise.
27327         * manual/libc.texinfo: Likewise.
27328         * nscd/nscd.c: Likewise.
27329         * nss/getent.c: Likewise.
27330         * nss/makedb.c: Likewise.
27331         * posix/getconf.c: Likewise.
27332         * scripts/test-installation.pl: Likewise.
27334         * All files with FSF copyright notices: Update copyright dates
27335         using scripts/update-copyrights.
27336         * intl/plural.c: Regenerated.
27337         * locale/programs/charmap-kw.h: Likewise.
27338         * locale/programs/locfile-kw.h: Likewise.
27340 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
27342         * sysdeps/unix/sysv/linux/configure: Regenerated.
27343         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
27344         the linux/fanotify.h header.
27345         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
27346         HAVE_LINUX_FANOTIFY_H is defined.
27348 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
27350         * benchtests/cos-inputs: New inputs.
27351         * benchtests/sin-inputs: Likewise.
27353         * benchtests/atan-inputs: New inputs. Fix name of multiple
27354         precision fallback inputs.
27356         * benchtests/atanh-inputs: New inputs.
27357         * benchtests/tanh-inputs: Likewise.
27359         * benchtests/acosh-inputs: New inputs.
27360         * benchtests/asinh-inputs: Likewise.
27362         * benchtests/cosh-inputs: New inputs.
27363         * benchtests/sinh-inputs: Likewise.
27365         * benchtests/acos-inputs: Add more inputs.
27366         * benchtests/asin-inputs: Likewise.
27368 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
27370         [BZ #16375]
27371         * manual/arith.texi: Fix spelling.
27372         * manual/charset.texi: Likewise.
27373         * manual/errno.texi: Likewise.
27374         * manual/filesys.texi: Likewise.
27375         * manual/lang.texi: Likewise.
27376         * manual/llio.texi: Likewise.
27377         * manual/locale.texi: Likewise.
27378         * manual/message.texi: Likewise.
27379         * manual/resource.texi: Likewise.
27380         * manual/search.texi: Likewise.
27381         * manual/setjmp.texi: Likewise.
27382         * manual/stdio.texi: Likewise.
27383         * manual/string.texi: Likewise.
27384         * manual/sysinfo.texi: Likewise.
27385         * manual/time.texi: Likewise.
27387 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
27389         * po/sl.po: New file.
27391 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
27393         * .gitignore: Add core/.gdbinit/.gdb_history.
27395 2013-12-27  Allan McRae  <allan@archlinux.org>
27397         [BZ #16369]
27398         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
27399         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
27401 2013-12-24  Brooks Moses  <bmoses@google.com>
27403         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
27404         all compilers that claim C++98 compliance, not just GCC.
27405         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
27406         Likewise.
27408 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
27410         * NEWS: Restore accidentally deleted bug-fix entries.
27412 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
27413             Ondřej Bílka  <neleai@seznam.cz>
27415         [BZ #15073]
27416         * malloc/malloc.c (_int_free): Perform sanity check only if we
27417         have_lock.
27419 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
27421         [BZ #12986]
27422         * manual/stdio.texi (String Input Conversions): Clarify that character
27423         classes are not supported.
27425 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27429 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
27431         [BZ #16337]
27432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
27433         Calculate results for small negative arguments directly rather
27434         than using reflection formula with special underflow handling.
27436         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
27437         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
27438         sysdeps/unix/bsd/bsd4.4/syscalls.list.
27439         (fchflags): Likewise.
27440         (revoke): Likewise.
27441         (setlogin): Likewise.
27442         (sigaltstack): Likewise.
27443         (wait4): Likewise.
27444         (sigblock): Remove.
27445         (sigsetmask): Likewise.
27446         (wait3): Likewise.
27447         (waitpid): Likewise.
27448         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
27449         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
27450         file.
27451         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
27452         * sysdeps/unix/bsd/Makefile: ... here.
27453         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
27454         * sysdeps/unix/bsd/Versions: ... here.
27455         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
27456         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
27457         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
27458         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
27459         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
27460         * sysdeps/unix/bsd/sigblock.c: ... here.
27461         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
27462         * sysdeps/unix/bsd/sigsetmask.c: ... here.
27463         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
27464         * sysdeps/unix/bsd/sigvec.c: ... here.
27465         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
27466         * sysdeps/unix/bsd/tcdrain.c: ... here.
27467         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
27468         * sysdeps/unix/bsd/tcgetattr.c: ... here.
27469         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
27470         * sysdeps/unix/bsd/tcsetattr.c: ... here.
27471         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
27472         * sysdeps/unix/bsd/wait.c: ... here.
27473         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
27474         * sysdeps/unix/bsd/wait3.c: ... here.
27475         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
27476         * sysdeps/unix/bsd/waitpid.c: ... here.
27478 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
27480         [BZ #16356]
27481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
27482         round-to-nearest for [!USE_AS_EXPM1L].
27483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
27484         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
27485         more tests of exp and exp10.  Expect some exp10 tests to miss
27486         exceptions or fail in directed rounding modes.
27487         * math/auto-libm-test-out: Regenerated.
27488         * math/libm-test.inc (exp10_tonearest_test_data): New array.
27489         (exp10_test_tonearest): New function.
27490         (exp10_towardzero_test_data): New array.
27491         (exp10_test_towardzero): New function.
27492         (exp10_downward_test_data): New array.
27493         (exp10_test_downward): New function.
27494         (exp10_upward_test_data): New array.
27495         (exp10_test_upward): New function.
27496         (main): Call the new functions.
27497         * sysdeps/i386/fpu/libm-test-ulps: Update.
27498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27500 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
27502         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27503         asinh, atan, atan2, atanh, cbrt, cos and cosh.
27504         * math/auto-libm-test-out: Regenerated.
27505         * math/libm-test.inc (acosh_test_data): Add more tests.
27506         (atanh_test_data): Likewise.
27507         (ceil_test_data): Likewise.
27508         (copysign_test_data): Likewise.
27509         * sysdeps/i386/fpu/libm-test-ulps: Update.
27510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27512         * timezone/checktab.awk: Update from tzcode 2013i.
27513         * timezone/private.h: Likewise.
27514         * timezone/scheck.c: Likewise.
27515         * timezone/tzfile.h: Likewise.
27516         * timezone/tzselect.ksh: Likewise.
27517         * timezone/zdump.c: Likewise.
27518         * timezone/zic.c: Likewise.
27520         * math/auto-libm-test-in: Add tests of cpow.
27521         * math/auto-libm-test-out: Regenerated.
27522         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
27523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27524         mpc_cc_c.
27525         (func_calc_desc): Add mpc_cc_c union field.
27526         (test_functions): Add cpow.
27527         (special_fill_2pi): New function.
27528         (special_real_inputs): Add 2pi.
27529         (calc_generic_results): Handle mpc_cc_c.
27530         * sysdeps/i386/fpu/libm-test-ulps: Update.
27531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27533         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
27534         csqrt, ctan and ctanh.
27535         * math/auto-libm-test-out: Regenerated.
27536         * math/libm-test.inc (TEST_COND_x86_64): New macro.
27537         (TEST_COND_x86): Likewise.
27538         (ccos_test_data): Use AUTO_TESTS_c_c.
27539         (ccosh_test_data): Likewise.
27540         (cexp_test_data): Likewise.
27541         (clog_test_data): Likewise.
27542         (csqrt_test_data): Likewise.
27543         (ctan_test_data): Likewise.
27544         (ctan_tonearest_test_data): Likewise.
27545         (ctan_towardzero_test_data): Likewise.
27546         (ctan_downward_test_data): Likewise.
27547         (ctan_upward_test_data): Likewise.
27548         (ctanh_test_data): Likewise.
27549         (ctanh_tonearest_test_data): Likewise.
27550         (ctanh_towardzero_test_data): Likewise.
27551         (ctanh_downward_test_data): Likewise.
27552         (ctanh_upward_test_data): Likewise.
27553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27554         mpc_c_c.
27555         (func_calc_desc): Add mpc_c_c union field.
27556         (FUNC_mpc_c_c): New macro.
27557         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
27558         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
27559         ctanh.
27560         (special_fill_min_subnorm_p120): New function.
27561         (special_real_inputs): Add min_subnorm_p120.
27562         (calc_generic_results): Handle mpc_c_c.
27563         * sysdeps/i386/fpu/libm-test-ulps: Update.
27564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27566 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27568         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
27569         (do_sin_slow): New functions.
27570         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
27571         (cslow2, csloww1, csloww2): Use the new functions.
27573         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
27574         Use M to change sign of result instead of X.  Assume X is
27575         positive.
27576         (csloww1): Likewise.
27577         (__sin): Adjust.
27578         (__cos): Adjust.
27580         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
27581         arguments A and DA.
27582         (__sin): Adjust.
27583         (__cos): Likewise.
27585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
27586         (__cos): Likewise.
27587         (sloww1): Don't adjust sign of DX.
27588         (csloww1): Likewise.
27589         (sloww2): Use X directly and don't adjust sign of DX.
27590         (csloww2): Likewise.
27592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27594         * math/auto-libm-test-in: Add tests of cabs and carg.
27595         * math/auto-libm-test-out: Regenerated.
27596         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
27597         (carg_test_data): Likewise.
27598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27599         mpc_c_f.
27600         (func_calc_desc): Add mpc_c_f union field.
27601         (test_functions): Add cabs and carg.
27602         (calc_generic_results): Handle mpc_c_f.
27604         * sysdeps/powerpc/powerpc32/libgcc-compat.S
27605         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
27606         as a macro and a compat symbol.
27607         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27608         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27609         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27610         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27611         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
27612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
27613         not use .hidden.
27614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
27615         Likewise.
27616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
27617         Likewise.
27618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
27619         Likewise.
27620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
27621         Likewise.
27622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
27623         Likewise.
27624         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
27625         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
27626         from GLIBC_2.3.2.
27628 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27632 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27634         * manual/texinfo.tex: Update to version 2013-11-26.10 with
27635         trailing whitespace removed.
27636         * scripts/config.guess: Update to version 2013-11-29.
27637         * scripts/config.sub: Update to version 2013-10-01.
27639         * math/auto-libm-test-in: Add tests of sincos.
27640         * math/auto-libm-test-out: Regenerated.
27641         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
27642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27643         mpfr_f_11.
27644         (func_calc_desc): Add mpfr_f_11 union field.
27645         (test_functions): Add sincos.
27646         (calc_generic_results): Handle mpfr_f_11.
27647         * sysdeps/i386/fpu/libm-test-ulps: Update.
27648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27650 2013-12-19  Andreas Schwab  <schwab@suse.de>
27652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
27653         CALL_MCOUNT.
27654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
27655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
27656         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
27658 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
27660         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
27661         * sysdeps/i386/fpu/libm-test-ulps: Update.
27662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27664         [BZ #16293]
27665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
27666         round-to-nearest mode when using frndint.
27667         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
27668         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
27670         Likewise.
27671         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
27672         sinh test to fail.
27673         * math/auto-libm-test-out: Regenerated.
27674         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
27675         (TEST_COND_x86): Likewise.
27676         (expm1_tonearest_test_data): New array.
27677         (expm1_test_tonearest): New function.
27678         (expm1_towardzero_test_data): New array.
27679         (expm1_test_towardzero): New function.
27680         (expm1_downward_test_data): New array.
27681         (expm1_test_downward): New function.
27682         (expm1_upward_test_data): New array.
27683         (expm1_test_upward): New function.
27684         (main): Run the new test functions.
27685         * sysdeps/i386/fpu/libm-test-ulps: Update.
27686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27688         * include/features.h: Update comment documenting feature test
27689         macros.  Mention _DEFAULT_SOURCE in comment.
27690         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
27691         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
27692         _BSD_SOURCE and _SVID_SOURCE.
27693         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
27694         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
27695         !_SVID_SOURCE]: Likewise.
27696         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27697         (__USE_POSIX_IMPLICITLY): Define.
27698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27699         (_POSIX_SOURCE): Undefine and redefine.
27700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
27701         (_POSIX_C_SOURCE): Likewise.
27702         * manual/creature.texi (_DEFAULT_SOURCE): Document.
27703         (Feature Test Macros): Update documentation of default features.
27705 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27707         * benchtests/Makefile: Add bench-strtok.
27708         * benchtests/bench-strtok.c: New file: strtok benchtest.
27710 2013-12-19  Allan McRae  <allan@archlinux.org>
27712         * manual/install.texi: Suppress menu for plain text output.
27713         * INSTALL: Regenerated.
27715 2013-12-18  Brooks Moses  <bmoses@google.com>
27717         [BZ #15846]
27718         * misc/getauxval.c: Include errno.h.
27719         (__getauxval): Set errno to ENOENT if the requested type is not
27720         found.
27721         * misc/sys/auxv.h (getauxval): Document that it may set errno;
27722         don't declare with __attribute_const__.
27723         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
27724         * manual/startup.texi: Document that getauxval sets errno.
27726 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27728         * math/auto-libm-test-in: Add tests of jn and yn.
27729         * math/auto-libm-test-out: Regenerated.
27730         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
27731         (yn_test_data): Likewise.
27732         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27733         mpfr_if_f.
27734         (func_calc_desc): Add mpfr_if_f union field.
27735         (FUNC_mpfr_if_f): New macro.
27736         (test_functions): Add jn and yn.
27737         (calc_generic_results): Assert type of second input for
27738         mpfr_ff_f.  Handle mpfr_if_f.
27739         (output_for_one_input_case): Disable all checking for arguments
27740         fitting floating-point types in case of an integer argument.
27741         * sysdeps/i386/fpu/libm-test-ulps: Update.
27742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
27745         Don't expect fegetround reference in libm.so.
27747 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27749         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
27750         $(config-cflags-nofma).
27752 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
27754         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
27755         * math/auto-libm-test-out: Regenerated.
27757         [BZ #16338]
27758         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
27759         to determine exponent and adjust argument to have exponent of -1.
27760         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27761         log2.
27762         * math/auto-libm-test-out: Regenerated.
27763         * sysdeps/i386/fpu/libm-test-ulps: Update.
27764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27766 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
27768         * manual/probes.texi: Remove cases when per-thread arenas are
27769         disabled.
27771 2013-12-18  Andreas Schwab  <schwab@suse.de>
27773         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
27774         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
27775         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
27776         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
27777         * sysdeps/i386/i686/multiarch/Makefile: Update.
27778         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
27780 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27782         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
27783         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
27785 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
27787         [BZ #15968]
27788         Support TZ transition times < 00:00:00.
27789         This is needed for version-3 tz-format files; it supports time
27790         stamps past 2037 for America/Godthab (the only entry in the tz
27791         database for which this change is relevant).
27792         * manual/time.texi (TZ Variable): Document transition times
27793         from -167:59:59 through -00:00:01.
27794         * time/tzset.c (tz_rule): Time of day is now signed.
27795         (__tzset_parse_tz): Parse negative time of day.
27797         Document TZ transition times >= 25:00:00.
27798         * manual/time.texi (TZ Variable): Document transition times from
27799         25:00:00 through 167:59:59.  These are already supported, and this
27800         support will help with version-3 tz-format files.
27802         * manual/time.texi (TZ Variable): Modernize North America example
27803         to reflect current (i.e., 2007-and-later) daylight saving rules.
27805         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
27807 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27809         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
27810         * sysdeps/unix/bsd/bits/stat.h: Likewise.
27811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
27812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27813         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
27814         * sysdeps/unix/bsd/bsdstat.h: Likewise.
27815         * sysdeps/unix/bsd/clock.c: Likewise.
27816         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
27817         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
27818         * sysdeps/unix/bsd/init-posix.c: Likewise.
27819         * sysdeps/unix/bsd/poll.c: Likewise.
27820         * sysdeps/unix/bsd/ptsname.c: Likewise.
27821         * sysdeps/unix/bsd/seekdir.c: Likewise.
27822         * sysdeps/unix/bsd/setegid.c: Likewise.
27823         * sysdeps/unix/bsd/seteuid.c: Likewise.
27824         * sysdeps/unix/bsd/setgid.c: Likewise.
27825         * sysdeps/unix/bsd/setrgid.c: Likewise.
27826         * sysdeps/unix/bsd/setruid.c: Likewise.
27827         * sysdeps/unix/bsd/setsid.c: Likewise.
27828         * sysdeps/unix/bsd/setuid.c: Likewise.
27829         * sysdeps/unix/bsd/sigaction.c: Likewise.
27830         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
27831         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
27832         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
27833         * sysdeps/unix/bsd/telldir.c: Likewise.
27834         * sysdeps/unix/bsd/times.c: Likewise.
27835         * sysdeps/unix/bsd/usleep.c: Likewise.
27837         * misc/Makefile (install-lib): Remove libbsd-compat.a.
27838         ($(objpfx)libbsd-compat.a): Remove rule.
27840         * include/features.h (__FAVOR_BSD): Do not define.
27841         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
27842         features conflicting with POSIX.
27843         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
27844         (_BSD_SOURCE): Remove description of not being a subset of other
27845         feature test macros.
27846         * manual/job.texi (getpgrp): Do not document BSD version.
27847         (getpgid): Do not document by reference to BSD getpgrp.
27848         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
27849         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
27850         * signal/signal.h [__FAVOR_BSD]: Likewise.
27851         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
27852         instead of making contents conditional on [__FAVOR_BSD].
27853         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
27855 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27859 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
27861         [BZ #16314]
27862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
27863         values below 2**-450, not 2**-500.
27864         * math/auto-libm-test-in: Don't allow spurious underflow from
27865         hypot.
27866         * math/auto-libm-test-out: Regenerated.
27868         [BZ #16316]
27869         [BZ #16330]
27870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
27871         values of ha and hb and sort them after adjusting subnormal
27872         arguments.
27873         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27874         Likewise.
27875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
27876         values of ea and eb and sort them after adjusting subnormal
27877         arguments.
27878         * math/auto-libm-test-in: Do not expect some hypot tests of
27879         subnormals to fail.  Add more hypot tests.
27880         * math/auto-libm-test-out: Regenerated.
27882 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27884         [BZ #13304]
27885         * sysdeps/sh/s_fma.c: New file.
27886         * sysdeps/sh/s_fmaf.c: New file.
27887         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
27888         version.
27889         * sysdeps/sh/Implies: Add sh/soft-fp.
27891 2013-12-16  Roland McGrath  <roland@hack.frob.com>
27893         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
27894         level of indirection to members `objname', `errstring', `malloced'.
27895         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
27896         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
27897         it as the __longjmp argument (just pass 1 instead).
27898         (_dl_catch_error): Initialize C with argument pointers and address of
27899         volatile local ERRCODE rather than copying values out of C at return.
27901 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
27903         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
27904         * math/auto-libm-test-out: Regenerated.
27905         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
27906         (hypot_test_data): Likewise.
27907         (pow_test_data): Likewise.
27908         (pow_tonearest_test_data): Likewise.
27909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
27910         mpfr_ff_f.
27911         (func_calc_desc): Add mpfr_ff_f union field.
27912         (FUNC_mpfr_ff_f): New macro.
27913         (test_functions): Add atan2, hypot and pow.
27914         (special_fill_min): New function.
27915         (special_fill_minus_min): Likewise.
27916         (special_fill_min_subnorm): Likewise.
27917         (special_fill_minus_min_subnorm): Likewise.
27918         (special_real_inputs): Add min, -min, min_subnorm and
27919         -min_subnorm.
27920         (calc_generic_results): Handle mpfr_ff_f.
27921         * sysdeps/i386/fpu/libm-test-ulps: Update.
27922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27924 2013-12-16  Will Newton  <will.newton@linaro.org>
27926         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
27927         (Aligned Memory Blocks): Add documentation for aligned_alloc
27928         and suggest it as an alternative to posix_memalign.
27929         (Hooks for Malloc): Document __memalign_hook is also called
27930         for aligned_alloc.  (Summary of Malloc): Add summary for
27931         aligned alloc.  Document __memalign_hook is also called
27932         for aligned_alloc.
27934 2013-12-16  Will Newton  <will.newton@linaro.org>
27936         * manual/memory.texi (Malloc Examples): Clarify default
27937         alignment documentation.  Suggest posix_memalign rather
27938         than memalign or valloc.
27939         (Aligned Memory Blocks): Remove suggestion to use memalign
27940         or valloc.  Remove obsolete comment about BSD.
27941         Document memalign errno values and mark the function obsolete.
27942         Document posix_memalign returned error codes.  Mark valloc
27943         as obsolete.  (Hooks for Malloc): __memalign_hook is also
27944         called for posix_memalign and valloc.
27945         (Summary of Malloc): Add posix_memalign to function summary.
27946         __memalign_hook is also called for posix_memalign and valloc.
27948 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27950         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
27951         TAYLOR_SIN.
27952         (__sin): Adjust.
27953         (__cos): Likewise.
27954         (sloww): Use mynumber union.  Expand ternary operator into
27955         if-else statements.
27956         (cslow): use mynumber union.
27958 2013-12-16  Allan McRae  <allan@archlinux.org>
27960         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
27961         * configure: Regenerated.
27963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
27965         [BZ #14120]
27966         * configure.ac: Added --enable-maintainer-mode. Check for
27967         autoconf when enabled.
27968         * configure: Regenerated.
27970         * nscd/nscd.service: New file.
27971         * nscd/nscd.tmpfiles: New file.
27973 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
27975         [BZ #12100]
27976         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
27977         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
27978         * sysdeps/x86_64/multiarch/strstr.c: ... here.
27979         (strstr): Add __strstr_sse2_unaligned ifunc.
27980         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
27981         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
27982         (strcasestr): Remove __strcasestr_sse42 ifunc.
27983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
27984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27987 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27989         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
27990         * sysdeps/sh/bits/fenv.h: ... here.
27991         * sysdeps/sh/sh4/fpu/bits: Remove directory.
27993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27995         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
27997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
27998         hypotf multiarch implementations.
27999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
28000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
28001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
28002         multiarch hypot for PPC64.
28003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
28004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
28005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
28006         multiarch hypotf for PPC64.
28008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
28009         modff multiarch implementations.
28010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
28011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
28012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
28013         multiarch modf for PPC64.
28014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
28015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
28016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
28017         multiarch modff for PPC64.
28019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
28020         and logl multiarch implementations.
28021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
28022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
28023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
28024         multiarch logb for PPC64.
28025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
28026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
28027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
28028         multiarch logb for PPC64.
28029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
28030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
28031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
28032         multiarch logb for PPC64.
28034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
28035         isinff multiarch implementation.
28036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
28037         file.
28038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
28039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
28040         multiarch isinf for PPC64.
28041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
28042         file.
28043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
28044         multiarch isinff for PPC64.
28046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
28047         finitef multiarch implementation.
28048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
28049         file.
28050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
28051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
28052         multiarch finite for PPC64.
28053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
28054         file.
28055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
28056         multiarch finitef for PPC64.
28058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
28059         lrint multiarch implementation.
28060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
28061         file.
28062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
28063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
28064         multiarch llrint for PPC64.
28065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
28066         multiarch lrint for PPC64.
28068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
28069         copysignf multiarch implementation.
28070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
28071         file.
28072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
28073         file.
28074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
28075         multiarch copysign for PPC64.
28076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
28077         multiarch copysignf for PPC64.
28079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
28080         multiarch implementation.
28081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
28082         file.
28083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
28084         file.
28085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
28086         file.
28087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
28088         file.
28089         multiarch llround for PPC64.
28090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
28091         multiarch trunc for PPC64.
28092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
28093         multiarch truncf for PPC64.
28095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
28096         multiarch implementation.
28097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
28098         file.
28099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
28100         file.
28101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
28102         file.
28103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
28104         file.
28105         multiarch llround for PPC64.
28106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
28107         multiarch round for PPC64.
28108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
28109         multiarch roundf for PPC64.
28111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
28112         multiarch implementation.
28113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
28114         file.
28115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
28116         file.
28117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
28118         file.
28119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
28120         file.
28121         multiarch llround for PPC64.
28122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
28123         multiarch floor for PPC64.
28124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
28125         multiarch floorf for PPC64.
28127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
28128         multiarch implementation.
28129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
28130         file.
28131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
28132         file.
28133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
28134         file.
28135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
28136         file.
28137         multiarch llround for PPC64.
28138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
28139         multiarch ceil for PPC64.
28140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
28141         multiarch ceilf for PPC64.
28143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
28144         multiarch implementation.
28145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
28146         file.
28147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
28148         file.
28149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
28150         file.
28151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
28152         multiarch llround for PPC64.
28153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
28154         multiarch lround for PPC64.
28156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
28157         multiarch implementation.
28158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
28159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
28160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
28161         file.
28162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
28163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
28164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
28165         multiarch isnan for PPC64.
28166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
28167         multiarch isnanf for PPC64.
28169         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
28170         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
28171         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
28172         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
28173         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
28176         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
28177         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
28182         multiarch implementations.
28183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28184         (__libc_ifunc_impl_list): Likewise.
28185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
28186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
28187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
28188         multiarch stpcpy for PPC64.
28190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
28191         multiarch implementations.
28192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28193         (__libc_ifunc_impl_list): Likewise.
28194         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
28195         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
28196         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
28197         multiarch strcpy for PPC64.
28199         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
28200         redefine function name.
28201         (_wordcopy_fwd_dest_aligned): Likewise.
28202         (_wordcopy_bwd_aligned): Likewise.
28203         (_wordcopy_bwd_dest_aligned): Likewise.
28204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
28205         multiarch implementations.
28206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28207         (__libc_ifunc_impl_list): Likewise.
28208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
28209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
28210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
28211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
28212         multiarch wcscpy for PPC64.
28214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
28215         multiarch implementations.
28216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28217         (__libc_ifunc_impl_list): Likewise.
28218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
28219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
28220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
28221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
28222         multiarch wcscpy for PPC64.
28224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
28225         multiarch implementations.
28226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28227         (__libc_ifunc_impl_list): Likewise.
28228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
28229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
28230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
28231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
28232         multiarch wcsrchr for PPC64.
28234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
28235         multiarch implementations.
28236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28237         (__libc_ifunc_impl_list): Likewise.
28238         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
28239         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
28240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
28241         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
28242         multiarch wcschr for PPC64.
28244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
28245         multiarch implementations.
28246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28247         (__libc_ifunc_impl_list): Likewise.
28248         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
28249         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
28250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
28251         multiarch strchrnul for PPC64.
28253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
28254         implementations.
28255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28256         (__libc_ifunc_impl_list): Likewise.
28257         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
28258         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
28259         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
28260         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
28261         strchr for PPC64.
28263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
28264         implementations.
28265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28266         (__libc_ifunc_impl_list): Likewise.
28267         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
28268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
28269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
28270         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
28271         strncmp for PPC64.
28273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
28274         multiarch implementations.
28275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28276         (__libc_ifunc_impl_list): Likewise.
28277         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
28278         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
28279         strncasecmp for PPC64.
28280         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
28281         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
28282         multiarch strncasecmp_l for PPC64.
28284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
28285         multiarch implementations.
28286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
28287         (__libc_ifunc_impl_list): Likewise.
28288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
28289         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
28290         multiarch strcasecmp for PPC64.
28291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
28292         file.
28293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
28294         multiarch strcasecmp_l for PPC64.
28296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
28297         implementations.
28298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28299         (__libc_ifunc_impl_list): Likewise.
28300         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
28301         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
28302         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
28303         strnlen for PPC64.
28305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
28306         implementations.
28307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28308         (__libc_ifunc_impl_list): Likewise.
28309         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
28310         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
28311         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
28312         strlen for PPC64.
28314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
28315         implementations.
28316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28317         (__libc_ifunc_impl_list): Likewise.
28318         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
28319         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
28320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
28321         rawmemrchr for PPC64.
28323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
28324         implementation.
28325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28326         (__libc_ifunc_impl_list): Likewise.
28327         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
28328         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
28329         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
28330         memrchr for PPC64.
28332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
28333         implementation.
28334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28335         (__libc_ifunc_impl_list): Likewise.
28336         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
28337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
28338         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
28339         memchr for PPC64.
28341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
28342         implementation.
28343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28344         (__libc_ifunc_impl_list): Likewise.
28345         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
28346         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
28347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
28348         mempcpy for PPC64.
28350         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
28351         avoid cretion of __bzero symbol.
28352         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
28353         Likewise.
28354         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
28355         Likewise.
28356         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
28357         Likewise.
28358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
28359         multiarch implementations.
28360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28361         (__libc_ifunc_impl_list): Likewise.
28362         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
28363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
28364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
28365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
28366         bzero for PPC32.
28367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
28368         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
28369         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
28370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
28371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
28372         memset for PPC64.
28373         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28375         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
28376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
28377         implementations.
28378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28379         (__libc_ifunc_impl_list): Likewise.
28380         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
28381         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
28382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
28383         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
28384         memcmp for PPC64.
28386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
28387         multiarch for POWER/PPC64.
28388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
28389         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
28390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
28391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
28392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
28393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
28394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
28395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
28396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
28397         memcpy for PPC64.
28399         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
28400         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
28401         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
28402         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
28403         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
28404         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
28405         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
28406         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
28407         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
28408         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
28409         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
28410         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
28411         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
28412         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
28413         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
28414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
28415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
28416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
28417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
28418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
28419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
28420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
28422 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28424         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
28426 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28428         * benchtests/Makefile (bench): Add exp2 and log2.
28429         (LDLIBS-bench-exp2): Add -lm.
28430         (LDLIBS-bench-log2): Likewise.
28431         * benchtests/exp2-inputs: New inputs file.
28432         * benchtests/log2-inputs: New inputs file.
28433         * benchtests/log-inputs: Add new inputs.
28434         * benchtests/tan-inputs: Likewise.
28436 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28438         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
28439         definition...
28440         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
28441         (csloww2): ... from here.
28443         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
28444         instead of structures.
28445         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
28446         (POLYNOMIAL): Likewise.
28447         (TAYLOR_SLOW): Likewise.
28448         (__sin): Likewise.
28449         (__cos): Likewise.
28450         (slow1): Likewise.
28451         (slow2): Likewise.
28452         (sloww): Likewise.
28453         (sloww1); Likewise.
28454         (sloww2): Likewise.
28455         (bsloww1): Likewise.
28456         (bsloww2): Likewise.
28457         (cslow2): Likewise.
28458         (csloww): Likewise.
28459         (csloww1): Likewise.
28460         (csloww2): Likewise.
28462 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
28464         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
28465         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
28466         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
28467         * malloc/hooks.c (realloc_check): Likewise.
28469         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
28470         * malloc/arena.c: Remove PER_THREAD conditional.
28471         [!PER_THREAD]: Remove code.
28472         (ptmalloc_unlock_all2): Likewise.
28473         (ptmalloc_init): Likewise.
28474         (_int_new_arena): Likewise.
28475         (arena_get2): Likewise.
28476         * malloc/hooks.c (__malloc_get_state): Likewise.
28477         (__malloc_set_state): Likewise.
28478         * malloc/malloc.c: Likewise.
28479         (struct malloc_state): Likewise.
28480         (struct malloc_par): Likewise.
28481         (__libc_realloc): Likewise.
28482         (__libc_mallopt): Likewise.
28484 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28486         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
28488 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
28490         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
28491         macro to a function.  Check for zero perturb_byte.
28492         (_int_malloc, _int_free): Remove zero perturb_byte checks.
28494         * malloc/malloc.c: (force_reg): Remove.
28495         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
28496         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
28497         force_reg by atomic_forced_read.
28498         * malloc/arena.c (ptmalloc_init): Likewise.
28499         * malloc/hooks.c (top_check): Likewise.
28501 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28505 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
28507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28509 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
28511         * math/auto-libm-test-in: Add tests of lgamma.
28512         * math/auto-libm-test-out: Regenerated.
28513         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
28514         (M_LOG_2_SQRT_PIl): Likewise.
28515         (lgamma_test_data): Use AUTO_TESTS_f_f1.
28516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
28517         mpfr_f_f1.
28518         (func_calc_desc): Add mpfr_f_f1 union field.
28519         (ARGS1): New macro.
28520         (ARGS2): Likewise.
28521         (ARGS3): Likewise.
28522         (ARGS4): Likewise.
28523         (RET1): Likewise.
28524         (RET2): Likewise.
28525         (CALC): Likewise.
28526         (FUNC): Likewise.
28527         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
28528         (test_functions): Add lgamma.
28529         (calc_generic_results): Handle mpfr_f_f1.
28530         * sysdeps/i386/fpu/libm-test-ulps: Update.
28531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28535         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
28536         __mpn_add_n for PowerPC64/POWER7.
28537         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
28538         __mpn_sub_n for PowerPC64/POWER7.
28540         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
28541         __mpn_addmul_1 for PowerPC64.
28542         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
28543         __mpn_submul_1 for PowerPC64.
28544         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
28545         for PowerPC64.
28546         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
28547         for PowerPC64.
28549 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
28551         [BZ #15089]
28552         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
28554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28556         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
28558         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
28559         add multiarch folders.
28560         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
28561         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
28562         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
28563         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
28564         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
28565         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
28566         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
28567         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
28568         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
28569         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
28570         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
28571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
28572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
28573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
28574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
28575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
28578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28579         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
28580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
28581         New file.
28582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
28583         New file.
28584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
28585         multiarch __ieee754_hypot for PowerPC32.
28586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
28587         New file.
28588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
28589         New file.
28590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
28591         multiarch __ieee754_hypotf for PowerPC32.
28593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
28594         long_double_symbol only if __logbl is defined.
28595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
28596         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
28597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
28598         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
28599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
28600         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
28601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
28602         path for implementation.
28603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
28604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
28605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
28606         logb, and logbl multiarch implementations for PowerPC32.
28607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
28608         file.
28609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
28610         file.
28611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
28612         multiarch logb for PowerPC32.
28613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
28614         file.
28615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
28616         file.
28617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
28618         multiarch logbf for PowerPC32.
28619         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
28620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
28621         file.
28622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
28623         multiarch logbl implementation for PowerPC32.
28625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
28626         and modff multiarch implementations.
28627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
28628         New file.
28629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
28630         New file.
28631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
28632         multiarch modf for PowerPC32.
28633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
28634         New file.
28635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
28636         New file.
28637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
28638         multiarch modff for PowerPC32.
28640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
28641         and lrintf multiarch implementations.
28642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
28643         New file.
28644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
28645         New file.
28646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
28647         multiarch lrint for PowerPC32.
28648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
28649         file: multiarch lrintf for PowerPC32.
28651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
28652         and lroundf multiarch implementations.
28653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
28654         New file.
28655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
28656         New file.
28657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
28658         New file.
28659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
28660         multiarch lround for PowerPC32.
28661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
28662         file: multiarch lroundf for PowerPC32.
28664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
28665         copysign and copysignf multiarch implementations.
28666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
28667         New file.
28668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
28669         New file.
28670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
28671         file: multiarch copysign for PowerPC32.
28672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
28673         file: multiarch copysignf for PowerPC32.
28675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
28676         and truncf multiarch implementations.
28677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
28678         New file.
28679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
28680         file.
28681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
28682         multiarch trunc for PowerPC32.
28683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
28684         New file.
28685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
28686         New file.
28687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
28688         multiarch truncf for PowerPC32.
28690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
28691         and roundf multiarch implementations.
28692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
28693         New file.
28694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
28695         file.
28696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
28697         multiarch round for PowerPC32.
28698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
28699         New file.
28700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
28701         New file.
28702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
28703         multiarch roundf for PowerPC32.
28705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
28706         and floorf multiarch implementations.
28707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
28708         New file.
28709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
28710         file.
28711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
28712         multiarch floor for PowerPC32.
28713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
28714         New file.
28715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
28716         New file.
28717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
28718         multiarch floorf for PowerPC32.
28720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
28721         and ceilf multiarch implementations.
28722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
28723         New file.
28724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
28725         file.
28726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
28727         multiarch ceil for PowerPC32.
28728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
28729         New file.
28730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
28731         file.
28732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
28733         multiarch ceilf for PowerPC32.
28735         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
28736         is defined.
28737         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
28738         FINITEF is defined.
28739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
28740         and finitef multiarch implementations.
28741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
28742         New file.
28743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
28744         file.
28745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
28746         multiarch finite for PowerPC32.
28747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
28748         New file.
28749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
28750         file: multiarch finitef for PowerPC32.
28752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
28753         and isinff multiarch implementations.
28754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
28755         file.
28756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
28757         file.
28758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
28759         multiarch isinf for PowerPC32.
28760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
28761         New file.
28762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
28763         multiarch isinff for PowerPC32.
28765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
28766         alias when __isnan is defined.
28767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
28768         and isnanf multiarch implementations.
28769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
28770         file.
28771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
28772         file.
28773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
28774         file.
28775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
28776         file.
28777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
28778         multiarch isnan for PowerPC32.
28779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
28780         New file.
28781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
28782         New file.
28783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
28784         multiarch isnanf for PowerPC32.
28786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
28787         and sqrtf multiarch implementations.
28788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
28789         file.
28790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
28791         file.
28792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
28793         multiarch sqrt for PowerPC32.
28794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
28795         file.
28796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
28797         file.
28798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
28799         multiarch sqrtf for PowerPC32.
28801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
28802         and llroundf multiarch implementations.
28803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
28804         New file.
28805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
28806         New file.
28807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
28808         New file.
28809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
28810         file: multiarch llround for PowerPC32.
28811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
28812         file: multiarch llroundf for PowerPC32.
28814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
28815         multiarch PowerPC32 fpu implementations.
28816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
28817         New file.
28818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
28819         New file.
28820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
28821         multiarch llrint for PowerPC32.
28822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
28823         New file.
28824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
28825         New file.
28826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
28827         file.
28829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
28831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
28832         file.
28833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
28834         file.
28835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
28836         file.
28837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
28838         multiarch wordcopy for PPC32.
28839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28840         wordcopy objects.
28841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28842         (__libc_ifunc_impl_list): Likewise.
28843         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
28844         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
28845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
28846         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
28847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
28848         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
28850         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
28851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
28852         file.
28853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
28854         file.
28855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
28856         file.
28857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
28858         multiarch wcscpy for PPC32.
28859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
28860         multiarch objects.
28861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28862         (__libc_ifunc_impl_list): Likewise.
28863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28864         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28865         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
28866         sysdeps/powerpc/power6/wcscpy.c.
28868         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
28869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
28870         file.
28871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
28872         file.
28873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
28874         file.
28875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
28876         multiarch wcsrchr for PPC32.
28877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28878         multiarch objects.
28879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28880         (__libc_ifunc_impl_list): Likewise.
28881         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
28882         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
28883         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
28884         sysdeps/powerpc/power6/wcsrchr.c.
28886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
28887         file.
28888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
28889         file.
28890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
28891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
28892         multiarch wcschr for PPc32.
28893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
28894         multiarch objects.
28895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28896         (__libc_ifunc_impl_list): Likewise.
28897         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
28898         * sysdeps/powerpc/power6/wcschr.c: ... to here.
28899         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
28900         sysdeps/powerpc/power6/wcschr.c.
28902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
28903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
28904         file.
28905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
28906         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
28907         file: multiarch strchr for PPC32.
28908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
28909         multiarch objects.
28910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28911         (__libc_ifunc_impl_list): Likewise.
28913         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
28914         name.
28915         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
28916         file.
28917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
28918         file.
28919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
28920         multiarch strchrnul for PPC32.
28921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
28922         multiarch objects.
28923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28924         (__libc_ifunc_impl_list): Likewise.
28926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
28927         file.
28928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
28929         multiarch strncasecmp for PPC32.
28930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
28931         file.
28932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
28933         multiarch strncasecmp_l for PPC32.
28934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
28935         strncasecmp multiarch objects.
28936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28937         (__libc_ifunc_impl_list): Likewise.
28939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
28940         file.
28941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
28942         multiarch strncasecmp for PPC32.
28943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
28944         New file.
28945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
28946         multiarch strcasecmp_l for PPC32.
28947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
28948         multiarch objects.
28949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28950         (__libc_ifunc_impl_list): Likewise.
28952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
28953         file.
28954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
28955         file.
28956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
28957         multiarch strncmp for PPC32.
28958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
28959         multiarch objects.
28960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28961         (__libc_ifunc_impl_list): Likewise.
28963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
28964         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
28965         file.
28966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
28967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
28968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
28969         multiarch objects.
28970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28971         (__libc_ifunc_impl_list): Likewise.
28973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
28974         file.
28975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
28976         file.
28977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
28978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
28979         multiarch objects.
28980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28981         (__libc_ifunc_impl_list): Likewise.
28983         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
28984         file.
28985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
28986         file.
28987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
28988         multiarch rawmemchr for PPC32.
28989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
28990         multiarch objects.
28991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
28992         (__libc_ifunc_impl_list): Likewise.
28994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
28995         file.
28996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
28997         file.
28998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
28999         file: memrchr multiarch for PPC32.
29000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
29001         multiarch objects.
29002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
29003         (__libc_ifunc_impl_list): Likewise.
29005         * string/memchr.c (__memchr): Using macro to redefine symbol name.
29006         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
29007         file.
29008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
29009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
29010         multiarch memchr for PPC32.
29011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
29012         multiarch objects.
29013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29014         (__libc_ifunc_impl_list): Likewise.
29016         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
29017         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
29018         file.
29019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
29020         file.
29021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
29022         file: multiarch mempcpy for PPC32.
29023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
29024         multiarch objects.
29025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29026         (__libc_ifunc_impl_list): Likewise.
29028         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
29029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
29030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
29031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
29032         multiarch bzero for PPC32.
29033         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
29034         file.
29035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
29036         file.
29037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
29038         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
29039         file: multiarch memset for PPC32.
29040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
29041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
29042         memset multiarch objects.
29043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29044         (__libc_ifunc_impl_list): Likewise.
29046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
29047         file.
29048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
29049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
29050         memcmp for PPC32.
29051         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
29052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
29053         multiarch objects.
29054         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29055         (__libc_ifunc_impl_list): Likewise.
29057         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
29058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
29059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
29060         file.
29061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
29062         file.
29063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
29064         file.
29065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
29066         multiarch memcpy for PPC32.
29067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
29068         multiarch objects.
29069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29070         (__libc_ifunc_impl_list): Likewise.
29072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
29073         support multiarch for POWER/PPC32.
29074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
29075         Likewise.
29076         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
29077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
29078         Implies file to make multiarch folder appers before the fpu and
29079         default folder for power4 configuration.
29081 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
29083         * scripts/bench.pl: Append volatile keyword to type.
29085 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29087         * sysdeps/sh/sotruss-lib.c: New file.
29088         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
29090 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29094 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
29096         [BZ #6810]
29097         * math/w_tgamma.c: Include <errno.h>.
29098         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
29099         * math/w_tgammaf.c: Include <errno.h>.
29100         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
29101         * math/w_tgammal.c: Include <errno.h>.
29102         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
29103         * math/auto-libm-test-in: Do not allow missing errno on tgamma
29104         underflow.  Add more tgamma tests.
29105         * math/auto-libm-test-out: Regenerated.
29106         * sysdeps/i386/fpu/libm-test-ulps: Update.
29107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29109         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
29110         sin, sinh, tan, tanh, tgamma, y0 and y1.
29111         * math/auto-libm-test-out: Regenerated.
29112         * math/libm-test.inc (TEST_COND_x86_64): New macro.
29113         (TEST_COND_x86): Likewise.
29114         (M_E2l): Remove macro.
29115         (M_E3l): Likewise.
29116         (M_2_SQRT_PIl): Likewise.
29117         (M_SQRT_PIl): Likewise.
29118         (M_1_DIV_El): Likewise.
29119         (log_test_data): Use AUTO_TESTS_f_f.
29120         (log10_test_data): Likewise.
29121         (log1p_test_data): Likewise.
29122         (log2_test_data): Likewise.
29123         (sin_test_data): Likewise.
29124         (sin_tonearest_test_data): Likewise.
29125         (sin_towardzero_test_data): Likewise.
29126         (sin_downward_test_data): Likewise.
29127         (sin_upward_test_data): Likewise.
29128         (sinh_test_data): Likewise.
29129         (sinh_tonearest_test_data): Likewise.
29130         (sinh_towardzero_test_data): Likewise.
29131         (sinh_downward_test_data): Likewise.
29132         (sinh_upward_test_data): Likewise.
29133         (tan_test_data): Likewise.
29134         (tan_tonearest_test_data): Likewise.
29135         (tan_towardzero_test_data): Likewise.
29136         (tan_downward_test_data): Likewise.
29137         (tan_upward_test_data): Likewise.
29138         (tanh_test_data): Likewise.
29139         (tgamma_test_data): Likewise.
29140         (y0_test_data): Likewise.
29141         (y1_test_data): Likewise.
29142         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
29143         (special_real_inputs): Add pi/4.
29144         * sysdeps/i386/fpu/libm-test-ulps: Update.
29145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29149         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
29150         "longjmp_target" static probes.
29151         (__longjmp): Rename to __longjmp_symbol.
29152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29153         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
29154         on which longjmp to generate.
29155         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
29156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
29157         probe.
29158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29159         (__sigjmp_save): Rename to __sigjmp_save_symbol.
29160         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29161         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
29162         and __sigjmp_save_symbol based on which sigsetjmp to generated.
29163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
29164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
29165         __longjmp_symbol based on which __longjmp to generate.
29166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
29167         probe.
29168         (setjmp): Rename to setjmp_symbol.
29169         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29170         (_setjmp): Rename to _setjmp_symbol.
29171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
29172         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
29173         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
29174         which setjmp to generate.
29175         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
29176         "longjmp_target" static probes.
29178 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29180         * benchtests/README: Add note about output arguments.
29181         * benchtests/bench-sincos.c: Remove file.
29182         * benchtests/sincos-inputs: New file.
29183         * scripts/bench.pl: Identify output arguments and define
29184         static variables for them.
29186         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
29188         [BZ #15941]
29189         * Makefile (INSTALL): Add install-plain.texi as the primary
29190         dependency.
29191         * manual/install-plain.texi: New file.
29192         * manual/install.texi: Include node directive only for
29193         non-plaintext output.
29195 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
29197         * stdlib/longlong.h: Update from GCC.
29199         [BZ #6807]
29200         [BZ #15901]
29201         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
29202         * math/w_j0f.c (y0f): Likewise.
29203         * math/w_j0l.c (__y0l): Likewise.
29204         * math/w_j1.c (y1): Likewise.
29205         * math/w_j1f.c (y1f): Likewise.
29206         * math/w_j1l.c (__y1l): Likewise
29207         * math/w_jn.c (yn): Likewise.
29208         * math/w_jnf.c (ynf): Likewise.
29209         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
29210         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
29211         value for Bessel function domain errors outside _SVID_ mode.
29212         Adjust sign of return value for yn (negative integer, 0).
29213         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
29214         by zero in return for negative x and set sign appropriately for
29215         negative n.
29216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
29217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29218         * math/libm-test.inc (y0_test_data): Add more tests and adjust
29219         expectations in error cases.
29220         (y1_test_data): Likewise.
29221         (yn_test_data): Likewise.
29222         * sysdeps/i386/fpu/libm-test-ulps: Update.
29223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29225 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29227         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
29228         "64" to "64-v1".  Add "64-v2".
29229         (abi-64-options): Rename to ...
29230         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
29231         (abi-64-condition): Rename to ...
29232         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
29233         (abi-64-ld-soname): Rename to ...
29234         (abi-64-v1-ld-soname): ... this.
29235         (abi-64-v2-options): Define.
29236         (abi-64-v2-condition): Likewise.
29237         (abi-64-v2-ld-soname): Likewise.
29238         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
29239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
29240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
29241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
29242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
29244 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29245             Alan Modra  <amodra@gmail.com>
29247         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
29248         New versions for use with the ELFv2 ABI.
29249         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
29250         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
29251         declaration.
29252         (struct La_ppc64v2_retval): Likewise.
29253         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
29254         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
29255         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
29256         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
29257         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
29258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
29259         Do not save or restore CR.
29260         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
29261         (_dl_profile_resolve): Do no save or restore CR.  Support extended
29262         return values for ELFv2 ABI.  Fix location of FPR return registers.
29263         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
29264         updated values for _CALL_ELF == 2.
29265         (La_regs, La_retval, int_retval): Likewise.
29267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29269         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
29270         (FRAME_MIN_SIZE_PARM): Likewise.
29271         (FRAME_BACKCHAIN): Likewise.
29272         (FRAME_CR_SAVE): Likewise.
29273         (FRAME_LR_SAVE): Likewise.
29274         (FRAME_TOC_SAVE): Likewise.
29275         (FRAME_PARM_SAVE): Likewise.
29276         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
29277         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
29278         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29279         (call_mcount_parm_offset): New macro.
29280         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
29281         (PROF): Use symbolic stack frame offsets.
29282         (TAIL_CALL_SYSCALL_ERROR): Likewise.
29283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
29284         Redefine in terms of FRAME_MIN_SIZE.
29285         (_dl_runtime_resolve): Use symbolic stack frame offsets.
29286         (_dl_profile_resolve): Likewise.  Update comment.
29287         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
29288         symbols stack frame offsets.
29289         (__sigsetjmp): Likewise.
29290         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
29291         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
29292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
29293         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
29295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
29296         (FRAME_BACKCHAIN): Remove.
29297         (FRAME_CR_SAVE): Likewise.
29298         (FRAME_LR_SAVE): Likewise.
29299         (FRAME_COMPILER_DW): Likewise.
29300         (FRAME_LINKER_DW): Likewise.
29301         (FRAME_TOC_SAVE): Likewise.
29302         (FRAME_PARM_SAVE): Likewise.
29303         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
29304         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
29305         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
29306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
29307         (CHECK_SP): Use symbolic stack frame offsets.
29308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
29309         zone" instead of caller's parameter save area for temp storage.
29310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
29311         Likewise.  Also, use symbolic stack frame offsets.
29312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
29313         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
29314         our own stack frame instead of the caller's.
29315         (__socket): Use symbolic stack frame offsets.
29317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29318             Alan Modra  <amodra@gmail.com>
29320         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
29321         Define.
29322         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
29323         (PPC64_LOCAL_ENTRY_OFFSET): Define.
29324         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
29325         New function.
29326         (elf_machine_fixup_plt): Call it.
29327         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
29328         reloc arguments.
29329         (elf_machine_rela): Update call to elf_machine_plt_conflict.
29330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29331         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
29332         r2 before calling target.
29334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29335             Alan Modra  <amodra@gmail.com>
29337         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
29338         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
29339         versions of macros to support ELFv2 ABI.
29340         (LOCALENTRY): New macro.
29341         (ENTRY, EALIGN): Use it.
29342         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
29343         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
29344         fall through into ENTRY entry point.
29345         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
29346         Only define if _CALL_ELF != 2.
29348         (elf_machine_matches_host): Verify ABI version matches.
29349         (RTLD_START): Use LOCALENTRY.
29350         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
29351         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
29352         (PLT_ENTRY_WORDS): New macro.
29353         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
29354         (elf_machine_runtime_setup): Support ELFv2 ABI.
29355         (elf_machine_fixup_plt): Likewise.
29356         (elf_machine_plt_conflict): Likewise.
29357         (resolve_ifunc): Likewise.
29358         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
29359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
29360         Likewise.
29361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
29362         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
29363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29364         (makecontext): Support ELFv2 ABI.
29365         * elf/elf.h (EF_PPC64_ABI): Define.
29367 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29369         * sysdeps/powerpc/powerpc64/sysdep.h
29370         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
29371         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
29372         (ENTRY) [ASSEMBLER]: ... but instead here ...
29373         (EALIGN) [ASSEMBLER]: ... and here.
29374         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
29375         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
29376         (ENTRY_2) [!ASSEMBLER]: Use it.
29377         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
29378         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
29379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
29380         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
29381         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
29382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
29383         Use PPC64_LOAD_FUNCPTR.
29385         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
29387 2013-12-04  Alan Modra  <amodra@gmail.com>
29389         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
29390         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
29391         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
29392         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
29394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
29395         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
29396         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
29397         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
29398         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
29399         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
29401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
29403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29404         (__makecontext): Fix incorrect CFI when backtracing out of
29405         context created via makecontext.
29406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
29407         (__setcontext): Fix incorrect CFI during switch to new context.
29408         (__novec_setcontext): Likewise.
29410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
29412         [BZ #4772]
29413         * time/strptime_l.c (__strptime_internal): Allow modifiers
29414         in strptime.
29415         * time/tst-strptime.c (day_tests): Add testcase.
29417 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29419         * scripts/bench.pl: Skip over blank lines.
29421 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
29423         [BZ #926]
29424         * manual/time.texi (Calendar Time): Clarify what timezone functions
29425         use.
29427 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29431 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
29433         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
29434         implementation.
29435         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
29436         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
29437         * debug/memset_chk.c (__memset_chk): Likewise.
29438         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
29439         * debug/strncpy_chk.c: Likewise.
29441 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
29443         [BZ #15268]
29444         [BZ #15425]
29445         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
29446         (__ieee754_exp): For possibly underflowing results, check size of
29447         result and force underflow exception if required.
29448         * math/auto-libm-test-in: Add more tests of exp.
29449         * math/auto-libm-test-out: Regenerated.
29450         * sysdeps/i386/fpu/libm-test-ulps: Update.
29451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29453         [BZ #16283]
29454         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
29455         * math/w_exp2f.c (__exp2f): Likewise.
29456         * math/w_exp2l.c (__exp2l): Likewise.
29457         * math/auto-libm-test-in: Do not allow missing errno on exp2
29458         underflow.
29459         * math/auto-libm-test-out: Regenerated.
29461 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
29463         [BZ #16274]
29464         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
29465         handle filename validation.
29466         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
29467         (do_open): Delete.
29469 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
29471         [BZ #6786]
29472         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
29473         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
29474         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
29475         <float.h>.
29476         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
29477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
29478         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
29480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
29482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
29483         * math/auto-libm-test-in: Don't allow missing errno from erfc.
29484         Add more erfc tests.
29485         * math/auto-libm-test-out: Regenerated.
29486         * sysdeps/i386/fpu/libm-test-ulps: Update.
29487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29489         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
29490         exp2, expm1, j0 and j1.
29491         * math/auto-libm-test-out: Regenerated.
29492         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
29493         (erfc_test_data): Likewise.
29494         (exp_test_data): Likewise.
29495         (exp_tonearest_test_data): Likewise.
29496         (exp_towardzero_test_data): Likewise.
29497         (exp_downward_test_data): Likewise.
29498         (exp_upward_test_data): Likewise.
29499         (exp10_test_data): Likewise.
29500         (exp2_test_data): Likewise.
29501         (expm1_test_data): Likewise.
29502         (j0_test_data): Likewise.
29503         (j1_test_data): Likewise.
29504         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
29505         (input_flag_type): Add flag_xfail_rounding.
29506         (input_flags): Add xfail-rounding.
29507         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
29508         (output_for_one_input_case): Handle flag_xfail_rounding.
29509         * sysdeps/i386/fpu/libm-test-ulps: Update.
29510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29512 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
29514         [BZ #16289]
29515         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
29516         division by 0.
29518 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29520         [BZ #16195]
29521         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
29522         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
29523         (STAP_PROBE0): New macro.
29524         (STAP_PROBE1): Likewise.
29525         (STAP_PROBE2): Likewise.
29526         (STAP_PROBE3): Likewise.
29527         (STAP_PROBE4): Likewise.
29529 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
29531         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
29533 2013-12-02  Steve Ellcey  <sellcey@mips.com>
29535         * benchtests/Makefile (bench): Add sqrt.
29536         (LDLIBS-bench-sqrt): New.
29537         * benchtests/sqrt-input: New.
29539 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
29541         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
29542         (GAIH_EAI): Likewise.
29543         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
29544         (gaih_inet): Likewise.
29545         (getaddrinfo): Don't use GAIH_EAI.
29547         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
29548         (struct gaih): Remove definition.
29550 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
29553         Use HERRNOP directly.
29555 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29559 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
29561         * math/gen-auto-libm-tests.c (test_functions): Add more
29562         single-argument functions.
29563         (special_fill_pi_2): New function.
29564         (special_fill_minus_pi_2): Likewise.
29565         (special_fill_pi_6): Likewise.
29566         (special_fill_minus_pi_6): Likewise.
29567         (special_fill_pi_3): Likewise.
29568         (special_fill_2pi_3): Likewise.
29569         (special_fill_e): Likewise.
29570         (special_fill_1_e): Likewise.
29571         (special_fill_e_minus_1): Likewise.
29572         (special_real_inputs): Add more special inputs.
29573         (output_for_one_input_case): Do not require ERANGE on underflow to
29574         zero if round-to-nearest result does not underflow to zero, unless
29575         exact results required.
29576         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
29577         atan, atanh, cbrt, cos and cosh.
29578         * math/auto-libm-test-out: Regenerated.
29579         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
29580         (acos_tonearest_test_data): Likewise.
29581         (acos_towardzero_test_data): Likewise.
29582         (acos_downward_test_data): Likewise.
29583         (acos_upward_test_data): Likewise.
29584         (acosh_test_data): Likewise.
29585         (asin_test_data): Likewise.
29586         (asin_tonearest_test_data): Likewise.
29587         (asin_towardzero_test_data): Likewise.
29588         (asin_upward_test_data): Likewise.
29589         (asinh_test_data): Likewise.
29590         (atan_test_data): Likewise.
29591         (atanh_test_data): Likewise.
29592         (cbrt_test_data): Likewise.
29593         (cos_test_data): Likewise.
29594         (cos_tonearest_test_data): Likewise.
29595         (cos_towardzero_test_data): Likewise.
29596         (cos_downward_test_data): Likewise.
29597         (cos_upward_test_data): Likewise.
29598         (cosh_test_data): Likewise.
29599         (cosh_tonearest_test_data): Likewise.
29600         (cosh_towardzero_test_data): Likewise.
29601         (cosh_downward_test_data): Likewise.
29602         (cosh_upward_test_data): Likewise.
29603         * sysdeps/i386/fpu/libm-test-ulps: Update.
29604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29606 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
29608         [BZ #6787]
29609         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
29610         * math/w_exp10f.c (__exp10f): Likewise.
29611         * math/w_exp10l.c (__exp10l): Likewise.
29612         * math/libm-test.inc (exp10_test_data): Add more tests and expect
29613         errno settings in existing tests.
29615         [BZ #14032]
29616         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
29617         precision control set to double precision.
29618         * sysdeps/i386/fpu/w_sqrt.c: New file.
29619         * math/auto-libm-test-in: Add more tests.
29620         * math/auto-libm-test-out: Update.
29622         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
29623         (sqrt_test_tonearest): New function.
29624         (sqrt_towardzero_test_data): New variable.
29625         (sqrt_test_towardzero): New function.
29626         (sqrt_downward_test_data): New variable.
29627         (sqrt_test_downward): New function.
29628         (sqrt_upward_test_data): New variable.
29629         (sqrt_test_upward): New function.
29630         (main): Call the new functions.
29632         * math/gen-auto-libm-tests.c: New file.
29633         * math/auto-libm-test-in: Likewise.
29634         * math/auto-libm-test-out: New generated file.
29635         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
29636         variables.
29637         (%beautify): Add generated representations of zero.
29638         (top level): Set $auto_input and call parse_auto_input.
29639         (beautify): Remove trailing "f" from hex float constants.
29640         (parse_args): Handle XFAIL_TEST.
29641         (convert_condition): New function.
29642         (or_value): Likewise.
29643         (or_cond_value): Likewise.
29644         (generate_testfile): Handle AUTO_TESTS_* lines.
29645         (parse_auto_input): New function.
29646         * math/libm-test.inc (XFAIL_TEST): New macro.
29647         (ERRNO_UNCHANGED): Update value.
29648         (ERRNO_EDOM): Likewise.
29649         (ERRNO_ERANGE): Likewise.
29650         (IGNORE_RESULT): Likewise.
29651         (TEST_COND_flt_32): New macro.
29652         (TEST_COND_dbl_64): Likewise.
29653         (TEST_COND_ldbl_96_intel): Likewise.
29654         (TEST_COND_ldbl_96_m68k): Likewise.
29655         (TEST_COND_ldbl_128): Likewise.
29656         (TEST_COND_ldbl_128ibm): Likewise.
29657         (TEST_COND_long32): Likewise.
29658         (TEST_COND_long64): Likewise.
29659         (TEST_COND_before_rounding): Likewise.
29660         (TEST_COND_after_rounding): Likewise.
29661         (enable_test): Handle XFAIL_TEST flag.
29662         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
29663         with finite results.
29664         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
29665         auto-libm-test-out.
29667 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29668             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29670         [BZ #16214]
29671         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
29672         __tls_get_addr_internal instead of __tls_get_offset in order to
29673         avoid GOT pointer dependency.  Make rtld export
29674         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
29675         __tls_get_addr since we are a __tls_get_offset platform.
29676         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
29677         GOT pointer being set up before.
29678         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
29680 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
29682         * manual/math.texi (Errors in Math Functions): Document accuracy
29683         goals.
29685         [BZ #15004]
29686         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
29687         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
29688         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29690         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29691         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29692         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29693         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
29694         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
29695         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29701         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
29703         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
29704         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
29705         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
29706         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
29707         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
29708         Likewise.
29709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
29710         Likewise.
29711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
29712         Likewise.
29713         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
29714         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
29715         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
29716         atomic-feupdateenv and flt-rounds.
29717         * sysdeps/powerpc/nofpu/Versions (libc): Add
29718         __atomic_feholdexcept, __atomic_feclearexcept,
29719         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
29720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
29721         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
29722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
29723         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
29724         here.
29725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
29726         Update.
29728         * manual/arith.texi (FP Exceptions): Document that exceptions may
29729         not be raised when matherr is used.
29730         (Math Error Reporting): Document overflow in directed rounding
29731         modes.  Document that errno may not be set when finite values are
29732         returned on overflow.  Document intent to set errno on underflow
29733         only for underflow to zero.
29735         [BZ #16271]
29736         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
29737         round-to-nearest then adjust result for other rounding modes.
29738         * include/fenv.h (fegetround): Use libm_hidden_proto.
29739         * math/fegetround.c (fegetround): Use libm_hidden_def.
29740         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
29741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
29742         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
29743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
29744         Likewise.
29745         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
29746         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29747         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
29748         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
29750 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29752         [BZ #16077]
29753         * nss/Versions (libnss_files): Add
29754         _nss_files_gethostbyname3_r.
29755         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
29756         New function.
29757         (HOST_DB_LOOKUP): Remove macro.
29758         (_nss_files_gethostbyname_r): Implement function without the
29759         HOST_DB_LOOKUP macro.
29760         (_nss_files_gethostbyname2_r): Likewise.
29762 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
29764         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
29766 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
29768         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
29769         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
29770         warning.
29772 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
29775         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
29776         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
29777         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
29778         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
29779         __fe_nomask_env_priv and attribute_hidden.
29780         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
29781         (libc_feupdateenv_test_ppc): Likewise.
29782         (libc_feresetround_ppc): Likewise.
29783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29784         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
29785         compat_symbol macro.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29787         (__fe_nomask_env): Likewise.
29788         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
29790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29792         * string/Makefile: Remove ifunc tests.
29793         * string/test-string.h: Define TEST_IFUNC.
29794         * string/test-bcopy-ifunc.c: Remove.
29795         * string/test-bzero-ifunc.c: Likewise.
29796         * string/test-memccpy-ifunc.c: Likewise.
29797         * string/test-memchr-ifunc.c: Likewise.
29798         * string/test-memcmp-ifunc.c: Likewise.
29799         * string/test-memcpy-ifunc.c: Likewise.
29800         * string/test-memmem-ifunc.c: Likewise.
29801         * string/test-memmove-ifunc.c: Likewise.
29802         * string/test-mempcpy-ifunc.c: Likewise.
29803         * string/test-memrchr-ifunc.c: Likewise.
29804         * string/test-memset-ifunc.c: Likewise.
29805         * string/test-rawmemchr-ifunc.c: Likewise.
29806         * string/test-stpcpy-ifunc.c: Likewise.
29807         * string/test-stpncpy-ifunc.c: Likewise.
29808         * string/test-strcasecmp-ifunc.c: Likewise.
29809         * string/test-strcasestr-ifunc.c: Likewise.
29810         * string/test-strcat-ifunc.c: Likewise.
29811         * string/test-strchr-ifunc.c: Likewise.
29812         * string/test-strchrnul-ifunc.c: Likewise.
29813         * string/test-strcmp-ifunc.c: Likewise.
29814         * string/test-strcpy-ifunc.c: Likewise.
29815         * string/test-strcspn-ifunc.c: Likewise.
29816         * string/test-strlen-ifunc.c: Likewise.
29817         * string/test-strncasecmp-ifunc.c: Likewise.
29818         * string/test-strncat-ifunc.c: Likewise.
29819         * string/test-strncmp-ifunc.c: Likewise.
29820         * string/test-strncpy-ifunc.c: Likewise.
29821         * string/test-strnlen-ifunc.c: Likewise.
29822         * string/test-strpbrk-ifunc.c: Likewise.
29823         * string/test-strrchr-ifunc.c: Likewise.
29824         * string/test-strspn-ifunc.c: Likewise.
29825         * string/test-strstr-ifunc.c: Likewise.
29827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29829         * benchtests/Makefile: Remove ifunc tests.
29830         * benchtests/bench-string.h: Define TEST_IFUNC.
29831         * benchtests/bench-bcopy-ifunc.c: Remove.
29832         * benchtests/bench-bzero-ifunc.c: Likewise.
29833         * benchtests/bench-memccpy-ifunc.c: Likewise.
29834         * benchtests/bench-memchr-ifunc.c: Likewise.
29835         * benchtests/bench-memcmp-ifunc.c: Likewise.
29836         * benchtests/bench-memcpy-ifunc.c: Likewise.
29837         * benchtests/bench-memmem-ifunc.c: Likewise.
29838         * benchtests/bench-memmove-ifunc.c: Likewise.
29839         * benchtests/bench-mempcpy-ifunc.c: Likewise.
29840         * benchtests/bench-memrchr-ifunc.c: Likewise.
29841         * benchtests/bench-memset-ifunc.c: Likewise.
29842         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
29843         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
29844         * benchtests/bench-stpcpy-ifunc.c: Likewise.
29845         * benchtests/bench-stpncpy-ifunc.c: Likewise.
29846         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
29847         * benchtests/bench-strcasestr-ifunc.c: Likewise.
29848         * benchtests/bench-strcat-ifunc.c: Likewise.
29849         * benchtests/bench-strchr-ifunc.c: Likewise.
29850         * benchtests/bench-strchrnul-ifunc.c: Likewise.
29851         * benchtests/bench-strcmp-ifunc.c: Likewise.
29852         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
29853         * benchtests/bench-strcpy-ifunc.c: Likewise.
29854         * benchtests/bench-strcspn-ifunc.c: Likewise.
29855         * benchtests/bench-strlen-ifunc.c: Likewise.
29856         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
29857         * benchtests/bench-strncat-ifunc.c: Likewise.
29858         * benchtests/bench-strncmp-ifunc.c: Likewise.
29859         * benchtests/bench-strncpy-ifunc.c: Likewise.
29860         * benchtests/bench-strnlen-ifunc.c: Likewise.
29861         * benchtests/bench-strpbrk-ifunc.c: Likewise.
29862         * benchtests/bench-strrchr-ifunc.c: Likewise.
29863         * benchtests/bench-strsep-ifunc.c: Likewise.
29864         * benchtests/bench-strspn-ifunc.c: Likewise.
29865         * benchtests/bench-strstr-ifunc.c: Likewise.
29867 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29869         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
29871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
29873         * resolv/netdb.h: Use __glibc_reserved instead __unused.
29874         * rt/aio.h: Likewise.
29875         * sysdeps/gnu/bits/utmp.h: Likewise.
29876         * sysdeps/gnu/bits/utmpx.h: Likewise.
29877         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29878         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
29879         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
29880         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
29881         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
29882         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
29883         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
29884         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
29885         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
29886         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
29887         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
29888         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
29889         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
29890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
29891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29892         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
29893         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
29894         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
29895         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
29896         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
29897         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
29898         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
29899         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
29900         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29901         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
29902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29903         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
29904         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
29905         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
29906         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
29907         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
29908         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
29909         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
29910         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
29911         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
29912         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
29913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
29914         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
29915         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
29916         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
29917         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
29918         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
29920 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
29922         [BZ #16245]
29923         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
29924         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
29926 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
29928         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
29929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
29930         Likewise.
29932 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
29935         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
29936         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
29937         (__fesetround): Remove define.
29938         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
29939         rounding and exceptions handling.
29940         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
29941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
29942         (__fe_nomask_env): Likewise.
29943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
29944         __fegetround instead of fegetround.
29945         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
29946         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
29948 2013-11-21  Roland McGrath  <roland@hack.frob.com>
29950         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
29951         it's there.
29953         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
29955 2013-11-21  Meador Inge  <meadori@codesourcery.com>
29957         [BZ #11157]
29958         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
29959         (encrypt_r): Likewise.
29960         * malloc/obstack.h (obstack_free): Likewise.
29961         * posix/unistd.h (encrypt): Likewise.
29963 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
29965         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
29966         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
29967         DL_CALL_DT_FINI() that call the functions directly.
29968         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
29969         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
29970         * elf/dl-fini.c: Likewise.
29972 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
29974         * malloc/hooks.c (memalign_check): Add alignment rounding.
29975         * malloc/malloc.c (_mid_memalign): New function.
29976         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
29977         Implement by calling _mid_memalign.
29978         * manual/probes.texi (Memory Allocation Probes): Remove
29979         memory_valloc_retry and memory_pvalloc_retry.
29981 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29983         * locale/programs/locarchive.c (open_archive): Add const
29984         qualifier to ARCHIVEFNAME and copy default fname to
29985         DEFAULT_FNAME.
29987         [BZ #15601]
29988         * libio/tst-widetext.input: Rename Oriya to Odia.
29989         * locale/iso-639.def: Likewise.
29991         * manual/probes.texi (Mathematical Function Probes): Add
29992         documentation for sin, cos, asin and acos probes.
29993         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
29994         (__sin32): Add slowasin probe.
29995         (__cos32): Add slowacos probe.
29996         (__mpsin): Add slowsin probe.
29997         (__mpcos): Add slowcos probe.
29999 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
30001         [BZ #15483]
30002         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
30003         thread-local __sim_exceptions_thread and global
30004         __sim_exceptions_global.
30005         (__sim_disabled_exceptions): Change to thread-local
30006         __sim_disabled_exceptions_thread and global
30007         __sim_disabled_exceptions_global.
30008         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30009         and global __sim_round_mode_global.
30010         (__simulate_exceptions): Use thread-local floating-point state and
30011         set global state from it as needed.
30012         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
30013         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
30014         __sim_round_mode_thread.
30015         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
30016         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
30017         and global __sim_exceptions_global.
30018         (__sim_disabled_exceptions): Change to thread-local
30019         __sim_disabled_exceptions_thread and global
30020         __sim_disabled_exceptions_global.
30021         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
30022         and global __sim_round_mode_global.
30023         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
30024         (SIM_SET_GLOBAL): Likewise.
30025         * sysdeps/powerpc/soft-fp/sfp-machine.h
30026         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
30027         __sim_round_mode_thread.
30028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
30029         __sim_disabled_exceptions_thread.
30030         (__sim_exceptions): Change to __sim_exceptions_thread.
30031         (__sim_disabled_exceptions): Change to
30032         __sim_disabled_exceptions_thread.
30033         (__sim_round_mode): Change to __sim_round_mode_thread.
30034         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
30035         thread-local floating-point state and set global state from it as
30036         needed.
30037         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
30038         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
30039         (__sim_disabled_exceptions): Remove extern declaration.
30040         (feenableexcept): Use thread-local floating-point state and set
30041         global state from it as needed.
30042         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
30043         extern declaration.
30044         (__sim_disabled_exceptions): Likewise.
30045         (__sim_round_mode): Likewise.
30046         (__fegetenv): Use thread-local floating-point state.
30047         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
30048         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
30049         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
30050         floating-point state and set global state from it as needed.
30051         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
30052         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30053         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
30054         Likewise.
30055         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
30056         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
30057         Likewise.
30058         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
30059         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
30060         Use __sim_round_mode_thread.
30061         * math/test-fenv-tls.c: New file.
30062         * math/Makefile (tests): Add test-fenv-tls.
30063         ($(objpfx)test-fenv-tls): Depend on
30064         $(common-objpfx)nptl/libpthread.so.
30066 2013-11-19  Andreas Schwab  <schwab@suse.de>
30068         * locale/programs/locale.c (show_info): Decode wordarray elements.
30069         * locale/categories.def (LC_MONETARY): Add element for
30070         _NL_MONETARY_CRNCYSTR.
30071         * locale/C-monetary.c (conversion_rate): New variable.
30072         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
30073         element.
30075 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
30077         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
30078         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
30080 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
30082         * elf/Makefile (tst-auxv): New test.
30083         * elf/tst-auxv.c: New
30084         * elf/rtld.c (dl_main): Adjust AT_EXECFN
30086 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
30088         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
30089         (hidden_proto): Caller changed.
30090         (hidden_tls_proto): New macro.
30091         (libc_hidden_tls_proto): Likewise.
30092         (rtld_hidden_tls_proto): Likewise.
30093         (libm_hidden_tls_proto): Likewise.
30094         (libresolv_hidden_tls_proto): Likewise.
30095         (librt_hidden_tls_proto): Likewise.
30096         (libdl_hidden_tls_proto): Likewise.
30097         (libnss_files_hidden_tls_proto): Likewise.
30098         (libnsl_hidden_tls_proto): Likewise.
30099         (libnss_nisplus_hidden_tls_proto): Likewise.
30100         (libutil_hidden_tls_proto): Likewise.
30102 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
30104         [BZ #10253]
30105         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
30106         (decompose_rpath): Defer expansion to fillin_rpath.
30107         (_dl_init_paths): Pass linkmap to fillin_rpath.
30109 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30111         * benchtests/Makefile: Add strsep.
30112         * benchtests/bench-strsep.c: New file: strsep benchtest.
30113         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
30115 2013-11-18  Andreas Schwab  <schwab@suse.de>
30117         * locale/programs/locale.c (show_info) [case byte]: Check for
30118         '\377' instead of '\177'.
30119         * locale/C-monetary.c (not_available): Always use "\377".
30120         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
30121         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
30122         detect unavailable sign_posn locale elements.
30123         * locale/localeconv.c (__localeconv): For grouping and
30124         mon_grouping handle "\177" and "\377" like no grouping.
30125         (INT_ELEM): New macro.  Use it to set all numeric members.
30126         * locale/programs/ld-monetary.c (monetary_read)
30127         <tok_mon_grouping>: Normalize single -1 to the empty string.
30128         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
30129         Likewise.
30131 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
30133         [BZ #16055]
30134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
30135         when we match (nil).
30136         * stdio-common/tst-sscanf.c (struct test): Add testcase.
30138 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
30140         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
30141         (NO_TEST_INLINE): Update value.
30142         (ERRNO_UNCHANGED): Likewise.
30143         (ERRNO_EDOM): Likewise.
30144         (ERRNO_ERANGE): Likewise.
30145         (IGNORE_RESULT): Likewise.
30146         (check_float_internal): Check signs of NaN results if
30147         TEST_NAN_SIGN used.
30148         (check_complex): Pass TEST_NAN_SIGN flag through to second
30149         check_float_internal call.
30150         (copysign_test_data): Add tests with quiet NaNs as second
30151         argument.  Use TEST_NAN_SIGN.
30152         (fabs_test_data): Add test of negative quiet NaN argument.  Use
30153         TEST_NAN_SIGN.
30154         (signbit_test_data): Add tests of quiet NaN argument.
30155         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
30157         * math/gen-libm-test.pl (show_exceptions): Take extra argument
30158         $ignore_result.
30159         (parse_args): Handle function results specified as IGNORE.
30160         * math/libm-test.inc (IGNORE_RESULT): New macro.
30161         (check_float_internal): Do not check numerical result if flag
30162         IGNORE_RESULT set.
30163         (check_complex): Pass through IGNORE_RESULT to second
30164         check_float_internal call.
30165         (check_int): Do not check numerical result if flag IGNORE_RESULT
30166         set.
30167         (check_long): Likewise.
30168         (check_bool): Likewise.
30169         (check_longlong): Likewise.
30170         (lrint_test_data): Add tests of infinite and NaN arguments.
30171         (lrint_tonearest_test_data): Likewise.
30172         (lrint_towardzero_test_data): Likewise.
30173         (lrint_downward_test_data): Likewise.
30174         (lrint_upward_test_data): Likewise.
30175         (llrint_test_data): Likewise.
30176         (llrint_tonearest_test_data): Likewise.
30177         (llrint_towardzero_test_data): Likewise.
30178         (llrint_downward_test_data): Likewise.
30179         (llrint_upward_test_data): Likewise.
30180         (lround_test_data): Likewise.
30181         (llround_test_data): Likewise.
30183         * math/libm-test.inc (NO_TEST_INLINE): New macro.
30184         (ERRNO_UNCHANGED): Update value.
30185         (ERRNO_EDOM): Likewise.
30186         (ERRNO_ERANGE): Likewise.
30187         (NO_TEST_INLINE_FLOAT): New macro.
30188         (NO_TEST_INLINE_DOUBLE): Likewise.
30189         (enable_test): New function.
30190         (RUN_TEST_f_f): Check enable_test before running test.
30191         (RUN_TEST_2_f): Likewise.
30192         (RUN_TEST_fff_f): Likewise.
30193         (RUN_TEST_c_f): Likewise.
30194         (RUN_TEST_f_f1): Likewise.
30195         (RUN_TEST_fF_f1): Likewise.
30196         (RUN_TEST_fI_f1): Likewise.
30197         (RUN_TEST_ffI_f1): Likewise.
30198         (RUN_TEST_c_c): Likewise.
30199         (RUN_TEST_cc_c): Likewise.
30200         (RUN_TEST_f_i): Likewise.
30201         (RUN_TEST_f_i_tg): Likewise.
30202         (RUN_TEST_ff_i_tg): Likewise.
30203         (RUN_TEST_f_b): Likewise.
30204         (RUN_TEST_f_b_tg): Likewise.
30205         (RUN_TEST_f_l): Likewise.
30206         (RUN_TEST_f_L): Likewise.
30207         (RUN_TEST_fFF_11): Likewise.
30208         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
30209         conditionals.
30210         (cosh_test_data): Likewise.
30211         (exp_test_data): Likewise.
30212         (expm1_test_data): Likewise.
30213         (hypot_test_data): Likewise.
30214         (pow_test_data): Likewise.
30215         (sinh_test_data): Likewise.
30216         (tanh_test_data): Likewise.
30217         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
30218         flags argument.
30220         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
30221         tests with quiet NaN input and output.
30222         (acosh_test_data): Likewise.
30223         (asin_test_data): Likewise.
30224         (asinh_test_data): Likewise.
30225         (atan_test_data): Likewise.
30226         (atanh_test_data): Likewise.
30227         (atan2_test_data): Likewise.
30228         (cbrt_test_data): Likewise.
30229         (cos_test_data): Likewise.
30230         (cosh_test_data): Likewise.
30231         (erf_test_data): Likewise.
30232         (erfc_test_data): Likewise.
30233         (exp_test_data): Likewise.
30234         (exp10_test_data): Likewise.
30235         (exp2_test_data): Likewise.
30236         (expm1_test_data): Likewise.
30237         (hypot_test_data): Likewise.
30238         (j0_test_data): Likewise.
30239         (j1_test_data): Likewise.
30240         (jn_test_data): Likewise.
30241         (lgamma_test_data): Likewise.
30242         (log_test_data): Likewise.
30243         (log10_test_data): Likewise.
30244         (log1p_test_data): Likewise.
30245         (log2_test_data): Likewise.
30246         (pow_test_data): Likewise.
30247         (scalb_test_data): Likewise.
30248         (sin_test_data): Likewise.
30249         (sincos_test_data): Likewise.
30250         (sinh_test_data): Likewise.
30251         (tan_test_data): Likewise.
30252         (tanh_test_data): Likewise.
30253         (tgamma_test_data): Likewise.
30254         (y0_test_data): Likewise.
30255         (y1_test_data): Likewise.
30256         (yn_test_data): Likewise.
30258         [BZ #16167]
30259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
30260         argument being NaN and avoid computations with second argument in
30261         that case.
30262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
30264         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30266 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
30268         * locale/iso-639.def: Add Chitwani Tharu (the).
30270 2013-11-14  Andreas Schwab  <schwab@suse.de>
30272         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
30273         word instead of empty string.
30275 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30278         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
30279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30280         (__fe_nomask_env): Likewise.
30282 2013-11-13  Steve Ellcey  <sellcey@mips.com>
30284         * benchtests/bench-timing.h: Include time.h.
30286 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
30288         [BZ #15997]
30289         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
30290         to 3.4.0 for x32.
30291         * sysdeps/unix/sysv/linux/configure: Regenerated.
30293 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
30295         [BZ #16151]
30296         * stdlib/strtod_l.c (round_and_return): Do not consider
30297         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
30298         exponent one less than half the least subnormal exponent.
30299         * stdlib/test-strtod-round-data: Add more tests.
30300         * stdlib/tst-strtod-round.c (tests): Regenerated.
30302 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30304         [BZ #14143]
30305         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
30306         (__fe_mask_env): Likewise.
30307         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
30308         libm_hidden_proto and add function prototype.
30309         (__fe_mask_env): Add function prototype.
30310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30311         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
30312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30313         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
30314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30315         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
30317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30319         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
30320         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
30322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30324         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
30325         of htab_find_slot().
30327 2013-11-11  David S. Miller  <davem@davemloft.net>
30329         [BZ #16150]
30330         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
30331         symbol in the non-vis3 case in static builds.
30332         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
30333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
30334         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
30335         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
30337 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
30339         [BZ #387]
30340         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
30341         it is empty.
30343 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30345         * benchtests/Makefile: Add bench-strtod.
30346         * benchtests/bench-strtod.c: New file: strtod benchtest
30348 2013-11-11  Andreas Schwab  <schwab@suse.de>
30350         [BZ #16153]
30351         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
30352         terminating NUL in key length.
30354 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
30357         Add artificial ODP entry for vDSO symbol for PPC64.
30358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
30359         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
30361 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
30363         [BZ #15374]
30364         * nss/getent.c (services_keys): Recognize services starting with digit.
30366 2013-11-06  David S. Miller  <davem@davemloft.net>
30368         [BZ #15985]
30369         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
30370         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
30372 2013-11-06  Will Newton  <will.newton@linaro.org>
30374         * manual/memory.texi (Malloc Examples): Remove register
30375         keyword from examples.
30377 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
30379         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
30381 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
30383         [BZ #6981]
30384         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
30385         depending on [__GCC_IEC_559 > 0].
30386         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
30387         depending on [__GCC_IEC_559_COMPLEX > 0].
30389 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
30391         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
30392         to iso-639.def.
30394 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
30396         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
30398 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
30400         [BZ #16112]
30401         * malloc/malloc (malloc_info): Do not handle first bin as
30402         special case.
30404 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
30406         * locale/iso-639.def: Add Central Nahuatl (nhn).
30408 2013-11-01  Bruno Haible  <bruno@clisp.org>
30410         [BZ #7003]
30411         * manual/math.texi (BSD Random): Specify range upper bound as
30412         in POSIX.
30414 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
30416         * locale/iso-639.def: Add Meadow Mari (mhr).
30418 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
30420         [BZ #14752], [BZ #15763]
30421         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
30422         Validate name.
30423         * rt/tst_shm.c: Add test for escaping directory.
30425 2013-10-31  Andreas Schwab  <schwab@suse.de>
30427         [BZ #15917]
30428         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
30429         followed by 'x' as part of digit sequence.
30430         * stdio-common/tst-sscanf.c (double_tests2): New tests.
30432 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
30434         [BZ #16037]
30435         * configure.ac: allow GNU Make 4.0 and greater.
30436         * configure: Regenerated.
30438 2013-10-30  Will Newton  <will.newton@linaro.org>
30440         [BZ #16038]
30441         * malloc/hooks.c (memalign_check): Limit alignment to the
30442         maximum representable power of two.
30443         * malloc/malloc.c (__libc_memalign): Likewise.
30444         * malloc/tst-memalign.c (do_test): Add test for very
30445         large alignment values.
30446         * malloc/tst-posix_memalign.c (do_test): Likewise.
30448 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
30450         [BZ #11087]
30451         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
30452         (munmap_chunk): Likewise.
30453         (mremap_chunk): Likewise.
30455 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
30457         [BZ #15799]
30458         * stdlib/div.c (div): Remove obsolete code.
30459         * stdlib/ldiv.c (ldiv): Likewise.
30460         * stdlib/lldiv.c (lldiv): Likewise.
30462 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30464         [BZ #16071]
30465         * nss/nss_files/files-XXX.c (get_contents_ret): New
30466         enumerator.
30467         (get_contents): New function.
30468         (internal_getent): Use it.  Expand size of LINEBUFLEN.
30470 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
30472         * configure.in: Moved to ...
30473         * configure.ac: ... here. Change reference to configure.in
30474         to configure.ac.
30475         * sysdeps/arm/preconfigure.ac: ... here.
30476         configure.in to configure.ac.
30477         * sysdeps/gnu/configure.in: Moved to ...
30478         * sysdeps/gnu/configure.ac: ... here.
30479         * sysdeps/i386/configure.in: Moved to ...
30480         * sysdeps/i386/configure.ac: ... here.
30481         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
30482         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
30483         * sysdeps/mach/configure.in: Moved to ...
30484         * sysdeps/mach/configure.ac: ... here.
30485         * sysdeps/mach/hurd/configure.in: Moved to ...
30486         * sysdeps/mach/hurd/configure.ac: ... here.
30487         * sysdeps/powerpc/configure.in: Moved to ...
30488         * sysdeps/powerpc/configure.ac: ... here.
30489         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
30490         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
30491         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
30492         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
30493         * sysdeps/s390/s390-32/configure.in: Moved to ...
30494         * sysdeps/s390/s390-32/configure.ac: ... here.
30495         * sysdeps/s390/s390-64/configure.in: Moved to ...
30496         * sysdeps/s390/s390-64/configure.ac: ... here.
30497         * sysdeps/sh/configure.in: Moved to ...
30498         * sysdeps/sh/configure.ac: ... here.
30499         * sysdeps/sparc/configure.in: Moved to ...
30500         * sysdeps/sparc/configure.ac: ... here.
30501         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
30502         * sysdeps/unix/sysv/linux/configure.ac: ... here.
30503         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
30504         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
30505         * sysdeps/x86_64/configure.in: Moved to ...
30506         * sysdeps/x86_64/configure.ac: ... here.
30507         * sysdeps/x86_64/preconfigure.in: Moved to ...
30508         * sysdeps/x86_64/preconfigure.ac: ... here.
30509         * aclocal.m4: Change reference to configure.in to configure.ac.
30510         * config.h.in: Likewise.
30511         * manual/install.texi: Likewise.
30512         * manual/maint.texi: Likewise.
30513         * Makefile: Likewise.
30514         * malloc/Makefile: Likewise.
30515         * nscd/Makefile: Likewise.
30516         * Makeconfig: Change reference to configure.in and
30517         preconfigure.in to configure.ac and preconfigure.ac
30518         respectively.
30519         * INSTALL: Regenerated.
30520         * configure: Likewise.
30521         * sysdeps/gnu/configure: Likewise.
30522         * sysdeps/i386/configure: Likewise.
30523         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
30524         * sysdeps/mach/configure: Likewise.
30525         * sysdeps/mach/hurd/configure: Likewise.
30526         * sysdeps/powerpc/configure: Likewise.
30527         * sysdeps/powerpc/powerpc32/configure: Likewise.
30528         * sysdeps/powerpc/powerpc64/configure: Likewise.
30529         * sysdeps/s390/s390-32/configure: Likewise.
30530         * sysdeps/s390/s390-64/configure: Likewise.
30531         * sysdeps/sh/configure: Likewise.
30532         * sysdeps/sparc/configure: Likewise.
30533         * sysdeps/unix/sysv/linux/configure: Likewise.
30534         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
30535         * sysdeps/x86_64/configure: Likewise.
30536         * sysdeps/x86_64/preconfigure: Likewise.
30538 2013-10-29  Andreas Schwab  <schwab@suse.de>
30540         * stdio-common/Makefile (tst-swscanf-ENV): Define.
30542 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30544         * benchtests/pow-inputs: Add new inputs.
30546         * benchtests/exp-inputs: Add new inputs.
30548         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
30549         conditional check for return value.
30550         (__cos32): Likewise.
30552 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30554         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
30555         to provide a boost for large inputs with word alignment.
30556         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
30557         implementation based on optimized PPC64 strcpy.
30558         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
30559         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
30560         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
30561         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
30563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30565         [BZ #2801]
30566         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
30568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30570         [BZ #14876]
30571         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
30572         * time/tst-strptime.c (day_tests): Add testcase.
30574 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
30576         [BZ #14029]
30577         * manual/pattern.texi: Acknowledge that fnmatch can fail.
30579 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
30581         [BZ #16074]
30582         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
30583         MAP_FAILED on error.
30585 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30587         [BZ #16072]
30588         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
30589         heap for large requests.
30591 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
30593         [BZ #9954]
30594         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
30595         result if the result has no associated interface.
30596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
30597         interface for all 127.X.Y.Z addresses.
30599 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
30601         * locale/iso-639.def: Add Ligurian (lij)
30603 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
30605         [BZ #15825]
30606         * sunrpc/rpc_main.c: Document rpcgen -5.
30608 2013-10-19  Michael Stahl  <mstahl@redhat.com>
30610         * elf/rtld.c (do_preload): Print the reason why preloading failed.
30612 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
30614         [BZ #10278]
30615         * posix/glob.c: Match only directories when trailing slash is present.
30616         * posix/tst-gnuglob.c (my_opendir): Do not open files.
30617         (main): Add testcase.
30619 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
30621         [BZ #15670]
30622         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
30624 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
30626         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
30627         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
30628         AUTH_DES and cindex for FIPS 140-2.
30629         (DES Encryption): Add cindex FIPS 46-3.
30631         * locale/locarchive.h (struct locarhandle): Add fname.
30632         * locale/programs/localedef.c (main): Pass ARGV[remaining]
30633         if an optional argument was specified to --list-archive,
30634         otherwise NULL.
30635         * locale/programs/locarchive.c (show_archive_content): Take new
30636         argument fname and pass it via ah.fname to open_archive.
30637         * locale/programs/localedef.h: Update decl.
30638         (open_archive): If AH->fname is non-null, open that file
30639         rather than the default file name, and don't ignore ENOENT.
30640         (create_archive): Set AH.fname to NULL.
30641         (delete_locales_from_archive): Likewise.
30642         (add_locales_to_archive): Likewise.
30643         * locale/programs/locfile.c (write_all_categories): Likewise.
30645 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
30646             Aldy Hernandez  <aldyh@redhat.com>
30648         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
30649         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
30650         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
30651         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
30652         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
30653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
30654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
30655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
30656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
30657         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
30658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
30659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
30660         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
30661         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
30662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
30663         Likewise.
30664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
30665         Likewise.
30666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
30667         Likewise.
30668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
30669         Likewise.
30670         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
30671         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
30672         Likewise.
30673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
30674         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
30675         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
30676         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
30677         Likewise.
30678         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
30679         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
30680         * sysdeps/powerpc/preconfigure: Likewise.
30681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
30682         Likewise.
30683         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
30684         Replace contents of file by #include of <fenv_libc.h>.
30685         * sysdeps/powerpc/soft-fp/sfp-machine.h
30686         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
30687         and <sys/prctl.h>.
30688         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
30689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
30690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
30691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
30692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
30693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
30694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
30695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
30696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
30697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
30698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
30699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
30700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
30701         Allow copysignl PLT reference to be missing.
30703 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
30704             Joseph Myers  <joseph@codesourcery.com
30706         [BZ #15948]
30707         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
30708         single character.
30709         (add_to_tablewc): Assert sequence of wide characters is nonempty.
30711 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30713         * elf/tst-tls-dlinfo.c: Don't include tls.h.
30714         * elf/tst-tls1.c: Likewise.
30715         * elf/tst-tls10.h: Likewise.
30716         * elf/tst-tls14.c: Likewise.
30717         * elf/tst-tls2.c: Likewise.
30718         * elf/tst-tls3.c: Likewise.
30719         * elf/tst-tls4.c: Likewise.
30720         * elf/tst-tls5.c: Likewise.
30721         * elf/tst-tls6.c: Likewise.
30722         * elf/tst-tls7.c: Likewise.
30723         * elf/tst-tls8.c: Likewise.
30724         * elf/tst-tls9.c: Likewise.
30725         * elf/tst-tlsmod1.c: Likewise.
30726         * elf/tst-tlsmod13.c: Likewise.
30727         * elf/tst-tlsmod13a.c: Likewise.
30728         * elf/tst-tlsmod14a.c: Likewise.
30729         * elf/tst-tlsmod16a.c: Likewise.
30730         * elf/tst-tlsmod16b.c: Likewise.
30731         * elf/tst-tlsmod2.c: Likewise.
30732         * elf/tst-tlsmod3.c: Likewise.
30733         * elf/tst-tlsmod4.c: Likewise.
30734         * elf/tst-tlsmod5.c: Likewise.
30735         * elf/tst-tlsmod6.c: Likewise.
30737 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
30739         [BZ #12486]
30740         * malloc/malloc.c: remove checks for statistics.
30742 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30744         [BZ #15277]
30745         * inet/inet_net.c (inet_network): Detect additional invalid strings.
30746         * inet/tst-network.c: Add testcase.
30748 2013-10-17  Andreas Schwab  <schwab@suse.de>
30750         [BZ #15218]
30751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
30752         to determine canonical name.
30754 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
30756         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
30757         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
30758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30759         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
30765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30767         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30768         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30769         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30770         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30771         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30773         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30779         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
30780         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
30781         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30782         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30783         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
30784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30785         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
30786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30788         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30789         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30792         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30793         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30794         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30796         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30797         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30799         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30800         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30801         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30803         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30804         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30805         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30806         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30807         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30809         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30815 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
30817         [BZ #16041]
30818         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
30819         make result into a quiet NaN.
30821 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
30823         * soft-fp/adddf3.c: Fix horizontal whitespace.
30824         * soft-fp/addsf3.c: Likewise.
30825         * soft-fp/addtf3.c: Likewise.
30826         * soft-fp/divdf3.c: Likewise.
30827         * soft-fp/divsf3.c: Likewise.
30828         * soft-fp/divtf3.c: Likewise.
30829         * soft-fp/double.h: Likewise.
30830         * soft-fp/eqdf2.c: Likewise.
30831         * soft-fp/eqsf2.c: Likewise.
30832         * soft-fp/eqtf2.c: Likewise.
30833         * soft-fp/extenddftf2.c: Likewise.
30834         * soft-fp/extended.h: Likewise.
30835         * soft-fp/extendsfdf2.c: Likewise.
30836         * soft-fp/extendsftf2.c: Likewise.
30837         * soft-fp/extendxftf2.c: Likewise.
30838         * soft-fp/fixdfdi.c: Likewise.
30839         * soft-fp/fixdfsi.c: Likewise.
30840         * soft-fp/fixdfti.c: Likewise.
30841         * soft-fp/fixsfdi.c: Likewise.
30842         * soft-fp/fixsfsi.c: Likewise.
30843         * soft-fp/fixsfti.c: Likewise.
30844         * soft-fp/fixtfdi.c: Likewise.
30845         * soft-fp/fixtfsi.c: Likewise.
30846         * soft-fp/fixtfti.c: Likewise.
30847         * soft-fp/fixunsdfdi.c: Likewise.
30848         * soft-fp/fixunsdfsi.c: Likewise.
30849         * soft-fp/fixunsdfti.c: Likewise.
30850         * soft-fp/fixunssfdi.c: Likewise.
30851         * soft-fp/fixunssfsi.c: Likewise.
30852         * soft-fp/fixunssfti.c: Likewise.
30853         * soft-fp/fixunstfdi.c: Likewise.
30854         * soft-fp/fixunstfsi.c: Likewise.
30855         * soft-fp/fixunstfti.c: Likewise.
30856         * soft-fp/floatdidf.c: Likewise.
30857         * soft-fp/floatdisf.c: Likewise.
30858         * soft-fp/floatditf.c: Likewise.
30859         * soft-fp/floatsidf.c: Likewise.
30860         * soft-fp/floatsisf.c: Likewise.
30861         * soft-fp/floatsitf.c: Likewise.
30862         * soft-fp/floattidf.c: Likewise.
30863         * soft-fp/floattisf.c: Likewise.
30864         * soft-fp/floattitf.c: Likewise.
30865         * soft-fp/floatundidf.c: Likewise.
30866         * soft-fp/floatundisf.c: Likewise.
30867         * soft-fp/floatunditf.c: Likewise.
30868         * soft-fp/floatunsidf.c: Likewise.
30869         * soft-fp/floatunsisf.c: Likewise.
30870         * soft-fp/floatunsitf.c: Likewise.
30871         * soft-fp/floatuntidf.c: Likewise.
30872         * soft-fp/floatuntisf.c: Likewise.
30873         * soft-fp/floatuntitf.c: Likewise.
30874         * soft-fp/fmadf4.c: Likewise.
30875         * soft-fp/fmasf4.c: Likewise.
30876         * soft-fp/fmatf4.c: Likewise.
30877         * soft-fp/gedf2.c: Likewise.
30878         * soft-fp/gesf2.c: Likewise.
30879         * soft-fp/getf2.c: Likewise.
30880         * soft-fp/ledf2.c: Likewise.
30881         * soft-fp/lesf2.c: Likewise.
30882         * soft-fp/letf2.c: Likewise.
30883         * soft-fp/muldf3.c: Likewise.
30884         * soft-fp/mulsf3.c: Likewise.
30885         * soft-fp/multf3.c: Likewise.
30886         * soft-fp/negdf2.c: Likewise.
30887         * soft-fp/negsf2.c: Likewise.
30888         * soft-fp/negtf2.c: Likewise.
30889         * soft-fp/op-1.h: Likewise.
30890         * soft-fp/op-2.h: Likewise.
30891         * soft-fp/op-4.h: Likewise.
30892         * soft-fp/op-8.h: Likewise.
30893         * soft-fp/op-common.h: Likewise.
30894         * soft-fp/quad.h: Likewise.
30895         * soft-fp/single.h: Likewise.
30896         * soft-fp/soft-fp.h: Likewise.
30897         * soft-fp/sqrtdf2.c: Likewise.
30898         * soft-fp/sqrtsf2.c: Likewise.
30899         * soft-fp/sqrttf2.c: Likewise.
30900         * soft-fp/subdf3.c: Likewise.
30901         * soft-fp/subsf3.c: Likewise.
30902         * soft-fp/subtf3.c: Likewise.
30903         * soft-fp/truncdfsf2.c: Likewise.
30904         * soft-fp/trunctfdf2.c: Likewise.
30905         * soft-fp/trunctfsf2.c: Likewise.
30906         * soft-fp/trunctfxf2.c: Likewise.
30907         * soft-fp/unorddf2.c: Likewise.
30908         * soft-fp/unordsf2.c: Likewise.
30909         * soft-fp/unordtf2.c: Likewise.
30911 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
30913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
30914         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
30916 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
30918         * elf/dl-libc.c: Clear initfini list after freeing.
30920 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
30922         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
30923         * soft-fp/addsf3.c: Likewise.
30924         * soft-fp/addtf3.c: Likewise.
30925         * soft-fp/divdf3.c: Likewise.
30926         * soft-fp/divsf3.c: Likewise.
30927         * soft-fp/divtf3.c: Likewise.
30928         * soft-fp/double.h: Likewise.
30929         * soft-fp/eqdf2.c: Likewise.
30930         * soft-fp/eqsf2.c: Likewise.
30931         * soft-fp/eqtf2.c: Likewise.
30932         * soft-fp/extenddftf2.c: Likewise.
30933         * soft-fp/extended.h: Likewise.
30934         * soft-fp/extendsfdf2.c: Likewise.
30935         * soft-fp/extendsftf2.c: Likewise.
30936         * soft-fp/extendxftf2.c: Likewise.
30937         * soft-fp/fixdfdi.c: Likewise.
30938         * soft-fp/fixdfsi.c: Likewise.
30939         * soft-fp/fixdfti.c: Likewise.
30940         * soft-fp/fixsfdi.c: Likewise.
30941         * soft-fp/fixsfsi.c: Likewise.
30942         * soft-fp/fixsfti.c: Likewise.
30943         * soft-fp/fixtfdi.c: Likewise.
30944         * soft-fp/fixtfsi.c: Likewise.
30945         * soft-fp/fixtfti.c: Likewise.
30946         * soft-fp/fixunsdfdi.c: Likewise.
30947         * soft-fp/fixunsdfsi.c: Likewise.
30948         * soft-fp/fixunsdfti.c: Likewise.
30949         * soft-fp/fixunssfdi.c: Likewise.
30950         * soft-fp/fixunssfsi.c: Likewise.
30951         * soft-fp/fixunssfti.c: Likewise.
30952         * soft-fp/fixunstfdi.c: Likewise.
30953         * soft-fp/fixunstfsi.c: Likewise.
30954         * soft-fp/fixunstfti.c: Likewise.
30955         * soft-fp/floatdidf.c: Likewise.
30956         * soft-fp/floatdisf.c: Likewise.
30957         * soft-fp/floatditf.c: Likewise.
30958         * soft-fp/floatsidf.c: Likewise.
30959         * soft-fp/floatsisf.c: Likewise.
30960         * soft-fp/floatsitf.c: Likewise.
30961         * soft-fp/floattidf.c: Likewise.
30962         * soft-fp/floattisf.c: Likewise.
30963         * soft-fp/floattitf.c: Likewise.
30964         * soft-fp/floatundidf.c: Likewise.
30965         * soft-fp/floatundisf.c: Likewise.
30966         * soft-fp/floatunsidf.c: Likewise.
30967         * soft-fp/floatunsisf.c: Likewise.
30968         * soft-fp/floatuntidf.c: Likewise.
30969         * soft-fp/floatuntisf.c: Likewise.
30970         * soft-fp/floatuntitf.c: Likewise.
30971         * soft-fp/fmadf4.c: Likewise.
30972         * soft-fp/fmasf4.c: Likewise.
30973         * soft-fp/fmatf4.c: Likewise.
30974         * soft-fp/gedf2.c: Likewise.
30975         * soft-fp/gesf2.c: Likewise.
30976         * soft-fp/getf2.c: Likewise.
30977         * soft-fp/ledf2.c: Likewise.
30978         * soft-fp/lesf2.c: Likewise.
30979         * soft-fp/letf2.c: Likewise.
30980         * soft-fp/muldf3.c: Likewise.
30981         * soft-fp/mulsf3.c: Likewise.
30982         * soft-fp/multf3.c: Likewise.
30983         * soft-fp/negdf2.c: Likewise.
30984         * soft-fp/negsf2.c: Likewise.
30985         * soft-fp/negtf2.c: Likewise.
30986         * soft-fp/op-1.h: Likewise.
30987         * soft-fp/op-2.h: Likewise.
30988         * soft-fp/op-4.h: Likewise.
30989         * soft-fp/op-8.h: Likewise.
30990         * soft-fp/op-common.h: Likewise.
30991         * soft-fp/quad.h: Likewise.
30992         * soft-fp/single.h: Likewise.
30993         * soft-fp/soft-fp.h: Likewise.
30994         * soft-fp/sqrtdf2.c: Likewise.
30995         * soft-fp/sqrtsf2.c: Likewise.
30996         * soft-fp/sqrttf2.c: Likewise.
30997         * soft-fp/subdf3.c: Likewise.
30998         * soft-fp/subsf3.c: Likewise.
30999         * soft-fp/subtf3.c: Likewise.
31000         * soft-fp/truncdfsf2.c: Likewise.
31001         * soft-fp/trunctfdf2.c: Likewise.
31002         * soft-fp/trunctfsf2.c: Likewise.
31003         * soft-fp/trunctfxf2.c: Likewise.
31004         * soft-fp/unorddf2.c: Likewise.
31005         * soft-fp/unordsf2.c: Likewise.
31006         * soft-fp/unordtf2.c: Likewise.
31008 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
31010         [BZ #15672]
31011         * misc/error.c (error_tail): Fix possible buffer overflow.
31013 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
31015         [BZ #13028]
31016         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
31017         address.
31019 2013-10-14  P. J. McDermott  <pj@pehjota.net>
31021         [BZ #832]
31022         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
31023         testing pipefail option.
31025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31027         * soft-fp/double.h: Indent preprocessor directives inside #if.
31028         * soft-fp/extended.h: Likewise.
31029         * soft-fp/op-2.h: Likewise.
31030         * soft-fp/op-4.h: Likewise.
31031         * soft-fp/op-common.h: Likewise.
31032         * soft-fp/quad.h: Likewise.
31033         * soft-fp/single.h: Likewise.
31034         * soft-fp/soft-fp.h: Likewise.
31036 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
31038         * iconv/iconv_prog.c: Fix typos.
31039         * stdio-common/psiginfo-data.h: Likewise.
31041 2013-10-12   Reuben Thomas <rrt@sc3d.org>
31043         [BZ #15764]
31044         * locale/setlocale.c: Fix typo.
31046 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
31048         [BZ #16036]
31049         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
31050         signaling NaN arguments.
31051         * soft-fp/unordsf2.c (__unordsf2): Likewise.
31052         * soft-fp/unordtf2.c (__unordtf2): Likewise.
31054         [BZ #14910]
31055         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
31056         unordered operands.
31057         * soft-fp/gesf2.c (__gesf2): Likewise.
31058         * soft-fp/getf2.c (__getf2): Likewise.
31059         * soft-fp/ledf2.c (__ledf2): Likewise.
31060         * soft-fp/lesf2.c (__lesf2): Likewise.
31061         * soft-fp/letf2.c (__letf2): Likewise.
31063         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
31064         * soft-fp/eqsf2.c (__eqsf2): Likewise.
31065         * soft-fp/eqtf2.c (__eqtf2): Likewise.
31066         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
31067         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
31068         * soft-fp/fixdfti.c (__fixdfti): Likewise.
31069         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
31070         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
31071         * soft-fp/fixsfti.c (__fixsfti): Likewise.
31072         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
31073         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
31074         * soft-fp/fixtfti.c (__fixtfti): Likewise.
31075         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
31076         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
31077         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
31078         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
31079         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
31080         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
31081         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
31082         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
31083         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
31084         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
31085         * soft-fp/floatdisf.c (__floatdisf): Likewise.
31086         * soft-fp/floatsisf.c (__floatsisf): Likewise.
31087         * soft-fp/floattidf.c (__floattidf): Likewise.
31088         * soft-fp/floattisf.c (__floattisf): Likewise.
31089         * soft-fp/floattitf.c (__floattitf): Likewise.
31090         * soft-fp/floatundidf.c (__floatundidf): Likewise.
31091         * soft-fp/floatundisf.c (__floatundisf): Likewise.
31092         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
31093         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
31094         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
31095         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
31096         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
31097         * soft-fp/gesf2.c (__gesf2): Likewise.
31098         * soft-fp/getf2.c (__getf2): Likewise.
31099         * soft-fp/ledf2.c (__ledf2): Likewise.
31100         * soft-fp/lesf2.c (__lesf2): Likewise.
31101         * soft-fp/letf2.c (__letf2): Likewise.
31103         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
31104         Undefine and redefine.
31105         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
31106         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
31107         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
31108         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
31109         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31110         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
31111         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31112         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
31113         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31114         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
31115         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31116         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
31117         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31118         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
31119         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
31121         [BZ #16032]
31122         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
31123         without decrementing exponent if mantissa >= that for the
31124         denominator, not >.
31125         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
31126         denominator, not >.  Decrement exponent in < case instead of
31127         incrementing in >= case.
31128         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
31129         without decrementing exponent if mantissa >= that for the
31130         denominator, not >.
31132         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
31133         computing saturated result for unsigned overflow.
31135 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31136             Jeff Law  <law@redhat.com>
31138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
31139         (atan2Mp): Add systemtap probe marker.
31140         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
31141         (__ieee754_log): Add systemtap probe marker.
31142         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
31143         (atanMp): Add systemtap probe marker.
31144         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
31145         (tanMp): Add systemtap probe marker.
31146         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
31147         (__slowexp): Add systemtap probe marker.
31148         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
31149         (__slowpow): Add systemtap probe marker.
31150         * manual/probes.texi: Document probes.
31152 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
31154         [BZ #15362]
31155         * libio/fileops.c (_IO_new_file_write): Return count of bytes
31156         written.
31157         (_IO_new_file_xsputn): Don't return EOF if nothing has been
31158         written.
31159         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
31160         written to buffer but not flushed.
31161         * libio/iofwrite_u.c:  Likewise.
31162         * libio/iopadn.c:  Return bytes returned even if EOF was
31163         encountered.
31164         * libio/iowpadn.c:  Likewise.
31165         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
31166         if _IO_padn does not write the whole buffer.
31167         [!COMPILE_WPRINTF] (PAD): Likewise.
31169 2013-10-10  David S. Miller  <davem@davemloft.net>
31171         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
31172         directory block.
31174 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31176         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
31177         instead of FSF address.
31178         * soft-fp/fixdfti.c: Likewise.
31179         * soft-fp/fixsfti.c: Likewise.
31180         * soft-fp/fixtfti.c: Likewise.
31181         * soft-fp/fixunsdfti.c: Likewise.
31182         * soft-fp/fixunssfti.c: Likewise.
31183         * soft-fp/fixunstfti.c: Likewise.
31184         * soft-fp/floattidf.c: Likewise.
31185         * soft-fp/floattisf.c: Likewise.
31186         * soft-fp/floattitf.c: Likewise.
31187         * soft-fp/floatuntidf.c: Likewise.
31188         * soft-fp/floatuntisf.c: Likewise.
31189         * soft-fp/floatuntitf.c: Likewise.
31190         * soft-fp/trunctfxf2.c: Likewise.
31192         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
31193         * soft-fp/fixdfti.c: Likewise.
31194         * soft-fp/fixsfti.c: Likewise.
31195         * soft-fp/fixtfti.c: Likewise.
31196         * soft-fp/fixunsdfti.c: Likewise.
31197         * soft-fp/fixunssfti.c: Likewise.
31198         * soft-fp/fixunstfti.c: Likewise.
31199         * soft-fp/floattidf.c: Likewise.
31200         * soft-fp/floattisf.c: Likewise.
31201         * soft-fp/floattitf.c: Likewise.
31202         * soft-fp/floatuntidf.c: Likewise.
31203         * soft-fp/floatuntisf.c: Likewise.
31204         * soft-fp/floatuntitf.c: Likewise.
31205         * soft-fp/trunctfxf2.c: Likewise.
31207 2013-10-10  David S. Miller  <davem@davemloft.net>
31209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31211 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
31213         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
31214         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
31215         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
31216         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
31217         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
31218         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
31219         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
31221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
31222         for NaNs before doing comparisons on argument.
31223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
31224         Likewise.
31226 2013-10-10  Will Newton  <will.newton@linaro.org>
31228         * malloc/hooks.c (memalign_check): Ensure the value of bytes
31229         passed to _int_memalign does not overflow.
31231 2013-10-10  Torvald Riegel  <triegel@redhat.com>
31233         * scripts/bench.pl: Add include-sources directive.
31234         * benchtests/README: Update documentation.
31236 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
31238         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
31239         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
31240         instead of FP_INIT_ROUNDMODE.
31241         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
31242         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
31244         [BZ #16034]
31245         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
31246         copy class of input value.
31247         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
31248         not handle exceptions.
31249         * soft-fp/negsf2.c (__negsf2): Likewise.
31250         * soft-fp/negtf2.c (__negtf2): Likewise.
31251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
31253 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
31255         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
31256         semicolon.  From Linux kernel.
31258 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
31260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
31262 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
31264         [BZ #156]
31265         * manual/socket.texi: Added statement about buffer
31266         for gethostbyname2_r.
31268 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
31270         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
31271         Use .p2align directive instead, throughout.
31272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
31274         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
31275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31277         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
31278         * sysdeps/x86_64/strchr.S: Likewise.
31279         * sysdeps/x86_64/strrchr.S: Likewise.
31281 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31283         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
31285         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
31287         * sysdeps/generic/math_private.h (__mpsin1): Remove
31288         declaration.
31289         (__mpcos1): Likewise.
31290         (__mpsin): New argument __range_reduce.
31291         (__mpcos): Likewise.
31292         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31293         (slow): Use __mpsin and __mpcos.
31294         (slow1): Likewise.
31295         (slow2): Likewise.
31296         (sloww): Likewise.
31297         (sloww1): Likewise.
31298         (sloww2): Likewise.
31299         (bsloww): Likewise.
31300         (bsloww1): Likewise.
31301         (bsloww2): Likewise.
31302         (cslow2): Likewise.
31303         (csloww): Likewise.
31304         (csloww1): Likewise.
31305         (csloww2): Likewise.
31306         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
31307         range_reduce.  Merge in __mpsin1.
31308         (__mpcos): Likewise.
31309         (__mpsin1): Remove.
31310         (__mpcos1): Likewise.
31312 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
31314         * locale/loadlocale.c (_nl_intern_locale_data): Use
31315         LOCFILE_ALIGNED_P.
31316         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
31317         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
31318         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
31319         obstack data is appropriately aligned.
31320         (obstack_int32_grow_fast): Likewise.
31321         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
31322         * locale/programs/locfile.c (add_locale_uint32): Likewise.
31323         (add_locale_uint32_array): Likewise.
31325 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
31327         * benchtests/Makefile: Remove ARGLIST and RET variables.
31328         ($(objpfx)bench-%.c): Pass only function name to the script.
31329         * benchtests/README: Update documentation.
31330         * benchtests/acos-inputs: Add new directives.
31331         * benchtests/acosh-inputs: Likewise.
31332         * benchtests/asin-inputs: Likewise.
31333         * benchtests/asinh-inputs: Likewise.
31334         * benchtests/atan-inputs: Likewise.
31335         * benchtests/atanh-inputs: Likewise.
31336         * benchtests/cos-inputs: Likewise.
31337         * benchtests/cosh-inputs: Likewise.
31338         * benchtests/exp-inputs: Likewise.
31339         * benchtests/log-inputs: Likewise.
31340         * benchtests/pow-inputs: Likewise.
31341         * benchtests/rint-inputs: Likewise.
31342         * benchtests/sin-inputs: Likewise.
31343         * benchtests/sinh-inputs: Likewise.
31344         * benchtests/tan-inputs: Likewise.
31345         * benchtests/tanh-inputs: Likewise.
31346         * scripts/bench.pl: Add support for new directives.
31348 2013-10-07  Alan Modra  <amodra@gmail.com>
31350         * README: Fix careless merge.
31352 2013-10-05  Alan Modra  <amodra@gmail.com>
31354         * NEWS: Mention powerpc64le support and bugs fixed.
31355         * README: Both big-endian and little-endian powerpc64 supported.
31357 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31359         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
31360         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
31361         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
31362         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
31364 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
31366         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
31367         match prototype.
31369 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
31371         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
31372         Move -mhard-float appending from
31373         ports/sysdeps/powerpc/powerpc32/Makefile.
31374         [$(with-fp) = yes] (ASFLAGS): Likewise.
31375         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
31376         * sysdeps/powerpc/nofpu: Move directory from
31377         ports/sysdeps/powerpc/nofpu.
31378         * sysdeps/powerpc/soft-fp: Move directory from
31379         ports/sysdeps/powerpc/soft-fp.
31380         * sysdeps/powerpc/powerpc32/405: Move directory from
31381         ports/sysdeps/powerpc/powerpc32/405.
31382         * sysdeps/powerpc/powerpc32/440: Move directory from
31383         ports/sysdeps/powerpc/powerpc32/440.
31384         * sysdeps/powerpc/powerpc32/464: Move directory from
31385         ports/sysdeps/powerpc/powerpc32/464.
31386         * sysdeps/powerpc/powerpc32/476: Move directory from
31387         ports/sysdeps/powerpc/powerpc32/476.
31388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
31389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
31390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
31391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
31392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
31393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
31394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
31395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
31396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
31397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
31398         * README: Update for powerpc-*-linux-gnu software floating point
31399         support in libc.
31401         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
31402         case to powerpc/powerpc32*.
31403         * sysdeps/unix/sysv/linux/configure: Regenerated.
31405         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
31406         (_FPU_MASK_OM): Define as 0x04.
31407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
31408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
31409         0x00c10080.
31410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
31411         0x0000003c.
31412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
31414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
31415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31416         getcontext_e500.
31417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
31418         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
31419         setcontext_e500.
31420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
31421         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
31422         and setcontext_e500.
31424 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
31426         * locale/iso-3166.def: Update iso-1366.def and related occurrences
31428 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31430         * manual/threads.texi (Default Thread Attributes): Fix typo.
31432 2013-10-04  Will Newton  <will.newton@linaro.org>
31434         * malloc/Makefile: Add tst-memalign.
31435         * malloc/tst-memalign.c: New file.
31437         * malloc/tst-posix_memalign.c: Add comments.
31438         (do_test): Add comments and call free on all potentially
31439         allocated pointers. Add space after cast.
31441         * malloc/tst-pvalloc.c: Add comments.
31442         (do_test): Add comments and call free on all potentially
31443         allocated pointers. Remove duplicate check for NULL pointer.
31444         Add space after cast.
31446         * malloc/tst-valloc.c: Add comments.
31447         (do_test): Add comments and call free on all potentially
31448         allocated pointers. Remove duplicate check for NULL pointer.
31449         Add space after cast.
31451 2013-10-04  Alan Modra  <amodra@gmail.com>
31453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31454         Use stdint types in rather than __attribute__((mode())).
31455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31457 2013-10-04  Alan Modra  <amodra@gmail.com>
31459         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
31460         Correct handling of unaligned relocs for little-endian.
31461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
31463 2013-10-04  Alan Modra  <amodra@gmail.com>
31465         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
31466         * configure: Regenerate.
31467         * nptl/shlib-versions: Powerpc*le starts at 2.18.
31468         * shlib-versions: Likewise.
31470 2013-10-04  Alan Modra  <amodra@gmail.com>
31472         * string/tester.c (test_memrchr): Increment reported test cycle.
31474 2013-10-04  Alan Modra  <amodra@gmail.com>
31476         * string/test-memcpy.c (do_one_test): When reporting errors, print
31477         string address and don't overrun end of string.
31479 2013-10-04  Alan Modra  <amodra@gmail.com>
31481         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
31482         insrdi.  Make better use of reg selection to speed exit slightly.
31483         Schedule entry path a little better.  Remove useless "are we done"
31484         checks on entry to main loop.  Handle wrapping around zero address.
31485         Correct main loop count.  Handle single left-over word from main
31486         loop inline rather than by using loop_small.  Remove extra word
31487         case in loop_small caused by wrong loop count.  Add little-endian
31488         support.
31489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
31491         cache hint.
31492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
31494         support.  Avoid rlwimi.
31495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
31497 2013-10-04  Alan Modra  <amodra@gmail.com>
31499         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
31500         insrdi.  Formatting.
31501         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
31502         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31503         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31504         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
31505         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
31506         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
31508 2013-10-04  Alan Modra  <amodra@gmail.com>
31510         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
31511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
31513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
31514         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
31518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
31519         use of regs.  Use power7 mtocrf.  Tidy function tails.
31521 2013-10-04  Alan Modra  <amodra@gmail.com>
31523         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
31524         Formatting.  Consistently use rXXX register defines or rN defines.
31525         Use early exit labels that avoid restoring unused non-volatile regs.
31526         Make cr field use more consistent with rWORDn compares.  Rename
31527         regs used as shift registers for unaligned loop, using rN defines
31528         for short lifetime/multiple use regs.
31529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
31531         addi 1,1,64 to pop stack frame.  Simplify return value code.
31532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31534 2013-10-04  Alan Modra  <amodra@gmail.com>
31536         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
31537         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
31538         rather than rlwimi.
31539         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
31540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
31541         little-endian support.  Correct typos.
31542         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
31543         rather than rlwimi.
31544         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
31545         in loop and entry code to keep "and." results.
31546         (strchr): Add little-endian support.  Comment.  Move cntlzd
31547         earlier in tail.
31548         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
31550 2013-10-04  Alan Modra  <amodra@gmail.com>
31552         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
31553         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
31554         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
31555         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
31557 2013-10-04  Alan Modra  <amodra@gmail.com>
31559         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
31560         (rTMP): Define as r11.
31561         (strcmp): Add little-endian support.  Optimise tail.
31562         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
31563         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31564         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31565         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31567         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31570 2013-10-04  Alan Modra  <amodra@gmail.com>
31572         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
31573         little-endian support.  Remove unnecessary "are we done" tests.
31574         Handle "s" wrapping around zero and extremely large "size".
31575         Correct main loop count.  Handle single left-over word from main
31576         loop inline rather than by using small_loop.  Correct comments.
31577         Delete "zero" tail, use "end_max" instead.
31578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
31580 2013-10-04  Alan Modra  <amodra@gmail.com>
31582         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
31583         support.  Don't branch over align.
31584         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
31585         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
31586         support.  Rearrange tmp reg use to suit.  Comment.
31587         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
31589 2013-10-04  Alan Modra  <amodra@gmail.com>
31591         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
31593 2013-10-04  Alan Modra  <amodra@gmail.com>
31595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
31596         conditional form of branch and link when obtaining pc.
31597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31599 2013-10-04  Alan Modra  <amodra@gmail.com>
31601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
31602         HIWORD/LOWORD.
31603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
31604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
31606 2013-10-04  Alan Modra  <amodra@gmail.com>
31608         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
31609         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
31610         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
31611         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
31612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
31613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
31614         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
31615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
31616         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
31617         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
31619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31620             Alistair Popple <alistair@ozlabs.au.ibm.com>
31621             Alan Modra <amodra@gmail.com>
31623         [BZ #15723]
31624         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
31625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
31626         _dl_hwcap access for little-endian.
31627         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
31628         destroy vmx regs when saving unaligned.
31629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
31630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
31631         destroy vmx regs when saving unaligned.
31633 2013-10-04  Alan Modra  <amodra@gmail.com>
31635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
31636         Don't use a union to pack hi/low value.
31638 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31640         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
31641         for little-endian.
31642         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
31643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
31644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31645         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
31646         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
31648 2013-10-04  Alan Modra  <amodra@gmail.com>
31650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
31651         constants to usual value for .cst8 section, and remove redundant
31652         high address load.
31653         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
31654         constant for 0x1p52.  Load little-endian words of double from
31655         correct stack offsets.
31657 2013-10-04  Alan Modra  <amodra@gmail.com>
31659         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
31660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
31661         words of double from correct stack offsets.
31662         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
31663         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
31664         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
31665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
31666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
31667         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
31668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
31669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
31670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
31671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
31672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
31673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
31674         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
31675         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
31676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31677         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
31678         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
31680 2013-10-04  Alan Modra  <amodra@gmail.com>
31682         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
31683         64-bit int/double union.
31684         (_FPU_SETCW): Likewise.
31685         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
31686         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
31688 2013-10-04  Alan Modra  <amodra@gmail.com>
31690         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
31691         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
31693 2013-10-04  Alan Modra  <amodra@gmail.com>
31695         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
31696         use vector int constants.
31697         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
31699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31701         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
31702         array with long long.
31703         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
31704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
31705         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
31706         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
31707         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
31708         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
31709         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
31710         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
31711         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
31712         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
31713         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
31714         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
31715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
31717 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
31719         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
31720         (__signbit): Likewise.  Correct for little-endian.
31721         (__signbitl): Call __signbit.
31722         (lrint): Correct for little-endian.
31723         (lrintf): Call lrint.
31725 2013-10-04  Alan Modra  <amodra@gmail.com>
31727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
31728         union 32-bit int array member with 64-bit int array.
31729         (t515, tm256): Double rather than long double.
31730         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
31732 2013-10-04  Alan Modra  <amodra@gmail.com>
31734         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
31735         Delete.
31736         (IEEE854_LONG_DOUBLE_BIAS): Delete.
31737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
31738         version of math_ldbl.h.
31740 2013-10-04  Alan Modra  <amodra@gmail.com>
31742         [BZ #15734], [BZ #15735]
31743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
31744         all uses of ieee875 long double macros and unions.  Simplify test
31745         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
31746         ldbl_extract_mantissa value for ix,iy exponents.  Properly
31747         normalize after ldbl_extract_mantissa, and don't add hidden bit
31748         already handled.  Don't treat low word of ieee854 mantissa like
31749         low word of IBM long double and mask off bit when testing for
31750         zero.
31751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
31752         all uses of ieee875 long double macros and unions.  Simplify tests
31753         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
31754         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
31755         two1022, instead use their values.  Recognise that tests for large
31756         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
31757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
31758         Rewrite all uses of ieee875 long double macros and unions.  Simplify
31759         test for 0.0L and nan.  Correct negation.
31760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
31761         ieee875 long double macros and unions.  Correct output for large
31762         magnitude x.  Correct absolute value calculation.
31763         (__erfcl): Likewise.
31764         * math/libm-test.inc: Add tests for errors discovered in IBM long
31765         double versions of fmodl, remainderl, erfl and erfcl.
31767 2013-10-04  Alan Modra  <amodra@gmail.com>
31769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
31770         all uses of ieee854 long double macros and unions.  Simplify tests
31771         for long doubles that are fully specified by the high double.
31772         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31773         Likewise.
31774         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
31775         Remove dead code too.
31776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31777         (__ieee754_ynl): Likewise.
31778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
31779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
31780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
31781         Remove dead code too.
31782         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
31784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
31785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
31786         Simplify.
31787         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
31788         Simplify.
31789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
31790         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
31791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
31792         Comment on variable precision.
31793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
31794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31795         Likewise.
31796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
31797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
31802 2013-10-04  Alan Modra  <amodra@gmail.com>
31804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
31805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
31806         all uses of ieee854 long double macros and unions.
31807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
31808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
31810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
31811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
31812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31813         Likewise.
31814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
31815         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31816         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
31817         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31820         Simplify sign and nan test too.
31821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
31822         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
31823         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
31824         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
31825         Likewise.
31826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31827         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
31828         Likewise.
31829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31831         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
31832         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
31833         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
31834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
31836 2013-10-04  Alan Modra  <amodra@gmail.com>
31838         * stdio-common/printf_size.c (__printf_size): Don't use
31839         union ieee854_long_double in fpnum union.
31840         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
31841         signbit macro to retrieve sign from long double.
31842         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
31843         retrieve sign from long double.
31844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
31845         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
31846         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
31847         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31848         * math/test-misc.c (main): Don't use union ieee854_long_double.
31850 2013-10-04  Alan Modra  <amodra@gmail.com>
31852         [BZ #15680]
31853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
31854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
31855         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
31856         calculation.  Remove unnecessary test for denormal exponent.
31857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
31858         Correct handling of denormals.  Avoid undefined shift behaviour.
31859         Correct normalisation of low mantissa when low double is denormal.
31860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
31861         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
31862         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
31863         Correct normalisation of low mantissa.  Test for overflow of high
31864         mantissa and normalise.
31865         (ldbl_nearbyint): Use more readable constant for two52.
31866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
31867         (__mpn_construct_long_double): Fix test for overflow of high
31868         mantissa and correct normalisation.  Avoid undefined shift.
31870 2013-10-04  Alan Modra  <amodra@gmail.com>
31872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
31873         (union ibm_extended_long_double): Define as an array of ieee754_double.
31874         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
31875         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
31876         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
31877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
31880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31881         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
31883         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
31884         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
31886 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
31888         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
31889         page size instead of calling getpagesize.
31891         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
31892         (LOCFILE_ALIGN_MASK): Likewise.
31893         (LOCFILE_ALIGN_UP): Likewise.
31894         (LOCFILE_ALIGNED_P): Likewise.
31895         * locale/programs/ld-collate.c (collate_output): Use the new
31896         macros instead of __alignof__ (int32_t).
31897         * locale/weight.h (findidx): Likewise.
31899 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
31901         [BZ #431]
31902         * manual/string.texi: Fix strncat and wcsncat.
31904 2013-10-03  Brooks Moses  <bmoses@google.com>
31906         [BZ #15915]
31907         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
31908         * Makerules: ...here, and adjust associated comments.
31910 2013-10-02  Will Newton  <will.newton@linaro.org>
31912         * malloc/Makefile: Add tst-pvalloc.
31913         * malloc/tst-pvalloc.c: New file.
31915 2013-10-02  Will Newton  <will.newton@linaro.org>
31917         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
31918         improve test coverage.
31920 2013-10-02  Will Newton  <will.newton@linaro.org>
31922         * malloc/Makefile: Add tst-posix_memalign.
31923         * malloc/tst-posix_memalign.c: New file.
31925 2013-10-01  Eric Blake  <eblake@redhat.com>
31927         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
31928         Use __THROWNL rather than __THROW on static functions.
31930 2013-09-30  Petr Machata  <pmachata@redhat.com>
31932         * elf/elf.h (R_AARCH64_ABS16): New macro.
31933         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
31934         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
31935         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
31936         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
31937         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
31938         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
31939         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
31940         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
31941         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
31942         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
31943         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
31944         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
31945         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
31946         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
31947         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
31948         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
31949         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
31950         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
31951         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
31952         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
31953         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
31954         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
31955         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
31956         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
31957         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
31958         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
31959         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
31960         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
31961         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
31962         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
31963         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
31964         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
31965         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
31966         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
31967         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
31968         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
31969         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
31970         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
31971         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
31972         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
31973         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
31974         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
31975         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
31976         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
31977         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
31978         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
31979         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
31980         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
31981         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
31982         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
31983         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
31984         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
31985         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
31986         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
31987         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
31988         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
31989         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
31990         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
31991         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
31992         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
31993         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
31994         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
31995         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
31996         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
31997         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
31998         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
31999         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
32000         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
32001         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
32002         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
32003         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
32004         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
32005         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
32006         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
32007         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
32008         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
32009         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
32010         (R_AARCH64_TLSDESC_LDR): Likewise.
32011         (R_AARCH64_TLSDESC_ADD): Likewise.
32012         (R_AARCH64_TLSDESC_CALL): Likewise.
32014 2013-09-30  Andreas Schwab  <schwab@suse.de>
32016         [BZ #15048]
32017         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
32018         the nss database lookup.
32019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
32020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32022 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
32024         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
32026 2013-09-28  P. J. McDermott  <pj@pehjota.net>
32028         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
32029         ${Bash-specific parameter/pattern/string} parameter expansion.
32030         * sysdeps/unix/make-syscalls.sh: Likewise.
32032 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32034         * sysdeps/sh/stackguard-macros.h: New file.
32036 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
32038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
32039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
32040         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
32041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
32042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32043         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
32045 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32047         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
32048         Fix thread ID register.
32050 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
32052         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
32053         [POSIX || UNIX98]: Require rather than permitting all symbols from
32054         <time.h>.
32055         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
32056         element of struct sched_param.
32057         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
32058         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
32059         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
32060         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
32061         constant.
32063 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
32065         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
32066         argument calculation.
32068 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32070         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
32071         Expect macro.
32072         [POSIX] (pthread_attr_t): Do not require type.
32073         [POSIX] (pthread_cond_t): Likewise.
32074         [POSIX] (pthread_condattr_t): Likewise.
32075         [POSIX] (pthread_key_t): Likewise.
32076         [POSIX] (pthread_mutex_t): Likewise.
32077         [POSIX] (pthread_mutexattr_t): Likewise.
32078         [POSIX] (pthread_once_t): Likewise.
32079         [POSIX] (pthread_t): Likewise.
32080         [POSIX-based standards] (pthread_atfork): Expect function.
32082 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
32083             Richard Sandiford  <richard@codesourcery.com>
32085         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
32086         (swap_endianness_p): New extern variable.
32087         (set_big_endian): New inline function.
32088         (maybe_swap_uint32): Likewise.
32089         (maybe_swap_uint32_array): Likewise.
32090         (maybe_swap_uint32_obstack): Likewise.
32091         * locale/programs/locfile.c: Include <stdbool.h>.
32092         (swap_endianness_p): New variable.
32093         (add_locale_uint32): Call maybe_swap_uint32.
32094         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
32095         (write_locale_data): Call maybe_swap_uint32_array.
32096         * locale/programs/ld-collate.c (obstack_int32_grow): Call
32097         maybe_swap_uint32.
32098         (obstack_int32_grow_fast): Likewise.
32099         (output_weightwc): Call maybe_swap_uint32_obstack.
32100         (collate_output): Likewise.
32101         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
32102         (OPT_LITTLE_ENDIAN): Likewise.
32103         (options): Add --little-endian and --big-endian options.
32104         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
32105         * locale/programs/locarchive.c: Include "locfile.h".
32106         (GET): New macro.
32107         (SET): Likewise.
32108         (INC): Likewise.
32109         (create_archive): Use the new macros to access fields of
32110         structures directly mapped from or written to locale archives.
32111         (oldlocrecentcmp): Likewise.
32112         (enlarge_archive): Likewise.
32113         (insert_name): Likewise.
32114         (add_alias): Likewise.
32115         (add_locale): Likewise.
32116         (delete_locales_from_archive): Likewise.
32117         (show_archive_content): Likewise.
32118         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
32119         locale data.
32121 2013-09-24  Roland McGrath  <roland@hack.frob.com>
32123         * manual/freemanuals.texi: Updated from (newly) canonical copy at
32124         http://www.gnu.org/doc/freemanuals.texi.
32125         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
32127 2013-09-24  Will Newton  <will.newton@linaro.org>
32129         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
32130         macro.
32132 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
32134         * locale/hashval.h (compute_hashval): Interpret bytes of key as
32135         unsigned char.
32137 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
32139         * manual/threads.texi (POSIX Threads): Fix a typo.
32141 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32143         [BZ #14547]
32144         * string/tst-strcoll-overflow.c: New test case.
32145         * string/Makefile (xtests): Add tst-strcoll-overflow.
32146         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
32147         cache if string sizes may cause integer overflow.
32149         [BZ #14547]
32150         * string/strcoll_l.c (coll_seq): New members rule, idx,
32151         save_idx and back_us.
32152         (get_next_seq_nocache): New function.
32153         (do_compare_nocache): New function.
32154         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
32155         when malloc fails.
32157 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
32159         [BZ #15754]
32160         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
32161         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
32162         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
32164         [BZ #15754]
32165         * elf/Makefile (tests): Add tst-ptrguard1.
32166         (tests-static): Add tst-ptrguard1-static.
32167         (tst-ptrguard1-ARGS): Define.
32168         (tst-ptrguard1-static-ARGS): Define.
32169         * elf/tst-ptrguard1.c: New file.
32170         * elf/tst-ptrguard1-static.c: New file.
32171         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
32172         * sysdeps/i386/stackguard-macros.h: Likewise.
32173         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32174         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32175         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32176         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32177         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32178         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32180 2013-09-23  Hector Marco  <hecmargi@upv.es>
32181             Ismael Ripoll  <iripoll@disca.upv.es>
32182             Carlos O'Donell  <carlos@redhat.com>
32184         [BZ #15754]
32185         * sysdeps/generic/stackguard-macros.h: Define
32186         __pointer_chk_guard_local and POINTER_CHK_GUARD.
32187         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
32188         Define __pointer_chk_guard_local.
32189         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
32190         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
32192 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
32194         [BZ #15859]
32195         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
32197 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
32199         * include/string.h (__ffs): Declare as hidden.
32200         * string/ffs.c (__ffs): Define as hidden.
32201         * sysdeps/i386/ffs.c (__ffs): Likewise.
32202         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
32203         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
32204         * sysdeps/s390/ffs.c (__ffs): Likewise.
32205         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
32207 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
32209         * NEWS: Mention malloc probes.
32211         * malloc/arena.c (new_heap): New memory_heap_new probe.
32212         (grow_heap): New memory_heap_more probe.
32213         (shrink_heap): New memory_heap_less probe.
32214         (heap_trim): New memory_heap_free probe.
32215         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
32216         (systrim): New memory_sbrk_less probe.
32217         * manual/probes.texi: Document them.
32219         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
32220         * manual/probes.texi: Document it.
32222         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
32223         (__libc_realloc): Add memory_realloc_retry probe.
32224         (__libc_memalign): Add memory_memalign_retry probe.
32225         (__libc_valloc): Add memory_valloc_retry probe.
32226         (__libc_pvalloc): Add memory_pvalloc_retry probe.
32227         (__libc_calloc): Add memory_calloc_retry probe.
32228         * manual/probes.texi: Document them.
32230         * malloc/arena.c (get_free_list): Add probe
32231         memory_arena_reuse_free_list.
32232         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
32233         and memory_arena_reuse.
32234         (arena_get2) [!PER_THREAD]: Likewise.
32235         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
32236         memory_arena_reuse_realloc.
32237         * manual/probes.texi: Document them.
32239         * malloc/malloc.c (__libc_free): Add
32240         memory_mallopt_free_dyn_thresholds probe.
32241         (__libc_mallopt): Add multiple memory_mallopt probes.
32242         * manual/probes.texi: Document them.
32244         * malloc/malloc.c: Include stap-probe.h.
32245         (__libc_mallopt): Add memory_mallopt probe.
32246         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
32247         * manual/probes.texi: New.
32248         * manual/Makefile (chapters): Add probes.
32249         * manual/threads.texi: Set next node.
32251 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
32253         [BZ #15963, #13985]
32254         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
32255         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
32256         Add `Chinese' to `nan' entry name.
32258 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32260         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
32261         (POLYNOMIAL): Likewise.
32262         (TAYLOR_SINCOS): Likewise.
32263         (TAYLOR_SLOW): Likewise.
32264         (__sin): Use TAYLOR_SINCOS.
32265         (__cos): Likewise.
32266         (slow): Use TAYLOR_SLOW.
32267         (sloww): Likewise.
32268         (bsloww): Likewise.
32269         (csloww): Likewise.
32271 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32273         * stdlib/strtod_l.c: Fix buffer overrun.
32275 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32277         * benchtests/Makefile (bench): Add sincos.
32278         * benchtests/bench-sincos.c: New file.
32280         * math/libm-test.inc (cos_test_data): New test inputs.
32281         (sin_test_data): Likewise.
32283         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
32284         macro.
32285         (__sin): Use it.
32286         (__cos): Likewise.
32287         (slow1): Likewise.
32288         (slow2): Likewise.
32289         (sloww1): Likewise.
32290         (sloww2): Likewise.
32291         (bsloww1): Likewise.
32292         (bsloww2): Likewise.
32293         (cslow2): Likewise.
32294         (csloww1): Likewise.
32295         (csloww2): Likewise.
32297         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
32298         function.
32299         (__sin): Use it.
32300         (__cos): Likewise.
32302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
32303         gotos.
32304         (__cos): Likewise.
32306 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
32308         * config.h.in (HAVE_MIPS_NAN2008): New macro.
32309         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
32310         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
32311         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
32312         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
32313         * elf/cache.c (print_entry): Handle the new cache flags.
32315 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
32316             Aldy Hernandez  <aldyh@redhat.com>
32318         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
32319         Change condition to [_SOFT_FLOAT].
32320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
32321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
32322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
32323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
32324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
32325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
32326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
32327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
32328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
32329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
32330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
32331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
32332         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
32333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
32334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
32335         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
32336         declaration.
32338 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
32340         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
32341         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32342         (__longjmp): Use LOAD_GP to load saved GPRs.
32343         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
32344         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
32345         (__sigsetjmp): Use SAVE_GP to save GPRs.
32347         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
32348         Do not append -msoft-float.
32349         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
32351 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32353         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
32355 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
32357         [BZ #15966]
32358         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
32359         (_FPU_GETCW): Use initial "__" on variable and field names but not
32360         on macro parameter name.
32361         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
32362         parentheses around reference to macro parameter.
32364 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
32366         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
32367         prototype.
32368         (ctype_startup): Use uint32_t in cast and sizeof for
32369         ctype->charnames.
32371 2013-09-11  Jia Liu  <proljc@gmail.com>
32373         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
32374         __daddr_t_defined.
32375         [__FreeBSD__]: Likewise.
32377 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
32379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
32380         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
32381         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
32382         (strchr): Remove __strchr_sse42 ifunc selection.
32383         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
32384         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
32386 2013-09-11  Will Newton  <will.newton@linaro.org>
32388         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
32389         parameter to RES. Remove hardcoded 1000 value.
32390         * benchtests/bench-skeleton.c (main): Pass RES parameter
32391         to TIMING_INIT and multiply result by 1000.
32393 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32397 2013-09-11  Andreas Schwab  <schwab@suse.de>
32399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
32400         if not defined.
32401         (O_TMPFILE) [__USE_GNU]: Define.
32402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
32403         Define.
32405 2013-09-11  Will Newton  <will.newton@linaro.org>
32407         [BZ #15857]
32408         * malloc/malloc.c (__libc_memalign): Check the value of bytes
32409         does not overflow.
32411 2013-09-11  Will Newton  <will.newton@linaro.org>
32413         [BZ #15856]
32414         * malloc/malloc.c (__libc_valloc): Check the value of bytes
32415         does not overflow.
32417 2013-09-11  Will Newton  <will.newton@linaro.org>
32419         [BZ #15855]
32420         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
32421         does not overflow.
32423 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
32425         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
32426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32431 2013-09-10  Allan McRae  <allan@archlinux.org>
32433         [BZ #15748]
32434         * manual/arith.texi (Parsing of Floats): Clarify
32435         cross-reference.
32437         [BZ #15849]
32438         * manual/install.texi (Running make install): Mention
32439         --enable-pt-chown.
32440         * INSTALL: Regenerated.
32442 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
32444         * csu/init-first.c (_init): Remove the !SHARED condition around
32445         FPU control word initialization.
32446         * elf/dl-support.c (_dl_fpu_control): New variable.
32447         (_dl_aux_init) <AT_FPUCW>: Initialize it.
32448         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
32449         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
32450         * math/test-fpucw-static.c: New file.
32451         * math/test-fpucw-ieee.c: New file.
32452         * math/test-fpucw-ieee-static.c: New file.
32453         * math/Makefile (tests): Add `test-fpucw-ieee' and
32454         `$(tests-static)'.
32455         (tests-static): New variable.
32456         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
32457         dependency to...
32458         [($(build-shared),yes)]
32459         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
32460         ... this.
32461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
32462         New dependency.
32464 2013-09-09  Allan McRae  <allan@archlinux.org>
32466         [BZ #15939]
32467         * manual/string.texi (Collation Functions): Fix typo in
32468         strcoll example.
32469         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
32471         [BZ #15893]
32472         * stdlib/isomac.c (get_null_defines): Fix memory leak.
32474         [BZ #15892]
32475         * libio/memstream.c (open_memstream): Fix memory leak.
32476         * libio/wmemstream.c (open_wmemstream): Likewise.
32478         [BZ #15895]
32479         * nscd/netgroupcache.c: Fix nesting of ifdefs.
32481 2013-09-09  Will Newton  <will.newton@linaro.org>
32483         * malloc/Makefile: Add tst-realloc to tests.
32484         * malloc/tst-realloc.c: New file.
32486 2013-09-09  Allan McRae  <allan@archlinux.org>
32488         [BZ #15844]
32489         * COPYING: Update from GNU website to fix FSF address.
32490         * COPYING.LIB: Likewise.
32492 2013-09-06  David S. Miller  <davem@davemloft.net>
32494         * po/zh_TW.po: Update Chinese (traditional) translation from
32495         translation project.
32497 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
32498             Joseph Myers  <joseph@codesourcery.com>
32500         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
32501         "localeinfo.h".
32502         (obstack_chunk_alloc): New macro.
32503         (obstack_chunk_free): Likewise.
32504         (record_offset): New function.
32505         (init_locale_data): Likewise.
32506         (align_locale_data): Likewise.
32507         (add_locale_empty): Likewise.
32508         (add_locale_raw_data): Likewise.
32509         (add_locale_raw_obstack): Likewise.
32510         (add_locale_string): Likewise.
32511         (add_locale_wstring): Likewise.
32512         (add_locale_uint32): Likewise.
32513         (add_locale_uint32_array): Likewise.
32514         (add_locale_char): Likewise.
32515         (start_locale_structure): Likewise.
32516         (end_locale_structure): Likewise.
32517         (start_locale_prelude): Likewise.
32518         (end_locale_prelude): Likewise.
32519         (write_locale_data): Take locale_file structure rather than an
32520         iovec.
32521         * locale/programs/locfile.h: Include "obstack.h".
32522         (struct locale_file): Change to store locale file contents instead
32523         of header.
32524         (init_locale_data): New prototype.
32525         (align_locale_data): Likewise.
32526         (add_locale_empty): Likewise.
32527         (add_locale_raw_data): Likewise.
32528         (add_locale_raw_obstack): Likewise.
32529         (add_locale_string): Likewise.
32530         (add_locale_wstring): Likewise.
32531         (add_locale_uint32): Likewise.
32532         (add_locale_uint32_array): Likewise.
32533         (add_locale_char): Likewise.
32534         (start_locale_structure): Likewise.
32535         (end_locale_structure): Likewise.
32536         (start_locale_prelude): Likewise.
32537         (end_locale_prelude): Likewise.
32538         (write_locale_data): Update prototype.
32539         * locale/programs/3level.h (struct TABLE): Remove result field.
32540         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
32541         Use new locale_file interface.
32542         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
32543         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
32544         * locale/programs/ld-address.c (address_output): Use new
32545         locale_file interface.
32546         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
32547         NO_ADD_LOCALE.
32548         (collate_finish): Don't call collseq_table_finalize.
32549         (collate_output): Use new locale_file interface.
32550         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
32551         in file.
32552         (NO_FINALIZE): Change to NO_ADD_LOCALE.
32553         (TABLE): Move defines earlier in file.
32554         (ELEMENT): Likewise.
32555         (DEFAULT): Likewise.
32556         (wctrans_table_add): Move macro and inline function earlier in
32557         file.
32558         (struct wctype_table): Move type earlier in file.
32559         (add_locale_wctype_table): New static prototype.
32560         (struct locale_ctype_t): Use logical types instead of struct iovec
32561         pointers for members.
32562         (ctype_output): Use new locale_file interface.
32563         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
32564         new locale_file interface.
32565         (allocate_arrays): Update for use of new locale_file interface.
32566         * locale/programs/ld-identification.c (identification_output): Use
32567         new locale_file interface.
32568         * locale/programs/ld-measurement.c (measurement_output): Likewise.
32569         * locale/programs/ld-messages.c (messages_output): Likewise.
32570         * locale/programs/ld-monetary.c (monetary_output): Likewise.
32571         * locale/programs/ld-name.c (name_output): Likewise.
32572         * locale/programs/ld-numeric.c (numeric_output): Likewise.
32573         * locale/programs/ld-paper.c (paper_output): Likewise.
32574         * locale/programs/ld-telephone.c (telephone_output): Likewise.
32575         * locale/programs/ld-time.c (time_output): Likewise.
32577 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32579         * benchtests/Makefile: Add memrchr benchmark.
32580         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
32581         benchmark as memrchr.
32582         * benchtests/bench-memrchr-ifunc.c: New file.
32583         * benchtests/bench-memrchr.c: New file.
32585 2013-09-06   Will Newton  <will.newton@linaro.org>
32587         * benchtests/Makefile (string-bench): Add memcpy.
32589 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
32590             Cong Wang  <amwang@redhat.com>
32592         [BZ #15850]
32593         * sysdeps/unix/sysv/linux/bits/in.h
32594         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
32595         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
32596         before __USE_KERNEL_IPV6_DEFS uses.
32597         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
32598         IPPROTO_BEETPH.
32599         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
32600         sockaddr_in6, or ipv6_mreq.
32602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32604         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
32605         memory access for final bytes in some large inputs.
32606         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
32608 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32610         * string/test-memrchr.c: New file.
32611         * string/test-memrchr-ifunc.c: New file.
32612         * string/Makefile: Add new memrchr testcase.
32614 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
32616         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
32617         fanotify_init returns EPERM.
32619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
32621         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
32622         errors.
32623         (top level): Treat second token from macro or constant entries for
32624         allowed headers as allowed.
32625         * include/complex.h: Condition internal declarations on
32626         [!_ISOMAC].
32627         * include/fenv.h: Condition include of <stdbool.h> and internal
32628         declarations on [!_ISOMAC].
32630 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
32632         [BZ #15923]
32633         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
32635 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
32637         * configure.in (--enable-versioning): Remove configure option.
32638         (libc_cv_asm_symver_directive): Remove configure test.
32639         (libc_cv_ld_version_script_option): Likewise.
32640         (VERSIONING): Remove variable and AC_SUBST.
32641         (DO_VERSIONING): Remove AC_DEFINE.
32642         * configure: Regenerated.
32643         * config.h.in (DO_VERSIONING): Remove macro.
32644         * Makerules [$(versioning) = yes]: Change conditionals to
32645         [$(build-shared) = yes].
32646         * config.make.in (versioning): Remove variable.
32647         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
32648         [$(build-shared) = yes].
32649         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
32650         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
32651         * elf/Makefile [$(versioning) = yes]: Change conditionals to
32652         [$(build-shared) = yes].
32653         * extra-lib.mk [$(versioning) = yes]: Likewise.
32654         * hurd/Makefile [$(versioning) = yes]: Likewise.
32655         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
32656         [SHARED].
32657         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
32658         [SHARED].
32659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32660         [SHARED && !NO_HIDDEN].
32661         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
32662         [SHARED].
32663         [SHARED && DO_VERSIONING]: Likewise..
32664         * libio/Makefile [$(versioning) = yes]: Change conditionals to
32665         [$(build-shared) = yes].
32666         * manual/install.texi (--disable-versioning): Remove
32667         documentation.
32668         * INSTALL: Regenerated.
32669         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
32670         to [SHARED].
32671         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
32672         [$(build-shared) = yes].
32673         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
32674         * sysdeps/i386/i686/multiarch/strstr-c.c
32675         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
32676         [SHARED && !NO_HIDDEN].
32677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
32678         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
32679         * sysdeps/powerpc/powerpc32/dl-machine.c
32680         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
32681         * sysdeps/powerpc/powerpc32/sysdep.h
32682         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
32683         to [SHARED && PIC && !NO_HIDDEN].
32684         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
32685         conditional to [SHARED].
32687 2013-09-04   Will Newton  <will.newton@linaro.org>
32689         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
32690         * benchtests/bench-string.h: Include bench-timing.h instead
32691         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
32692         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
32693         call to HP_TIMING_DIFF_INIT.
32694         * benchtests/bench-memccpy.c: Use bench-timing.h macros
32695         instead of hp-timing.h macros.
32696         * benchtests/bench-memchr.c: Likewise.
32697         * benchtests/bench-memcmp.c: Likewise.
32698         * benchtests/bench-memcpy.c: Likewise.
32699         * benchtests/bench-memmem.c: Likewise.
32700         * benchtests/bench-memmove.c: Likewise.
32701         * benchtests/bench-memset.c: Likewise.
32702         * benchtests/bench-rawmemchr.c: Likewise.
32703         * benchtests/bench-strcasecmp.c: Likewise.
32704         * benchtests/bench-strcasestr.c: Likewise.
32705         * benchtests/bench-strcat.c: Likewise.
32706         * benchtests/bench-strchr.c: Likewise.
32707         * benchtests/bench-strcmp.c: Likewise.
32708         * benchtests/bench-strcpy.c: Likewise.
32709         * benchtests/bench-strcpy_chk.c: Likewise.
32710         * benchtests/bench-strlen.c: Likewise.
32711         * benchtests/bench-strncasecmp.c: Likewise.
32712         * benchtests/bench-strncat.c: Likewise.
32713         * benchtests/bench-strncmp.c: Likewise.
32714         * benchtests/bench-strncpy.c: Likewise.
32715         * benchtests/bench-strnlen.c: Likewise.
32716         * benchtests/bench-strpbrk.c: Likewise.
32717         * benchtests/bench-strrchr.c: Likewise.
32718         * benchtests/bench-strspn.c: Likewise.
32719         * benchtests/bench-strstr.c: Likewise.
32721 2013-09-04  Will Newton  <will.newton@linaro.org>
32723         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
32725 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
32727         [BZ #15427]
32728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
32729         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
32730         * math/libm-test.inc (lgamma_test_data): Add more tests.
32731         * sysdeps/i386/fpu/libm-test-ulps: Update.
32732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32734 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
32736         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
32737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32738         Add ifunc.
32739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32740         Add strcmp-sse2-unaligned
32741         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
32743 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32745         * Versions.def (libc): Add GLIBC_2.19.
32747 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
32749         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
32750         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
32752 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
32754         [BZ #14155]
32755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
32756         intermediate calculations in recurrence.
32757         (__ieee754_ynf): Likewise.
32758         * math/libm-test.inc (jn_test_data): Do not allow spurious
32759         underflow exception.  Add more tests.
32760         (yn_test_data): Add more tests.
32761         * sysdeps/i386/fpu/libm-test-ulps: Update.
32762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32764 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
32766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
32768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32770         * csu/init-first.c: Fix then/than typos.
32771         * locale/programs/ld-collate.c: Likewise.
32772         * locale/programs/linereader.h: Likewise.
32773         * manual/charset.texi: Likewise.
32774         * manual/filesys.texi: Likewise.
32775         * manual/stdio.texi: Likewise.
32776         * manual/string.texi: Likewise.
32777         * stdlib/fmtmsg.c: Likewise.
32778         * sysdeps/i386/stpncpy.S: Likewise.
32779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
32784 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
32786         * elf/dl-open.c: Fix typos.
32787         * iconvdata/gbbig5.c: Likewise.
32788         * iconvdata/iso-2022-jp.c: Likewise.
32789         * iconv/gconv_int.h: Likewise.
32790         * iconv/loop.c: Likewise.
32791         * nis/rpcsvc/nis.h: Likewise.
32792         * resolv/ns_name.c: Likewise.
32793         * stdio-common/vfscanf.c: Likewise.
32794         * streams/stropts.h: Likewise.
32795         * sunrpc/rpc_thread.c: Likewise.
32796         * sysdeps/i386/strpbrk.S: Likewise.
32797         * sysdeps/ieee754/k_standard.c: Likewise.
32798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
32799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
32800         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
32801         * sysdeps/mach/hurd/profil.c: Likewise.
32802         * sysdeps/s390/dl-procinfo.h: Likewise.
32803         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
32804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
32805         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
32806         * sysdeps/x86_64/dl-trampoline.S: Likewise.
32807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
32809 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
32811         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
32812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
32814 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
32816         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
32817         aix specific files.
32818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
32819         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
32820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
32821         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
32822         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
32823         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
32824         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
32825         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
32827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32828             Roland McGrath  <roland@hack.frob.com>
32830         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
32831         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
32833 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32835         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
32836         __executable_start symbol instead of _start.
32838 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
32840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
32841         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
32842         Move macros to...
32843         * sysdeps/gnu/ldsodefs.h: ... this new file.
32845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
32846         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
32847         instead of ELFOSABI_LINUX.
32849         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
32850         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
32851         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
32852         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
32853         Likewise.
32854         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
32855         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
32856         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
32857         Likewise.
32858         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
32859         (ibm_extended_long_double): Add ieee_nan member.
32860         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
32861         (do_test): New function.
32863         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
32864         TEST_TRUNC.
32865         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
32866         functions, renamed from truncdfsf_test, trunctfsf_test,
32867         trunctfdf_test.
32868         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
32869         functions.
32870         (do_test): Run all these.
32872 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
32874         * argp/argp-help.c: Fix typos.
32875         * argp/argp-parse.c: Likewise.
32876         * debug/backtracesyms.c: Likewise.
32877         * elf/elf.h: Likewise.
32878         * malloc/malloc.c: Likewise.
32879         * nis/nis_print.c: Likewise.
32880         * resolv/res_comp.c: Likewise.
32881         * stdlib/stdlib.h: Likewise.
32882         * sunrpc/clnt_tcp.c: Likewise.
32883         * sunrpc/clnt_udp.c: Likewise.
32884         * sunrpc/clnt_unix.c: Likewise.
32885         * sysdeps/unix/bsd/ptsname.c: Likewise.
32886         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
32887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
32888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
32889         Likewise.
32890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
32891         Likewise.
32892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
32893         Likewise.
32894         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32896 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
32898         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
32899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
32901 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
32903         [BZ #15897]
32904         * dlfcn/Makefile (tests): Add bug-dl-leaf.
32905         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
32906         ($(objpfx)bug-dl-leaf): New rule.
32907         ($(objpfx)bug-dl-leaf.so): Likewise.
32908         ($(objpfx)bug-dl-leaf.out): Likewise.
32909         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
32910         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
32911         * dlfcn/bug-dl-leaf.c: New test.
32912         * dlfcn/bug-dl-leaf-lib.c: Likewise.
32913         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
32914         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
32915         (dlclose): Likewise.
32916         (dlmopen): Likewise.
32918 2013-08-27  Roland McGrath  <roland@hack.frob.com>
32920         * include/netdb.h [!_ISOMAC]:
32921         Don't include <tls.h>.
32922         (h_errno, __libc_h_errno): Move declaration and macros out of
32923         [_LIBC_REENTRANT].
32925         * include/resolv.h [_RESOLV_H_]:
32926         Don't include <tls.h>.
32927         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
32928         * resolv/res_libc.c: Don't include <tls.h>.
32929         (_res): Use __attribute__ ((nocommon)) in place of
32930         __attribute__ ((section (".bss"))).
32932         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
32933         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
32935         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
32937         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
32938         only under [SIOCGIFCONF && SIOCGIFNETMASK].
32940         * resolv/res_mkquery.c: Include <sys/time.h>.
32942         * inet/ifreq.c: Moved to ...
32943         * sysdeps/unix/ifreq.c: ... here.
32944         * inet/ifreq.c: New file, true stub version.
32946         * socket/sa_len.c: New file.
32947         * socket/Makefile (aux): Add it.
32948         * sysdeps/unix/sysv/linux/Makefile
32949         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
32950         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
32951         and #include <socket/sa_len.c>.
32952         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
32953         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
32955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
32956         * bits/socket.h: ... here.
32958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
32959         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
32960         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
32962 2013-08-27  Andreas Schwab  <schwab@suse.de>
32964         [BZ #15736]
32965         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
32966         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
32967         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
32968         * string/test-strcasecmp.c (test_main): Run tests in several
32969         locales.
32970         * string/test-strncasecmp.c (test_main): Likewise.
32972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
32973         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
32974         to __strcasecmp_nonascii and __strncasecmp_nonascii.
32975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
32976         (__strncasecmp_ssse3) [PIC]: Likewise.
32978 2013-08-26  Roland McGrath  <roland@hack.frob.com>
32980         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
32982         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
32983         instead of explicitly declaring xdecrypt.
32984         * nis/nss_nis/nis-publickey.c: Likewise.
32986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32988         [BZ #15890]
32989         * nscd/aicache.c: Include res_hconf.h.
32990         (addhstaiX): Initialize res_hconf.
32992 2013-08-26  Andreas Schwab  <schwab@suse.de>
32994         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
32995         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
32997 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32999         * nscd/aicache.c (addhstaiX): Fix indentation.
33001 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
33003         * configure.ac: Quote $build_pt_chown test.
33004         * configure: Regenerated.
33006 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
33008         [BZ #15532]
33009         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
33010         * math/s_cexpf.c (__cexpf): Likewise.
33011         * math/s_cexpl.c (__cexpl): Likewise.
33012         * math/libm-test.inc (cexp_test_data): Correct expected return
33013         value for NaN + i0.  Add another test.
33015 2013-08-22  David S. Miller  <davem@davemloft.net>
33017         * po/ca.po: Update Catalan translation from translation project.
33018         * po/uk.po: Add Ukrainian translations from translation project.
33020 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
33022         [BZ #15797]
33023         * math/s_fdim.c (__fdim): Check for infinite arguments if result
33024         is infinite, not alongside NaN test.
33025         * math/s_fdimf.c (__fdimf): Likewise.
33026         * math/s_fdiml.c (__fdiml): Likewise.
33027         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
33028         errno is unchanged.
33030 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
33032         * argp/argp-help.c: Fix typos.
33033         * crypt/speeds.c: Likewise.
33034         * csu/check_fds.c: Likewise.
33035         * elf/dl-load.c: Likewise.
33036         * elf/dl-open.c: Likewise.
33037         * elf/reldep3.c: Likewise.
33038         * elf/reldep.c: Likewise.
33039         * elf/sprof.c: Likewise.
33040         * iconv/iconv_charmap.c: Likewise.
33041         * iconv/skeleton.c: Likewise.
33042         * iconv/strtab.c: Likewise.
33043         * io/lockf64.c: Likewise.
33044         * libio/libioP.h: Likewise.
33045         * resolv/gai_notify.c: Likewise.
33046         * resolv/ns_name.c: Likewise.
33047         * resolv/ns_samedomain.c: Likewise.
33048         * resolv/res_send.c: Likewise.
33049         * stdlib/random.c: Likewise.
33050         * sunrpc/rpc/xdr.h: Likewise.
33051         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
33052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33056         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33059         * sysdeps/mach/hurd/check_fds.c: Likewise.
33060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33065         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33066         * sysdeps/pthread/aio_notify.c: Likewise.
33067         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
33068         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
33069         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
33070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
33073 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33075         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
33076         version if bit_Slow_SSE4_2 is set.
33077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33082         [BZ #15867]
33083         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
33084         trampoline stack frame information.
33085         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
33086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
33087         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
33088         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
33089         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
33090         * sysdeps/unix/sysv/linux/powerpc/init-first.c
33091         (_libc_vdso_platform_setup): Initialize the signal trampolines.
33092         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
33093         sa_flags value.
33094         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
33095         interrupting a syscall and set with option SA_SIGINFO.
33097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33099         [BZ #15531]
33100         * math/s_cproj.c (__cproj): Only return an infinity if one part of
33101         argument is infinite.
33102         * math/s_cprojf.c (__cprojf): Likewise.
33103         * math/s_cprojl.c (__cprojl): Likewise.
33104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33105         * math/libm-test.inc (cproj_test_data): Add more tests.
33107         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
33109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
33110         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
33111         size.  Use __ffs to determine corresponding shift.
33113 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
33114             Roland McGrath  <roland@hack.frob.com>
33116         * Makefile (INSTALL): Remove trailing blank lines from output of
33117         makeinfo.
33119 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33121         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
33122         Align 32 bit compat elf_greg to 8 bytes.
33124 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
33126         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
33128 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
33130         * string/strcoll_l.c (coll_seq): New structure.
33131         (get_next_seq_cached): New function.
33132         (get_next_seq): New function.
33133         (do_compare): New function.
33134         (STRCOLL): Use GNU style definition.  Simplify implementation
33135         by using get_next_seq, get_next_seq_cached and do_compare.
33137 2013-08-16  Florian Weimer  <fweimer@redhat.com>
33139         [BZ #14699]
33140         CVE-2013-4237
33141         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
33142         member.
33143         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
33144         member.
33145         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
33146         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
33147         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
33148         conditional.
33149         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
33150         GETDENTS_64BIT_ALIGNED.
33151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
33152         * manual/filesys.texi (Reading/Closing Directory): Document
33153         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
33154         strongly.
33155         * manual/conf.texi (Limits for Files): Add portability note to
33156         NAME_MAX, PATH_MAX.
33157         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
33159 2013-08-13  Andreas Schwab  <schwab@suse.de>
33161         [BZ #15749]
33162         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
33163         of fabs.
33164         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
33165         LDBL_MAX_EXP >= 16384]: Add tests for it.
33167 2013-08-12  David S. Miller  <davem@davemloft.net>
33169         * version.h (RELEASE): Set to "development".
33170         (VERSION): Set to "2.18.90".
33171         * NEWS: Add 2.19 section.
33173 2013-08-03  David S. Miller  <davem@davemloft.net>
33175         * po/ko.po: Update Korean translation from translation project.
33177 2013-08-01  David S. Miller  <davem@davemloft.net>
33179         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
33180         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
33181         Bilka.
33183 2013-07-30  David S. Miller  <davem@davemloft.net>
33185         * po/fr.po: Update French translation from translation project.
33187 2013-07-28  David S. Miller  <davem@davemloft.net>
33189         * po/cs.po: Update Czech translation from translation project.
33191         * po/sv.po: Update Swedish translation from translation project.
33193 2013-07-27  David S. Miller  <davem@davemloft.net>
33195         * po/eo.po: Update Esperanto translation from translation project.
33197         * po/vi.po: Update Vietnamese translation from translation project.
33199         * po/de.po: Update German translation from translation project.
33201 2013-07-26  David S. Miller  <davem@davemloft.net>
33203         * po/bg.po: Update Bulgarian translation from translation project.
33205         * po/nl.po: Update Dutch translation from translation project.
33206         * po/pl.po: Update Polish translation from translation project.
33207         * po/ru.po: Update Russian translation from translation project.
33209 2013-07-24  David S. Miller  <davem@davemloft.net>
33211         * po/libc.pot: Update.
33213 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33215         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
33216         variable page size.
33217         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
33218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
33219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
33221 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33223         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
33225 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33226             Andreas Schwab  <schwab@suse.de>
33227             Roland McGrath  <roland@hack.frob.com>
33228             Joseph Myers  <joseph@codesourcery.com>
33229             Carlos O'Donell  <carlos@redhat.com>
33231         [BZ #15755]
33232         * config.h.in: Define HAVE_PT_CHOWN.
33233         * config.make.in (build-pt-chown): New variable.
33234         * configure.in (--enable-pt_chown): New configure option.
33235         * configure: Regenerate.
33236         * login/Makefile: Include Makeconfig.  Build pt_chown only if
33237         build-pt-chown is enabled.
33238         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
33239         pt_chown to fix pty ownership.
33240         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
33241         CLOSE_ALL_FDS.
33242         * manual/install.texi (Configuring and compiling): Mention
33243         --enable-pt_chown. Add @findex for grantpt.
33244         * INSTALL: Regenerate.
33246 2013-07-20  David S. Miller  <davem@davemloft.net>
33248         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
33249         difference between 32-bit and 64-bit.
33251 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
33253         [BZ #15711]
33254         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
33255         Avoid system header dependency with -ffreestanding.
33256         ($(objpfx)bits/syscall%d): Likewise.
33258 2013-07-13  David S. Miller  <davem@davemloft.net>
33260         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
33261         underflows from atanl/atan2l due to bug 15319.
33262         (casinh_test_data): Likewise.
33264 2013-07-07  David S. Miller  <davem@davemloft.net>
33266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
33268 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
33270         * sysdeps/i386/fpu/libm-test-ulps: Update.
33271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33273 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33275         * configure.in (--enable-lock-elision): Fix message text.
33276         * INSTALL: Regenerate.
33277         * configure: Regenerate.
33279 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33283 2013-07-03  Andreas Jaeger  <aj@suse.de>
33285         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
33286         define.
33287         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
33288         (ptrace_peeksiginfo_args): Add.
33289         (__ptrace_peeksiginfo_flags): Add.
33290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33294 2013-07-03  Allan McRae  <allan@archlinux.org>
33296         * sysdeps/i386/fpu/libm-test-ulps: Update.
33298 2013-07-02  David S. Miller  <davem@davemloft.net>
33300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33302 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
33304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
33308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
33309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33311 2013-07-02  Andi Kleen <ak@linux.intel.com>
33313         * config.h.in (ENABLE_LOCK_ELISION): Add.
33314         * configure.in (--enable-lock-elision): Add option.
33315         * manual/install.texi: Document --enable lock elision.
33316         * configure: Regenerate
33317         * INSTALL: Regenerate.
33319 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
33321         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
33322         SSE4.2 strcasecmp for libc.a.
33323         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
33325 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
33327         [BZ #13304]
33328         * soft-fp/op-common.h (_FP_FMA): New macro.
33329         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
33330         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
33331         (_FP_MUL_MEAT_1_imm): ... here.
33332         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
33333         (_FP_MUL_MEAT_1_wide): ... here.
33334         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
33335         (_FP_MUL_MEAT_1_hard): ... here.
33336         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
33337         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
33338         (_FP_MUL_MEAT_2_wide): ... here.
33339         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
33340         (_FP_MUL_MEAT_2_wide_3mul): ... here.
33341         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
33342         (_FP_MUL_MEAT_2_gmp): ... here.
33343         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
33344         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
33345         (_FP_MUL_MEAT_4_wide): ... here.
33346         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
33347         (_FP_MUL_MEAT_4_gmp): ... here.
33348         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
33349         (_FP_WFRACBITS_DW_S): Likewise.
33350         (_FP_WFRACXBITS_DW_S): Likewise.
33351         (_FP_HIGHBIT_DW_S): Likewise.
33352         (FP_FMA_S): Likewise.
33353         (_FP_FRAC_HIGH_DW_S): Likewise.
33354         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
33355         (_FP_WFRACBITS_DW_D): Likewise.
33356         (_FP_WFRACXBITS_DW_D): Likewise.
33357         (_FP_HIGHBIT_DW_D): Likewise.
33358         (FP_FMA_D): Likewise.
33359         (_FP_FRAC_HIGH_DW_D): Likewise.
33360         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
33361         (_FP_WFRACBITS_DW_E): Likewise.
33362         (_FP_WFRACXBITS_DW_E): Likewise.
33363         (_FP_HIGHBIT_DW_E): Likewise.
33364         (FP_FMA_E): Likewise.
33365         (_FP_FRAC_HIGH_DW_E): Likewise.
33366         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
33367         (_FP_WFRACBITS_DW_Q): Likewise.
33368         (_FP_WFRACXBITS_DW_Q): Likewise.
33369         (_FP_HIGHBIT_DW_Q): Likewise.
33370         (FP_FMA_Q): Likewise.
33371         (_FP_FRAC_HIGH_DW_Q): Likewise.
33372         * soft-fp/fmasf4.c: New file.
33373         * soft-fp/fmadf4.c: Likewise.
33374         * soft-fp/fmatf4.c: Likewise.
33376 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
33379         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
33380         Silvermont.
33381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
33382         macro.
33383         (index_Slow_SSE4_2): Likewise.
33384         (index_Prefer_PMINUB_for_stringop): Likewise.
33385         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
33386         bit_Slow_SSE4_2 is set.
33387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33392         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
33393         rtld_global._dl_hwcap2.
33394         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
33395         POWER8.
33396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
33397         POWER8 feature descriptions defined in _dl_hwcap2.
33398         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
33399         string handling for POWER8 feature bits.
33400         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
33401         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
33402         _dl_powerpc_cap_flags.
33403         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
33404         * sysdeps/powerpc/rtld-global-offsets.sym
33405         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
33406         _dl_hwcap2 in the rtld_global_ro structure.
33408 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33410         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
33411         hardware capabilities in support of AT_HWCAP2.
33412         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
33413         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
33414         GLRO(dl_hwcap2).
33415         (_dl_show_auxv): Add support for calling _dl_procinfo to display
33416         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
33417         explicitly the unknown a_type display mechanism is used.
33418         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
33419         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
33420         struct member.
33421         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
33422         to macro prototype for AT_HWCAP2 support.
33423         * sysdeps/i386/dl-procinfo.h: Likewise.
33424         * sysdeps/s390/dl-procinfo.h: Likewise.
33425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
33426         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
33427         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
33428         return -1 for unknown a_type display fallback.
33429         * sysdeps/sparc/dl-procinfo.h: Likewise.
33430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
33431         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
33433 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
33435         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
33436         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
33438 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
33440         [BZ #12492]
33441         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
33442         mprotect making __stack_prot writable.
33444 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
33445             Joseph Myers  <joseph@codesourcery.com>
33447         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
33448         as being properly aligned.
33450 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
33452         * dlfcn/modstatic5.c: New file.
33453         * dlfcn/tststatic5.c: New file.
33454         * dlfcn/Makefile (tests): Add tststatic5.
33455         (tests-static): Likewise.
33456         (modules-names): Add modstatic5.
33457         (tststatic5-ENV): New variable.
33458         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
33460         [BZ #15022]
33461         * elf/dl-support.c (_dl_main_map): New variable.
33462         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
33463         (_dl_nns, _dl_load_adds): Set to 1.
33464         (_dl_initial_searchlist): Refer to _dl_main_map.
33465         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
33466         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
33467         call to _dl_get_origin.
33468         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
33469         around call_map.
33470         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
33471         * dlfcn/modstatic3.c: New file.
33472         * dlfcn/tststatic3.c: New file.
33473         * dlfcn/tststatic4.c: New file.
33474         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
33475         (tests-static): Likewise.
33476         (modules-names): Add modstatic3.
33477         (tststatic3-ENV, tststatic4-ENV): New variables.
33478         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
33479         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
33481 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
33483         * configure.in (CC): Require GCC version 4.4 or later.
33484         * configure: Regenerated.
33485         * manual/install.texi (Tools for Compilation): Update GCC version
33486         requirement.
33487         * INSTALL: Regenerated.
33489 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33491         [BZ #15674]
33492         * string/test-memcmp.c (check2): New.
33493         (main): Call check2.
33495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
33497 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
33499         [BZ #15022]
33500         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
33501         over to...
33502         (dl_open_worker) [!SHARED]: ... here.
33504 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33506         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
33508 2013-06-25  Richard Henderson  <rth@redhat.com>
33510         * locale/programs/locarchive.c: Include <libc-internal.h>
33512 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
33514         * manual/texinfo.tex: Update to version 2013-06-21.17, with
33515         trailing whitespace removed.
33517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
33519         [BZ #10283]
33520         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
33521         * locale/programs/locarchive.c: Include libc-mmap.h.
33522         (prepare_address_space): Take two new outputs (the mmap base and len).
33523         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
33524         values.
33525         (create_archive): Declare new mmap base and len values for
33526         prepare_address_space, and store the result in ah.
33527         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
33528         (enlarge_archive): If ah->mmap_base is not NULL, use that and
33529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33530         Declare new mmap base and len values for
33531         prepare_address_space, and store the result in new_ah.
33532         (open_archive): Declare new mmap base and len values for
33533         prepare_address_space, and store the result in ah.
33534         (close_archive): If ah->mmap_base is not NULL, use that and
33535         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
33536         * sysdeps/generic/libc-mmap.h: New file.
33538 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
33540         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
33541         (ALIGN_UP): Likewise.
33542         (PTR_ALIGN_DOWN): Likewise.
33543         (PTR_ALIGN_UP): Likewise.
33545 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
33548         entry mapped to PPC_PLATFORM_POWER8.
33549         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
33550         POWER8.
33551         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
33552         (_dl_string_platform): Add case for exporting platform position for
33553         POWER8.
33554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
33555         search path to sysdeps/powerpc/powerpc32/power8 directory.
33556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
33557         search path to sysdeps/powerpc/powerpc64/power8 directory.
33558         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
33559         power7 directories.
33560         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
33561         power7 directories.
33563 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33565         * INSTALL: Regenerate.
33567         * nscd/connections.c (nscd_init): Fix comment.
33569 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
33571         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
33573         [BZ #15667]
33574         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
33575         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
33577 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
33579         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
33580         DL_DST_REQ_STATIC.
33581         (DL_DST_REQ_STATIC): Remove macro.
33583 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
33585         [BZ #7006]
33586         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
33587         with a shift of 0 bits.
33589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
33591         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
33592         $(tststatic-ENV).
33594 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
33596         [BZ #15655]
33597         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
33599 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33601         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
33602         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
33603         accepts -fno-tree-loop-distribute-patterns.
33604         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
33605         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
33606         recursive call.
33607         * string/memset.c (memset): Likewise.
33608         * string/test-memmove.c (simple_memmove): Disable loop transformation
33609         to library calls.
33610         * string/test-memset.c (simple_memset): Likewise.
33611         * benchtests/bench-memmove.c (simple_memmove): Likewise.
33612         * benchtests/bench-memset.c (simple_memset): Likewise.
33613         * configure: Regenerated.
33615 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
33617         * math/test-misc.c (main): Ignore fesetround failure when failures
33618         of subsequent rounding tests would be ignored.
33620         [BZ #15654]
33621         * math/fedisblxcpt.c (fedisableexcept): Return 0.
33622         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
33623         * math/fegetenv.c (__fegetenv): Return 0.
33624         * math/fegetexcept.c (fegetexcept): Return 0.
33625         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
33626         FE_TONEAREST.
33627         * math/feholdexcpt.c (feholdexcept): Return 0.
33628         * math/fesetenv.c (__fesetenv): Return 0.
33629         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
33630         argument FE_TONEAREST.
33631         * math/feupdateenv.c (__feupdateenv): Return 0.
33632         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
33634 2013-06-18  Roland McGrath  <roland@hack.frob.com>
33636         * elf/rtld-Rules (rtld-compile-command.S): New variable.
33637         (rtld-compile-command.s, rtld-compile-command.c): New variables.
33638         ($(objpfx)rtld-%.os rules): Use them.
33640 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33642         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
33643         fields.
33645 2013-06-17  Roland McGrath  <roland@hack.frob.com>
33647         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
33648         length of target pattern, then descending length of dependency pattern.
33649         * configure.in (AWK): Require gawk 3.1.2 or newer.
33650         * manual/install.texi (Tools for Compilation): Say that we do.
33651         * configure: Regenerated.
33653         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
33654         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
33655         * scripts/sysd-rules.awk: ... this new script.
33656         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
33657         than a glob-style pattern.
33659 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
33661         * math/test-misc.c (main): Do not treat incorrectly rounded
33662         conversions as failure unless ROUNDING_TESTS passes.
33664 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
33666         [BZ #15631]
33667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
33668         restore exception state around main square root computation, then
33669         check for inexactness explicitly.
33671         * math/libm-test.inc (fma_test_data): Add another test.
33673 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33675         * manual/threads.texi (Non-POSIX Extensions): New document
33676         node.  Document pthread_getattr_default_np and
33677         pthread_setattr_default_np.
33679         * Versions.def (libpthread): Add GLIBC_2.18.
33680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
33681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
33682         Likewise.
33683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
33684         Likewise.
33685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33686         Likewise.
33687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33688         Likewise.
33689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
33690         Likewise.
33691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
33692         Likewise.
33693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
33694         Likewise.
33695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33696         Likewise.
33697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
33698         Likewise.
33700 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33703         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
33705 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33706             H.J. Lu  <hjl.tools@gmail.com>
33708         [BZ #15627]
33709         * sysdeps/x86_64/rtld-memset.c: Remove file.
33710         * sysdeps/x86_64/rtld-memset.S: New file.
33712 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
33714         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
33715         (test_in_one_mode): Take arguments for whether the rounding mode
33716         is supported for each floating-point type.
33717         (do_test): Pass new arguments to test_in_one_mode using
33718         ROUNDING_TESTS.
33720 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33722         * posix/tst-waitid.c (do_test): Distinguish different instances of
33723         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
33724         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
33725         before entering the kernel for waitpid.
33727 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33729         * NEWS: Fix note on clock function precision.  Text by Roland
33730         McGrath.
33732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
33734         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
33735         it into place only when and if the sanity check passes.
33737 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
33739         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
33740         output for whether conversion result is exact.  Take argument
33741         indicating whether type is IBM long double.
33742         (round_for_all): Change need_exact field to ibm_ld.
33743         * stdlib/tst-strtod-round.c (struct exactness): New type.
33744         (struct test): Change bool ld_ok field to struct exactness exact.
33745         (TEST): Update all definitions for change to field.
33746         (tests): Regenerate array contents.
33747         (test_in_one_mode): Take pointer to new field instead of old ld_ok
33748         field value.  Check for IBM long double here.
33749         (do_test): Update calls to test_in_one_mode.
33751 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33753         [BZ #12515]
33754         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
33755         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
33757 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33759         [BZ #15605]
33760         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
33761         generated by the compiler on loop optimizations.
33762         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
33763         general definitions.
33765 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
33767         * math/bug-nextafter.c: Include <math-tests.h>.
33768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33769         the relevant type.
33770         * math/bug-nexttoward.c: Include <math-tests.h>.
33771         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33772         the relevant type.
33773         * math/test-misc.c: Include <math-tests.h>.
33774         (main): Only test for exceptions if EXCEPTION_TESTS is true for
33775         the relevant type.
33777 2013-06-12  Andreas Jaeger  <aj@suse.de>
33779         * po/ia.po: Update Interlingua translation from translation
33780         project.
33782 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33784         * include/fenv.h: Include stdbool.h.
33785         (struct rm_ctx): New structure.
33786         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
33787         Define macro.
33788         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
33789         (SET_RESTORE_ROUNDF): Likewise.
33790         (SET_RESTORE_ROUNDL): Likewise.
33791         (SET_RESTORE_ROUND_NOEX): Likewise.
33792         (SET_RESTORE_ROUND_NOEXF): Likewise.
33793         (SET_RESTORE_ROUND_NOEXL): Likewise.
33794         (SET_RESTORE_ROUND_53BIT): Likewise.
33795         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
33796         (libc_feresetround_noexf_ctx): Likewise.
33797         (libc_feresetround_noexl_ctx): Likewise.
33798         (libc_feholdsetround_53bit_ctx): Likewise.
33799         (libc_feresetround_53bit_ctx): Likewise.
33800         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
33801         (libc_feholdexcept_setround_sse_ctx): New function.
33802         (libc_fesetenv_sse_ctx): Likewise.
33803         (libc_feupdateenv_sse_ctx): Likewise.
33804         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
33805         (libc_feholdexcept_setround_387_ctx): Likewise.
33806         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
33807         (libc_feholdsetround_387_prec_ctx): Likewise.
33808         (libc_feholdsetround_387_ctx): Likewise.
33809         (libc_feholdsetround_387_53bit_ctx): Likewise.
33810         (libc_feholdsetround_sse_ctx): Likewise.
33811         (libc_feresetround_sse_ctx): Likewise.
33812         (libc_feresetround_387_ctx): Likewise.
33813         (libc_feupdateenv_387_ctx): Likewise.
33814         (libc_feholdexcept_setroundf_ctx): Define macro.
33815         (libc_fesetenvf_ctx): Likewise.
33816         (libc_feupdateenvf_ctx): Likewise.
33817         (libc_feholdsetroundf_ctx): Likewise.
33818         (libc_feresetroundf_ctx): Likewise.
33819         (libc_feholdexcept_setround_ctx): Likewise.
33820         (libc_fesetenv_ctx): Likewise.
33821         (libc_feupdateenv_ctx): Likewise.
33822         (libc_feholdsetround_ctx): Likewise.
33823         (libc_feresetround_ctx): Likewise.
33824         (libc_feholdexcept_setroundl_ctx): Likewise.
33825         (libc_feupdateenvl_ctx): Likewise.
33826         (libc_feholdsetroundl_ctx): Likewise.
33827         (libc_feresetroundl_ctx): Likewise.
33828         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
33829         (libc_feresetround_53bit_ctx): Likewise.
33831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33833         * locale/iso-639.def: Convert to UTF-8.
33835 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
33837         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
33838         (EXCEPTION_TESTS_double): Likewise.
33839         (EXCEPTION_TESTS_long_double): Likewise.
33840         (EXCEPTION_TESTS): Likewise.
33841         * math/libm-test.inc (test_exceptions): Only test exceptions if
33842         EXCEPTION_TESTS (FLOAT).
33844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33846         * benchtests/Makefile (string-bench): Add strcpy_chk and
33847         stpcpy_chk.
33848         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
33849         * benchtests/bench-stpcpy_chk.c: New file.
33850         * benchtests/bench-strcpy_chk-ifunc.c: New file.
33851         * benchtests/bench-strcpy_chk.c: New file.
33852         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
33853         code.
33854         (do_test): Likewise.
33856 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
33858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
33859         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
33860         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
33861         with tabs where appropriate.
33862         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
33863         dl-procinfo.h.
33864         [PPC_PLATFORM_PPC440]: Likewise.
33865         [PPC_PLATFORM_PPC464]: Likewise.
33866         [PPC_PLATFORM_PPC476]: Likewise.
33867         (_dl_string_platform): Add support for detecting ppc405, ppc440,
33868         ppc464, and ppc476 platform strings merging from ports/
33869         dl-procinfo.h.
33871 2013-06-11  Andreas Schwab  <schwab@suse.de>
33873         [BZ #14991]
33874         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
33875         (from_ucs4_idx): Regenerate.
33876         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
33877         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
33878         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
33879         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
33880         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
33881         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
33882         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
33883         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
33884         from FROM_LOOP and TO_LOOP specific macros.
33885         (BODY): Handle combining characters.
33886         * iconvdata/BIG5HKSCS.irreversible: Update.
33887         * iconvdata/BIG5HKSCS.precomposed: New file.
33888         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
33889         characters.
33890         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
33892 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         * include/sys/time.h: Fix indentation and add copyright header.
33896         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
33897         (do_test): Likewise.
33898         * string/test-memchr.c (do_one_test): Likewise.
33899         (do_test): Likewise.
33900         * string/test-memcmp.c (do_one_test): Likewise.
33901         (do_test): Likewise.
33902         * string/test-memcpy.c (do_one_test): Likewise.
33903         (do_test): Likewise.
33904         * string/test-memmem.c (do_one_test): Likewise.
33905         (do_test): Likewise.
33906         (do_random_tests): Likewise.
33907         * string/test-memmove.c (do_one_test): Likewise.
33908         (do_test): Likewise.
33909         * string/test-memset.c (do_one_test): Likewise.
33910         (do_test): Likewise.
33911         * string/test-rawmemchr.c (do_one_test): Likewise.
33912         (do_test): Likewise.
33913         * string/test-strcasecmp.c (do_one_test): Likewise.
33914         (do_test): Likewise.
33915         * string/test-strcasestr.c (do_one_test): Likewise.
33916         (do_test): Likewise.
33917         * string/test-strcat.c (do_one_test): Likewise.
33918         (do_test): Likewise.
33919         * string/test-strchr.c (do_one_test): Likewise.
33920         (do_test): Likewise.
33921         * string/test-strcmp.c (do_one_test): Likewise.
33922         (do_test): Likewise.
33923         * string/test-strcpy.c (do_one_test): Likewise.
33924         (do_test): Likewise.
33925         * string/test-string.h: Likewise.
33926         (test_init): Likewise.
33927         * string/test-strlen.c (do_one_test): Likewise.
33928         (do_test): Likewise.
33929         * string/test-strncasecmp.c (do_one_test): Likewise.
33930         (do_test): Likewise.
33931         * string/test-strncat.c (do_one_test): Likewise.
33932         (do_test): Likewise.
33933         * string/test-strncmp.c (do_one_test): Likewise.
33934         (do_test_limit): Likewise.
33935         (do_test): Likewise.
33936         * string/test-strncpy.c (do_one_test): Likewise.
33937         (do_test): Likewise.
33938         * string/test-strnlen.c (do_one_test): Likewise.
33939         (do_test): Likewise.
33940         * string/test-strpbrk.c (do_one_test): Likewise.
33941         (do_test): Likewise.
33942         * string/test-strrchr.c (do_one_test): Likewise.
33943         (do_test): Likewise.
33944         * string/test-strspn.c (do_one_test): Likewise.
33945         (do_test): Likewise.
33946         * string/test-strstr.c (do_one_test): Likewise.
33947         (do_test): Likewise.
33949         * benchtests/Makefile (string-bench): Add string benchmarks.
33950         * benchtests/bench-bcopy-ifunc.c: New file.
33951         * benchtests/bench-bcopy.c: New file.
33952         * benchtests/bench-bzero-ifunc.c: New file.
33953         * benchtests/bench-bzero.c: New file.
33954         * benchtests/bench-memccpy-ifunc.c: New file.
33955         * benchtests/bench-memccpy.c: New file.
33956         * benchtests/bench-memchr-ifunc.c: New file.
33957         * benchtests/bench-memchr.c: New file.
33958         * benchtests/bench-memcmp-ifunc.c: New file.
33959         * benchtests/bench-memcmp.c: New file.
33960         * benchtests/bench-memmem-ifunc.c: New file.
33961         * benchtests/bench-memmem.c: New file.
33962         * benchtests/bench-memmove-ifunc.c: New file.
33963         * benchtests/bench-memmove.c: New file.
33964         * benchtests/bench-mempcpy-ifunc.c: New file.
33965         * benchtests/bench-mempcpy.c: New file.
33966         * benchtests/bench-memset-ifunc.c: New file.
33967         * benchtests/bench-memset.c: New file.
33968         * benchtests/bench-rawmemchr-ifunc.c: New file.
33969         * benchtests/bench-rawmemchr.c: New file.
33970         * benchtests/bench-stpcpy-ifunc.c: New file.
33971         * benchtests/bench-stpcpy.c: New file.
33972         * benchtests/bench-stpncpy-ifunc.c: New file.
33973         * benchtests/bench-stpncpy.c: New file.
33974         * benchtests/bench-strcasecmp-ifunc.c: New file.
33975         * benchtests/bench-strcasecmp.c: New file.
33976         * benchtests/bench-strcasestr-ifunc.c: New file.
33977         * benchtests/bench-strcasestr.c: New file.
33978         * benchtests/bench-strcat-ifunc.c: New file.
33979         * benchtests/bench-strcat.c: New file.
33980         * benchtests/bench-strchr-ifunc.c: New file.
33981         * benchtests/bench-strchr.c: New file.
33982         * benchtests/bench-strchrnul-ifunc.c: New file.
33983         * benchtests/bench-strchrnul.c: New file.
33984         * benchtests/bench-strcmp-ifunc.c: New file.
33985         * benchtests/bench-strcmp.c: New file.
33986         * benchtests/bench-strcpy-ifunc.c: New file.
33987         * benchtests/bench-strcpy.c: New file.
33988         * benchtests/bench-strcspn-ifunc.c: New file.
33989         * benchtests/bench-strcspn.c: New file.
33990         * benchtests/bench-strlen-ifunc.c: New file.
33991         * benchtests/bench-strlen.c: New file.
33992         * benchtests/bench-strncasecmp-ifunc.c: New file.
33993         * benchtests/bench-strncasecmp.c: New file.
33994         * benchtests/bench-strncat-ifunc.c: New file.
33995         * benchtests/bench-strncat.c: New file.
33996         * benchtests/bench-strncmp-ifunc.c: New file.
33997         * benchtests/bench-strncmp.c: New file.
33998         * benchtests/bench-strncpy-ifunc.c: New file.
33999         * benchtests/bench-strncpy.c: New file.
34000         * benchtests/bench-strnlen-ifunc.c: New file.
34001         * benchtests/bench-strnlen.c: New file.
34002         * benchtests/bench-strpbrk-ifunc.c: New file.
34003         * benchtests/bench-strpbrk.c: New file.
34004         * benchtests/bench-strrchr-ifunc.c: New file.
34005         * benchtests/bench-strrchr.c: New file.
34006         * benchtests/bench-strspn-ifunc.c: New file.
34007         * benchtests/bench-strspn.c: New file.
34008         * benchtests/bench-strstr-ifunc.c: New file.
34009         * benchtests/bench-strstr.c: New file.
34011         * benchtests/Makefile: Disable parallel execution of targets.
34012         (string-bench): Add memcpy.
34013         (benchset): New variable to store a list of benchmark sets.
34014         (bench-func): Renamed from bench.
34015         (bench-set): New target.
34016         (bench): Depend on bench-func and bench-set.
34017         * benchtests/README: Add section on benchmark sets.
34018         * benchtests/bench-memcpy-ifunc.c: New file.
34019         * benchtests/bench-memcpy.c: New file.
34020         * benchtests/bench-string.h: New file.
34022 2013-06-11  Andreas Schwab  <schwab@suse.de>
34024         [BZ #15577]
34025         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
34026         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
34027         values in the triple.
34028         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
34029         terminator in the group key.
34031 2013-06-11  Andreas Jaeger  <aj@suse.de>
34033         * po/zh_TW.po: Update Chinese (traditional) translation from
34034         translation project.
34036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34038         * include/time.h (__clock_gettime): Add libc_hidden_proto.
34039         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
34040         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
34041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34042         (clock_getcpuclockid): Likewise.
34043         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
34044         Add weak_alias and libc_hidden_def.
34045         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
34046         * rt/clock_gettime.c (clock_gettime): Rename to
34047         __clock_gettime.  Add weak_alias and libc_hidden_def.
34048         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
34049         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
34050         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
34051         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
34052         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
34053         Likewise.
34054         * rt/clock_settime.c (clock_settime): Rename to
34055         __clock_settime.  Add weak_alias and libc_hidden_def.
34056         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
34058 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
34060         * mach/err_boot.sub: Remove trailing whitespace.
34061         * mach/err_ipc.sub: Likewise.
34062         * mach/err_mach.sub: Likewise.
34064         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
34065         (ROUNDING_TESTS_double): Likewise.
34066         (ROUNDING_TESTS_long_double): Likewise.
34067         (ROUNDING_TESTS): Likewise.
34068         * math/libm-test.inc: Include <math-tests.h>.
34069         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
34070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
34071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
34072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
34074 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34076         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
34077         of assigning.
34079 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
34081         * sysdeps/gnu/errlist.awk: Do not generate space at end of
34082         otherwise empty TRANS lines.
34083         * sysdeps/gnu/errlist.c: Regenerated.
34085         * catgets/gencat.c (error_print): Use (void) in function
34086         definition.
34087         * crypt/crypt_util.c (__init_des): Likewise.
34088         * crypt/speeds.c (Stop): Likewise.
34089         (main): Likewise.
34090         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
34091         * inet/ruserpass.c (token): Likewise.
34092         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
34093         * intl/localealias.c (extend_alias_table): Likewise.
34094         * intl/plural-exp.c (init_germanic_plural): Likewise.
34095         * libio/fcloseall.c (__fcloseall): Likewise.
34096         * libio/genops.c (_IO_flush_all): Likewise.
34097         (_IO_flush_all_linebuffered): Likewise.
34098         (_IO_cleanup): Likewise.
34099         (_IO_iter_begin): Likewise.
34100         (_IO_iter_end): Likewise.
34101         (_IO_list_lock): Likewise.
34102         (_IO_list_unlock): Likewise.
34103         (_IO_list_resetlock): Likewise.
34104         * libio/getchar.c (getchar): Likewise.
34105         * libio/getchar_u.c (getchar_unlocked): Likewise.
34106         * libio/getwchar.c (getwchar): Likewise.
34107         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
34108         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
34109         * login/getpt.c (__getpt): Likewise.
34110         * login/tst-utmp.c (main): Likewise.
34111         * malloc/hooks.c (__malloc_check_init): Likewise.
34112         * malloc/malloc.c (__malloc_stats): Likewise.
34113         * malloc/mtrace.c (tr_break): Likewise.
34114         (mtrace): Likewise.
34115         (muntrace): Likewise.
34116         * misc/fstab.c (endfsent): Likewise.
34117         * misc/getclktck.c (__getclktck): Likewise.
34118         * misc/getdtsz.c (__getdtablesize): Likewise.
34119         * misc/gethostid.c (gethostid): Likewise.
34120         * misc/getpagesize.c (__getpagesize): Likewise.
34121         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
34122         (__get_nprocs): Likewise.
34123         (__get_phys_pages): Likewise.
34124         (__get_avphys_pages): Likewise.
34125         * misc/getttyent.c (getttyent): Likewise.
34126         (setttyent): Likewise.
34127         (endttyent): Likewise.
34128         * misc/getusershell.c (getusershell): Likewise.
34129         (endusershell): Likewise.
34130         (setusershell): Likewise.
34131         (initshells): Likewise.
34132         * misc/hsearch.c (__hdestroy): Likewise.
34133         * misc/sync.c (sync): Likewise.
34134         * misc/syslog.c (closelog_internal): Likewise.
34135         (closelog): Likewise.
34136         * misc/ttyslot.c (ttyslot): Likewise.
34137         * misc/vhangup.c (vhangup): Likewise.
34138         * posix/fork.c (__fork): Likewise.
34139         * posix/getegid.c (__getegid): Likewise.
34140         * posix/geteuid.c (__geteuid): Likewise.
34141         * posix/getgid.c (__getgid): Likewise.
34142         * posix/getpid.c (__getpid): Likewise.
34143         * posix/getppid.c (__getppid): Likewise.
34144         * posix/getuid.c (__getuid): Likewise.
34145         * posix/pause.c (pause): Likewise.
34146         * posix/setpgrp.c (setpgrp): Likewise.
34147         * posix/setsid.c (__setsid): Likewise.
34148         * posix/test-vfork.c (noop): Likewise.
34149         * resolv/gethnamaddr.c (_endhtent): Likewise.
34150         (_gethtent): Likewise.
34151         (ht_endhostent): Likewise.
34152         (gethostent): Likewise.
34153         (dns_service): Likewise.
34154         * stdlib/drand48.c (drand48): Likewise.
34155         * stdlib/lrand48.c (lrand48): Likewise.
34156         * stdlib/mrand48.c (mrand48): Likewise.
34157         * stdlib/rand.c (rand): Likewise.
34158         * stdlib/random.c (__random): Likewise.
34159         * stdlib/setenv.c (clearenv): Likewise.
34160         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
34161         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
34162         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
34163         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
34164         (__get_nprocs): Likewise.
34165         (__get_phys_pages): Likewise.
34166         (__get_avphys_pages): Likewise.
34167         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
34168         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
34169         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
34170         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
34171         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
34172         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
34173         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
34174         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
34175         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
34176         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
34177         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
34178         * sysdeps/mach/hurd/sync.c (sync): Likewise.
34179         * sysdeps/posix/clock.c (clock): Likewise.
34180         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
34181         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
34182         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
34183         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
34184         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
34185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
34186         (__get_nprocs_conf): Likewise.
34187         (__get_phys_pages): Likewise.
34188         (__get_avphys_pages): Likewise.
34189         * time/clock.c (clock): Likewise.
34190         * time/tzset.c (__tzname_max): Likewise.
34192 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
34194         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
34195         (__bswap_32): Do not use "register".
34196         * crypt/crypt.c (_ufc_doit_r): Likewise.
34197         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
34198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
34199         * gmon/gmon.c (__monstartup): Likewise.
34200         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
34201         * hurd/hurdmalloc.c (more_memory): Likewise.
34202         (malloc): Likewise.
34203         (free): Likewise.
34204         (realloc): Likewise.
34205         (malloc_fork_prepare): Likewise.
34206         (malloc_fork_parent): Likewise.
34207         (malloc_fork_child): Likewise.
34208         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
34209         (_svcauth_des): Likewise.
34210         * inet/inet_lnaof.c (inet_lnaof): Likewise.
34211         * inet/inet_net.c (inet_network): Likewise.
34212         * inet/inet_netof.c (inet_netof): Likewise.
34213         * inet/rcmd.c (__validuser2_sa): Likewise.
34214         * io/fts.c (fts_open): Likewise.
34215         (fts_load): Likewise.
34216         (fts_close): Likewise.
34217         (fts_read): Likewise.
34218         (fts_children): Likewise.
34219         (fts_build): Likewise.
34220         (fts_stat): Likewise.
34221         (fts_sort): Likewise.
34222         (fts_alloc): Likewise.
34223         (fts_lfree): Likewise.
34224         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
34225         (_IO_file_xsgetn): Likewise.
34226         (_IO_file_xsgetn_mmap): Likewise.
34227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
34228         (_IO_cookie_write): Likewise.
34229         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
34230         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
34231         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
34232         * malloc/obstack.c (_obstack_begin): Likewise.
34233         (_obstack_begin_1): Likewise.
34234         (_obstack_newchunk): Likewise.
34235         (_obstack_allocated_p): Likewise.
34236         (obstack_free): Likewise.
34237         (_obstack_memory_used): Likewise.
34238         * misc/getttyent.c (getttynam): Likewise.
34239         (getttyent): Likewise.
34240         (skip): Likewise.
34241         (value): Likewise.
34242         * misc/getusershell.c (initshells): Likewise.
34243         * misc/syslog.c (__vsyslog_chk): Likewise.
34244         * misc/ttyslot.c (ttyslot): Likewise.
34245         * nis/nis_hash.c (__nis_hash): Likewise.
34246         * posix/fnmatch_loop.c (FCT): Likewise.
34247         * posix/getconf.c (print_all): Likewise.
34248         (main): Likewise.
34249         * posix/getopt.c (exchange): Likewise.
34250         * posix/glob.c (globfree): Likewise.
34251         (prefix_array): Likewise.
34252         (__glob_pattern_type): Likewise.
34253         * resolv/arpa/nameser.h (NS_GET16): Likewise.
34254         (NS_GET32): Likewise.
34255         (NS_PUT16): Likewise.
34256         (NS_PUT32): Likewise.
34257         * resolv/gethnamaddr.c (getanswer): Likewise.
34258         (gethostbyname2): Likewise.
34259         (gethostbyaddr): Likewise.
34260         (_gethtent): Likewise.
34261         (_gethtbyname2): Likewise.
34262         (_gethtbyaddr): Likewise.
34263         * resolv/ns_print.c (dst_s_get_int16): Likewise.
34264         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
34265         * resolv/res_init.c (__res_vinit): Likewise.
34266         (net_mask): Likewise.
34267         * resolv/res_mkquery.c (outchar): Likewise.
34268         (PRINT): Likewise.
34269         * stdio-common/printf_fp.c (outchar): Likewise.
34270         (PRINT): Likewise.
34271         * stdio-common/printf_fphex.c (outchar): Likewise.
34272         (PRINT): Likewise.
34273         * stdio-common/printf_size.c (outchar): Likewise.
34274         (PRINT): Likewise.
34275         * stdio-common/test_rdwr.c (main): Likewise.
34276         * stdio-common/tfformat.c (matches): Likewise.
34277         * stdio-common/vfprintf.c (outchar): Likewise.
34278         (printf_unknown): Likewise.
34279         (buffered_vfprintf): Likewise.
34280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
34281         * stdio-common/xbug.c (AppendToBuffer): Likewise.
34282         (ReadFile): Likewise.
34283         * stdlib/qsort.c (SWAP): Likewise.
34284         (_quicksort): Likewise.
34285         * stdlib/setenv.c (__add_to_environ): Likewise.
34286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
34287         * stdlib/strtol_l.c (__strtol_l): Likewise.
34288         * stdlib/tst-strtod.c (main): Likewise.
34289         * stdlib/tst-strtol.c (main): Likewise.
34290         * stdlib/tst-strtoll.c (main): Likewise.
34291         * string/bits/string2.h (__strcmp_cc): Likewise.
34292         (__strcmp_cg): Likewise.
34293         (__strcspn_c1): Likewise.
34294         (__strcspn_c2): Likewise.
34295         (__strcspn_c3): Likewise.
34296         (__strspn_c1): Likewise.
34297         (__strspn_c2): Likewise.
34298         (__strspn_c3): Likewise.
34299         (__strsep_1c): Likewise.
34300         (__strsep_2c): Likewise.
34301         (__strsep_3c): Likewise.
34302         * string/memccpy.c (__memccpy): Likewise.
34303         * string/stpcpy.c (__stpcpy): Likewise.
34304         * string/strcmp.c (strcmp): Likewise.
34305         * string/strrchr.c (strrchr): Likewise.
34306         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
34307         Likewise.
34308         * sysdeps/mach/hurd/getcwd.c
34309         (_hurd_canonicalize_directory_name_internal): Likewise.
34310         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
34311         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
34312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
34313         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
34314         Likewise, in both definitions.
34315         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
34316         definitions.
34317         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
34318         64] (__bswap_64): Likewise.
34319         * time/test_time.c (main): Likewise.
34320         * time/tzfile.c (__tzfile_read): Likewise.
34321         (__tzfile_compute): Likewise.
34322         * time/tzset.c (__tzset_parse_tz): Likewise.
34323         (tzset_internal): Likewise.
34324         (compute_change): Likewise.
34325         * wcsmbs/wcscat.c (__wcscat): Likewise.
34326         * wcsmbs/wcschr.c (wcschr): Likewise.
34327         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
34328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
34329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
34330         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
34331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
34332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
34333         * wcsmbs/wmemchr.c (wmemchr): Likewise.
34334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34335         * wcsmbs/wmemset.c (wmemset): Likewise.
34337 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
34339         * scripts/config.guess: Update to version 2013-05-16.
34340         * scripts/config.sub: Update to version 2013-04-24.
34341         * scripts/install-sh: Update to version 2011-11-20.07.
34342         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
34343         * scripts/move-if-change: Update to version 2012-01-06 07:23.
34345 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
34347         * debug/fgetws_u_chk.c: Fix leading whitespaces.
34348         * elf/sln.c: Likewise.
34349         * hurd/hurd/ioctl.h: Likewise.
34350         * hurd/hurdmalloc.c: Likewise.
34351         * hurd/xattr.c: Likewise.
34352         * include/shlib-compat.h: Likewise.
34353         * inet/ruserpass.c: Likewise.
34354         * libio/iofgets_u.c: Likewise.
34355         * libio/iofgetws_u.c: Likewise.
34356         * locale/programs/ld-identification.c: Likewise.
34357         * locale/programs/ld-time.c: Likewise.
34358         * mach/msg-destroy.c: Likewise.
34359         * nss/nss_files/files-netgrp.c: Likewise.
34360         * resolv/res_data.c: Likewise.
34361         * soft-fp/op-1.h: Likewise.
34362         * soft-fp/op-2.h: Likewise.
34363         * soft-fp/op-4.h: Likewise.
34364         * soft-fp/op-common.h: Likewise.
34365         * stdio-common/printf_fphex.c: Likewise.
34366         * stdlib/strtod_l.c: Likewise.
34367         * sunrpc/rpc/clnt.h: Likewise.
34368         * sysdeps/generic/framestate.c: Likewise.
34369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
34370         * sysdeps/i386/bsd-setjmp.S: Likewise.
34371         * sysdeps/i386/__longjmp.S: Likewise.
34372         * sysdeps/i386/setjmp.S: Likewise.
34373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34374         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
34379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34382         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
34383         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
34384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
34385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
34386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
34387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
34388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
34390         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
34391         * sysdeps/ieee754/support.c: Likewise.
34392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34393         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
34394         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
34395         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
34396         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
34397         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
34398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
34399         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
34400         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
34401         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
34402         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
34403         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
34404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
34405         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
34406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
34407         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
34408         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34411 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
34413         * posix/transbug.c: Remove executable mode.
34415 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
34417         * crypt/speeds.c: Remove trailing whitespace.
34418         * dlfcn/default.c: Likewise.
34419         * elf/ifuncdep2.c: Likewise.
34420         * elf/ifuncmain1.c: Likewise.
34421         * elf/ifuncmain1vis.c: Likewise.
34422         * elf/testobj.h: Likewise.
34423         * elf/tst-stackguard1.c: Likewise.
34424         * gmon/sys/gmon.h: Likewise.
34425         * hurd/hurdmsg.c: Likewise.
34426         * hurd/new-fd.c: Likewise.
34427         * hurd/ports-get.c: Likewise.
34428         * iconvdata/ibm1008_420.c: Likewise.
34429         * inet/tst-getni1.c: Likewise.
34430         * inet/tst-getni2.c: Likewise.
34431         * libio/ioungetc.c: Likewise.
34432         * libio/wfiledoalloc.c: Likewise.
34433         * manual/libm-err-tab.pl: Likewise.
34434         * math/w_dremf.c: Likewise.
34435         * misc/ftruncate.c: Likewise.
34436         * posix/bug-glob2.c: Likewise.
34437         * posix/tst-pcre.c: Likewise.
34438         * posix/wait4.c: Likewise.
34439         * resolv/README: Likewise.
34440         * resolv/res_debug.h: Likewise.
34441         * resolv/tst-inet_ntop.c: Likewise.
34442         * setjmp/bug269-setjmp.c: Likewise.
34443         * soft-fp/extended.h: Likewise.
34444         * soft-fp/op-1.h: Likewise.
34445         * soft-fp/op-2.h: Likewise.
34446         * soft-fp/op-4.h: Likewise.
34447         * soft-fp/op-8.h: Likewise.
34448         * soft-fp/testit.c: Likewise.
34449         * stdio-common/bug16.c: Likewise.
34450         * stdlib/random.c: Likewise.
34451         * sunrpc/rpcsvc/rquota.x: Likewise.
34452         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
34453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34457         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34463         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
34464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
34466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
34468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
34469         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34470         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
34471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34474         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
34475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
34476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
34477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
34478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
34479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34481         * sysdeps/ieee754/s_lib_version.c: Likewise.
34482         * sysdeps/mach/hurd/check_fds.c: Likewise.
34483         * sysdeps/mach/hurd/getsockname.c: Likewise.
34484         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
34485         * sysdeps/mach/hurd/recvfrom.c: Likewise.
34486         * sysdeps/powerpc/bits/link.h: Likewise.
34487         * sysdeps/powerpc/dl-procinfo.c: Likewise.
34488         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
34489         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
34490         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
34491         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
34493         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
34494         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
34496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
34497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
34498         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
34499         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
34500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
34501         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
34502         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
34503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
34504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
34505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
34506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34507         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
34509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34510         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
34511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
34512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
34513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
34514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
34517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
34518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
34519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
34521         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
34522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34523         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
34524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
34525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
34526         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
34527         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
34528         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
34529         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
34530         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
34531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
34532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
34533         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
34534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
34535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
34536         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
34537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
34542         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
34543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
34544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
34546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
34547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
34548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
34549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
34550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34551         * sysdeps/powerpc/sysdep.h: Likewise.
34552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
34553         * sysdeps/s390/s390-64/sub_n.S: Likewise.
34554         * sysdeps/sh/dl-trampoline.S: Likewise.
34555         * sysdeps/sh/memset.S: Likewise.
34556         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
34557         * sysdeps/sh/strlen.S: Likewise.
34558         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
34559         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
34560         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
34561         * sysdeps/sparc/sparc32/rem.S: Likewise.
34562         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
34563         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
34564         * sysdeps/sparc/sparc32/strchr.S: Likewise.
34565         * sysdeps/sparc/sparc32/udiv.S: Likewise.
34566         * sysdeps/sparc/sparc32/urem.S: Likewise.
34567         * sysdeps/sparc/sparc64/add_n.S: Likewise.
34568         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
34569         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
34570         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
34571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
34572         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
34573         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
34574         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
34575         * sysdeps/unix/bsd/times.c: Likewise.
34576         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
34577         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
34578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34581         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
34582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
34583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
34584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
34585         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
34586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
34587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34588         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
34589         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34591         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34593         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
34594         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
34595         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
34596         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
34597         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
34598         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
34600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
34601         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
34602         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
34603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34604         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
34605         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
34606         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
34607         * sysdeps/x86_64/strcspn.S: Likewise.
34609 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34611         * locale/C-translit.h: Revert #include <stdint.h> because this is a
34612         generated file.  Regenerate properly from gen-translit.pl.
34613         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
34614         locale/C-translit.h.
34616 2013-06-05  Andreas Schwab  <schwab@suse.de>
34618         [BZ #15100]
34619         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
34620         week as 6 instead of -1.
34621         * time/tst-strptime.c (day_tests): Add test case.
34623 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34625         * sysdeps/generic/math_private.h
34626         (libc_feholdexcept_setround_53bit): Replace with
34627         libc_feholdsetround_53bit.
34628         (libc_feupdateenv_53bit): Replace with
34629         libc_feresetround_53bit.
34630         (SET_RESTORE_ROUND_53BIT): Adjust.
34632 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
34634         * string/test-strchrnul.c: Add copyright header.
34636         * posix/tst-getaddrinfo4.c: Increase test timeout.
34638 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
34640         [BZ #15536]
34641         * math/libm-test.inc (MAX_EXP): Remove
34642         (MIN_EXP): Define.
34643         (ulp): Use MIN_EXP - MANT_DIG.
34644         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
34646 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
34648         * po/be.po: Revert last change.
34649         * po/zh_CN.po: Likewise.
34650         * po/header.pot: Likewise.
34652 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
34654         * Makefile ($(common-objpfx)linkobj/libc.so): Define
34655         link-libc-deps to empty as target-specific variable.
34656         * Makerules (link-libc-args): New variable.
34657         (libc-for-link): Likewise.
34658         (link-libc-deps): Likewise.
34659         (lib%.so): Depend on $(link-libc-deps).  Link with
34660         $(link-libc-args).
34661         (build-module): Link with $(link-libc-args).
34662         (build-module-asneeded): Likewise.
34663         (build-module-helper-objlist): Filter out $(link-libc-deps) from
34664         list of objects.
34665         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
34666         target-specific variable.
34667         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
34668         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
34669         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
34670         libc.
34671         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
34672         libc and ld.so.
34673         ($(objpfx)libpcprofile.so): Likewise.
34674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
34675         libc_nonshared.a.
34676         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
34677         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
34678         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
34679         $(link-libc-deps).
34680         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
34681         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
34682         * login/Makefile ($(objpfx)libutil.so): Likewise.
34683         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
34684         * math/Makefile ($(objpfx)libm.so): Likewise.
34685         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
34686         $(objpfx)libnsl.so): Define libc-for-link as target-specific
34687         variable instead of depending directly on libc.
34688         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
34689         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
34690         $(link-libc-deps).
34691         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
34692         libc.
34693         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
34694         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
34695         ($(objpfx)libanl.so): Likewise.
34696         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
34697         ld.so.
34698         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
34699         $(link-libc-deps).
34700         * sysdeps/i386/fpu/Makefile: Remove file.
34701         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
34702         ($(objpfx)libm.so): Remove dependency on ld.so.
34704 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
34706         [BZ # 15553]
34707         * nis/yp_xdr.c (XDRMAXNAME): Define.
34708         (XDRMAXRECORD): Define.
34709         (xdr_domainname): Use XDRMAXNAME.
34710         (xdr_mapname): Likewise.
34711         (xdr_peername): Likewise.
34712         (xdr_keydat): Use XDRMAXRECORD.
34713         (xdr_valdat): Likewise.
34715 2013-05-30  Jeff Law  <law@redhat.com>
34717         [BZ #14256]
34718         * manual/errno.texi (ESTALE): Update to account for more than
34719         just NFS file systems.
34720         * sysdeps/gnu/errlist.c: Regenerated.
34722 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34724         [BZ #15465]
34725         * elf/Makefile (tests): Add tst-null-argv.
34726         (modules-names):  Add tst-null-argv-lib.
34727         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
34728         (tst-null-argv-ENV): Set environment for tst-null-argv.
34729         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
34730         (RTLD_PROGNAME): New macro.
34731         * elf/tst-null-argv.c: New test case.
34732         * elf/tst-null-argv-lib.c: Library for test case.
34733         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
34734         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
34735         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
34736         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
34737         * elf/dl-init.c (call_init): Likewise.
34738         (_dl_init): Likewise.
34739         * elf/dl-load.c (print_search_path): Likewise.
34740         (_dl_map_object): Likewise.
34741         * elf/dl-lookup.c (do_lookup_x): Likewise.
34742         (add_dependency): Likewise.
34743         (_dl_lookup_symbol_x): Likewise.
34744         (_dl_debug_bindings): Likewise.
34745         * elf/dl-open.c (_dl_show_scope): Likewise.
34746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
34747         * elf/dl-version.c (match_symbol): Likewise.
34748         (_dl_check_map_versions): Likewise.
34749         * elf/rtld.c (dl_main): Likewise.
34750         (print_unresolved): Use RTLD_PROGNAME.
34751         (print_missing_version): Likewise.
34752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
34753         (elf_machine_rela): Likewise.
34754         * sysdeps/powerpc/powerpc32/dl-machine.c
34755         (__process_machine_rela): Likewise.
34756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34757         Likewise.
34758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
34759         Likewise.
34760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34761         Likewise.
34762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
34763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
34764         Likewise.
34765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
34766         Likewise.
34767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
34769 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
34771         * po/be.po: Add descriptive title.
34772         * po/zh_CN.po: Likewise.
34773         * po/header.pot: Likewise.
34775 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
34777         * locale/programs/locarchive.c (create_archive): Inlucde fname in
34778         error message.
34779         (enlarge_archive): Likewise.
34781 2013-05-28  Ben North  <ben@redfrontdoor.org>
34783         * manual/arith.texi (frexp): It is the magnitude of the return
34784         value which lies in [0.5, 1), not the return value itself.
34786 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34790 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
34792         * stdio-common/bug26.c (main): Correct fscanf template.
34794         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
34795         declare _dl_skip_args.
34797         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
34798         Don't declare.
34800         * manual/platform.texi: Add missing @end deftypefun.
34802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34804         [BZ #15529]
34805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
34806         bit of mantissa of 2^16382.
34807         * math/libm-test.inc (hypot_test_data): Add more tests.
34809         * math/libm-test.inc: Add drem and pow10 to list of tested
34810         functions.
34811         (pow10_test): New function.
34812         (drem_test): Likewise.
34813         (drem_test_tonearest): Likewise.
34814         (drem_test_towardzero): Likewise.
34815         (drem_test_downward): Likewise.
34816         (drem_test_upward): Likewise.
34817         (main): Call the new functions.
34819         * math/libm-test.inc (finite_test_data): Remove.
34820         (finite_test): Run tests from isfinite_test_data.
34821         (gamma_test_data): Remove.
34822         (gamma_test): Run tests from lgamma_test_data.
34823         * sysdeps/i386/fpu/libm-test-ulps: Update.
34824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34826 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34828         * manual/platform.texi: Add PowerPC PPR function set documentation.
34829         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
34830         implementation.
34832 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
34834         * math/libm-test.inc (MAX_EXP): Define.
34835         (ULPDIFF): Define.
34836         (ulp): New function.
34837         (check_float_internal): Use ULPDIFF.
34838         (cpow_test): Disable failing test.
34839         (check_ulp): Test ulp() implemetnation.
34840         (main): Call check_ulp before starting tests.
34842 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
34844         * math/gen-libm-test.pl (generate_testfile): Do not handle
34845         START_DATA and END_DATA.
34846         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
34847         END_DATA.
34848         (acos_tonearest_test_data): Likewise.
34849         (acos_towardzero_test_data): Likewise.
34850         (acos_downward_test_data): Likewise.
34851         (acos_upward_test_data): Likewise.
34852         (acosh_test_data): Likewise.
34853         (asin_test_data): Likewise.
34854         (asin_tonearest_test_data): Likewise.
34855         (asin_towardzero_test_data): Likewise.
34856         (asin_downward_test_data): Likewise.
34857         (asin_upward_test_data): Likewise.
34858         (asinh_test_data): Likewise.
34859         (atan_test_data): Likewise.
34860         (atanh_test_data): Likewise.
34861         (atan2_test_data): Likewise.
34862         (cabs_test_data): Likewise.
34863         (cacos_test_data): Likewise.
34864         (cacosh_test_data): Likewise.
34865         (carg_test_data): Likewise.
34866         (casin_test_data): Likewise.
34867         (casinh_test_data): Likewise.
34868         (catan_test_data): Likewise.
34869         (catanh_test_data): Likewise.
34870         (cbrt_test_data): Likewise.
34871         (ccos_test_data): Likewise.
34872         (ccosh_test_data): Likewise.
34873         (ceil_test_data): Likewise.
34874         (cexp_test_data): Likewise.
34875         (cimag_test_data): Likewise.
34876         (clog_test_data): Likewise.
34877         (clog10_test_data): Likewise.
34878         (conj_test_data): Likewise.
34879         (copysign_test_data): Likewise.
34880         (cos_test_data): Likewise.
34881         (cos_tonearest_test_data): Likewise.
34882         (cos_towardzero_test_data): Likewise.
34883         (cos_downward_test_data): Likewise.
34884         (cos_upward_test_data): Likewise.
34885         (cosh_test_data): Likewise.
34886         (cosh_tonearest_test_data): Likewise.
34887         (cosh_towardzero_test_data): Likewise.
34888         (cosh_downward_test_data): Likewise.
34889         (cosh_upward_test_data): Likewise.
34890         (cpow_test_data): Likewise.
34891         (cproj_test_data): Likewise.
34892         (creal_test_data): Likewise.
34893         (csin_test_data): Likewise.
34894         (csinh_test_data): Likewise.
34895         (csqrt_test_data): Likewise.
34896         (ctan_test_data): Likewise.
34897         (ctan_tonearest_test_data): Likewise.
34898         (ctan_towardzero_test_data): Likewise.
34899         (ctan_downward_test_data): Likewise.
34900         (ctan_upward_test_data): Likewise.
34901         (ctanh_test_data): Likewise.
34902         (ctanh_tonearest_test_data): Likewise.
34903         (ctanh_towardzero_test_data): Likewise.
34904         (ctanh_downward_test_data): Likewise.
34905         (ctanh_upward_test_data): Likewise.
34906         (erf_test_data): Likewise.
34907         (erfc_test_data): Likewise.
34908         (exp_test_data): Likewise.
34909         (exp_tonearest_test_data): Likewise.
34910         (exp_towardzero_test_data): Likewise.
34911         (exp_downward_test_data): Likewise.
34912         (exp_upward_test_data): Likewise.
34913         (exp10_test_data): Likewise.
34914         (exp2_test_data): Likewise.
34915         (expm1_test_data): Likewise.
34916         (fabs_test_data): Likewise.
34917         (fdim_test_data): Likewise.
34918         (finite_test_data): Likewise.
34919         (floor_test_data): Likewise.
34920         (fma_test_data): Likewise.
34921         (fma_towardzero_test_data): Likewise.
34922         (fma_downward_test_data): Likewise.
34923         (fma_upward_test_data): Likewise.
34924         (fmax_test_data): Likewise.
34925         (fmin_test_data): Likewise.
34926         (fmod_test_data): Likewise.
34927         (fpclassify_test_data): Likewise.
34928         (frexp_test_data): Likewise.
34929         (gamma_test_data): Likewise.
34930         (hypot_test_data): Likewise.
34931         (ilogb_test_data): Likewise.
34932         (isfinite_test_data): Likewise.
34933         (isgreater_test_data): Likewise.
34934         (isgreaterequal_test_data): Likewise.
34935         (isinf_test_data): Likewise.
34936         (isless_test_data): Likewise.
34937         (islessequal_test_data): Likewise.
34938         (islessgreater_test_data): Likewise.
34939         (isnan_test_data): Likewise.
34940         (isnormal_test_data): Likewise.
34941         (issignaling_test_data): Likewise.
34942         (isunordered_test_data): Likewise.
34943         (j0_test_data): Likewise.
34944         (j1_test_data): Likewise.
34945         (jn_test_data): Likewise.
34946         (ldexp_test_data): Likewise.
34947         (lgamma_test_data): Likewise.
34948         (lrint_test_data): Likewise.
34949         (lrint_tonearest_test_data): Likewise.
34950         (lrint_towardzero_test_data): Likewise.
34951         (lrint_downward_test_data): Likewise.
34952         (lrint_upward_test_data): Likewise.
34953         (llrint_test_data): Likewise.
34954         (llrint_tonearest_test_data): Likewise.
34955         (llrint_towardzero_test_data): Likewise.
34956         (llrint_downward_test_data): Likewise.
34957         (llrint_upward_test_data): Likewise.
34958         (log_test_data): Likewise.
34959         (log10_test_data): Likewise.
34960         (log1p_test_data): Likewise.
34961         (log2_test_data): Likewise.
34962         (logb_test_data): Likewise.
34963         (logb_downward_test_data): Likewise.
34964         (lround_test_data): Likewise.
34965         (llround_test_data): Likewise.
34966         (modf_test_data): Likewise.
34967         (nearbyint_test_data): Likewise.
34968         (nextafter_test_data): Likewise.
34969         (nexttoward_test_data): Likewise.
34970         (pow_test_data): Likewise.
34971         (pow_tonearest_test_data): Likewise.
34972         (pow_towardzero_test_data): Likewise.
34973         (pow_downward_test_data): Likewise.
34974         (pow_upward_test_data): Likewise.
34975         (remainder_test_data): Likewise.
34976         (remainder_tonearest_test_data): Likewise.
34977         (remainder_towardzero_test_data): Likewise.
34978         (remainder_downward_test_data): Likewise.
34979         (remainder_upward_test_data): Likewise.
34980         (remquo_test_data): Likewise.
34981         (rint_test_data): Likewise.
34982         (rint_tonearest_test_data): Likewise.
34983         (rint_towardzero_test_data): Likewise.
34984         (rint_downward_test_data): Likewise.
34985         (rint_upward_test_data): Likewise.
34986         (round_test_data): Likewise.
34987         (scalb_test_data): Likewise.
34988         (scalbn_test_data): Likewise.
34989         (scalbln_test_data): Likewise.
34990         (signbit_test_data): Likewise.
34991         (sin_test_data): Likewise.
34992         (sin_tonearest_test_data): Likewise.
34993         (sin_towardzero_test_data): Likewise.
34994         (sin_downward_test_data): Likewise.
34995         (sin_upward_test_data): Likewise.
34996         (sincos_test_data): Likewise.
34997         (sinh_test_data): Likewise.
34998         (sinh_tonearest_test_data): Likewise.
34999         (sinh_towardzero_test_data): Likewise.
35000         (sinh_downward_test_data): Likewise.
35001         (sinh_upward_test_data): Likewise.
35002         (sqrt_test_data): Likewise.
35003         (tan_test_data): Likewise.
35004         (tan_tonearest_test_data): Likewise.
35005         (tan_towardzero_test_data): Likewise.
35006         (tan_downward_test_data): Likewise.
35007         (tan_upward_test_data): Likewise.
35008         (tanh_test_data): Likewise.
35009         (tgamma_test_data): Likewise.
35010         (trunc_test_data): Likewise.
35011         (y0_test_data): Likewise.
35012         (y1_test_data): Likewise.
35013         (yn_test_data): Likewise.
35014         (significand_test_data): Likewise.
35016         * math/gen-libm-test.pl (@functions): Remove variable.
35017         (generate_testfile): Don't handle START and END lines.
35018         * math/libm-test.inc (START): New macro.
35019         (END): Likewise.
35020         (END_COMPLEX): Likewise.
35021         (acos_test): Use END macro without arguments.
35022         (acos_test_tonearest): Likewise.
35023         (acos_test_towardzero): Likewise.
35024         (acos_test_downward): Likewise.
35025         (acos_test_upward): Likewise.
35026         (acosh_test): Likewise.
35027         (asin_test): Likewise.
35028         (asin_test_tonearest): Likewise.
35029         (asin_test_towardzero): Likewise.
35030         (asin_test_downward): Likewise.
35031         (asin_test_upward): Likewise.
35032         (asinh_test): Likewise.
35033         (atan_test): Likewise.
35034         (atanh_test): Likewise.
35035         (atan2_test): Likewise.
35036         (cabs_test): Likewise.
35037         (cacos_test): Use END_COMPLEX macro without arguments.
35038         (cacosh_test): Likewise.
35039         (carg_test): Use END macro without arguments.
35040         (casin_test): Use END_COMPLEX macro without arguments.
35041         (casinh_test): Likewise.
35042         (catan_test): Likewise.
35043         (catanh_test): Likewise.
35044         (cbrt_test): Use END macro without arguments.
35045         (ccos_test): Use END_COMPLEX macro without arguments.
35046         (ccosh_test): Likewise.
35047         (ceil_test): Use END macro without arguments.
35048         (cexp_test): Use END_COMPLEX macro without arguments.
35049         (cimag_test): Use END macro without arguments.
35050         (clog_test): Use END_COMPLEX macro without arguments.
35051         (clog10_test): Likewise.
35052         (conj_test): Likewise.
35053         (copysign_test): Use END macro without arguments.
35054         (cos_test): Likewise.
35055         (cos_test_tonearest): Likewise.
35056         (cos_test_towardzero): Likewise.
35057         (cos_test_downward): Likewise.
35058         (cos_test_upward): Likewise.
35059         (cosh_test): Likewise.
35060         (cosh_test_tonearest): Likewise.
35061         (cosh_test_towardzero): Likewise.
35062         (cosh_test_downward): Likewise.
35063         (cosh_test_upward): Likewise.
35064         (cpow_test): Use END_COMPLEX macro without arguments.
35065         (cproj_test): Likewise.
35066         (creal_test): Use END macro without arguments.
35067         (csin_test): Use END_COMPLEX macro without arguments.
35068         (csinh_test): Likewise.
35069         (csqrt_test): Likewise.
35070         (ctan_test): Likewise.
35071         (ctan_test_tonearest): Likewise.
35072         (ctan_test_towardzero): Likewise.
35073         (ctan_test_downward): Likewise.
35074         (ctan_test_upward): Likewise.
35075         (ctanh_test): Likewise.
35076         (ctanh_test_tonearest): Likewise.
35077         (ctanh_test_towardzero): Likewise.
35078         (ctanh_test_downward): Likewise.
35079         (ctanh_test_upward): Likewise.
35080         (erf_test): Use END macro without arguments.
35081         (erfc_test): Likewise.
35082         (exp_test): Likewise.
35083         (exp_test_tonearest): Likewise.
35084         (exp_test_towardzero): Likewise.
35085         (exp_test_downward): Likewise.
35086         (exp_test_upward): Likewise.
35087         (exp10_test): Likewise.
35088         (exp2_test): Likewise.
35089         (expm1_test): Likewise.
35090         (fabs_test): Likewise.
35091         (fdim_test): Likewise.
35092         (finite_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         (gamma_test): Likewise.
35104         (hypot_test): Likewise.
35105         (ilogb_test): Likewise.
35106         (isfinite_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         (lrint_test): Likewise.
35123         (lrint_test_tonearest): Likewise.
35124         (lrint_test_towardzero): Likewise.
35125         (lrint_test_downward): Likewise.
35126         (lrint_test_upward): Likewise.
35127         (llrint_test): Likewise.
35128         (llrint_test_tonearest): Likewise.
35129         (llrint_test_towardzero): Likewise.
35130         (llrint_test_downward): Likewise.
35131         (llrint_test_upward): Likewise.
35132         (log_test): Likewise.
35133         (log10_test): Likewise.
35134         (log1p_test): Likewise.
35135         (log2_test): Likewise.
35136         (logb_test): Likewise.
35137         (logb_test_downward): Likewise.
35138         (lround_test): Likewise.
35139         (llround_test): Likewise.
35140         (modf_test): Likewise.
35141         (nearbyint_test): Likewise.
35142         (nextafter_test): Likewise.
35143         (nexttoward_test): Likewise.
35144         (pow_test): Likewise.
35145         (pow_test_tonearest): Likewise.
35146         (pow_test_towardzero): Likewise.
35147         (pow_test_downward): Likewise.
35148         (pow_test_upward): Likewise.
35149         (remainder_test): Likewise.
35150         (remainder_test_tonearest): Likewise.
35151         (remainder_test_towardzero): Likewise.
35152         (remainder_test_downward): Likewise.
35153         (remainder_test_upward): Likewise.
35154         (remquo_test): Likewise.
35155         (rint_test): Likewise.
35156         (rint_test_tonearest): Likewise.
35157         (rint_test_towardzero): Likewise.
35158         (rint_test_downward): Likewise.
35159         (rint_test_upward): Likewise.
35160         (round_test): Likewise.
35161         (scalb_test): Likewise.
35162         (scalbn_test): Likewise.
35163         (scalbln_test): Likewise.
35164         (signbit_test): Likewise.
35165         (sin_test): Likewise.
35166         (sin_test_tonearest): Likewise.
35167         (sin_test_towardzero): Likewise.
35168         (sin_test_downward): Likewise.
35169         (sin_test_upward): Likewise.
35170         (sincos_test): Likewise.
35171         (sinh_test): Likewise.
35172         (sinh_test_tonearest): Likewise.
35173         (sinh_test_towardzero): Likewise.
35174         (sinh_test_downward): Likewise.
35175         (sinh_test_upward): Likewise.
35176         (sqrt_test): Likewise.
35177         (tan_test): Likewise.
35178         (tan_test_tonearest): Likewise.
35179         (tan_test_towardzero): Likewise.
35180         (tan_test_downward): Likewise.
35181         (tan_test_upward): Likewise.
35182         (tanh_test): Likewise.
35183         (tgamma_test): Likewise.
35184         (trunc_test): Likewise.
35185         (y0_test): Likewise.
35186         (y1_test): Likewise.
35187         (yn_test): Likewise.
35188         (significand_test): Likewise.
35190 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
35192         [BZ #15381]
35193         * libio/genops.c (_IO_no_init): Initialize wide struct info.
35195 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
35197         [BZ #14894]
35198         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
35199         __ppc_mdoio and __ppc_mdoom.
35200         * manual/platform.texi: Document new functions __ppc_yield,
35201         __ppc_mdoio and __ppc_mdoom.
35203 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
35205         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
35206         (main): Mention "tls" pseudo-hwcap is legacy.
35207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
35209 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
35211         * math/gen-libm-test.pl (parse_args): Output only string of
35212         arguments as text for test name, not full call or descriptions of
35213         tests for extra outputs.
35214         (generate_testfile): Do not pass function name to parse_args.
35215         Generate this_func variable from START.
35216         * math/libm-test.inc (struct test_f_f_data): Rename test_name
35217         field to arg_str.
35218         (struct test_ff_f_data): Likewise.
35219         (test_ff_f_data_nexttoward): Likewise.
35220         (struct test_fi_f_data): Likewise.
35221         (struct test_fl_f_data): Likewise.
35222         (struct test_if_f_data): Likewise.
35223         (struct test_fff_f_data): Likewise.
35224         (struct test_c_f_data): Likewise.
35225         (struct test_f_f1_data): Likewise.  Remove field extra_name.
35226         (struct test_fF_f1_data): Likewise.
35227         (struct test_ffI_f1_data): Likewise.
35228         (struct test_c_c_data): Rename test_name field to arg_str.
35229         (struct test_cc_c_data): Likewise.
35230         (struct test_f_i_data): Likewise.
35231         (struct test_ff_i_data): Likewise.
35232         (struct test_f_l_data): Likewise.
35233         (struct test_f_L_data): Likewise.
35234         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
35235         and extra2_name.
35236         (COMMON_TEST_SETUP): New macro.
35237         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
35238         (COMMON_TEST_CLEANUP): Likewise.
35239         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
35240         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
35241         macros.
35242         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
35243         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
35244         macros.
35245         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
35246         (RUN_TEST_fff_f): Take argument string.  Call new setup and
35247         cleanup macros.
35248         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
35249         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
35250         macros.
35251         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
35252         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
35253         macros.
35254         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35255         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
35256         cleanup macros.
35257         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35258         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
35259         cleanup macros.
35260         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35261         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
35262         cleanup macros.
35263         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35264         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
35265         macros.
35266         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
35267         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
35268         macros.
35269         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
35270         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
35271         macros.
35272         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
35273         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
35274         cleanup macros.
35275         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
35276         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
35277         cleanup macros.
35278         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
35279         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
35280         macros.
35281         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
35282         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
35283         cleanup macros.
35284         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
35285         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
35286         macros.
35287         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
35288         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
35289         macros.
35290         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
35291         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
35292         cleanup macros.
35293         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
35295 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
35297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
35298         to _sifields.sigfault.
35299         (si_addr_lsb): Define new macro.
35300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
35301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
35302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
35304 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
35306         [BZ #15441]
35307         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
35308         returns -1.
35309         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
35310         null return -1.
35311         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
35312         loading the domain.
35314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
35316         * math/gen-libm-test.pl (parse_args): Do not include expected
35317         result in test name.
35318         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
35319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35321         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35325 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35327         * benchtests/Makefile: Sort function entries.
35329         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
35330         tanh, asinh, acosh, atanh.
35331         * benchtests/acos-inputs: New file.
35332         * benchtests/acosh-inputs: New file.
35333         * benchtests/asin-inputs: New file.
35334         * benchtests/asinh-inputs: New file.
35335         * benchtests/atanh-inputs: New file.
35336         * benchtests/cosh-inputs: New file.
35337         * benchtests/log-inputs: New file.
35338         * benchtests/sinh-inputs: New file.
35339         * benchtests/tanh-inputs: New file.
35341 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
35343         [BZ #15339]
35344         * posix/tst-getaddrinfo4.c: New test.
35345         * posix/Makefile (tests): Add it.
35347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35349         [BZ #15339]
35350         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
35351         when no services were used.
35352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
35353         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
35355 2013-05-21  Andreas Schwab  <schwab@suse.de>
35357         [BZ #15014]
35358         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
35359         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
35360         successful.
35361         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
35362         redundant variable declarations and reallocation of buffer when
35363         parsing as IPv6 address.  Always set NSS status when called from
35364         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
35365         buffer too small.  Correct computation of needed size.
35366         * nss/Makefile (tests): Add test-digits-dots.
35367         * nss/test-digits-dots.c: New test.
35369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35371         * benchtests/Makefile: Remove instructions for adding
35372         benchmark tests.
35373         * benchtests/README: New file to explain how to execute and
35374         enhance the benchmark tests.
35376 2013-05-21  Andreas Schwab  <schwab@suse.de>
35378         [BZ #15493]
35379         * setjmp/Makefile (tests): Add tst-sigsetjmp.
35380         * setjmp/tst-sigsetjmp.c: New test.
35382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
35384         * sysdeps/x86_64/memset.S (memset): New implementation.
35385         (__bzero): Likewise.
35386         (__memset_tail): New function.
35388 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
35390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
35391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
35392         __memcpy_sse2_unaligned ifunc selection.
35393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
35394         Add memcpy-sse2-unaligned.S.
35395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35396         Add: __memcpy_sse2_unaligned.
35398 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
35400         [BZ #15490]
35401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35402         math_force_eval before restoring floating-point envrionment.
35403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
35404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35405         Likewise.
35406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
35407         <math_private.h>.
35408         (__nearbyintl): Use math_force_eval before restoring
35409         floating-point environment.
35410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
35412         * math/gen-libm-test.pl (special_functions): Remove.
35413         (parse_args): Don't handle TEST_extra.  Handle functions with no
35414         return value.
35415         * math/libm-test.inc (struct test_sincos_data): Replace with
35416         struct test_fFF_11_data.
35417         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
35418         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
35419         (sincos_test_data): Change element type to struct
35420         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
35421         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
35422         RUN_TEST_LOOP_sincos.
35423         * math/README.libm-test: Don't mention special handling of
35424         individual functions.
35425         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
35426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
35428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
35430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35432         * math/gen-libm-test.pl (get_variable): Remove function.
35433         (parse_args): Don't show pointer parameters to call in test
35434         names.  Use "extra output N" in test names for extra outputs
35435         rather than naming variables.
35437 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
35439         [BZ #15488]
35440         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
35441         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
35442         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
35443         double tests.
35444         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
35445         disable.
35446         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
35447         check_long_double.
35449         * math/gen-libm-test.pl (@tests): Remove variable.
35450         ($count): Likewise.
35451         (new_test): Remove function.
35452         (show_exceptions): New function.
35453         (special_functions): Use show_exceptions instead of new_test.
35454         (parse_args): Likewise.
35455         (generate_testfile): Pass only function name in generated call to
35456         print_max_error or print_complex_max_error.
35457         (get_ulps): Do not handle complex tests specially.
35458         (output_test): Rename to ...
35459         (get_all_ulps_for_test): ... this.  Return a string rather than
35460         printing to a file.  Require ulps to be present.
35461         (output_ulps): Generate arrays rather than #defines.
35462         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
35463         (struct ulp_data): New type.
35464         (BUILD_COMPLEX_ULP): Remove macro.
35465         (compare_ulp_data): New function.
35466         (find_ulps): Likewise.
35467         (find_test_ulps): Likewise.
35468         (find_function_ulps): Likewise.
35469         (find_complex_function_ulps): Likewise.
35470         (print_max_error): Determine allowed ulps using
35471         find_function_ulps.
35472         (print_complex_max_error): Determine allowed ulps using
35473         find_complex_function_ulps.
35474         (check_float_internal): Determine max ulps using find_test_ulps.
35475         (check_float): Do not take max_ulp parameter.  Update call to
35476         check_float_internal.
35477         (check_complex): Likewise.
35478         (check_int): Do not take max_ulp parameter.
35479         (check_long): Likewise.
35480         (check_bool): Likewise.
35481         (check_longlong): Likewise.
35482         (struct test_f_f_data): Remove max_ulp field.
35483         (struct test_ff_f_data): Likewise.
35484         (struct test_ff_f_data_nexttoward): Likewise.
35485         (struct test_fi_f_data): Likewise.
35486         (struct test_fl_f_data): Likewise.
35487         (struct test_if_f_data): Likewise.
35488         (struct test_fff_f_data): Likewise.
35489         (struct test_c_f_data): Likewise.
35490         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
35491         (struct test_fF_f1_data): Likewise.
35492         (struct test_ffI_f1_data): Likewise.
35493         (struct test_c_c_data): Remove max_ulp field.
35494         (struct test_cc_c_data): Likewise.
35495         (struct test_f_i_data): Likewise.
35496         (struct test_ff_i_data): Likewise.
35497         (struct test_f_l_data): Likewise.
35498         (struct test_f_L_data): Likewise.
35499         (struct test_sincos_data): Likewise.
35500         (RUN_TEST_f_f): Do not handle ulps.
35501         (RUN_TEST_LOOP_f_f): Likewise.
35502         (RUN_TEST_2_f): Likewise.
35503         (RUN_TEST_LOOP_2_f): Likewise.
35504         (RUN_TEST_fff_f): Likewise.
35505         (RUN_TEST_LOOP_fff_f): Likewise.
35506         (RUN_TEST_c_f): Likewise.
35507         (RUN_TEST_LOOP_c_f): Likewise.
35508         (RUN_TEST_f_f1): Likewise.
35509         (RUN_TEST_LOOP_f_f1): Likewise.
35510         (RUN_TEST_fF_f1): Likewise.
35511         (RUN_TEST_LOOP_fF_f1): Likewise.
35512         (RUN_TEST_fI_f1): Likewise.
35513         (RUN_TEST_LOOP_fI_f1): Likewise.
35514         (RUN_TEST_ffI_f1): Likewise.
35515         (RUN_TEST_LOOP_ffI_f1): Likewise.
35516         (RUN_TEST_c_c): Likewise.
35517         (RUN_TEST_LOOP_c_c): Likewise.
35518         (RUN_TEST_cc_c): Likewise.
35519         (RUN_TEST_LOOP_cc_c): Likewise.
35520         (RUN_TEST_f_i): Likewise.
35521         (RUN_TEST_LOOP_f_i): Likewise.
35522         (RUN_TEST_f_i_tg): Likewise.
35523         (RUN_TEST_LOOP_f_i_tg): Likewise.
35524         (RUN_TEST_ff_i_tg): Likewise.
35525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
35526         (RUN_TEST_f_b): Likewise.
35527         (RUN_TEST_LOOP_f_b): Likewise.
35528         (RUN_TEST_f_b_tg): Likewise.
35529         (RUN_TEST_LOOP_f_b_tg): Likewise.
35530         (RUN_TEST_f_l): Likewise.
35531         (RUN_TEST_LOOP_f_l): Likewise.
35532         (RUN_TEST_f_L): Likewise.
35533         (RUN_TEST_LOOP_f_L): Likewise.
35534         (RUN_TEST_sincos): Likewise.
35535         (RUN_TEST_LOOP_sincos): Likewise.
35537 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
35539         [BZ #15480]
35540         [BZ #15485]
35541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
35542         main case of finite arguments, set rounding mode to FE_TONEAREST
35543         and discard exceptions.
35544         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
35545         exceptions.
35546         (remainder_tonearest_test_data): New variable.
35547         (remainder_test_tonearest): New function.
35548         (remainder_towardzero_test_data): New variable.
35549         (remainder_test_towardzero): New function.
35550         (remainder_downward_test_data): New variable.
35551         (remainder_test_downward): New function.
35552         (remainder_upward_test_data): New variable.
35553         (remainder_test_upward): New function.
35554         (main): Call the new test functions.
35556         * math/libm-test.inc (struct test_f_f1_data): Remove field
35557         extra_init.
35558         (struct test_fF_f1_data): Likewise.
35559         (struct test_ffI_f1_data): Likewise.
35560         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
35561         based on value of EXTRA_EXPECTED.
35562         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
35563         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
35564         EXTRA_VAR based on value of EXTRA_EXPECTED.
35565         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
35566         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
35567         EXTRA_VAR based on value of EXTRA_EXPECTED.
35568         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
35569         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
35570         EXTRA_VAR based on value of EXTRA_EXPECTED.
35571         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
35572         * math/gen-libm-test.pl (parse_args): Don't output initializers
35573         for extra output values.
35575         * math/libm-test.inc (check_int): Expect result to be exactly
35576         equal to expected value and do not handle ulps.
35577         (check_long): Likewise.
35578         (check_longlong): Likewise.
35580         * math/libm-test.inc (ceil_test_data): Test for "inexact"
35581         exceptions.
35582         (cimag_test_data): Likewise.
35583         (conj_test_data): Likewise.
35584         (copysign_test_data): Likewise.
35585         (cproj_test_data): Likewise.
35586         (creal_test_data): Likewise.
35587         (fabs_test_data): Likewise.
35588         (fdim_test_data): Likewise.
35589         (finite_test_data): Likewise.
35590         (floor_test_data): Likewise.
35591         (fmax_test_data): Likewise.
35592         (fmin_test_data): Likewise.
35593         (fmod_test_data): Likewise.
35594         (fpclassify_test_data): Likewise.
35595         (frexp_test_data): Likewise.
35596         (ilogb_test_data): Likewise.
35597         (isfinite_test_data): Likewise.
35598         (isgreater_test_data): Likewise.
35599         (isgreaterequal_test_data): Likewise.
35600         (isinf_test_data): Likewise.
35601         (isless_test_data): Likewise.
35602         (islessequal_test_data): Likewise.
35603         (islessgreater_test_data): Likewise.
35604         (isnan_test_data): Likewise.
35605         (isnormal_test_data): Likewise.
35606         (issignaling_test_data): Likewise.
35607         (isunordered_test_data): Likewise.
35608         (ldexp_test_data): Likewise.
35609         (lrint_test_data): Likewise.
35610         (lrint_test_data) [TEST_FLOAT]: Disable one test.
35611         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
35612         (lrint_tonearest_test_data): Test for "inexact" exceptions.
35613         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35614         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
35615         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35616         test input.
35617         (lrint_towardzero_test_data): Test for "inexact" exceptions.
35618         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35619         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
35620         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
35621         that test input.
35622         (lrint_downward_test_data): Test for "inexact" exceptions.
35623         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35624         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
35625         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
35626         test input.
35627         (lrint_upward_test_data): Test for "inexact" exceptions.
35628         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
35629         test input.
35630         (llrint_test_data): Test for "inexact" exceptions.
35631         (llrint_test_data) [TEST_FLOAT]: Disable one test.
35632         (llrint_tonearest_test_data): Test for "inexact" exceptions.
35633         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
35634         (llrint_towardzero_test_data): Test for "inexact" exceptions.
35635         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
35636         (llrint_downward_test_data): Test for "inexact" exceptions.
35637         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
35638         (llrint_upward_test_data): Test for "inexact" exceptions.
35639         (logb_test_data): Likewise.
35640         (logb_downward_test_data): Likewise.
35641         (nextafter_test_data): Likewise.
35642         (nexttoward_test_data): Likewise.
35643         (remainder_test_data): Likewise.
35644         (remquo_test_data): Likewise.
35645         (scalbn_test_data): Likewise.
35646         (scalbln_test_data): Likewise.
35647         (signbit_test_data): Likewise.
35648         (sqrt_test_data): Likewise.
35649         (significand_test_data): Likewise.
35651 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35653         [BZ #15424]
35654         * benchtests/bench-modf.c (struct args): Mark arg0 as
35655         volatile.
35656         * scripts/bench.pl: Mark members of struct args as volatile.
35658 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35660         [BZ # 15497]
35661         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
35662         negative infinity on POWER6 or lower.
35663         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
35665 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35667         [BZ #15442]
35668         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
35669         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
35670         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
35671         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
35672         (_FP_SETQNAN): New macro.
35673         (_FP_SETQNAN_SEMIRAW): Likewise.
35674         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
35675         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
35676         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
35677         (FP_EXTEND): Use _FP_FRAC_SNANP.
35678         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
35679         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
35680         into account.
35681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35682         New macro.
35683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
35684         Likewise.
35686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
35688         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
35689         with DIVIDE_BY_ZERO_EXCEPTION.
35690         (gamma_test_data): Likewise.
35691         (lgamma_test_data): Likewise.
35692         (log_test_data): Likewise.
35693         (log10_test_data): Likewise.
35694         (log2_test_data): Likewise.
35695         (tgamma_test_data): Likewise.
35697         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
35698         (acos_test_tonearest): Likewise.
35699         (acos_test_towardzero): Likewise.
35700         (acos_test_downward): Likewise.
35701         (acos_test_upward): Likewise.
35702         (acosh_test): Likewise.
35703         (asin_test): Likewise.
35704         (asin_test_tonearest): Likewise.
35705         (asin_test_towardzero): Likewise.
35706         (asin_test_downward): Likewise.
35707         (asin_test_upward): Likewise.
35708         (asinh_test): Likewise.
35709         (atan_test): Likewise.
35710         (atanh_test): Likewise.
35711         (atan2_test): Likewise.
35712         (cabs_test): Likewise.
35713         (cacos_test): Likewise.
35714         (cacosh_test): Likewise.
35715         (casin_test): Likewise.
35716         (casinh_test): Likewise.
35717         (catan_test): Likewise.
35718         (catanh_test): Likewise.
35719         (cbrt_test): Likewise.
35720         (ccos_test): Likewise.
35721         (ccosh_test): Likewise.
35722         (cexp_test): Likewise.
35723         (clog_test): Likewise.
35724         (clog10_test): Likewise.
35725         (cos_test): Likewise.
35726         (cos_test_tonearest): Likewise.
35727         (cos_test_towardzero): Likewise.
35728         (cos_test_downward): Likewise.
35729         (cos_test_upward): Likewise.
35730         (cosh_test): Likewise.
35731         (cosh_test_tonearest): Likewise.
35732         (cosh_test_towardzero): Likewise.
35733         (cosh_test_downward): Likewise.
35734         (cosh_test_upward): Likewise.
35735         (cpow_test): Likewise.
35736         (csin_test): Likewise.
35737         (csinh_test): Likewise.
35738         (csqrt_test): Likewise.
35739         (ctan_test): Likewise.
35740         (ctan_test_tonearest): Likewise.
35741         (ctan_test_towardzero): Likewise.
35742         (ctan_test_downward): Likewise.
35743         (ctan_test_upward): Likewise.
35744         (ctanh_test): Likewise.
35745         (ctanh_test_tonearest): Likewise.
35746         (ctanh_test_towardzero): Likewise.
35747         (ctanh_test_downward): Likewise.
35748         (ctanh_test_upward): Likewise.
35749         (erf_test): Likewise.
35750         (erfc_test): Likewise.
35751         (exp_test): Likewise.
35752         (exp_test_tonearest): Likewise.
35753         (exp_test_towardzero): Likewise.
35754         (exp_test_downward): Likewise.
35755         (exp_test_upward): Likewise.
35756         (exp10_test): Likewise.
35757         (exp2_test): Likewise.
35758         (expm1_test): Likewise.
35759         (fmod_test): Likewise.
35760         (gamma_test): Likewise.
35761         (hypot_test): Likewise.
35762         (j0_test): Likewise.
35763         (j1_test): Likewise.
35764         (jn_test): Likewise.
35765         (lgamma_test): Likewise.
35766         (log_test): Likewise.
35767         (log10_test): Likewise.
35768         (log1p_test): Likewise.
35769         (log2_test): Likewise.
35770         (logb_test_downward): Likewise.
35771         (pow_test): Likewise.
35772         (pow_test_tonearest): Likewise.
35773         (pow_test_towardzero): Likewise.
35774         (pow_test_downward): Likewise.
35775         (pow_test_upward): Likewise.
35776         (remainder_test): Likewise.
35777         (remquo_test): Likewise.
35778         (sin_test): Likewise.
35779         (sin_test_tonearest): Likewise.
35780         (sin_test_towardzero): Likewise.
35781         (sin_test_downward): Likewise.
35782         (sin_test_upward): Likewise.
35783         (sincos_test): Likewise.
35784         (sinh_test): Likewise.
35785         (sinh_test_tonearest): Likewise.
35786         (sinh_test_towardzero): Likewise.
35787         (sinh_test_downward): Likewise.
35788         (sinh_test_upward): Likewise.
35789         (sqrt_test): Likewise.
35790         (tan_test): Likewise.
35791         (tan_test_tonearest): Likewise.
35792         (tan_test_towardzero): Likewise.
35793         (tan_test_downward): Likewise.
35794         (tan_test_upward): Likewise.
35795         (tanh_test): Likewise.
35796         (tgamma_test): Likewise.
35797         (y0_test): Likewise.
35798         (y1_test): Likewise.
35799         (yn_test): Likewise.
35801         * math/gen-libm-test.pl (adjust_arg): Remove function.
35802         (special_function): Remove argument $in_func.  Only handle
35803         generating output for tables of tests, not inside functions.
35804         (parse_args): Likewise.
35805         (generate_testfile): Remove variable $in_func.  Update call to
35806         parse_args.
35807         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
35808         (MINUS_ZERO_INIT): Rename macro to minus_zero.
35809         (PLUS_INFTY_INIT): Rename macro to plus_infty.
35810         (MINUS_INFTY_INIT): Rename macro to minus_infty.
35811         (QNAN_VALUE_INIT): Rename macro to qnan_value.
35812         (MAX_VALUE_INIT): Rename macro to max_value.
35813         (MIN_VALUE_INIT): Rename macro to min_value.
35814         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
35815         (plus_zero): Remove variable.
35816         (minus_zero): Likewise.
35817         (plus_infty): Likewise.
35818         (minus_infty): Likewise.
35819         (qnan_value): Likewise.
35820         (max_value): Likewise.
35821         (min_value): Likewise.
35822         (min_subnorm_value): Likewise.
35824 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
35826         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
35827         uint64_t or uint32_t usage.
35828         * crypt/sha256-block.c: Likewise.
35829         * crypt/sha256-crypt.c: Likewise.
35830         * crypt/sha256.c: Likewise.
35831         * crypt/sha512-block.c: Likewise.
35832         * crypt/sha512-crypt.c: Likewise.
35833         * crypt/sha512.c: Likewise.
35834         * debug/backtrace-tst.c: Likewise.
35835         * debug/pcprofiledump.c: Likewise.
35836         * elf/cache.c: Likewise.
35837         * elf/dl-cache.c: Likewise.
35838         * elf/dl-misc.c: Likewise.
35839         * elf/dl-profile.c: Likewise.
35840         * elf/dl-support.c: Likewise.
35841         * elf/ldconfig.c: Likewise.
35842         * elf/sprof.c: Likewise.
35843         * iconv/dummy-repertoire.c: Likewise.
35844         * iconv/iconv_charmap.c: Likewise.
35845         * iconv/skeleton.c: Likewise.
35846         * iconvdata/8bit-generic.c: Likewise.
35847         * iconvdata/cp737.h: Likewise.
35848         * iconvdata/cp775.h: Likewise.
35849         * iconvdata/ibm1008.h: Likewise.
35850         * iconvdata/ibm1025.h: Likewise.
35851         * iconvdata/ibm1046.h: Likewise.
35852         * iconvdata/ibm1097.h: Likewise.
35853         * iconvdata/ibm1112.h: Likewise.
35854         * iconvdata/ibm1122.h: Likewise.
35855         * iconvdata/ibm1123.h: Likewise.
35856         * iconvdata/ibm1124.h: Likewise.
35857         * iconvdata/ibm1129.h: Likewise.
35858         * iconvdata/ibm1130.h: Likewise.
35859         * iconvdata/ibm1132.h: Likewise.
35860         * iconvdata/ibm1133.h: Likewise.
35861         * iconvdata/ibm1137.h: Likewise.
35862         * iconvdata/ibm1140.h: Likewise.
35863         * iconvdata/ibm1141.h: Likewise.
35864         * iconvdata/ibm1142.h: Likewise.
35865         * iconvdata/ibm1143.h: Likewise.
35866         * iconvdata/ibm1144.h: Likewise.
35867         * iconvdata/ibm1145.h: Likewise.
35868         * iconvdata/ibm1146.h: Likewise.
35869         * iconvdata/ibm1147.h: Likewise.
35870         * iconvdata/ibm1148.h: Likewise.
35871         * iconvdata/ibm1149.h: Likewise.
35872         * iconvdata/ibm1153.h: Likewise.
35873         * iconvdata/ibm1154.h: Likewise.
35874         * iconvdata/ibm1155.h: Likewise.
35875         * iconvdata/ibm1156.h: Likewise.
35876         * iconvdata/ibm1157.h: Likewise.
35877         * iconvdata/ibm1158.h: Likewise.
35878         * iconvdata/ibm1160.h: Likewise.
35879         * iconvdata/ibm1161.h: Likewise.
35880         * iconvdata/ibm1162.h: Likewise.
35881         * iconvdata/ibm1163.h: Likewise.
35882         * iconvdata/ibm1164.h: Likewise.
35883         * iconvdata/ibm1166.h: Likewise.
35884         * iconvdata/ibm1167.h: Likewise.
35885         * iconvdata/ibm12712.h: Likewise.
35886         * iconvdata/ibm1390.h: Likewise.
35887         * iconvdata/ibm1399.h: Likewise.
35888         * iconvdata/ibm16804.h: Likewise.
35889         * iconvdata/ibm4517.h: Likewise.
35890         * iconvdata/ibm4899.h: Likewise.
35891         * iconvdata/ibm4909.h: Likewise.
35892         * iconvdata/ibm4971.h: Likewise.
35893         * iconvdata/ibm5347.h: Likewise.
35894         * iconvdata/ibm803.h: Likewise.
35895         * iconvdata/ibm856.h: Likewise.
35896         * iconvdata/ibm901.h: Likewise.
35897         * iconvdata/ibm902.h: Likewise.
35898         * iconvdata/ibm9030.h: Likewise.
35899         * iconvdata/ibm9066.h: Likewise.
35900         * iconvdata/ibm921.h: Likewise.
35901         * iconvdata/ibm922.h: Likewise.
35902         * iconvdata/ibm9448.h: Likewise.
35903         * iconvdata/isiri-3342.h: Likewise.
35904         * iconvdata/jis0201.h: Likewise.
35905         * include/link.h: Likewise.
35906         * include/netdb.h: Likewise.
35907         * inet/check_native.c: Likewise.
35908         * inet/check_pf.c: Likewise.
35909         * inet/getipv4sourcefilter.c: Likewise.
35910         * inet/getnameinfo.c: Likewise.
35911         * inet/getsourcefilter.c: Likewise.
35912         * inet/htonl.c: Likewise.
35913         * inet/setipv4sourcefilter.c: Likewise.
35914         * inet/setsourcefilter.c: Likewise.
35915         * inet/test-inet6_opt.c: Likewise.
35916         * inet/tst-network.c: Likewise.
35917         * locale/C-collate.c: Likewise.
35918         * locale/C-ctype.c: Likewise.
35919         * locale/C-time.c: Likewise.
35920         * locale/C-translit.h: Likewise.
35921         * locale/loadarchive.c: Likewise.
35922         * locale/programs/3level.h: Likewise.
35923         * locale/programs/charmap.c: Likewise.
35924         * locale/programs/charmap.h: Likewise.
35925         * locale/programs/ld-address.c: Likewise.
35926         * locale/programs/ld-collate.c: Likewise.
35927         * locale/programs/ld-ctype.c: Likewise.
35928         * locale/programs/ld-identification.c: Likewise.
35929         * locale/programs/ld-measurement.c: Likewise.
35930         * locale/programs/ld-messages.c: Likewise.
35931         * locale/programs/ld-monetary.c: Likewise.
35932         * locale/programs/ld-name.c: Likewise.
35933         * locale/programs/ld-numeric.c: Likewise.
35934         * locale/programs/ld-paper.c: Likewise.
35935         * locale/programs/ld-telephone.c: Likewise.
35936         * locale/programs/ld-time.c: Likewise.
35937         * locale/programs/linereader.c: Likewise.
35938         * locale/programs/locale.c: Likewise.
35939         * locale/programs/locarchive.c: Likewise.
35940         * locale/programs/locfile.h: Likewise.
35941         * locale/programs/repertoire.c: Likewise.
35942         * locale/programs/simple-hash.c: Likewise.
35943         * locale/programs/simple-hash.h: Likewise.
35944         * malloc/memusage.c: Likewise.
35945         * malloc/memusagestat.c: Likewise.
35946         * nis/nis_defaults.c: Likewise.
35947         * nis/nis_hash.c: Likewise.
35948         * nis/nis_print.c: Likewise.
35949         * nis/nis_xdr.c: Likewise.
35950         * nscd/connections.c: Likewise.
35951         * nscd/hstcache.c: Likewise.
35952         * nscd/nscd_gethst_r.c: Likewise.
35953         * nscd/nscd_getserv_r.c: Likewise.
35954         * nscd/nscd_helper.c: Likewise.
35955         * nscd/servicescache.c: Likewise.
35956         * nss/makedb.c: Likewise.
35957         * nss/nss_db/db-XXX.c: Likewise.
35958         * nss/nss_db/db-initgroups.c: Likewise.
35959         * nss/nss_db/db-netgrp.c: Likewise.
35960         * nss/nss_files/files-network.c: Likewise.
35961         * nss/nss_files/files-parse.c: Likewise.
35962         * posix/bug-regex5.c: Likewise.
35963         * posix/fnmatch_loop.c: Likewise.
35964         * posix/regcomp.c: Likewise.
35965         * posix/regexec.c: Likewise.
35966         * posix/tst-rfc3484-2.c: Likewise.
35967         * posix/tst-rfc3484-3.c: Likewise.
35968         * posix/tst-rfc3484.c: Likewise.
35969         * resolv/nss_dns/dns-canon.c: Likewise.
35970         * resolv/nss_dns/dns-network.c: Likewise.
35971         * resolv/res_init.c: Likewise.
35972         * resolv/res_mkquery.c: Likewise.
35973         * resolv/tst-aton.c: Likewise.
35974         * stdlib/cxa_atexit.c: Likewise.
35975         * stdlib/cxa_finalize.c: Likewise.
35976         * stdlib/gen-fpioconst.c: Likewise.
35977         * stdlib/strtol_l.c: Likewise.
35978         * string/tst-endian.c: Likewise.
35979         * sunrpc/auth_des.c: Likewise.
35980         * sunrpc/clnt_udp.c: Likewise.
35981         * sunrpc/rtime.c: Likewise.
35982         * sunrpc/svcauth_des.c: Likewise.
35983         * sunrpc/xdr.c: Likewise.
35984         * sunrpc/xdr_intXX_t.c: Likewise.
35985         * sunrpc/xdr_rec.c: Likewise.
35986         * sysdeps/generic/ldconfig.h: Likewise.
35987         * sysdeps/generic/ldsodefs.h: Likewise.
35988         * sysdeps/generic/memusage.h: Likewise.
35989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
35991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
35992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
35999         * sysdeps/posix/getaddrinfo.c: Likewise.
36000         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
36001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36002         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
36003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36004         * sysdeps/powerpc/test-gettimebase.c: Likewise.
36005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
36006         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
36007         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
36008         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
36009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
36010         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36012         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
36013         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
36014         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
36015         * sysdeps/x86_64/dl-tls.h: Likewise.
36016         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
36017         * time/alt_digit.c: Likewise.
36018         * time/era.c: Likewise.
36019         * wcsmbs/tst-c16c32-1.c: Likewise.
36021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36023         * math/libm-test.inc (struct test_sincos_data): New type.
36024         (RUN_TEST_LOOP_sincos): New macro.
36025         (sincos_test_data): New variable.
36026         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
36028 2013-05-16  Richard Henderson  <rth@redhat.com>
36030         * math/atest-exp2.c (LIMB64): New macro.
36031         (CONSTSZ): New macro.
36032         (mp_exp1, mp_exp_m1, mp_log2): New variables.
36033         (hexdig): Move ...
36034         (print_mpn_fp): ... to function scope.
36035         (read_mpn_hex): Remove.
36036         (get_log2): Remove.
36037         (exp2_mpn): Use mp_log2.
36038         (main): Use mp_exp1.
36040 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
36042         * math/libm-test.inc: Remove comment about not testing "inexact"
36043         exceptions.
36044         (INEXACT_EXCEPTION): New macro.
36045         (NO_INEXACT_EXCEPTION): Likewise.
36046         (INVALID_EXCEPTION_OK): Update value.
36047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36048         (OVERFLOW_EXCEPTION_OK): Likewise.
36049         (UNDERFLOW_EXCEPTION_OK): Likewise.
36050         (IGNORE_ZERO_INF_SIGN): Likewise.
36051         (ERRNO_UNCHANGED): Likewise.
36052         (ERRNO_EDOM): Likewise.
36053         (ERRNO_ERANGE): Likewise.
36054         (test_exceptions): Handle testing "inexact" exceptions.
36055         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
36056         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
36057         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
36058         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
36059         INEXACT_EXCEPTION.
36060         (rint_towardzero_test_data): Likewise.
36061         (rint_downward_test_data): Likewise.
36062         (rint_upward_test_data): Likewise.
36064         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
36065         with OVERFLOW_EXCEPTION.
36066         (exp10_test_data): Likewise.
36067         (exp2_test_data): Likewise.
36068         (expm1_test_data): Likewise.
36069         (lgamma_test_data): Likewise.
36070         (pow_test_data): Likewise.
36071         (tgamma_test_data): Likewise.
36072         (yn_test_data): Remove duplicate test of overflow.
36074         * math/libm-test.inc (struct test_cc_c_data): New type.
36075         (RUN_TEST_LOOP_cc_c): New macro.
36076         (cpow_test_data): New variable.
36077         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
36079         * math/libm-test.inc (struct test_f_L_data): New type.
36080         (RUN_TEST_LOOP_f_L): New macro.
36081         (llrint_test_data): New variable.
36082         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
36083         (llrint_tonearest_test_data): New variable.
36084         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
36085         (llrint_towardzero_test_data): New variable.
36086         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
36087         (llrint_downward_test_data): New variable.
36088         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
36089         (llrint_upward_test_data): New variable.
36090         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
36091         (llround_test_data): New variable.
36092         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
36094 2013-05-13  Peter Collingbourne  <pcc@google.com>
36096         * math/atest-exp2.c (get_log2): Remove const attribute.
36098 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36100         * math/libm-test.inc (struct test_f_l_data): New type.
36101         (RUN_TEST_LOOP_f_l): New macro.
36102         (lrint_test_data): New variable.
36103         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
36104         (lrint_tonearest_test_data): New variable.
36105         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
36106         (lrint_towardzero_test_data): New variable.
36107         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
36108         (lrint_downward_test_data): New variable.
36109         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
36110         (lrint_upward_test_data): New variable.
36111         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
36112         (lround_test_data): New variable.
36113         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
36115 2013-05-15  Peter Collingbourne  <pcc@google.com>
36117         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
36118         (EXTRACT_WORDS64) Use where appropriate.
36119         (INSERT_WORDS64) Likewise.
36121         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
36122         constraints with x constraints.
36123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
36125         * malloc/obstack.c (_obstack_compat): Add initializer.
36127 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
36129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
36130         si_trapno and add si_addr_lsb to _sifields.sigfault.
36131         (si_trapno): Remove macro.
36132         (si_addr_lsb): Define new macro.
36133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
36135 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
36137         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
36138         instead of TEST_f_l.
36139         (llrint_test_tonearest): Likewise.
36140         (llrint_test_towardzero): Likewise.
36141         (llrint_test_downward): Likewise.
36142         (llrint_test_upward): Likewise.
36143         (llround_test): Likewise.
36145         * math/libm-test.inc (struct test_f_i_data): Add comment.
36146         (RUN_TEST_LOOP_f_b): New macro.
36147         (RUN_TEST_LOOP_f_b_tg): Likewise.
36148         (finite_test_data): New variable.
36149         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
36150         (isfinite_test_data): New variable.
36151         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36152         (isinf_test_data): New variable.
36153         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36154         (isnan_test_data): New variable.
36155         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36156         (isnormal_test_data): New variable.
36157         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36158         (issignaling_test_data): New variable.
36159         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36160         (signbit_test_data): New variable.
36161         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
36163         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
36164         with INVALID_EXCEPTION.
36165         (acosh_test_data): Likewise.
36166         (asin_test_data): Likewise.
36167         (atanh_test_data): Likewise.
36168         (fmod_test_data): Likewise.
36169         (log_test_data): Likewise.
36170         (log10_test_data): Likewise.
36171         (log2_test_data): Likewise.
36172         (pow_test_data): Likewise.
36173         (sqrt_test_data): Likewise.
36174         (y0_test_data): Likewise.
36175         (y1_test_data): Likewise.
36176         (yn_test_data): Likewise.
36178         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
36179         function contents.
36181         * math/libm-test.inc (struct test_ff_i_data): New type.
36182         (RUN_TEST_LOOP_ff_i_tg): New macro.
36183         (isgreater_test_data): New variable.
36184         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36185         (isgreaterequal_test_data): New variable.
36186         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36187         (isless_test_data): New variable.
36188         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36189         (islessequal_test_data): New variable.
36190         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36191         (islessgreater_test_data): New variable.
36192         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36193         (isunordered_test_data): New variable.
36194         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
36196 2013-05-14  David S. Miller  <davem@davemloft.net>
36198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36200 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
36202         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
36204         * math/libm-test.inc (struct test_fF_f1_data): Change type of
36205         extra_test to int.
36206         (struct test_f_i_data): Change type of max_ulp to int.
36208         * math/libm-test.inc (test_ffI_f1_data): New type.
36209         (RUN_TEST_LOOP_ffI_f1): New macro.
36210         (remquo_test_data): New variable.
36211         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
36213         * setjmp/tst-setjmp-fp.c: New file.
36214         * setjmp/Makefile (tests): Add tst-setjmp-fp.
36215         (link-libm): New variable.
36216         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
36218         * math/libm-test.inc (struct test_f_i_data): New type.
36219         (RUN_TEST_LOOP_f_i): New macro.
36220         (RUN_TEST_LOOP_f_i_tg): Likewise.
36221         (fpclassify_test_data): New variable.
36222         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
36223         (ilogb_test_data): New variable.
36224         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
36226         * math/libm-test.inc (scalbln_test): Correct function name in END
36227         call.
36229         * math/libm-test.inc (struct test_f_f1_data): Add comment.
36230         (RUN_TEST_LOOP_fI_f1): New macro.
36231         (frexp_test_data): New variable.
36232         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
36234         * math/libm-test.inc (struct test_fF_f1_data): New type.
36235         (RUN_TEST_LOOP_fF_f1): New macro.
36236         (modf_test_data): New variable.
36237         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
36239         * math/libm-test.inc (struct test_f_f1_data): New type.
36240         (RUN_TEST_LOOP_f_f1): New macro.
36241         (gamma_test_data): New variable.
36242         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36243         (lgamma_test_data): New variable.
36244         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
36246 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
36248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
36249         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
36250         (main): Comment "tls" pseudo-hwcap.
36252 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
36254         * math/libm-test.inc (struct test_fl_f_data): New type.
36255         (RUN_TEST_LOOP_fl_f): New variable.
36256         (scalbln_test_data): New variable.
36257         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
36259         * math/libm-test.inc (struct test_fi_f_data): New type.
36260         (RUN_TEST_LOOP_fi_f): New macro.
36261         (ldexp_test_data): New variable.
36262         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
36263         (scalbn_test_data): New variable.
36264         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
36266         * math/libm-test.inc (struct test_c_f_data): New type.
36267         (RUN_TEST_LOOP_c_f): New macro.
36268         (cabs_test_data): New variable.
36269         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
36270         (carg_test_data): New variable.
36271         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
36272         (cimag_test_data): New variable.
36273         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
36274         (creal_test_data): New variable.
36275         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
36277         * math/libm-test.inc (struct test_if_f_data): New type.
36278         (RUN_TEST_LOOP_if_f): New macro.
36279         (jn_test_data): New variable.
36280         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
36281         (yn_test_data): New variable.
36282         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
36284         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
36286 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36288         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
36289         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
36291 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36293         * benchtests/Makefile (CPPFLAGS-nonlib): Add
36294         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
36295         (bench-deps): Add bench-timing.h.
36296         * benchtests-bench-skeleton.c: Include bench-timing.h.
36297         (main): Use TIMING_* macros instead of clock_gettime.
36298         * benchtests/bench-timing.h: New file.
36300         [BZ #14582]
36301         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
36302         Renamed from _LIB_VERSION.
36303         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
36305 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
36307         * math/libm-test.inc (struct test_fff_f_data): New type.
36308         (RUN_TEST_LOOP_fff_f): New macro.
36309         (fma_test_data): New variable.
36310         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
36311         (fma_towardzero_test_data): New variable.
36312         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
36313         (fma_downward_test_data): New variable.
36314         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
36315         (fma_upward_test_data): New variable.
36316         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
36318         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
36319         (struct test_c_c_data): New type.
36320         (RUN_TEST_LOOP_c_c): New macro.
36321         (cacos_test_data): New variable.
36322         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
36323         (cacosh_test_data): New variable.
36324         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
36325         (casin_test_data): New variable.
36326         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
36327         (casinh_test_data): New variable.
36328         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
36329         (catan_test_data): New variable.
36330         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
36331         (catanh_test_data): New variable.
36332         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
36333         (ccos_test_data): New variable.
36334         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
36335         (ccosh_test_data): New variable.
36336         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
36337         (cexp_test_data): New variable.
36338         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
36339         (clog_test_data): New variable.
36340         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
36341         (clog10_test_data): New variable.
36342         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
36343         (conj_test_data): New variable.
36344         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
36345         (cproj_test_data): New variable.
36346         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
36347         (csin_test_data): New variable.
36348         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
36349         (csinh_test_data): New variable.
36350         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
36351         (csqrt_test_data): New variable.
36352         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
36353         (ctan_test_data): New variable.
36354         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
36355         (ctan_tonearest_test_data): New variable.
36356         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36357         (ctan_towardzero_test_data): New variable.
36358         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36359         (ctan_downward_test_data): New variable.
36360         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36361         (ctan_upward_test_data): New variable.
36362         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36363         (ctanh_test_data): New variable.
36364         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
36365         (ctanh_tonearest_test_data): New variable.
36366         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
36367         (ctanh_towardzero_test_data): New variable.
36368         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
36369         (ctanh_downward_test_data): New variable.
36370         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
36371         (ctanh_upward_test_data): New variable.
36372         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
36373         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
36374         of BUILD_COMPLEX.
36376         * math/libm-test.inc (struct test_ff_f_data): New type.
36377         (struct test_ff_f_data_nexttoward): Likewise.
36378         (RUN_TEST_LOOP_2_f): New macro.
36379         (RUN_TEST_LOOP_ff_f): Likewise.
36380         (atan2_test_data): New variable.
36381         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
36382         (copysign_test_data): New variable.
36383         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
36384         (fdim_test_data): New variable.
36385         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
36386         (fmax_test_data): New variable.
36387         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
36388         (fmin_test_data): New variable.
36389         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
36390         (fmod_test_data): New variable.
36391         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
36392         (hypot_test_data): New variable.
36393         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
36394         (nextafter_test_data): New variable.
36395         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
36396         (nexttoward_test_data): New variable.
36397         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
36398         (pow_test_data): New variable.
36399         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
36400         (pow_tonearest_test_data): New variable.
36401         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
36402         (pow_towardzero_test_data): New variable.
36403         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
36404         (pow_downward_test_data): New variable.
36405         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
36406         (pow_upward_test_data): New variable.
36407         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
36408         (remainder_test_data): New variable.
36409         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
36410         (scalb_test_data): New variable.
36411         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
36412         * sysdeps/i386/fpu/libm-test-ulps: Update.
36414 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
36416         * math/libm-test.inc (fma_test): Use max_value instead of local
36417         variable fltmax.
36418         (nextafter_test): Likewise.
36420         * math/libm-test.inc (acos_towardzero_test_data): New variable.
36421         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36422         (acos_downward_test_data): New variable.
36423         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36424         (acos_upward_test_data): New variable.
36425         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36426         (acosh_test_data): New variable.
36427         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
36428         (asin_test_data): New variable.
36429         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
36430         (asin_tonearest_test_data): New variable.
36431         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36432         (asin_towardzero_test_data): New variable.
36433         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36434         (asin_downward_test_data): New variable.
36435         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36436         (asin_upward_test_data): New variable.
36437         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36438         (asinh_test_data): New variable.
36439         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
36440         (atan_test_data): New variable.
36441         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
36442         (atanh_test_data): New variable.
36443         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
36444         (cbrt_test_data): New variable.
36445         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
36446         (ceil_test_data): New variable.
36447         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
36448         (cos_test_data): New variable.
36449         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
36450         (cos_tonearest_test_data): New variable.
36451         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36452         (cos_towardzero_test_data): New variable.
36453         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36454         (cos_downward_test_data): New variable.
36455         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36456         (cos_upward_test_data): New variable.
36457         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36458         (cosh_test_data): New variable.
36459         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
36460         (cosh_tonearest_test_data): New variable.
36461         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36462         (cosh_towardzero_test_data): New variable.
36463         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36464         (cosh_downward_test_data): New variable.
36465         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36466         (cosh_upward_test_data): New variable.
36467         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36468         (erf_test_data): New variable.
36469         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
36470         (erfc_test_data): New variable.
36471         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
36472         (exp_test_data): New variable.
36473         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
36474         (exp_tonearest_test_data): New variable.
36475         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36476         (exp_towardzero_test_data): New variable.
36477         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36478         (exp_downward_test_data): New variable.
36479         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36480         (exp_upward_test_data): New variable.
36481         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36482         (exp10_test_data): New variable.
36483         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
36484         (exp2_test_data): New variable.
36485         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
36486         (expm1_test_data): New variable.
36487         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
36488         (fabs_test_data): New variable.
36489         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
36490         (floor_test_data): New variable.
36491         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
36492         (j0_test_data): New variable.
36493         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
36494         (j1_test_data): New variable.
36495         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
36496         (log_test_data): New variable.
36497         (log_test): Run tests with RUN_TEST_LOOP_f_f.
36498         (log10_test_data): New variable.
36499         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
36500         (log1p_test_data): New variable.
36501         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
36502         (log2_test_data): New variable.
36503         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
36504         (logb_test_data): New variable.
36505         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
36506         (logb_downward_test_data): New variable.
36507         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36508         (nearbyint_test_data): New variable.
36509         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
36510         (rint_test_data): New variable.
36511         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
36512         (rint_tonearest_test_data): New variable.
36513         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36514         (rint_towardzero_test_data): New variable.
36515         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36516         (rint_downward_test_data): New variable.
36517         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36518         (rint_upward_test_data): New variable.
36519         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36520         (round_test_data): New variable.
36521         (round_test): Run tests with RUN_TEST_LOOP_f_f.
36522         (sin_test_data): New variable.
36523         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
36524         (sin_tonearest_test_data): New variable.
36525         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36526         (sin_towardzero_test_data): New variable.
36527         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36528         (sin_downward_test_data): New variable.
36529         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36530         (sin_upward_test_data): New variable.
36531         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36532         (sinh_test_data): New variable.
36533         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
36534         (sinh_tonearest_test_data): New variable.
36535         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36536         (sinh_towardzero_test_data): New variable.
36537         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36538         (sinh_downward_test_data): New variable.
36539         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36540         (sinh_upward_test_data): New variable.
36541         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36542         (sqrt_test_data): New variable.
36543         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
36544         (tan_test_data): New variable.
36545         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
36546         (tan_tonearest_test_data): New variable.
36547         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36548         (tan_towardzero_test_data): New variable.
36549         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
36550         (tan_downward_test_data): New variable.
36551         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
36552         (tan_upward_test_data): New variable.
36553         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
36554         (tanh_test_data): New variable.
36555         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
36556         (tgamma_test_data): New variable.
36557         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
36558         (trunc_test_data): New variable.
36559         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
36560         (y0_test_data): New variable.
36561         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
36562         (y1_test_data): New variable.
36563         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
36564         (significand_test_data): New variable.
36565         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
36567 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
36569         [BZ #12387]
36570         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
36572 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
36574         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
36576 2013-05-10  Andreas Jaeger  <aj@suse.de>
36578         [BZ #15448]
36579         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
36580         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
36582 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
36584         * math/gen-libm-test.pl (adjust_arg): New function.
36585         (special_functions): Handle generating output in both functions
36586         and arrays.
36587         (parse_args): Likewise.
36588         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
36589         $in_func argument to parse_args.
36590         * math/libm-test.inc (struct test_f_f_data): New type.
36591         (IF_ROUND_INIT_): New macro.
36592         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
36593         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
36594         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
36595         (IF_ROUND_INIT_FE_UPWARD): Likewise.
36596         (ROUND_RESTORE_): Likewise.
36597         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
36598         (ROUND_RESTORE_FE_TONEAREST): Likewise.
36599         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
36600         (ROUND_RESTORE_FE_UPWARD): Likewise.
36601         (RUN_TEST_LOOP_f_f): New macro.
36602         (acos_test_data): New variable.
36603         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
36604         (acos_tonearest_test_data): New variable.
36605         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
36607 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36609         * benchtests/bench-skeleton.c (startup): Fix coding style.
36611 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
36613         [BZ #6809]
36614         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
36615         negative infinity argument.
36616         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
36617         negative infinity argument.
36618         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
36619         negative infinity argument.
36620         * math/libm-test.inc (tgamma_test): Expect errno to be set for
36621         domain errors.
36623 2013-05-10  Florian Weimer  <fweimer@redhat.com>
36625         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
36626         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
36627         * iconv/iconv_prog.c (main): Likewise.
36628         * locale/programs/charmap-dir.c (charmap_readdir)
36629         (fopen_uncompressed): Likewise.
36630         * locale/programs/locfile.c (siblings_uncached)
36631         (write_locale_data): Use lstat64 instead of lstat.
36632         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
36633         stat.
36635 2013-05-10  Andreas Jaeger  <aj@suse.de>
36637         [BZ #15395]
36638         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
36639         localization.
36640         Include <locale.h>.
36642 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
36644         * elf/dl-close.c (_dl_close_worker): Add comments.
36646 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
36648         [BZ #15359]
36649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
36650         high part of pi/2.
36651         (__ieee754_rem_pio2l): Update comments.
36653         [BZ #15429]
36654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
36655         high part of pi/2.
36656         (__ieee754_rem_pio2l): Update comments.
36658         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
36659         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
36661         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
36662         M_PI_4l.
36664         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
36665         (M_PI_34_LOG10El): Likewise.
36666         (M_PI2_LOG10El): Likewise.
36667         (M_PI4_LOG10El): Likewise.
36668         (M_PI_LOG10El): Likewise.
36670 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36674 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
36676         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
36677         (MINUS_ZERO_INIT): Likewise.
36678         (PLUS_INFTY_INIT): Likewise.
36679         (MINUS_INFTY_INIT): Likewise.
36680         (QNAN_VALUE_INIT): Likewise.
36681         (MAX_VALUE_INIT): Likewise.
36682         (MIN_VALUE_INIT): Likewise.
36683         (MIN_SUBNORM_VALUE_INIT): Likewise.
36684         (plus_zero): Initialize with PLUS_ZERO_INIT.
36685         (minus_zero): Initialize with MINUS_ZERO_INIT.
36686         (plus_infty): Initialize with PLUS_INFTY_INIT.
36687         (minus_infty): Initialize with MINUS_INFTY_INIT.
36688         (qnan_value): Initialize with QNAN_VALUE_INIT.
36689         (max_value): Initialize with MAX_VALUE_INIT.
36690         (min_value): Initialize with MIN_VALUE_INIT.
36691         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
36693         * math/libm-test.inc (RUN_TEST_if_f): New macro.
36694         (jn_test): Use TEST_if_f instead of TEST_ff_f.
36695         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
36696         (yn_test): Use TEST_if_f instead of TEST_ff_f.
36698         * math/libm-test.inc (RUN_TEST_f_f): New macro.
36699         (RUN_TEST_2_f): Likewise.
36700         (RUN_TEST_ff_f): Likewise.
36701         (RUN_TEST_fi_f): Likewise.
36702         (RUN_TEST_fl_f): Likewise.
36703         (RUN_TEST_fff_f): Likewise.
36704         (RUN_TEST_c_f): Likewise.
36705         (RUN_TEST_f_f1): Likewise.
36706         (RUN_TEST_fF_f1): Likewise.
36707         (RUN_TEST_fI_f1): Likewise.
36708         (RUN_TEST_ffI_f1): Likewise.
36709         (RUN_TEST_c_c): Likewise.
36710         (RUN_TEST_cc_c): Likewise.
36711         (RUN_TEST_f_i): Likewise.
36712         (RUN_TEST_f_i_tg): Likewise.
36713         (RUN_TEST_ff_i_tg): Likewise.
36714         (RUN_TEST_f_b): Likewise.
36715         (RUN_TEST_f_b_tg): Likewise.
36716         (RUN_TEST_f_l): Likewise.
36717         (RUN_TEST_f_L): Likewise.
36718         (RUN_TEST_sincos): Likewise.
36719         * math/gen-libm-test.pl (new_test): Take new argument to indicate
36720         whether to show exceptions.  Do not include ");\n" in return
36721         value.
36722         (special_functions): Output call to RUN_TEST_sincos instead of
36723         check_float calls.  Update calls to new_test.
36724         (parse_args): Output call to single RUN_TEST_* macro instead of
36725         check_* calls and other assignments.  Update calls to new_test.
36727         [BZ #2546]
36728         [BZ #2560]
36729         [BZ #5159]
36730         [BZ #15426]
36731         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
36732         input to result for tgamma overflow.
36733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
36734         (gamma_coeff): New variable.
36735         (NCOEFF): New macro.
36736         (gamma_positive): New function.
36737         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
36738         underflow here.  Use gamma_positive instead of exp (lgamma) for
36739         other arguments.
36740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
36741         (gamma_coeff): New variable.
36742         (NCOEFF): New macro.
36743         (gammaf_positive): New function.
36744         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
36745         underflow here.  Use gamma_positive instead of exp (lgamma) for
36746         other arguments.
36747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
36748         (gamma_coeff): New variable.
36749         (NCOEFF): New macro.
36750         (gammal_positive): New function.
36751         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
36752         underflow here.  Use gamma_positive instead of exp (lgamma) for
36753         other arguments.
36754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
36755         (gamma_coeff): New variable.
36756         (NCOEFF): New macro.
36757         (gammal_positive): New function.
36758         (__ieee754_gammal_r): Handle positive infinity, overflow and
36759         underflow here.  Handle NaN the same as positive infinity.  Remove
36760         check x < 0xffffffff for negative integers.  Use gamma_positive
36761         instead of exp (lgamma) for other arguments.
36762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
36763         (gamma_coeff): New variable.
36764         (NCOEFF): New macro.
36765         (gammal_positive): New function.
36766         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
36767         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
36768         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
36769         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
36770         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
36771         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
36772         * sysdeps/generic/math_private.h (__gamma_productf): New
36773         prototype.
36774         (__gamma_product): Likewise.
36775         (__gamma_productl): Likewise.
36776         * math/Makefile (libm-calls): Add gamma_product.
36777         * math/libm-test.inc (tgamma_test): Add more tests.
36778         * sysdeps/i386/fpu/libm-test-ulps: Update.
36779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36781 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
36783         * benchtests/bench-skeleton.c (main): Preheat CPU.
36785 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
36787         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
36789 2013-05-07  Roland McGrath  <roland@hack.frob.com>
36791         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
36792         and _dl_skip_args_internal.
36794 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
36796         * manual/message.texi (Message Translation): Talk about users.
36797         Message to key mapping impacts design.
36799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36801         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
36803         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
36805         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
36806         * sysdeps/wordsize-64/glob64.c: ... here.
36808         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
36809         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
36810         New macros.
36812         * debug/getlogin_r_chk.c: Moved to ...
36813         * login/getlogin_r_chk.c: ... here.
36814         * debug/Makefile (routines): Move getlogin_r_chk to ...
36815         * login/Makefile (routines): ... here.
36816         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
36817         * login/Versions (libc: GLIBC_2.4): ... here.
36819         * io/poll.c (__poll): Renamed from poll.
36820         Add libc_hidden_def.
36821         (poll): Define as weak alias.
36823         * debug/ptsname_r_chk.c: Moved to ...
36824         * login/ptsname_r_chk.c: ... here.
36825         * debug/Makefile (routines): Move ptsname_r_chk to ...
36826         * login/Makefile (routines): ... here.
36827         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
36828         * login/Versions (libc: GLIBC_2.4): ... here.
36830         * posix/getlogin.c: Moved to ...
36831         * login/getlogin.c: ... here.
36832         * posix/getlogin_r.c: Moved to ...
36833         * login/getlogin_r.c: ... here.
36834         * posix/getlogin_r.c: Moved to ...
36835         * login/getlogin_r.c: ... here.
36836         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
36837         * login/Makefile (routines): ... here.
36838         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
36839         * login/Versions (libc: GLIBC_2.0): ... here.
36841         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
36842         (setrlimit): Define as weak alias.
36844         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
36845         Call __ names for open, ftruncate, and close.
36846         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
36847         (truncate): Define as weak alias.
36849 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
36851         * math/gen-libm-test.pl (parse_args): Initialize x before each
36852         test of frexp, modf and remquo.
36854         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
36855         test signgam value.
36857 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36859         [BZ #15418]
36860         [BZ #15419]
36861         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
36862         internal tests.
36863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
36865 2013-05-06  Roland McGrath  <roland@hack.frob.com>
36867         * elf/dl-writev.h: New file.
36868         * elf/dl-misc.c: Include it.
36869         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
36870         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
36872 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
36874         * math/libm-test.inc (noXFails): Remove variable.
36875         (noXPasses): Likewise.
36876         (BUILD_COMPLEX_INT): Remove macro.
36877         (print_screen): Remove xfail argument.
36878         (print_screen_max_error): Likewise.
36879         (update_stats): Likewise.
36880         (print_max_error): Likewise.  Update calls to other affected
36881         functions.
36882         (print_complex_max_error): Likewise.
36883         (test_single_exception): Update calls to print_screen.
36884         (test_single_errno): Likewise.
36885         (check_float_internal): Remove xfail argument.  Update calls to
36886         other affected functions.
36887         (check_float): Likewise.
36888         (check_complex): Likewise.
36889         (check_int): Likewise.
36890         (check_long): Likewise.
36891         (check_bool): Likewise.
36892         (check_longlong): Likewise.
36893         (main): Don't print noXFails and noXPasses.
36894         * math/gen-libm-test.pl (top level): Don't mention expected
36895         failure handling in comment.
36896         (new_test): Don't handle expected failures.
36897         (parse_args): Don't mention expected failure handling in comment.
36898         (generate_testfile): Don't handle expected failures.
36899         (parse_ulps): Likewise.
36900         (print_ulps_file): Likewise.
36901         (get_failure): Remove function.
36902         (output_test): Don't handle expected failures.
36903         * make/README.libm-test: Don't mention expected failure handling.
36905         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
36906         (minus_zero): Likewise.
36907         (plus_infty): Likewise.
36908         (minus_infty): Likewise.
36909         (qnan_value): Likewise.
36910         (max_value): Likewise.
36911         (min_value): Likewise.
36912         (min_subnorm_value): Likewise.
36913         (initialize): Do not initialize those variables dynamically.
36915 2013-05-03  Roland McGrath  <roland@hack.frob.com>
36917         * io/open.c (__open_2): Moved to ...
36918         * io/open_2.c: ... this new file.
36919         * io/open64.c (__open64_2): Moved to ...
36920         * io/open64_2.c: ... this new file.
36921         * io/openat.c (__openat_2): Moved to ...
36922         * io/openat_2.c: ... this new file.
36923         * io/openat64.c (__openat64_2): Moved to ...
36924         * io/openat64_2.c: ... this new file.
36925         * io/Makefile (routines): Add them.
36926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
36927         * sysdeps/unix/sysv/linux/open_2.c: File removed.
36928         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
36929         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
36930         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
36931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
36932         (__openat64): Add hidden_ver.
36933         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
36934         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
36936         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
36937         Separately conditionalize setting of GLRO(dl_sysinfo) so
36938         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
36939         as well, but the actual setting is only under [NEED_DL_SYSINFO].
36941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
36944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
36945         definition.
36946         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
36947         * sysdeps/unix/sysv/linux/powerpc/init-first.c
36948         (_libc_vdso_platform_setup): Add __vdso_time initialization.
36949         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
36950         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
36952 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
36954         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
36955         test signgam value.
36957         * math/libm-test.inc (hypot_test): Do not use
36958         IGNORE_ZERO_INF_SIGN.
36960 2013-05-03  Andreas Jaeger  <aj@suse.de>
36962         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
36963         Linux 3.9.
36964         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
36965         (PF_MAX): Adjust for VSOCK change.
36967 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36971 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
36973         [BZ #15264]
36974         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
36975         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
36976         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
36978 2013-05-02  David S. Miller  <davem@davemloft.net>
36980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36982 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
36984         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
36986 2013-05-01  Roland McGrath  <roland@hack.frob.com>
36988         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
36990 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
36992         [BZ #14952]
36993         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
36994         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36995         Use __attribute__ ((__gnu_inline__)).
36996         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
36997         Don't use __attribute__ ((__gnu_inline__)).
36999 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
37001         [BZ #15423]
37002         * math/s_catan.c (__catan): Handle small real or imaginary part of
37003         input specially to avoid spurious underflow.
37004         * math/s_catanf.c (__catanf): Likewise.
37005         * math/s_catanh.c (__catanh): Likewise.
37006         * math/s_catanhf.c (__catanhf): Likewise.
37007         * math/s_catanhl.c (__catanhl): Likewise.
37008         * math/s_catanl.c (__catanl): Likewise.
37009         * math/libm-test.inc (catan_test): Add more tests.
37010         (catanh_test): Likewise.
37011         * sysdeps/i386/fpu/libm-test-ulps: Update.
37012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37018 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
37020         [BZ #15416]
37021         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
37022         accurately for denominator in atan2.
37023         * math/s_catanf.c (__catanf): Likewise.
37024         * math/s_catanh.c (__catanh): Likewise.
37025         * math/s_catanhf.c (__catanhf): Likewise.
37026         * math/s_catanhl.c (__catanhl): Likewise.
37027         * math/s_catanl.c (__catanl): Likewise.
37028         * math/libm-test.inc (catan_test): Add more tests.
37029         (catanh_test): Likewise.
37030         * sysdeps/i386/fpu/libm-test-ulps: Update.
37031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37033 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37035         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
37037         * benchtests/Makefile (bench): Remove slow benchmarks.
37038         * benchtests/atan-inputs: Add slow benchmark inputs.
37039         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
37040         (BENCH_FUNC): Accept variant offset.
37041         (VARIANT): Define.
37042         * benchtests/bench-skeleton.c (main): Run benchmark for each
37043         variant.
37044         * benchtests/cos-inputs: Add slow benchmark inputs.
37045         * benchtests/exp-inputs: Likewise.
37046         * benchtests/pow-inputs: Likewise.
37047         * benchtests/sin-inputs: Likewise.
37048         * benchtests/slowatan-inputs: Remove.
37049         * benchtests/slowatan.c: Remove.
37050         * benchtests/slowcos-inputs: Remove.
37051         * benchtests/slowcos.c: Remove.
37052         * benchtests/slowexp-inputs: Remove.
37053         * benchtests/slowexp.c: Remove.
37054         * benchtests/slowpow-inputs: Remove.
37055         * benchtests/slowpow.c: Remove.
37056         * benchtests/slowsin-inputs: Remove.
37057         * benchtests/slowsin.c: Remove.
37058         * benchtests/slowtan-inputs: Remove.
37059         * benchtests/slowtan.c: Remove.
37060         * benchtests/tan-inputs: Add slow benchmark inputs.
37061         * scripts/bench.pl: Parse comments and directives.
37063         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
37064         in CPPFLAGS.
37065         ($(objpfx)bench-%.c): Remove *-ITER.
37066         * benchtests/bench-modf.c: Remove definition of ITER.
37067         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
37068         (main): Loop for DURATION seconds instead of fixed number of
37069         iterations.
37070         * scripts/bench.pl: Don't expect iterations in parameters.
37072 2013-04-29  Roland McGrath  <roland@hack.frob.com>
37074         * io/fchdir.c (__fchdir): Renamed from fchdir.
37075         (fchdir): Define as weak alias.
37077 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37079         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
37080         (ERRNO_EDOM): Likewise.
37081         (ERRNO_ERANGE): Likewise.
37082         (noErrnoTests): New variable.
37083         (init_max_error): Set errno to 0.
37084         (test_single_errno): New function.
37085         (test_errno): Likewise.
37086         (check_float_internal): Call test_errno.  Set errno to 0.
37087         (check_complex): Refer to errno tests in comment.
37088         (check_int): Call test_errno.  Set errno to 0.
37089         (check_long): Likewise.
37090         (check_bool): Likewise.
37091         (check_longlong): Likewise.
37092         (cos_test): Use ERRNO_* flags for errno tests instead of
37093         check_int.
37094         (expm1_test): Likewise.
37095         (fmod_test): Likewise.
37096         (ilogb_test): Likewise.
37097         (lgamma_test): Likewise.
37098         (pow_test): Likewise.
37099         (remainder_test): Likewise.
37100         (sin_test): Likewise.
37101         (tan_test): Likewise.
37102         (yn_test): Likewise.
37103         (initialize): Set errno to 0.
37104         (main): Print number of errno tests.
37105         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
37107 2013-04-29  Andreas Jaeger  <aj@suse.de>
37109         [BZ #15084]
37110         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
37111         and RES_USEVC.
37113         [BZ #15085]
37114         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
37115         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
37116         unimplemented.
37118         [BZ #15380]
37119         * stdlib/random.c (__initstate): Return NULL if
37120         __initstate fails.
37122         [BZ #15086]
37123         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
37124         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
37125         RES_SNGLKUPREOP.
37127 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
37133         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
37134         of individual tests.
37135         (casin_test): Likewise.
37136         (casinh_test): Likewise.
37138 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
37140         [BZ #15409]
37141         * math/s_catan.c (__catan): Handle arguments with large real or
37142         imaginary part separately without squaring.
37143         * math/s_catanf.c (__catanf): Likewise.
37144         * math/s_catanh.c (__catanh): Likewise.
37145         * math/s_catanhf.c (__catanhf): Likewise.
37146         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37147         and redefine.
37148         (__catanhl): Handle arguments with large real or imaginary part
37149         separately without squaring.
37150         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
37151         and redefine.
37152         (__catanl): Handle arguments with large real or imaginary part
37153         separately without squaring.
37154         * math/libm-test.inc (catan_test): Add more tests.
37155         (catanh_test): Likewise.
37156         * sysdeps/i386/fpu/libm-test-ulps: Update.
37157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37159 2013-04-27  Andreas Jaeger  <aj@suse.de>
37161         [BZ #15007]
37162         * stdlib/stdlib.h: Update guards for qecvt.
37163         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
37164         <stdlib.h>.
37166 2013-04-27  Allan McRae  <allan@archlinux.org>
37168         * sysdeps/i386/fpu/libm-test-ulps: Update.
37170 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
37172         [BZ #15406]
37173         * math/s_catan.c: Include <float.h>.
37174         (__catan): Ensure underflow exception occurs for underflowed
37175         result.
37176         * math/s_catanf.c: Include <float.h>.
37177         (__catanf): Ensure underflow exception occurs for underflowed
37178         result.
37179         * math/s_catanh.c: Include <float.h>.
37180         (__catanh): Ensure underflow exception occurs for underflowed
37181         result.
37182         * math/s_catanhf.c: Include <float.h>.
37183         (__catanhf): Ensure underflow exception occurs for underflowed
37184         result.
37185         * math/s_catanhl.c: Include <float.h>.
37186         (__catanhl): Ensure underflow exception occurs for underflowed
37187         result.
37188         * math/s_catanl.c: Include <float.h>.
37189         (__catanl): Ensure underflow exception occurs for underflowed
37190         result.
37191         * math/libm-test.inc (catan_test): Add more tests.
37192         (catanh_test): Likewise.
37194         [BZ #15405]
37195         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
37196         underflowed result.
37197         * math/s_ccoshf.c (__ccoshf): Likewise.
37198         * math/s_ccoshl.c (__ccoshl): Likewise.
37199         * math/s_csin.c (__csin): Likewise.
37200         * math/s_csinf.c (__csinf): Likewise.
37201         * math/s_csinh.c (__csinh): Likewise.
37202         * math/s_csinhf.c (__csinhf): Likewise.
37203         * math/s_csinhl.c (__csinhl): Likewise.
37204         * math/s_csinl.c (__csinl): Likewise.
37205         * math/libm-test.inc (ccos_test): Add more tests.
37206         (ccosh_test): Likewise.
37207         (csin_test): Likewise.
37208         (csinh_test): Likewise.
37210 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37212         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
37213         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
37214         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
37215         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
37216         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
37217         powerpc/power5+/fpu folders.
37218         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
37221 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37225 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
37227         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
37228         additions to variable.
37229         [$(config-machine) = x86_64] (modules-names): Likewise.
37230         ($(objpfx)tst-audit3): Remove dependency.
37231         ($(objpfx)tst-audit3.out): Likewise.
37232         ($(objpfx)tst-audit4): Likewise.
37233         ($(objpfx)tst-audit4.out): Likewise.
37234         ($(objpfx)tst-audit5): Likewise.
37235         ($(objpfx)tst-audit5.out): Likewise.
37236         ($(objpfx)tst-audit6): Likewise.
37237         ($(objpfx)tst-audit6.out): Likewise.
37238         ($(objpfx)tst-audit7): Likewise.
37239         ($(objpfx)tst-audit7.out): Likewise.
37240         (tst-audit3-ENV): Remove variable.
37241         (tst-audit4-ENV): Likewise.
37242         (tst-audit5-ENV): Likewise.
37243         (tst-audit6-ENV): Likewise.
37244         (tst-audit7-ENV): Likewise.
37245         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
37246         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
37247         addition to variable.
37248         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
37249         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
37250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
37251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
37252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
37253         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
37254         tst-audit3, tst-audit4 and tst-audit5.
37255         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
37256         tst-audit6 and tst-audit7.
37257         [$(subdir) = elf] (modules-names): Add audit modules for those
37258         tests.
37259         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
37260         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
37261         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
37262         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
37263         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
37264         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
37265         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
37266         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
37267         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
37268         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
37269         [$(subdir) = elf] (tst-audit3-ENV): New variable.
37270         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
37271         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
37272         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
37273         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
37274         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
37275         Likewise.
37276         [$(subdir) = elf && $(config-cflags-avx) = yes]
37277         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
37278         [$(subdir) = elf && $(config-cflags-avx) = yes]
37279         (CFLAGS-tst-auditmod4a.c): Likewise.
37280         [$(subdir) = elf && $(config-cflags-avx) = yes]
37281         (CFLAGS-tst-auditmod4b.c): Likewise.
37282         [$(subdir) = elf && $(config-cflags-avx) = yes]
37283         (CFLAGS-tst-auditmod6b.c): Likewise.
37284         [$(subdir) = elf && $(config-cflags-avx) = yes]
37285         (CFLAGS-tst-auditmod6c.c): Likewise.
37286         [$(subdir) = elf && $(config-cflags-avx) = yes]
37287         (CFLAGS-tst-auditmod7b.c): Likewise.
37288         * elf/tst-audit3.c: Move to ...
37289         * sysdeps/x86_64/tst-audit3.c: ... here.
37290         * elf/tst-audit4.c: Move to ...
37291         * sysdeps/x86_64/tst-audit4.c: ... here.
37292         * elf/tst-audit5.c: Move to ...
37293         * sysdeps/x86_64/tst-audit5.c: ... here.
37294         * elf/tst-audit6.c: Move to ...
37295         * sysdeps/x86_64/tst-audit6.c: ... here.
37296         * elf/tst-audit7.c: Move to ...
37297         * sysdeps/x86_64/tst-audit7.c: ... here.
37298         * elf/tst-auditmod3a.c: Move to ...
37299         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
37300         * elf/tst-auditmod3b.c: Move to ...
37301         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
37302         * elf/tst-auditmod4a.c: Move to ...
37303         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
37304         * elf/tst-auditmod4b.c: Move to ...
37305         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
37306         * elf/tst-auditmod5a.c: Move to ...
37307         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
37308         * elf/tst-auditmod5b.c: Move to ...
37309         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
37310         * elf/tst-auditmod6a.c: Move to ...
37311         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
37312         * elf/tst-auditmod6b.c: Move to ...
37313         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
37314         * elf/tst-auditmod6c.c: Move to ...
37315         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
37316         * elf/tst-auditmod7a.c: Move to ...
37317         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
37318         * elf/tst-auditmod7b.c: Move to ...
37319         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
37321 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
37323         [BZ #15366]
37324         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
37325         define unconditionally.
37326         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
37327         define unconditionally.
37328         (INT8_C, INT16_C, etc.): Likewise.
37330 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
37332         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
37333         __ehdr_start with hidden visibility.
37335         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
37337 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
37339         * math/libm-test.inc (cos_test): Use accurate hex constants.
37340         (sincost_test): Likewise.
37342 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
37344         * math/libm-test.inc (catan_test): Add more tests.
37345         (catanh_test): Likewise.
37347         * math/s_catanf.c (__catanf): Use suffixed floating-point
37348         constants.
37349         * math/s_catanhf.c (__catanhf): Likewise.
37350         * math/s_catanhl.c (__catanhl): Likewise.
37351         * math/s_catanl.c (__catanl): Likewise.
37353         [BZ #15394]
37354         * math/s_catan.c (__catan): Calculate imaginary part of result
37355         with log1p not log unless computing log of number close to 0.
37356         * math/s_catanf.c (__catanf): Likewise.
37357         * math/s_catanl.c (__catanl): Likewise.
37358         * math/s_catanh.c (__catanh): Calculate real part of result with
37359         log1p not log unless computing log of number close to 0.
37360         * math/s_catanhf.c (__catanhf): Likewise.
37361         * math/s_catanhl.c (__catanhl): Likewise.
37362         * math/libm-test.inc (catan_test): Add more tests.
37363         (catanh_test): Likewise.
37364         * sysdeps/i386/fpu/libm-test-ulps: Update.
37365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37367 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37369         * benchtests/Makefile: Mention files in which fast and slow
37370         paths of math functions are implemented.
37372 2013-04-23  Roland McGrath  <roland@hack.frob.com>
37374         * sysdeps/posix/timespec_get.c: New file.
37376 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37378         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
37379         POWER.
37380         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
37381         for POWER.
37382         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
37383         powerpc/power5/fpu folders.
37384         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
37385         * benchtests/Makefile: Add modf testcase.
37386         * benchtests/bench-modf.c: New file: Benchmark test for mo
37388 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
37390         [BZ #14888]
37391         * time/Makefile (tests): Add tst-strptime-whitespace.
37392         * time/strptime_l.c (get_number): Use ISSPACE.
37393         (__strptime_internal): Likewise.
37394         * time/tst-strptime-whitespace.c: New test case.
37396 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
37398         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
37399         member.
37400         (_nss_files_init): Set it here.
37402 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
37404         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
37405         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
37406         unsigned.
37408 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
37410         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
37412 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
37415         size just once.
37417 2013-04-21  David S. Miller  <davem@davemloft.net>
37419         * po/ru.po: Update Russion translation from translation project.
37421 2013-04-17  Adam Conrad  <adconrad@0c3.net>
37423         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
37424         and setfsgid.
37426 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
37428         * configure.in: Remove i386 configure warning. Remove i386 case.
37429         * configure: Regenerate.
37430         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
37431         Add example to error message.
37432         * sysdeps/i386/configure: Regenerate.
37434 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37436         * benchtests/Makefile (bench): Add cos, tan, slowcos and
37437         slowtan.
37438         * benchtests/cos-inputs: New file.
37439         * benchtests/slowcos-inputs: New file.
37440         * benchtests/slowcos.c: New file.
37441         * benchtests/slowtan-inputs: New file.
37442         * benchtests/slowtan.c: New file.
37443         * benchtests/tan-inputs: New file.
37445 2013-04-16  Roland McGrath  <roland@hack.frob.com>
37447         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
37448         considered kosher.
37450 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
37452         * benchtests/Makefile: Include cppflags-iterator.mk to add
37453         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
37455         * Makefile.in (bench-clean): New target.
37456         * benchtests/Makefile (bench-clean): Likewise.
37458 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
37460         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
37462 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
37464         * stdio-common/tstdiomisc.c: Fix coding-style violation.
37466 2013-04-15  Andreas Schwab  <schwab@suse.de>
37468         * nscd/grpcache.c (cache_addgr): Properly check for short write.
37469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37470         * nscd/pwdcache.c (cache_addpw): Likewise.
37471         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
37472         more than recsize.
37474 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37476         * benchtests/Makefile (bench): Write all output to
37477         bench-out.tmp together.
37479 2013-04-15  Andreas Schwab  <schwab@suse.de>
37481         * nscd/nscd.c (main): Don't fork again after closing files.
37483 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37485         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
37487         * benchtests/Rules (bench-deps): Collect dependencies into a
37488         single variable.  Add Makefile to dependencies.
37489         ($(objpfx)bench-%.c): Depend on bench-deps.
37491 2013-04-12  Roland McGrath  <roland@hack.frob.com>
37492             Xavier Roche  <roche+kml2@exalead.com>
37494         [BZ #15361]
37495         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
37496         just that it's a file descriptor.
37497         * manual/llio.texi (Synchronizing AIO Operations): Update description
37498         for EBADF error from aio_fsync.
37500 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37502         * Rules (bench): Move target definition...
37503         * benchtests/Makefile: ... here.
37505 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
37507         * math/libm-test.inc (cos_test): Fix PI/2 test.
37508         (sincos_test): Likewise.
37509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
37510         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
37512 2013-04-11  Andreas Schwab  <schwab@suse.de>
37514         [BZ #13988]
37515         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
37516         accept exponent character only when digits were seen.
37517         * stdio-common/Makefile (tests): Add bug26.
37518         * stdio-common/bug26.c: New file.
37520         [BZ #14293]
37521         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
37522         non-freeable.
37524 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37526         * Makeconfig (rtld-prefix): Define built linker prefix.
37527         * Rules (run-bench): Use it.
37528         * math/Makefile (run-regen-ulps): Likewise.
37530         * Rules (bench): Remove eval.
37532 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37533             Roland McGrath  <roland@hack.frob.com>
37534             Ondrej Bilka  <neleai@seznam.cz>
37536         [BZ #15346]
37537         * time/getdate.c: Include ctype.h and alloca.h.
37538         (__getdate_r): Trim leading and trailing spaces of input.
37539         * time/tst-getdate.c (tests): Add tests with leading and
37540         trailing spaces.
37542 2013-04-08  Roland McGrath  <roland@hack.frob.com>
37544         [BZ #14280]
37545         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
37546         when computing value.
37548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37550         * math/README.libm-test (How can I generate "libm-test-ulps"?):
37551         Use testrun.sh to run libm tests.
37553         [BZ #15309]
37554         * elf/dl-open.c (dl_open_worker): memset all of seen array.
37556 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
37558         [BZ #15264]
37559         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
37561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37563         * Makefile.in (regen-ulps): New target.
37564         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
37565         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
37566         [ifneq (no,$(PERL)] (regen-ulps): New target.
37567         [ifeq (no,$(PERL)] (regen-ulps): New target.
37568         * math/libm-test.inc (ulps_file_name): Define.
37569         (output_dir): New variable.
37570         (options): Add "output-dir" option.
37571         (parse_opt): Handle 'o' case.
37572         (main): If output_dir is non-NULL use it as a prefix
37573         otherwise use "".
37574         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
37576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37578         [BZ #10060, #10062]
37579         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
37580         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
37581         fail configure if __sync_val_compare_and_swap is not inlined.
37582         * sysdeps/i386/configure: Regenerate.
37583         * configure.in: Build for i686 when configured for i386.
37584         * configure: Regenerate.
37585         * README: Remove i386 reference.
37587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
37589         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
37590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37592 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
37594         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
37595         (lmsnanval): New variables.
37596         (F): Add conversion tests.
37597         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
37598         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
37600         * stdio-common/tstdiomisc.c (F): Properly collect individual
37601         tests' results.
37603         [BZ #14686, #15336]
37604         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
37605         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
37606         Instead, use input NaN values or generate a qNaN by arithmetic
37607         operation.  Also fix bugs to comply with the standard.
37608         * math/libm-test.inc (remainder_test): Add more tests.
37610         [BZ #15335, #15342]
37611         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
37612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
37613         input NaN values or generate a qNaN by arithmetic operation.
37615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
37616         unreachable code.
37618         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
37619         definitions.
37621 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
37623         [BZ #14478]
37624         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
37625         underflowed result.
37626         * math/s_cexpf.c (__cexpf): Likewise.
37627         * math/s_cexpl.c (__cexpl): Likewise.
37628         * math/libm-test.inc (cexp_test): Add more tests.
37630 2013-04-03  Andreas Schwab  <schwab@suse.de>
37632         [BZ #15330]
37633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
37634         order arrays from heap if bigger than alloca cutoff.
37636 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
37638         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
37639         (SNAN_TESTS_double): Refer to GCC PR56831.
37640         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
37641         GCC PR56828.
37643 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
37645         * Rules (bench): Move bench.out after the run is complete.
37647         * Rules (bench): Echo currently running benchmark.
37649         * benchtests/Makefile (bench): Add atan and slowatan.
37650         * benchtests/atan-inputs: New file.
37651         * benchtests/slowatan-inputs: New file.
37652         * benchtests/slowatan.c: New file.
37654         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
37655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
37656         its value.
37658         [BZ #15305]
37659         * sysdeps/unix/sysv/linux/kernel-features.h
37660         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
37661         __ASSUME_XFS_RESTRICTED_CHOWN.
37662         * sysdeps/unix/sysv/linux/pathconf.c
37663         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
37664         Save and restore errno.
37666 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
37668         [BZ #15327]
37669         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
37670         arguments using __kernel_casinh.
37671         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
37672         arguments using __kernel_casinhf.
37673         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
37674         arguments using __kernel_casinhl.
37675         * math/libm-test.inc (cacosh_test): Add more tests.
37676         * sysdeps/i386/fpu/libm-test-ulps: Update.
37677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37679 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37681         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
37682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
37684         * bench/Makefile (bench): Add sin and slowsin.
37685         * benchtests/sin-inputs: New file.
37686         * benchtests/slowsin-inputs: New file.
37687         * benchtests/slowsin.c: New file.
37689         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
37690         (bench): Add slowexp and slowpow.
37691         (exp-ITER): Increase iterations.
37692         (pow-ITER): Likewise.
37693         * benchtests/exp-inputs: Change input.
37694         * benchtests/pow-inputs: Likewise.
37695         * benchtests/slowexp-inputs: New file.
37696         * benchtests/slowexp.c: New file.
37697         * benchtests/slowpow-inputs: New file.
37698         * benchtests/slowpow.c: New file.
37700 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37702         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
37703         instructions.
37704         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
37705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
37706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
37707         * benchtests/Makefile: Add rint benchtest.
37708         * benchtests/rint-inputs: Input for rint benchtest.
37710 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
37712         * Versions.def (libm): Add GLIBC_2.18.
37713         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
37714         hidden libm prototypes.
37715         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
37716         * math/Makefile (libm-calls): Add s_issignaling.
37717         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
37718         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
37719         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
37720         declaration.
37721         * math/math.h [__USE_GNU] (issignaling): New macro.
37722         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
37723         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
37724         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
37725         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
37726         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
37727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
37728         * manual/arith.texi (issignaling): New section.
37729         * manual/libm-err-tab.pl (@all_functions): Update comment.
37730         * math/gen-libm-test.pl (parse_args): Apply special handling for
37731         issignaling.
37732         * math/libm-test.inc (print_float, issignaling_test): New
37733         functions.
37734         (check_float_internal): Add issignaling checks.
37735         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
37736         default definition.
37737         * sysdeps/powerpc/math-tests.h: New file.
37738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
37739         tests.
37740         * math/test-snan.c (TEST_FUNC): Likewise.
37742 2013-03-30  David S. Miller  <davem@davemloft.net>
37744         * po/de.po: Update from translation team.
37746 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
37748         [BZ #10357]
37749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37750         imaginary part less than 1.0 and real part less than 0.5
37751         specially.
37752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
37755         (cacos_test): Add more tests.
37756         (casin_test): Likewise.
37757         (casinh_test): Likewise.
37758         * sysdeps/i386/fpu/libm-test-ulps: Update.
37759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37761 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37763         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
37764         ONE with its value.
37766         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
37767         (__pow_mp): Replace ONE and MONE with their values.
37768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
37770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37771         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
37772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37775         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
37777         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
37778         (__pow_mp): Replace ZERO and MZERO with their values.
37779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37783         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37784         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
37785         (__sqr): Likewise.
37787         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
37789         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
37791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37793         * include/stdlib.h [!SHARED] (__call_tls_dtors):
37794         Declare with __attribute__ ((weak)).
37795         * stdlib/exit.c (__libc_atexit) [!SHARED]:
37796         Call __call_tls_dtors only if it's not NULL.
37798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
37800         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
37801         didn't do it already, then set _dl_phdr and _dl_phnum based on the
37802         magic __ehdr_start linker symbol if it's defined.
37803         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
37804         them up here if it was already done.
37806         * elf/dl-support.c (_dl_phdr): Make pointer to const.
37807         (_dl_aux_init): Use const in cast when setting it.
37808         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
37809         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
37810         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
37812         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
37813         Declare them here.
37814         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
37815         * csu/libc-tls.c: Nor here.
37816         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
37818         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
37819         (__libc_message): Never call vsyslog.
37821 2013-03-28  Alan Modra  <amodra@gmail.com>
37823         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
37824         Define as empty.
37825         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
37826         Likewise.
37828 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37830         [BZ #15214]
37831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
37832         underflow.
37833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37835 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37837         [BZ #15304]
37838         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
37839         Don't add gid passed as argument.
37841         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
37843 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
37845         [BZ #15307]
37846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37847         imaginary part between 1.0 and 1.5 and real part less than 0.5
37848         specially.
37849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37851         * math/libm-test.inc (cacos_test): Add more tests.
37852         (casin_test): Likewise.
37853         (casinh_test): Likewise.
37854         * sysdeps/i386/fpu/libm-test-ulps: Update.
37855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37857 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37859         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
37860         constants.
37861         (norm): Likewise.
37862         (denorm): Likewise.
37863         (__dbl_mp): Likewise.
37864         (add_magnitudes): Likewise.
37865         (sub_magnitudes): Likewise.
37866         (__add): Likewise.
37867         (__sub): Likewise.
37868         (__mul): Likewise.
37869         (__sqr): Likewise.
37870         (__inv): Likewise.
37871         (__dvd): Likewise.
37873         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
37874         commented code.
37875         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
37876         (__dubcos): Likewise.
37877         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
37878         (__ieee754_acos): Likewise.
37879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
37880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
37881         (__exp1): Likewise.
37882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
37883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37884         (log1): Likewise.
37885         (my_log2): Likewise.
37886         (checkint): Likewise.
37887         * sysdeps/ieee754/dbl-64/e_remainder.c
37888         (__ieee754_remainder): Likewise.
37889         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
37890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
37891         (bsloww): Likewise.
37892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37894         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
37895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
37896         MANTISSA_STORE_T to store computations on mantissa.  Use
37897         macros for rounding and division.
37898         (denorm): Likewise.
37899         (__dbl_mp): Likewise.
37900         (add_magnitudes): Likewise.
37901         (sub_magnitudes): Likewise.
37902         (__mul): Likewise.
37903         (__sqr): Likewise.
37904         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
37905         powers of two in terms of TWOPOW macro.
37906         (mp_no): Make type of mantissa as MANTISSA_T.
37907         [!RADIXI]: Define RADIXI.
37908         [!TWO52]: Define TWO52.
37909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
37911 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37913         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
37914         llroundl symbol when building for PPC32.
37916 2013-03-24  Mark H Weaver  <mhw@netris.org>
37918         * manual/arith.texi (Normalization Functions): Fix prototypes for
37919         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
37921 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37923         [BZ #13889]
37924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
37925         high value to check if expl overflow.
37926         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
37927         to check for underflow and overflow.
37928         * math/libm-test.inc: Add exp test.
37930 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
37932         [BZ #11120]
37933         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
37934         with NOT_IN_libc.
37936 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37938         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
37939         symbol.
37941 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37943         * math/gen-libm-test.pl (parse_args, special_functions): Properly
37944         wrap blocks consisting of several statements.
37946         * sysdeps/generic/math-tests.h: New file.
37947         * sysdeps/i386/fpu/math-tests.h: Likewise.
37948         * math/test-snan.c: Include it.
37949         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
37951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37953         [BZ #15285]
37954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
37955         (__ieee754_j0l): Do not improve calculations using cos of twice
37956         input for inputs above LDBL_MAX / 2.0L.
37957         (__ieee754_y0l): Likewise.
37958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
37959         (__ieee754_j1l): Do not improve calculations using cos of twice
37960         input for inputs above LDBL_MAX / 2.0L.
37961         (__ieee754_y1l): Likewise.
37962         * math/libm-test.inc (j0_test): Add another test.
37963         (j1_test): Likewise.
37964         (y0_test): Likewise.
37965         (y1_test): Likewise.
37966         * sysdeps/i386/fpu/libm-test-ulps: Update.
37968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970         * Rules ($(objpfx)bench-%.c): Include code from a C source
37971         file.
37973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
37975         [BZ #15287]
37976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
37977         imaginary part 1.0 and real part less than 0.5 specially.
37978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
37979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
37980         * math/libm-test.inc (cacos_test): Add more tests.
37981         (casin_test): Likewise.
37982         (casinh_test): Likewise.
37983         * sysdeps/i386/fpu/libm-test-ulps: Update.
37984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37986 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
37989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
37991 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
37993         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
37994         * config.make.in (config-cflags-sse4): Remove variable.
37995         (config-cflags-avx): Likewise.
37996         (config-cflags-sse2avx): Likewise.
37997         (config-cflags-novzeroupper): Likewise.
37998         (config-asflags-i686): Likewise.
37999         (have-mfma4): Likewise.
38000         (have-as-vis3): Likewise.
38001         (MIG): Likewise.
38002         * configure.in (MIG): Do not AC_SUBST.
38003         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
38004         (libc_cv_cc_sse4): Do not AC_SUBST.
38005         (libc_cv_cc_avx): Likewise.
38006         (libc_cv_cc_sse2avx): Likewise.
38007         (libc_cv_cc_novzeroupper): Likewise.
38008         (libc_cv_cc_fma4): Likewise.
38009         (libc_cv_as_i686): Likewise.
38010         (libc_cv_sparc_as_vis3): Likewise.
38011         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
38012         LIBC_CONFIG_VAR.
38013         (config-asflags-i686): Likewise.
38014         (config-cflags-avx): Likewise.
38015         (config-cflags-sse2avx): Likewise.
38016         (have-mfma4): Likewise.
38017         (config-cflags-novzeroupper): Likewise.
38018         * sysdeps/mach/configure.in (MIG): Likewise.
38019         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
38020         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
38021         LIBC_CONFIG_VAR.
38022         (config-cflags-avx): Likewise.
38023         (config-cflags-sse2avx): Likewise.
38024         (have-mfma4): Likewise.
38025         (config-cflags-novzeroupper): Likewise.
38026         * configure: Regenerated.
38027         * sysdeps/i386/configure: Likewise.
38028         * sysdeps/mach/configure: Likewise.
38029         * sysdeps/sparc/configure: Likewise.
38030         * sysdeps/x86_64/configure: Likewise.
38032 2013-03-20  Roland McGrath  <roland@hack.frob.com>
38034         [BZ #14812]
38035         * locale/programs/localedef.c (options): Put N_ translation marker
38036         on argument names, not just descriptions.
38038 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38040         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
38042 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
38044         [BZ #14176]
38045         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
38047 2013-03-19  Roland McGrath  <roland@hack.frob.com>
38049         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
38050         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
38051         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
38052         [!BEFORE_ABORT] (before_abort): New function.
38053         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
38054         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
38055         (writev_for_fatal): New function.
38056         (WRITEV_FOR_FATAL): New macro; call that.
38057         (backtrace_and_maps): New function.
38058         (BEFORE_ABORT): New macro; call that.
38059         (struct str_list): Type removed.
38060         (__libc_message, __libc_fatal): Functions removed.
38061         Include <sysdeps/posix/libc_fatal.c> instead.
38063 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
38065         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
38066         constants.
38067         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
38068         double constants.
38070 2013-03-19  Andreas Schwab  <schwab@suse.de>
38072         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
38073         * sysdeps/gnu/configure: Regenerate.
38075         * configure.in: Substitute libc_cv_rtlddir.
38076         * configure: Regenerate.
38077         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
38078         * Makeconfig (rtlddir, inst_rtlddir): New variables.
38079         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
38080         * elf/Makefile (install-others, CFLAGS-interp.c)
38081         (ldso_install, common-ldd-rewrite): Likewise.
38082         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
38083         $(inst_slibdir)/$(rtld-installed-name).
38084         * scripts/rellns-sh: Add -p option.
38085         * Makerules (make-shlib-link): Use rellns-sh to get relative name
38086         for source.
38088 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38090         * manual/nptl.texi: Renamed to ...
38091         * manual/threads.texi: ... this.
38092         * manual/Makefile (chapters): Update.
38094 2013-03-18  Roland McGrath  <roland@hack.frob.com>
38096         [BZ #14812]
38097         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
38098         on argument names, not just descriptions.
38099         * malloc/memusagestat.c (options): Likewise.
38100         * nss/getent.c (options): Likewise.
38102 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
38104         [BZ #14812]
38105         * iconv/iconv_prog.c (options): Put N_ translation marker
38106         on argument names, not just descriptions.
38107         * iconv/iconvconfig.c (options): Likewise.
38109 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
38111         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
38112         implementation which is faster on all x86_64 architectures.
38113         Tested on AMD, Intel Nehalem, SNB, IVB.
38114         * sysdeps/x86_64/strnlen.S: Likewise.
38116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
38117         Remove all multiarch strlen and strnlen versions.
38118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
38119         Remove strlen and strnlen related parts.
38121         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
38122         Inline strlen part.
38123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
38125         * sysdeps/x86_64/multiarch/strlen.S: Remove.
38126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
38127         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
38128         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
38129         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38130         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
38132 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
38134         * manual/memory.texi (Malloc Tunable Parameters):
38135         Sort parameters alphabetically. Add comments for missing entries.
38137 2013-03-17  David S. Miller  <davem@davemloft.net>
38139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38141 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
38143         [BZ #15283]
38144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
38145         for arguments at most half maximum finite value.
38146         * math/libm-test.inc (j0_test): Add more tests.
38147         (j1_test): Likewise.
38148         (y0_test): Likewise.
38149         (y1_test): Likewise.
38150         * sysdeps/i386/fpu/libm-test-ulps: Update.
38151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38153         [BZ #14155]
38154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
38155         1 / x and functions P and Q for arguments above 0x1p256L.
38156         (__ieee754_y0l): Likewise.
38157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
38158         (__ieee754_y1l): Likewise.
38159         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
38160         (j1_test): Likewise.
38161         (y0_test): Likewise.
38162         (y1_test): Likewise.
38164 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
38166         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
38167         variable.
38169 2013-03-15  Roland McGrath  <roland@hack.frob.com>
38171         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
38172         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
38173         zero since it's initialized to EXEC_PAGESIZE.
38175         * sysdeps/unix/sysv/linux/ldsodefs.h
38176         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
38177         * sysdeps/generic/ldsodefs.h: ... here.
38179 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
38181         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
38183         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
38184         math/test-snan.c.
38185         * math/test-snan.c: Renamed from
38186         sysdeps/powerpc/fpu/test-powerpc-snan.c.
38187         * math/Makefile (tests): Add test-snan.
38188         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
38189         test-powerpc-snan.
38191         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
38192         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
38193         functions.
38194         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
38195         __builtin_nan family of functions.
38196         * math/libm-test.inc (initialize): Initialize qnan_value with
38197         __builtin_nan family of functions.
38198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
38199         Remove variables.
38200         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
38201         Remove functions.
38202         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
38203         storage class.  Initialize qNaN_var and sNaN_var with
38204         __builtin_nan and __builtin_nans families of functions,
38205         respectively.
38207         * math/libm-test.inc (acosh_test): Also test with qNaN input.
38208         (sqrt_test): Remove duplicate test with qNaN input.
38209         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
38210         (round_test, signbit_test, significand_test): Note missing +/-Inf
38211         as well as qNaN tests.
38213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
38214         qNaN_var.  Fix a few strings, too.
38215         * math/libm-test.inc (nan_value): Rename to qnan_value.
38216         * math/gen-libm-test.pl (%beautify): Adjust to that.
38217         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
38218         * math/test-misc.c (main): Likewise.
38219         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
38220         to __qnan_bytes, and __qnan_union, respectively.
38221         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
38222         Likewise.
38223         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
38224         and lqnanval, respectively.
38225         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
38226         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
38227         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
38228         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
38230         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
38231         * math/test-misc.c (main) [__x86_64__]: Enable test for long
38232         doubles.
38234         * math/test-misc.c (main): Fix copy'n'pastos.
38235         * misc/tst-efgcvt.c (special): Likewise.
38237         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
38238         Remove declarations.
38240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38242         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
38243         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
38244         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
38245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
38247 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
38250         macro to return vdso values correctly in IFUNC implementations.
38251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
38252         Optimization by using IFUNC.
38254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38255             Richard Henderson  <rth@redhat.com>
38256             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38258         * Makefile.in (bench): New target.
38259         * NEWS: Mention the benchmark framework.
38260         * Rules (bench): Likewise.
38261         (binaries-bench): Generate binaries for functions to
38262         benchmark.
38263         * benchtests/Makefile: New makefile for benchmark tests.
38264         * benchtests/bench-skeleton.c: New skeleton file for benchmark
38265         programs.
38266         * benchtests/exp-inputs: New input file for EXP function.
38267         * benchtests/pow-inputs: New input file for POW function.
38268         * scripts/bench.pl: New script to generate source files for
38269         benchmark programs.
38271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
38274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
38275         computations on mantissa.  Use macros for rounding and
38276         division.
38277         (denorm): Likewise.
38278         (__dbl_mp): Likewise.
38279         (add_magnitudes): Likewise.
38280         (sub_magnitudes): Likewise.
38281         (__mul): Likewise.
38282         (__sqr): Likewise.
38283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
38284         powers of two in terms of TWOPOW macro.
38285         (mp_no): Make type of mantissa as MANTISSA_T.
38286         [!RADIXI]: Define RADIXI.
38287         [!TWO52]: Define TWO52.
38288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
38290         * manual/nptl.texi (cindex): Modify threads to pthreads.
38292 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
38294         * sysdeps/x86_64/preconfigure: Regenerated.
38296 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
38298         [BZ #14155]
38299         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
38300         0x1p28 and above.
38301         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
38302         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
38303         0x1p28 and above.
38304         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
38305         * math/libm-test.inc (j0_test): Do not allow one spurious
38306         underflow exception.
38307         (y1_test): Likewise.
38309 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
38311         * manual/Makefile (chapters): Add nptl.
38312         * manual/debug.texi (Debugging Support): Add link to Threads
38313         chapter.
38314         * manual/nptl.texi: New file.
38316         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
38318 2013-03-14  Petr Baudis  <pasky@ucw.cz>
38320         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
38321         for non-NULL pointer before the memory validity test. Pointed
38322         out by Holger Brunck <holger.brunck@keymile.com>.
38324 2013-03-13  Andreas Schwab  <schwab@suse.de>
38326         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
38327         instead of .os.
38329 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
38331         * timezone/zic.c: Update from tzcode 2013b.
38333 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
38335         * manual/install.texi (Configuring and compiling):
38336         Mention i686 and i586.
38337         * INSTALL: Regenerate.
38339 2013-03-12  Roland McGrath  <roland@hack.frob.com>
38341         * sysdeps/init_array/elf-init.c: New file.
38342         * csu/elf-init.c
38343         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
38344         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
38346         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
38347         __gmon_start__ as global, but as static with a .preinit_array pointer.
38348         * sysdeps/init_array/gmon-start.c: New file.  Use that.
38349         * sysdeps/init_array/crti.S: New file, empty except for comments.
38350         * sysdeps/init_array/crtn.S: Likewise.
38352 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
38354         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
38355         definining bcopy.
38356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38357         Remove Prefer_SSE_for_memop.
38358         * sysdeps/x86_64/multiarch/init-arch.h: Remove
38359         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
38360         HAS_PREFER_SSE_FOR_MEMOP.
38361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
38362         memset-x86-64.
38363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
38364         Remove bzero, memset ifunc support.
38365         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
38366         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
38367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
38368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38370 2013-03-11  Andreas Schwab  <schwab@suse.de>
38372         [BZ #15234]
38373         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
38374         by SHLIB_COMPAT.
38375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
38376         (GLIBC_2.16): Remove pthread_atfork.
38378 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38380         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
38381         (ptestcases.h): Likewise.
38383 2013-03-08  Roland McGrath  <roland@hack.frob.com>
38385         * Makeconfig ($(common-objpfx)config.status): Depend on
38386         sysdeps/*/preconfigure{,.in} too.
38388 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
38390         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
38391         (__free_hook): Use void * instead of __malloc_ptr_t.
38392         (__malloc_hook): Likewise.
38393         (__realloc_hook): Likewise.
38394         (__memalign_hook): Likewise.
38395         (__after_morecore_hook): Likewise.
38396         * malloc/arena.c (save_malloc_hook): Likewise.
38397         (save_free_hook): Likewise.
38398         * malloc/hooks.c (malloc_hook_ini): Likewise.
38399         (realloc_hook_ini): Likewise.
38400         (memalign_hook_ini): Likewise.
38401         * malloc/malloc.c (malloc_hook_ini): Likewise.
38402         (realloc_hook_ini): Likewise.
38403         (memalign_hook_ini): Likewise.
38404         (__free_hook): Likewise.
38405         (__malloc_hook): Likewise.
38406         (__realloc_hook): Likewise.
38407         (__memalign_hook): Likewise.
38408         (__libc_malloc): Likewise.
38409         (__libc_free): Likewise.
38410         (__libc_realloc): Likewise.
38411         (__libc_memalign): Likewise.
38412         (__libc_valloc): Likewise.
38413         (__libc_pvalloc): Likewise.
38414         (__libc_calloc): Likewise.
38415         (__posix_memalign): Likewise.
38416         * malloc/morecore.c (__sbrk): Likewise.
38417         (__default_morecore): Likewise.
38419         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
38421         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
38422         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
38423         __malloc_ptrdiff_t.
38425         * malloc/malloc.h (__malloc_size_t): Remove macro.
38426         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
38427         __malloc_size_t.
38428         (old_memalign_hook): Likewise.
38429         (old_realloc_hook): Likewise.
38430         (struct hdr): Likewise.
38431         (flood): Likewise.
38432         (mallochook): Likewise.
38433         (memalignhook): Likewise.
38434         (reallochook): Likewise.
38435         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
38436         (tr_old_realloc_hook): Likewise.
38437         (tr_old_memalign_hook): Likewise.
38438         (tr_mallochook): Likewise.
38439         (tr_reallochook): Likewise.
38440         (tr_memalignhook): Likewise.
38442 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
38445         default_ldbl_pack and using as default implementation.
38446         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
38447         implementation.
38448         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
38449         redundant definition.
38450         (ldbl_insert_mantissa): Likewise.
38451         (ldbl_canonicalize): Likewise.
38452         (ldbl_nearbyint): Likewise.
38453         (ldbl_pack): Rename to ldbl_pack_ppc.
38454         (ldbl_unpack): Rename to ldbl_unpack_ppc.
38455         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
38456         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
38458 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
38460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
38461         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
38462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
38463         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
38464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
38465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
38466         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
38467         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
38469 2013-03-07  Andreas Jaeger  <aj@suse.de>
38471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38472         bits/mman-linux.h.
38474 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38476         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
38477         Include mpa.h and declare __MPEXP.
38478         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
38479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38480         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
38482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38483         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
38484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
38486         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
38487         (__slowpow): Use long double EXPL and LOGL functions to
38488         compute POW.
38489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
38490         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
38492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
38493         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
38494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
38496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
38497         intermediate variable to calculate exponent.
38498         (__sqr): Likewise.
38499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
38500         Likewise.
38501         (__sqr): Likewise.
38503         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
38504         [!NO__SQR]: Define __sqr.
38505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
38506         and NO__SQR.  Remove all code except __mul and __sqr.  Include
38507         sysdeps/ieee754/dbl-64/mpa.c.
38508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
38510         [BZ #12723]
38511         * posix/Makefile (tests): Add tst-pathconf.
38512         * posix/tst-pathconf.c: New test case.
38513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
38514         _PC_PIPE_BUF.
38515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
38517 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
38519         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
38521 2013-03-06  Andreas Jaeger  <aj@suse.de>
38523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
38524         definition via __MAP_ANONYMOUS.
38526         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
38527         it's not part of Linux headers.
38529         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
38530         (MAP_HUGE_MASK): Define.
38532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38533         Define.
38534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38536         Define.
38537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38538         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
38539         Define.
38540         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
38542         Define.
38543         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
38545         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
38546         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
38547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
38548         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
38549         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
38550         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
38552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
38553         Handle f2fs.
38555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38556         Handle f2fs and efivarfs.
38558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
38559         f2fs.
38561         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
38562         (EFIVARFS_MAGIC): Add.
38563         (F2FS_LINK_MAX): Add.
38565 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38567         * stdio-common/vfprintf.c: Replace __builtin_expect with
38568         __glibc_unlikely.
38570 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
38572         [BZ #13550]
38573         * sysdeps/generic/bp-sym.h: Remove file.
38574         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
38575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
38576         <bp-sym.h> and <bp-asm.h>.
38577         (__longjmp): Don't use BP_SYM.
38578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
38579         and <bp-asm.h>.
38580         (memcpy): Don't use BP_SYM.
38581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
38582         <bp-sym.h> and <bp-asm.h>.
38583         (memcpy): Don't use BP_SYM.
38584         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
38585         <bp-asm.h>.
38586         (memcpy): Don't use BP_SYM.
38587         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
38588         <bp-asm.h>.
38589         (memset): Don't use BP_SYM.
38590         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38591         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38592         (__bzero): Don't use BP_SYM.
38593         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38594         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38595         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
38596         <bp-sym.h> and <bp-asm.h>.
38597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
38598         pointers.
38599         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
38600         <bp-sym.h> and <bp-asm.h>.
38601         (memcpy): Don't use BP_SYM.
38602         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
38603         <bp-sym.h> and <bp-asm.h>.
38604         (memset): Don't use BP_SYM.
38605         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38606         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38607         (__bzero): Don't use BP_SYM.
38608         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38609         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38610         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
38611         <bp-sym.h> and <bp-asm.h>.
38612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38613         pointers.
38614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
38615         <bp-sym.h> and <bp-asm.h>.
38616         (memcpy): Don't use BP_SYM.
38617         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
38618         <bp-sym.h> and <bp-asm.h>.
38619         (memset): Don't use BP_SYM.
38620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38622         (__bzero): Don't use BP_SYM.
38623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
38626         <bp-sym.h> and <bp-asm.h>.
38627         (__memchr): Don't use BP_SYM.
38628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
38629         <bp-sym.h> and <bp-asm.h>.
38630         (memcmp): Don't use BP_SYM.  Remove comment about bounded
38631         pointers.
38632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
38633         <bp-sym.h> and <bp-asm.h>.
38634         (memcpy): Don't use BP_SYM.
38635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
38636         <bp-sym.h> and <bp-asm.h>.
38637         (__mempcpy): Don't use BP_SYM.
38638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
38639         <bp-sym.h> and <bp-asm.h>.
38640         (__memrchr): Don't use BP_SYM.
38641         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
38642         <bp-sym.h> and <bp-asm.h>.
38643         (memset): Don't use BP_SYM.
38644         (__bzero): Likewise.
38645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
38646         <bp-sym.h> and <bp-asm.h>.
38647         (__rawmemchr): Don't use BP_SYM.
38648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
38649         <bp-sym.h> and <bp-asm.h>.
38650         (__STRCMP): Don't use BP_SYM.
38651         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
38652         <bp-sym.h> and <bp-asm.h>.
38653         (strchr): Don't use BP_SYM.
38654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
38655         <bp-sym.h> and <bp-asm.h>.
38656         (__strchrnul): Don't use BP_SYM.
38657         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
38658         <bp-sym.h> and <bp-asm.h>.
38659         (strlen): Don't use BP_SYM.
38660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
38661         <bp-sym.h> and <bp-asm.h>.
38662         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38663         pointers.
38664         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
38665         <bp-sym.h> and <bp-asm.h>.
38666         (__strnlen): Don't use BP_SYM.
38667         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
38668         <bp-sym.h> and <bp-asm.h>.
38669         (__GI__setjmp): Don't use BP_SYM.
38670         (_setjmp): Likewise.
38671         (__sigsetjmp): Likewise.
38672         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
38673         (L(start_addresses)): Don't use BP_SYM.
38674         (_start): Likewise.
38675         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
38676         <bp-asm.h>.
38677         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
38678         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
38679         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38680         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38681         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
38682         <bp-asm.h>.
38683         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
38684         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
38685         about bounded pointers.
38686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38688         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
38689         <bp-asm.h>.
38690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38691         about bounded pointers.  Remove GKM FIXME comments.
38692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38693         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
38694         <bp-asm.h>.
38695         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
38696         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
38697         Remove GKM FIXME comments.
38698         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38699         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38700         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
38701         <bp-asm.h>.
38702         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
38703         about bounded pointers.  Remove GKM FIXME comment.
38704         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
38705         and <bp-asm.h>.
38706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
38707         pointers.
38708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
38709         <bp-sym.h> and <bp-asm.h>.
38710         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
38712         <bp-sym.h> and <bp-asm.h>.
38713         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38714         comment.
38716 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
38718         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
38719         call free(NULL).
38721 2013-03-05  David S. Miller  <davem@davemloft.net>
38723         * po/es.po: Update from translation team.
38725 2013-03-05  Andreas Jaeger  <aj@suse.de>
38727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
38728         <bits/mman-linux.h>.
38729         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38730         is fine.
38731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
38732         <bits/mman-linux.h> to end of file.
38733         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38734         is fine.
38735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
38736         <bits/mman-linux.h> to end of file.
38737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
38738         is fine.
38739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
38740         <bits/mman-linux.h> to end of file.
38742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
38743         (MCL_CURRENT, MCL_FUTURE): Define here.
38745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38747         [BZ #15232]
38748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
38749         attribute_hidden.
38750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
38755         fourth parameter needed for rt_sigprocmask syscall.
38756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
38757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
38758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
38759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
38760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
38761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
38763 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
38765         [BZ #13550]
38766         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
38767         comment about bounded pointers.
38768         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
38769         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
38771 2013-03-04  Andreas Jaeger  <aj@suse.de>
38773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
38774         common definitions.
38776         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
38777         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
38778         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
38779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38783 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38785         [BZ #15055]
38786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38787         __ieee754_sqrl instead of __sqrl.
38789 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
38791         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
38792         * sysdeps/powerpc/fpu_control.h: ... here.
38793         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
38794         * sysdeps/powerpc/bits/fenvinline.h: ... here.
38795         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
38796         * sysdeps/powerpc/bits/mathinline.h: ... here.
38798 2013-03-01  Roland McGrath  <roland@hack.frob.com>
38800         * elf/dl-hwcaps.c (_dl_important_hwcaps):
38801         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
38802         to just [NEED_DL_SYSINFO_DSO].
38803         * elf/dl-support.c: Likewise.
38804         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
38805         * elf/rtld.c (dl_main): Likewise.
38806         * elf/setup-vdso.h (setup_vdso): Likewise.
38807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
38808         * sysdeps/unix/sysv/linux/dl-sysdep.c
38809         (_dl_discover_osversion): Likewise.
38811 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
38813         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
38814         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38816 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
38818         * NEWS: Mention libm performance improvements and non-x86 PI
38819         futex support.
38821         * csu/libc-start.c (__pthread_initialize_minimal): Change
38822         function arguments.
38823         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
38825 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
38827         [BZ #13550]
38828         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
38829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
38830         <bp-sym.h> and <bp-asm.h>.
38831         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
38833         and <bp-asm.h>.
38834         (memcpy): Don't use BP_SYM.
38835         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
38836         <bp-asm.h>.
38837         (__mpn_add_n): Don't use BP_SYM.
38838         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
38839         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
38840         and <bp-asm.h>.
38841         (__mpn_addmul_1): Don't use BP_SYM.
38842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
38844         <bp-sym.h>.
38845         (_setjmp): Don't use BP_SYM.
38846         (__novmx_setjmp): Likewise.
38847         (__GI__setjmp): Likewise.
38848         (__vmx_setjmp): Likewise.
38849         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
38850         <bp-sym.h>.
38851         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
38852         (__bzero): Don't use BP_SYM.
38853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
38854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
38855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
38856         <bp-sym.h> and <bp-asm.h>.
38857         (memcpy): Don't use BP_SYM.
38858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
38859         <bp-sym.h> and <bp-asm.h>.
38860         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
38862         <bp-sym.h> and <bp-asm.h>.
38863         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
38864         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
38865         <bp-asm.h>.
38866         (__mpn_lshift): Don't use BP_SYM.
38867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38868         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
38869         <bp-asm.h>.
38870         (memset): Don't use BP_SYM.
38871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
38872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
38873         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
38874         <bp-asm.h>.
38875         (__mpn_mul_1): Don't use BP_SYM.
38876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
38878         <bp-sym.h> and <bp-asm.h>.
38879         (memcmp): Don't use BP_SYM.
38880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
38881         <bp-sym.h> and <bp-asm.h>.
38882         (memcpy): Don't use BP_SYM.
38883         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
38884         <bp-sym.h> and <bp-asm.h>.
38885         (memset): Don't use BP_SYM.
38886         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
38887         <bp-sym.h> and <bp-asm.h>.
38888         (strncmp): Don't use BP_SYM.
38889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
38890         <bp-sym.h> and <bp-asm.h>.
38891         (memcpy): Don't use BP_SYM.
38892         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
38893         <bp-sym.h> and <bp-asm.h>.
38894         (memset): Don't use BP_SYM.
38895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
38896         <bp-sym.h> and <bp-asm.h>.
38897         (__memchr): Don't use BP_SYM.
38898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
38899         <bp-sym.h> and <bp-asm.h>.
38900         (memcmp): Don't use BP_SYM.
38901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
38902         <bp-sym.h> and <bp-asm.h>.
38903         (memcpy): Don't use BP_SYM.
38904         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
38905         <bp-sym.h> and <bp-asm.h>.
38906         (__mempcpy): Don't use BP_SYM.
38907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
38908         <bp-sym.h> and <bp-asm.h>.
38909         (__memrchr): Don't use BP_SYM.
38910         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
38911         <bp-sym.h> and <bp-asm.h>.
38912         (memset): Don't use BP_SYM.
38913         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
38914         <bp-sym.h> and <bp-asm.h>.
38915         (__rawmemchr): Don't use BP_SYM.
38916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
38917         <bp-sym.h> and <bp-asm.h>.
38918         (__STRCMP): Don't use BP_SYM.
38919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
38920         <bp-sym.h> and <bp-asm.h>.
38921         (strchr): Don't use BP_SYM.
38922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
38923         <bp-sym.h> and <bp-asm.h>.
38924         (__strchrnul): Don't use BP_SYM.
38925         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
38926         <bp-sym.h> and <bp-asm.h>.
38927         (strlen): Don't use BP_SYM.
38928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
38929         <bp-sym.h> and <bp-asm.h>.
38930         (strncmp): Don't use BP_SYM.
38931         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
38932         <bp-sym.h> and <bp-asm.h>.
38933         (__strnlen): Don't use BP_SYM.
38934         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
38935         <bp-asm.h>.
38936         (__mpn_rshift): Don't use BP_SYM.
38937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
38938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
38939         <bp-sym.h> and <bp-asm.h>.
38940         (__sigsetjmp): Don't use BP_SYM.
38941         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
38942         (L(start_addresses)): Don't use BP_SYM.
38943         (_start): Likewise.
38944         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
38945         <bp-asm.h>.
38946         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
38947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38949         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
38950         <bp-asm.h>.
38951         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
38952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
38953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
38954         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
38955         <bp-asm.h>.
38956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38957         comments.
38958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
38959         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
38960         <bp-asm.h>.
38961         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
38962         FIXME comments.
38963         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
38964         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
38965         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
38966         <bp-asm.h>.
38967         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
38968         comment.
38969         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
38970         and <bp-asm.h>.
38971         (strncmp): Don't use BP_SYM,
38972         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
38973         <bp-asm.h>.
38974         (__mpn_sub_n): Don't use BP_SYM.
38975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
38976         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
38977         and <bp-asm.h>.
38978         (__mpn_submul_1): Don't use BP_SYM.
38979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
38980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
38981         <bp-sym.h> and <bp-asm.h>.
38982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
38984         <bp-sym.h> and <bp-asm.h>.
38985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
38986         comment.
38988 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
38991         Use ZK to minimize writes to Z.
38992         (sub_magnitudes): Simplify code a bit.
38993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
38994         Use ZK to minimize writes to Z.
38995         (sub_magnitudes): Simplify code a bit.
38997 2013-02-27  Roland McGrath  <roland@hack.frob.com>
38999         * csu/gmon-start.c: Add special exception to license text.
39001 2013-02-27  Richard Henderson  <rth@redhat.com>
39003         * scripts/config.guess: Update from config.git.
39004         * scripts/config.sub: Likewise.
39006 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
39010         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
39012         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
39014         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
39016         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
39018 2013-02-26  Roland McGrath  <roland@hack.frob.com>
39020         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
39021         [$(build-shared = yes].
39023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39025         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
39026         (__mul): Reduce iterations for calculating mantissa.
39028         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
39029         MPTWO.
39030         (__mpranred): Likewise.
39032         [BZ #15160]
39033         * malloc/memusagestat.c (main): Draw graphs for heap and stack
39034         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
39036 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
39038         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
39039         Define __attribute__.
39041 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
39043         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
39044         unused.
39045         * posix/regex_internal.h (__attribute): Remove.
39046         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
39047         (re_string_context_at): Likewise.
39048         (bitset_not): Use __attribute__ and mark function as possibly
39049         unused.
39050         (bitset_merge): Likewise.
39051         (bitset_mask): Likewise.
39052         (re_string_char_size_at): Likewise.
39053         (re_string_wchar_at): Likewise.
39054         (re_string_elem_size_at): Likewise.
39056 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39058         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
39059         code.
39060         (cc32): Likewise.
39062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
39063         (__acr): Likewise.
39064         (__cpy): Likewise.
39065         (norm): Likewise.
39066         (denorm): Likewise.
39067         (__dbl_mp): Likewise.
39068         (add_magnitudes): Likewise.
39069         (sub_magnitudes): Likewise.
39070         (__mul): Likewise.
39071         (__inv): Likewise.
39073         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
39074         style.
39076         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
39077         style.
39079         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
39080         code.
39082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
39083         up changes with default code.
39084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
39085         Likewise.
39087 2013-02-24  Allan McRae  <allan@archlinux.org>
39089         * manual/socket.texi (The Internet Namespace): Order menu items
39090         to match that in the file.
39092         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
39093         node listing of the info page menu.
39095 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
39097         [BZ #13550]
39098         * sysdeps/i386/bp-asm.h: Remove file.
39099         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39100         (PARMS): Do not use macros from bp-asm.h.
39101         (S1): Likewise.
39102         (S2): Likewise.
39103         (SIZE): Likewise.
39104         (__mpn_add_n): Do not use BP_SYM
39105         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
39106         "bp-asm.h".
39107         (PARMS): Do not use macros from bp-asm.h.
39108         (S1): Likewise.
39109         (SIZE): Likewise.
39110         (__mpn_addmul_1): Do not use BP_SYM
39111         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
39112         "bp-asm.h".
39113         (PARMS): Do not use macros from bp-asm.h.
39114         (SIGMSK): Likewise.
39115         (_setjmp): Likewise.  Do not use BP_SYM.
39116         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
39117         "bp-asm.h".
39118         (PARMS): Do not use macros from bp-asm.h.
39119         (SIGMSK): Likewise.
39120         (setjmp): Likewise.  Do not use BP_SYM.
39121         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
39122         "bp-asm.h".
39123         (PARMS): Do not use macros from bp-asm.h.
39124         (__frexp): Do not use BP_SYM.
39125         (frexp): Likewise.
39126         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
39127         "bp-asm.h".
39128         (PARMS): Do not use macros from bp-asm.h.
39129         (__frexpf): Do not use BP_SYM.
39130         (frexpf): Likewise.
39131         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
39132         "bp-asm.h".
39133         (PARMS): Do not use macros from bp-asm.h.
39134         (__frexpl): Do not use BP_SYM.
39135         (frexpl): Likewise.
39136         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
39137         "bp-asm.h".
39138         (PARMS): Do not use macros from bp-asm.h.
39139         (__remquo): Do not use BP_SYM.
39140         (remquo): Likewise.
39141         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
39142         "bp-asm.h".
39143         (PARMS): Do not use macros from bp-asm.h.
39144         (__remquof): Do not use BP_SYM.
39145         (remquof): Likewise.
39146         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
39147         "bp-asm.h".
39148         (PARMS): Do not use macros from bp-asm.h.
39149         (__remquol): Do not use BP_SYM.
39150         (remquol): Likewise.
39151         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
39152         "bp-asm.h".
39153         (PARMS): Do not use macros from bp-asm.h.
39154         (DEST): Likewise.
39155         (SRC): Likewise.
39156         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
39157         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
39158         "bp-asm.h".
39159         (PARMS): Do not use macros from bp-asm.h.
39160         (strlen): Do not use BP_SYM.
39161         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
39162         "bp-asm.h".
39163         (PARMS): Do not use macros from bp-asm.h.
39164         (S1): Likewise.
39165         (S2): Likewise.
39166         (SIZE): Likewise.
39167         (__mpn_add_n): Do not use BP_SYM.
39168         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
39169         "bp-asm.h".
39170         (PARMS): Do not use macros from bp-asm.h.
39171         (S1): Likewise.
39172         (SIZE): Likewise.
39173         (__mpn_addmul_1): Do not use BP_SYM.
39174         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
39175         weak_alias.
39176         (bzero): Likewise.
39177         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
39178         "bp-asm.h".
39179         (PARMS): Do not use macros from bp-asm.h.
39180         (S): Likewise.
39181         (SIZE): Likewise.
39182         (__mpn_lshift): Do not use BP_SYM.
39183         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
39184         "bp-asm.h".
39185         (PARMS): Do not use macros from bp-asm.h.
39186         (DEST): Likewise.
39187         (SRC): Likewise.
39188         (LEN): Likewise.
39189         (memcpy): Likewise.  Do not use BP_SYM.
39190         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
39191         libc_hidden_def and weak_alias.
39192         (mempcpy): Do not use BP_SYM in weak_alias.
39193         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
39194         "bp-asm.h".
39195         (PARMS): Do not use macros from bp-asm.h.
39196         (DEST): Likewise.
39197         (LEN): Likewise.
39198         [!BZERO_P] (CHR): Likewise.
39199         (memset): Likewise.  Do not use BP_SYM.
39200         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
39201         "bp-asm.h".
39202         (PARMS): Do not use macros from bp-asm.h.
39203         (S1): Likewise.
39204         (SIZE): Likewise.
39205         (__mpn_mul_1): Do not use BP_SYM.
39206         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
39207         "bp-asm.h".
39208         (PARMS): Do not use macros from bp-asm.h.
39209         (S): Likewise.
39210         (SIZE): Likewise.
39211         (__mpn_rshift): Do not use BP_SYM.
39212         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
39213         "bp-asm.h".
39214         (PARMS): Do not use macros from bp-asm.h.
39215         (STR): Likewise.
39216         (CHR): Likewise.
39217         (strchr): Likewise.  Do not use BP_SYM.
39218         (index): Do not use BP_SYM in weak_alias.
39219         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
39220         "bp-asm.h".
39221         (PARMS): Do not use macros from bp-asm.h.
39222         (DEST): Likewise.
39223         (SRC): Likewise.
39224         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
39225         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
39226         "bp-asm.h".
39227         (PARMS): Do not use macros from bp-asm.h.
39228         (strlen): Do not use BP_SYM.
39229         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
39230         "bp-asm.h".
39231         (PARMS): Do not use macros from bp-asm.h.
39232         (S1): Likewise.
39233         (S2): Likewise.
39234         (SIZE): Likewise.
39235         (__mpn_sub_n): Do not use BP_SYM.
39236         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
39237         "bp-asm.h".
39238         (PARMS): Do not use macros from bp-asm.h.
39239         (S1): Likewise.
39240         (SIZE): Likewise.
39241         (__mpn_submul_1): Do not use BP_SYM.
39242         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
39243         "bp-asm.h".
39244         (PARMS): Do not use macros from bp-asm.h.
39245         (S1): Likewise.
39246         (S2): Likewise.
39247         (SIZE): Likewise.
39248         (__mpn_add_n): Do not use BP_SYM.
39249         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
39250         weak_alias.
39251         (bzero): Likewise.
39252         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
39253         "bp-asm.h".
39254         (PARMS): Do not use macros from bp-asm.h.
39255         (BLK2): Likewise.
39256         (LEN): Likewise.
39257         (memcmp): Do not use BP_SYM.
39258         (bcmp): Do not use BP_SYM in weak_alias.
39259         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
39260         "bp-asm.h".
39261         (PARMS): Do not use macros from bp-asm.h.
39262         (DEST): Likewise.
39263         (SRC): Likewise.
39264         (LEN): Likewise.
39265         (memcpy): Likewise.  Do not use BP_SYM.
39266         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
39267         "bp-asm.h".
39268         (PARMS): Do not use macros from bp-asm.h.
39269         (DEST): Likewise.
39270         (SRC): Likewise.
39271         (LEN): Likewise.
39272         (memmove): Likewise.  Do not use BP_SYM.
39273         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
39274         "bp-asm.h".
39275         (PARMS): Do not use macros from bp-asm.h.
39276         (DEST): Likewise.
39277         (SRC): Likewise.
39278         (LEN): Likewise.
39279         (__mempcpy): Likewise.  Do not use BP_SYM.
39280         (mempcpy): Do not use BP_SYM in weak_alias.
39281         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
39282         "bp-asm.h".
39283         (PARMS): Do not use macros from bp-asm.h.
39284         (DEST): Likewise.
39285         (LEN): Likewise.
39286         [!BZERO_P] (CHR): Likewise.
39287         (memset): Likewise.  Do not use BP_SYM.
39288         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
39289         "bp-asm.h".
39290         (PARMS): Do not use macros from bp-asm.h.
39291         (STR2): Likewise.
39292         (strcmp): Do not use BP_SYM.
39293         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
39294         "bp-asm.h".
39295         (PARMS): Do not use macros from bp-asm.h.
39296         (STR): Likewise.
39297         (DELIM): Likewise.
39298         [USE_AS_STRTOK_R] (SAVE): Likewise.
39299         (FUNCTION): Likewise.  Do not use BP_SYM.
39300         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
39301         aliases.
39302         (strtok_r): Likewise.
39303         (__GI___strtok_r): Likewise.
39304         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39305         (PARMS): Do not use macros from bp-asm.h.
39306         (S): Likewise.
39307         (SIZE): Likewise.
39308         (__mpn_lshift): Do not use BP_SYM.
39309         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39310         (PARMS): Do not use macros from bp-asm.h.
39311         (STR): Likewise.
39312         (CHR): Likewise.
39313         (__memchr): Do not use BP_SYM.
39314         (memchr): Do not use BP_SYM in weak_alias.
39315         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39316         (PARMS): Do not use macros from bp-asm.h.
39317         (BLK2): Likewise.
39318         (LEN): Likewise.
39319         (memcmp): Do not use BP_SYM.
39320         (bcmp): Do not use BP_SYM in weak_alias.
39321         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
39322         (PARMS): Do not use macros from bp-asm.h.
39323         (S1): Likewise.
39324         (SIZE): Likewise.
39325         (__mpn_mul_1): Do not use BP_SYM.
39326         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
39327         "bp-asm.h".
39328         (PARMS): Do not use macros from bp-asm.h.
39329         (STR): Likewise.
39330         (CHR): Likewise.
39331         (__rawmemchr): Do not use BP_SYM.
39332         (rawmemchr): Do not use BP_SYM in weak_alias.
39333         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
39334         (PARMS): Do not use macros from bp-asm.h.
39335         (S): Likewise.
39336         (SIZE): Likewise.
39337         (__mpn_rshift): Do not use BP_SYM.
39338         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
39339         (PARMS): Do not use macros from bp-asm.h.
39340         (SIGMSK): Likewise.
39341         (__sigsetjmp): Likewise.  Do not use BP_SYM.
39342         * sysdeps/i386/start.S: Do not include "bp-sym.h".
39343         (_start): Do not use BP_SYM.
39344         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
39345         (PARMS): Do not use macros from bp-asm.h.
39346         (DEST): Likewise.
39347         (SRC): Likewise.
39348         (__stpcpy): Likewise.  Do not use BP_SYM.
39349         (stpcpy): Do not use BP_SYM in weak_alias.
39350         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
39351         "bp-asm.h".
39352         (PARMS): Do not use macros from bp-asm.h.
39353         (DEST): Likewise.
39354         (SRC): Likewise.
39355         (LEN): Likewise.
39356         (__stpncpy): Likewise.  Do not use BP_SYM.
39357         (stpncpy): Do not use BP_SYM in weak_alias.
39358         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
39359         (PARMS): Do not use macros from bp-asm.h.
39360         (STR): Likewise.
39361         (CHR): Likewise.
39362         (strchr): Likewise.  Do not use BP_SYM.
39363         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
39364         "bp-asm.h".
39365         (PARMS): Do not use macros from bp-asm.h.
39366         (STR): Likewise.
39367         (CHR): Likewise.
39368         (__strchrnul): Likewise.  Do not use BP_SYM.
39369         (strchrnul): Do not use BP_SYM in weak_alias.
39370         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
39371         "bp-asm.h".
39372         (PARMS): Do not use macros from bp-asm.h.
39373         (STOP): Likewise.
39374         (strcspn): Do not use BP_SYM.
39375         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
39376         "bp-asm.h".
39377         (PARMS): Do not use macros from bp-asm.h.
39378         (STR): Likewise.
39379         (STOP): Likewise.
39380         (strpbrk): Likewise.  Do not use BP_SYM.
39381         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
39382         "bp-asm.h".
39383         (PARMS): Do not use macros from bp-asm.h.
39384         (STR): Likewise.
39385         (CHR): Likewise.
39386         (strrchr): Likewise.  Do not use BP_SYM.
39387         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
39388         (PARMS): Do not use macros from bp-asm.h.
39389         (SKIP): Likewise.
39390         (strspn): Do not use BP_SYM.
39391         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
39392         (PARMS): Do not use macros from bp-asm.h.
39393         (STR): Likewise.
39394         (DELIM): Likewise.
39395         (SAVE): Likewise.
39396         (FUNCTION): Likewise.  Do not use BP_SYM.
39397         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
39398         aliases.
39399         (strtok_r): Likewise.
39400         (__GI___strtok_r): Likewise.
39401         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
39402         (PARMS): Do not use macros from bp-asm.h.
39403         (S1): Likewise.
39404         (S2): Likewise.
39405         (SIZE): Likewise.
39406         (__mpn_sub_n): Do not use BP_SYM.
39407         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
39408         "bp-asm.h".
39409         (PARMS): Do not use macros from bp-asm.h.
39410         (S1): Likewise.
39411         (SIZE): Likewise.
39412         (__mpn_submul_1): Do not use BP_SYM.
39413         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
39414         <bp-sym.h>.
39415         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
39416         and <bp-asm.h>.
39417         (PARMS): Do not use macros from bp-asm.h.
39418         (FLAGS): Likewise.
39419         (PTID): Likewise.
39420         (TLS): Likewise.
39421         (CTID): Likewise.
39422         (__clone): Do not use BP_SYM.
39423         (clone): Do not use BP_SYM in weak_alias.
39424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
39425         and <bp-asm.h>.
39426         (PARMS): Do not use macros from bp-asm.h.
39427         (LEN): Likewise.
39428         (__mmap64): Do not use BP_SYM.
39429         (mmap64): Do not use BP_SYM in weak_alias.
39430         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39431         <bp-sym.h> and <bp-asm.h>.
39432         (PARMS): Do not use macros from bp-asm.h.
39433         (__posix_fadvise64_l64): Do not use BP_SYM.
39434         * sysdeps/unix/sysv/linux/i386/semtimedop.S
39435         (PARMS): Do not use macros from bp-asm.h.
39436         (NSOPS): Likewise.
39437         (semtimedop): Do not use BP_SYM.
39438         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
39439         and <bp-asm.h>.
39441 2013-02-21  Allan McRae  <allan@archlinux.org>
39443         * manual/message.texi (Charset conversion in gettext):
39444         Move @end statement to beginning of line.
39446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
39449         static.
39450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
39451         Likewise.
39453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
39454         (denorm): Likewise.
39455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
39456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
39458 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39460         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
39461         tail-call to the resolved function if pltexit isn't needed.
39463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
39466         or Y being zero as being unlikely.
39467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
39468         Likewise.
39470 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
39472         * manual/nss.texi (System Databases and Name Service Switch):
39473         Remove frobnicate @pxref.
39475 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
39477         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39478         __attribute__ ((unused)) to __attribute__ ((__unused__)).
39480 2013-02-20  Petr Machata  <pmachata@redhat.com>
39482         * elf/elf.h (R_ARM_TARGET1): New macro.
39483         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
39484         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
39485         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
39486         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
39487         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
39488         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
39489         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
39490         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
39491         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
39492         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
39493         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
39494         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
39495         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
39496         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
39497         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
39498         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
39499         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
39500         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
39501         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
39502         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
39503         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
39504         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
39505         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
39506         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
39507         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
39508         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
39509         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
39510         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
39511         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
39512         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
39513         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
39514         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
39515         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
39516         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
39517         (R_ARM_THM_GOT_BREL12): Likewise.
39518         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
39519         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
39520         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
39521         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
39522         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
39523         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
39524         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
39525         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
39526         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
39528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
39530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
39531         __attribute_used__ to __attribute__ ((unused)).
39533 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
39535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
39536         powerpc mpa.c.
39537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
39538         comment formatting.
39539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
39541 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
39543         [BZ #13550]
39544         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
39545         Remove macro.
39546         (ENTER): Remove both macro definitions.
39547         (LEAVE): Likewise.
39548         (CHECK_BOUNDS_LOW): Likewise.
39549         (CHECK_BOUNDS_HIGH): Likewise.
39550         (CHECK_BOUNDS_BOTH): Likewise.
39551         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
39552         (RETURN_BOUNDED_POINTER): Likewise.
39553         (RETURN_NULL_BOUNDED_POINTER): Likewise.
39554         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
39555         (POP_ERRNO_LOCATION_RETURN): Likewise.
39556         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
39557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39558         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
39559         macros.
39560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39561         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
39562         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
39563         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
39564         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
39565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
39566         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
39567         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
39568         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
39569         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
39570         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
39571         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
39572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39573         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
39574         removed macros.
39575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39576         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
39577         macros.
39578         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39579         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
39580         * sysdeps/i386/i586/memset.S (memset): Likewise.
39581         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
39582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39583         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
39584         macros.
39585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39586         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
39587         Change uses of L(2) to L(out).
39588         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
39589         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
39590         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
39591         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39592         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
39593         removed macros.
39594         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39595         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
39596         macros.
39597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39598         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
39599         (RETURN): Do not use macro LEAVE.
39600         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
39601         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
39602         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
39603         * sysdeps/i386/i686/memset.S (memset): Likewise.
39604         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
39605         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
39606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
39607         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
39608         Likewise.
39609         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39610         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
39611         L(1_2) and L(1_3) into L(1).
39612         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39613         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
39614         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39615         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
39616         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
39617         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
39618         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
39619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39620         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
39621         macros.
39622         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
39623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
39624         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
39625         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
39626         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
39627         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
39628         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
39629         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
39630         * sysdeps/i386/strcspn.S (strcspn): Likewise.
39631         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
39632         * sysdeps/i386/strrchr.S (strrchr): Likewise.
39633         * sysdeps/i386/strspn.S (strspn): Likewise.
39634         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
39635         conditional code.
39636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
39637         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
39638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
39639         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
39640         L(1_3) into L(1_1).
39641         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
39642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
39643         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
39644         macros.
39645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
39647 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
39649         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
39650         macro.
39652 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39654         * math/atest-exp.c (exp_mpn): Remove ROUND.
39655         * math/atest-exp2.c (exp_mpn): Likewise.
39656         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
39658         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
39659         * stdlib/tst-tls-atexit-lib.c: Likewise.
39660         * stdlib/tst-tls-atexit.c: Likewise.
39662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39664         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
39665         and __attribute_alloc_size__.
39667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39669         * include/programs/xmalloc.h: Change __attribute_alloc_size to
39670         __attribute_alloc_size__.
39671         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
39672         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
39674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
39676         * include/programs/xmalloc.h: New file.
39677         * catgets/gencat.c: Include it.
39678         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
39679         * elf/pldd.c: Likewise.
39680         * iconv/iconv_charmap.c: Likewise.
39681         * iconv/iconvconfig.c: Likewise.
39682         * iconv/strtab.c: Likewise.
39683         * locale/programs/locale.c: Likewise.
39684         * locale/programs/localedef.h: Likewise.
39685         * locale/programs/simple-hash.c: Likewise.
39686         * nscd/nscd.h: Likewise.
39687         * nss/makedb.c: Likewise.
39688         * sysdeps/generic/ldconfig.h: Likewise.
39690 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39692         * Versions.def: Add GLIBC_2.18.
39693         * include/link.h (struct link_map): New member l_tls_dtor_count.
39694         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
39695         (__call_tls_dtors): Likewise.
39696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
39697         __cxa_thread_atexit_impl.
39698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39699         Likewise.
39700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39701         Likewise.
39702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
39703         Likewise.
39704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
39705         Likewise.
39706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
39708         Likewise.
39709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
39710         Likewise.
39711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39713         Likewise.
39714         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
39715         (tests): Add test case tst-tls-atexit.
39716         (modules-names): Add shared library for tst-tls-atexit.
39717         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
39718         (GLIBC_PRIVATE): Add __call_tls_dtors.
39719         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
39720         for libstdc++.
39721         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
39722         * stdlib/tst-tls-atexit.c: New test case.
39723         * stdlib/tst-tls-atexit-lib.c: New test case.
39725         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
39727         * elf/Versions (ld): Add _dl_find_dso_for_object.
39728         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
39729         * elf/dl-open.c (_dl_find_dso_for_object): New function.
39730         (dl_open_worker): Use _dl_find_dso_for_object.
39731         * elf/dl-sym.c (do_sym): Likewise.
39732         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
39734 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39736         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
39737         Syntactic changes only.
39738         (_dl_runtime_profile): Do a tail-call to the resolved function.
39740 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
39742         [BZ #13550]
39743         * sysdeps/x86_64/bp-asm.h: Remove file.
39744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
39745         <bp-sym.h> and <bp-asm.h>.
39746         (__clone): Do not use BP_SYM.
39747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
39748         <bp-sym.h> and <bp-asm.h>.
39749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39750         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
39751         "bp-asm.h".
39752         (_setjmp): Do not use BP_SYM.
39753         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
39754         "bp-asm.h".
39755         (setjmp): Do not use BP_SYM.
39756         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
39757         libc_hidden_def.
39758         (mempcpy): Do not use BP_SYM in weak_alias.
39759         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
39760         "bp-asm.h".
39761         (strchr): Do not use BP_SYM.
39762         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
39763         "bp-asm.h".
39764         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
39765         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
39766         (_start): Do not use BP_SYM.
39767         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
39768         "bp-asm.h".
39769         (strcat): Do not use BP_SYM.
39770         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
39771         "bp-asm.h".
39772         (STRCMP): Do not use BP_SYM.
39773         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
39774         "bp-asm.h".
39775         (STRCPY): Do not use BP_SYM.
39776         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
39777         "bp-asm.h".
39778         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
39779         "bp-asm.h".
39780         (FUNCTION): Do not use BP_SYM.
39781         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
39782         weak_alias.
39783         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
39785 2013-02-17  Andreas Jaeger  <aj@suse.de>
39787         * time/Versions: Sort entries.
39788         * string/Versions: Likewise.
39789         * resolv/Versions: Likewise.
39790         * posix/Versions: Likewise.
39791         * iconv/Versions: Likewise.
39792         * elf/Versions: Likewise.
39793         * wcsmbs/Versions: Likewise.
39795 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
39797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
39798         loop termination condition.
39800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
39801         variable to calculate EZ.
39802         (__sqr): Likewise.
39804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
39805         the lower precision input.
39807 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
39809         [BZ #13550]
39810         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
39811         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
39812         (run-via-rtld-prefix): Do not handle %-bp tests.
39813         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
39814         (all-object-suffixes): Remove .ob.
39815         (bppfx): Remove variable.
39816         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
39817         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
39818         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
39819         [$(build-bounded) = yes] (libtype.ob): Likewise.
39820         * Makerules (elide-routines.ob): Remove variable.
39821         (do-tests-clean): Do not handle *-bp.out.
39822         (common-mostlyclean): Do not handle *-bp and *-bp.out.
39823         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
39824         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
39825         (tests): Do not include $(tests-bp.out).
39826         (xtests): Do not include $(xtests-bp.out).
39827         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
39828         [$(build-bounded) = yes] ($(addprefix
39829         $(objpfx),$(binaries-bounded))): Remove rule.
39830         ($(objpfx)%-bp.out): Remove rule.
39831         * config.make.in (build-bounded): Remove variable.
39832         * crypt/Makefile [$(build-bounded) = yes]
39833         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
39834         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
39835         append to variable.
39836         [$(build-bounded) = yes] (install-lib): Likewise.
39837         [$(build-bounded) = yes] (generated): Likewise.
39838         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
39839         Remove rule.
39840         * intl/Makefile [$(build-bounded) = yes]
39841         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
39842         * math/Makefile [$(build-bounded) = yes]
39843         ($(tests:%=$(objpfx)%-bp): Likewise.
39844         * misc/Makefile [$(build-bounded) = yes]
39845         ($(objpfx)tst-tsearch-bp): Likewise.
39846         * nptl/Makeconfig (bounded-thread-library): Remove variable.
39847         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
39848         Remove dependency.
39849         * string/Makefile (o-objects.ob): Remove variable.
39850         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
39851         (CFLAGS-.ob): Remove variable.
39852         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
39853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
39854         both definitions of variable.
39855         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
39856         (ASFLAGS-.ob): Remove variable.
39858 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
39860         [BZ #13550]
39861         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
39862         Remove __BOUNDED_POINTERS__ from condition.
39863         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
39864         * string/bits/string2.h [!__NO_STRING_INLINES &&
39865         !__BOUNDED_POINTERS__]: Likewise.
39866         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
39867         Likewise.
39868         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
39869         Remove conditional code.
39870         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
39871         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
39872         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
39873         condition.
39875         [BZ #13550]
39876         * csu/libc-start.c: Do not include <bp-sym.h>.
39877         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
39878         * elf/dl-open.c: Do not include <bp-sym.h>.
39879         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
39880         * math/fegetenv.c: Do not include <bp-sym.h>.
39881         (fegetenv): Do not use BP_SYM in versioned symbols.
39882         * nptl/sysdeps/pthread/bits/libc-lockP.h
39883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
39884         <bp-sym.h>.
39885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39886         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
39887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39888         (__pthread_mutex_destroy): Likewise.
39889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39890         (__pthread_mutex_lock): Likewise.
39891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39892         (__pthread_mutex_trylock): Likewise.
39893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39894         (__pthread_mutex_unlock): Likewise.
39895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39896         (__pthread_mutexattr_init): Likewise.
39897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39898         (__pthread_mutexattr_destroy): Likewise.
39899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39900         (__pthread_mutexattr_settype): Likewise.
39901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39902         (__pthread_rwlock_init): Likewise.
39903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39904         (__pthread_rwlock_destroy): Likewise.
39905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39906         (__pthread_rwlock_rdlock): Likewise.
39907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39908         (__pthread_rwlock_tryrdlock): Likewise.
39909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39910         (__pthread_rwlock_wrlock): Likewise.
39911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39912         (__pthread_rwlock_trywrlock): Likewise.
39913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39914         (__pthread_rwlock_unlock): Likewise.
39915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39916         (__pthread_key_create): Likewise.
39917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39918         (__pthread_setspecific): Likewise.
39919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39920         (__pthread_getspecific): Likewise.
39921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
39922         Likewise.
39923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39924         (_pthread_cleanup_push_defer): Likewise.
39925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39926         (_pthread_cleanup_pop_restore): Likewise.
39927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
39928         (pthread_setcancelstate): Likewise.
39929         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
39930         <bp-sym.h>.
39931         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
39932         (memchr): Do not use BP_SYM in weak_alias.
39933         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
39934         (fegetenv): Do not use BP_SYM in versioned symbols.
39935         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
39936         (fesetenv): Do not use BP_SYM in versioned symbols.
39937         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39938         (feupdateenv): Do not use BP_SYM in versioned symbols.
39939         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39941         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
39942         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
39943         (open64): Do not use BP_SYM in weak_alias.
39944         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
39945         (fegetenv): Do not use BP_SYM in versioned symbols.
39946         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
39947         (fesetenv): Do not use BP_SYM in versioned symbols.
39948         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
39949         (feupdateenv): Do not use BP_SYM in versioned symbols.
39950         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
39951         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
39952         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
39953         (feraiseexcept): Do not use BP_SYM in versioned symbols.
39954         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
39955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
39956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
39957         <bp-sym.h>.
39958         (__libc_start_main): Do not use BP_SYM.
39960 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
39962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
39963         redundant return line.
39964         (norm): Likewise.
39965         (denorm): Likewise.
39966         (dbl_mp): Likewise.
39967         (sub_magnitudes): Likewise.
39968         (__add): Likewise.
39969         (__sub): Likewise.
39970         (__mul): Likewise.
39971         (__inv): Likewise.
39972         (__dvd): Likewise.
39973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
39974         (norm): Likewise.
39975         (denorm): Likewise.
39976         (dbl_mp): Likewise.
39977         (sub_magnitudes): Likewise.
39978         (__add): Likewise.
39979         (__sub): Likewise.
39980         (__mul): Likewise.
39981         (__inv): Likewise.
39982         (__dvd): Likewise.
39984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
39985         instead of __mul.
39986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
39987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
39988         (cc32): Likewise.
39990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
39991         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
39992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
39993         of __mul for squares.
39994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
39995         function
39996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
39997         Likewise.
39998         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
39999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
40001 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
40003         [BZ #13550]
40004         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
40005         code.
40006         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
40007         prototype or function definition.  Rename ubp_* variables and
40008         parameters.  Remove argv definitions conditional on
40009         [__BOUNDED_POINTERS__].
40010         * debug/backtrace.c (__backtrace): Do not use __unbounded.
40011         * elf/dl-runtime.c (_dl_fixup): Likewise.
40012         * include/set-hooks.h (RUN_HOOK): Likewise.
40013         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
40014         definition.
40015         * string/strcpy.c (strcpy): Do not use __unbounded.
40016         * sysdeps/generic/frame.h (struct layout): Likewise.
40017         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
40018         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
40019         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
40020         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
40021         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
40022         (__backtrace): Likewise.
40023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
40024         use __ptrvalue.
40025         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
40026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40027         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
40028         Likewise.
40029         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
40030         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
40031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40032         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40033         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
40034         Do not use __unbounded.
40035         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
40036         Rename __unboundedrlimits parameter to rlimits in prototype.
40037         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
40038         Do not use __unbounded.
40039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
40040         not use __ptrvalue.
40041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40042         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
40043         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
40045         __ptrvalue or __unbounded.
40046         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
40047         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
40048         use __unbounded.
40049         (__new_msgctl): Do not use __ptrvalue.
40050         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
40051         __unbounded.
40052         (__libc_msgrcv): Do not use __ptrvalue.
40053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
40054         startup_info): Do not use __unbounded.
40055         (__libc_start_main): Likewise.  Rename ubp_* variables and
40056         parameters.  Remove argv definitions conditional on
40057         [__BOUNDED_POINTERS__].
40058         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
40059         __ptrvalue.
40060         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
40061         use __unbounded.
40062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
40063         or __ptrvalue.
40064         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
40065         use __unbounded.
40066         (__new_shmctl): Do not use __ptrvalue.
40067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
40068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
40069         Likewise.
40070         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
40071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
40072         (__libc_sigaction): Likewise.
40073         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
40074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
40075         Likewise.
40076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40078 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
40080         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
40082         * string/mempcpy.c: Implement by calling memcpy.
40084 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
40086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
40088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
40089         evaluation.
40091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
40092         values in the mantissa.
40094         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
40095         minimize writes to Z.
40096         (sub_magnitudes): Simplify code a bit.
40098 2013-02-12  Roland McGrath  <roland@hack.frob.com>
40100         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
40101         from the message.  The linker prefixes all warnings with that already.
40103 2013-02-12  Andreas Schwab  <schwab@suse.de>
40105         [BZ #15078]
40106         * posix/regexec.c (extend_buffers): Add parameter min_len.
40107         (check_matching): Pass minimum needed length.
40108         (clean_state_log_if_needed): Likewise.
40109         (get_subexp): Likewise.
40110         * posix/Makefile (tests): Add bug-regex34.
40111         (bug-regex34-ENV): Define.
40112         * posix/bug-regex34.c: New file.
40114         [BZ #11561]
40115         * posix/regcomp.c (parse_bracket_exp): When looking up collating
40116         elements compare against the byte sequence of it, not its name.
40117         * posix/Makefile (tests): Add bug-regex35.
40118         (bug-regex35-ENV): Define.
40119         * posix/bug-regex35.c: New file.
40121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40123         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
40124         comment.
40125         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
40126         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
40127         (CHECK_EOL): Add undef.
40129 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
40131         * bits/stdlib-bsearch.h: New file.
40132         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
40133         * stdlib/stdlib.h: Likewise.
40135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40137         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
40138         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
40139         declaration.
40140         * manual/search.texi (Array Search Function): Add missing const in
40141         lfind prototype.
40142         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
40143         declaration to use rlim_t.
40144         (Basic Scheduling Functions): Remove erroneous const from
40145         sched_getparam prototype.  Remove erroneous * from
40146         sched_get_priority_max and sched_get_priority_min prototypes.
40147         (Resource Usage): Fix summary @comment on vtimes to refer to
40148         sys/vtimes.h rather than vtimes.h.
40149         Add missing *s in vtimes prototype.
40150         (Limits on Resources): Fix ulimit prototype to return long int.
40151         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
40152         prototypes to use long int rather than double.
40153         (BSD Random): Fix initstate and setstate to use char *, not void *.
40154         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
40155         prototype to make second argument 'struct aiocb64 *const[]'.
40156         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
40157         (Status of AIO Operations): Remove erroneous const in aio_return and
40158         aio_return64 prototypes.
40159         (Synchronizing I/O): Fix sync prototype to return void.
40160         * manual/startup.texi (Suboptions): Remove an erroneous const in
40161         getsubopt prototype.
40162         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
40163         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
40164         use size_t rather than int.
40165         (Scanning All Users): Likewise for getpwent_r.
40166         (Setting Groups): Add missing const to setgroups prototype.
40167         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
40168         * manual/socket.texi (Host Names): Fix gethostbyaddr and
40169         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
40170         'const void *' rather than 'const char *'.
40171         (Host Address Functions): Likewise for inet_ntop.
40172         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
40173         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
40174         ssize_t for return value.
40175         (Sending Data): Likewise for send, sendto, sendmsg.
40176         (Socket Option Functions): Add a missing const in setsockopt prototype.
40177         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
40178         use wchar_t for the argument.
40179         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
40180         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
40181         take no arguments.
40182         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
40183         double/float/long double for second argument.
40184         Fix return types of significand, significandf, significandl.
40185         * manual/filesys.texi (Setting Permissions): Use mode_t for second
40186         argument in fchmod prototype.
40187         (File Owner): Use uid_t and gid_t in fchown prototype.
40188         (File Times): Add const to utimes, futimes, and lutimes prototypes.
40189         (Making Special Files): Use mode_t and dev_t in mknod prototype.
40190         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
40191         use 'const struct dirent **' as argument types to CMP function pointer
40192         argument.
40193         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
40194         (File Times): Fix summary magic @comment for struct utimbuf and utime
40195         to refer to utime.h, not time.h.
40196         * manual/string.texi (Argz Functions): Add missing const in
40197         argz_extract and argz_next prototypes.
40198         (Finding Tokens in a String): Likewise for basename.
40199         (String/Array Comparison): Fix typo in wcscasecmp prototype.
40200         (Copying and Concatenation): Fix typo in wmemmove prototype.
40201         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
40202         (Signal Stack): Remove erroneous const in sigstack prototype.
40203         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
40204         prototype.
40205         (Simple Calendar Time): Likewise for stime.
40206         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
40207         prototype.
40208         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
40209         say sys/sysctl.h instead.
40210         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
40211         and vsyslog prototypes.
40213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
40215         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
40216         Remove.
40218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
40220         * misc/sys/mman.h: Fix typo in mremap comment.
40222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
40224         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
40225         the '\0' terminator.
40227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
40229         [BZ #13550]
40230         * debug/segfault.c: Don't include <bp-checks.h>.
40231         * sysdeps/generic/bp-checks.h: Remove file.
40232         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
40233         (__GETDENTS): Don't use CHECK_N.
40234         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
40235         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
40236         (__getgroups): Don't use CHECK_N.
40237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
40238         (setgroups): Don't use CHECK_N.
40239         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
40240         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
40241         (__libc_msgrcv): Don't use CHECK_N.
40242         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
40243         (__libc_msgsnd): Don't use CHECK_N.
40244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
40245         <bp-checks.h>.
40246         (__libc_pread): Don't use CHECK_N.
40247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
40248         include <bp-checks.h>.
40249         (__libc_pread64): Don't use CHECK_N.
40250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
40251         include <bp-checks.h>.
40252         (__libc_pwrite): Don't use CHECK_N.
40253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
40254         include <bp-checks.h>.
40255         (__libc_pwrite64): Don't use CHECK_N.
40256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
40257         <bp-checks.h>.
40258         (__libc_pread): Don't use CHECK_N.
40259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
40260         include <bp-checks.h>.
40261         (__libc_pread64): Don't use CHECK_N.
40262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
40263         include <bp-checks.h>.
40264         (__libc_pwrite): Don't use CHECK_N.
40265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
40266         include <bp-checks.h>.
40267         (__libc_pwrite64): Don't use CHECK_N.
40268         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
40269         (do_pread): Don't use CHECK_N.
40270         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
40271         (do_pread64): Don't use CHECK_N.
40272         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
40273         (do_pwrite): Don't use CHECK_N.
40274         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
40275         (do_pwrite64): Don't use CHECK_N.
40276         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
40277         (__libc_readv): Don't use CHECK_N.
40278         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
40279         (semop): Don't use CHECK_N.
40280         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
40281         <bp-checks.h>.
40282         (semtimedop): Don't use CHECK_N.
40283         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
40284         (__libc_pread): Don't use CHECK_N.
40285         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
40286         <bp-checks.h>.
40287         (__libc_pread64): Don't use CHECK_N.
40288         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
40289         <bp-checks.h>.
40290         (__libc_pwrite): Don't use CHECK_N.
40291         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
40292         <bp-checks.h>.
40293         (__libc_pwrite64): Don't use CHECK_N.
40294         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
40295         <bp-checks.h>.
40296         (__libc_msgrcv): Don't use CHECK_N.
40297         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
40298         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
40299         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
40300         (__libc_writev): Don't use CHECK_N.
40302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
40304         * string/strcpy.c: Removed unused variable.
40306         * Makeconfig (+sysdep-includes): Define with := rather than =.
40307         Use an existing include/ subdir of each sysdeps dir before it.
40309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40311         * nscd/connection.c (register_traced_file): Comment function.
40312         [HAVE_INOTIFY] (union __inev): Define.
40313         [HAVE_INOTIFY] (inotify_check_files): New function.
40314         [HAVE_INOTIFY] (clear_db_cache): Likewise.
40315         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
40316         clear_db_cache.
40317         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
40319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40321         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
40322         loaded if not already and that a failure is permanent.
40324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
40326         [BZ #15006]
40327         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
40328         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
40330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
40332         [BZ #13550]
40333         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
40334         (CHECK_1_NULL_OK): Likewise.
40335         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
40336         (__fxstat): Do not use CHECK_1.
40337         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
40338         <bp-checks.h>.
40339         (___fxstat64): Do not use CHECK_1.
40340         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
40341         <bp-checks.h>.
40342         (__fxstatat): Do not use CHECK_1.
40343         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
40344         <bp-checks.h>.
40345         (__fxstatat64): Do not use CHECK_1.
40346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
40347         <bp-checks.h>.
40348         (__fxstat): Do not use CHECK_1.
40349         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
40350         <bp-checks.h>.
40351         (__fxstatat): Do not use CHECK_1.
40352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40353         <bp-checks.h>.
40354         (__getresgid): Do not use CHECK_1.
40355         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40356         <bp-checks.h>.
40357         (__getresuid): Do not use CHECK_1.
40358         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
40359         <bp-checks.h>.
40360         (__lxstat): Do not use CHECK_1.
40361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40362         <bp-checks.h>.
40363         (__old_msgctl): Do not use CHECK_1.
40364         (__new_msgctl): Likewise.
40365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
40366         <bp-checks.h>.
40367         (__new_setrlimit): Do not use CHECK_1.
40368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40369         <bp-checks.h>.
40370         (__old_shmctl): Do not use CHECK_1.
40371         (__new_shmctl): Likewise.
40372         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
40373         <bp-checks.h>.
40374         (__xstat): Do not use CHECK_1.
40375         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
40376         (__lxstat): Do not use CHECK_1.
40377         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
40378         <bp-checks.h>.
40379         (___lxstat64): Do not use CHECK_1.
40380         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
40381         (__old_msgctl): Do not use CHECK_1.
40382         (__new_msgctl): Likewise.
40383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
40384         <bp-checks.h>.
40385         (__gettimeofday): Do not use CHECK_1.
40386         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
40387         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
40388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
40389         <bp-checks.h>.
40390         (__gettimeofday): Do not use CHECK_1.
40391         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
40392         (__old_shmctl): Do not use CHECK_1_NULL_OK.
40393         (__new_shmctl): Do not use CHECK_1.
40394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
40395         <bp-checks.h>.
40396         (do_sigtimedwait): Do not use CHECK_1.
40397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
40398         <bp-checks.h>.
40399         (do_sigwaitinfo): Do not use CHECK_1.
40400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
40401         <bp-checks.h>.
40402         (msgctl): Do not use CHECK_1.
40403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
40404         <bp-checks.h>.
40405         (shmctl): Do not use CHECK_1.
40406         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
40407         (ustat): Do not use CHECK_1.
40408         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
40409         <bp-checks.h>.
40410         (__fxstat): Do not use CHECK_1.
40411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
40412         <bp-checks.h>.
40413         (__fxstatat): Do not use CHECK_1.
40414         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
40415         <bp-checks.h>.
40416         (__lxstat): Do not use CHECK_1.
40417         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
40418         <bp-checks.h>.
40419         (__xstat): Do not use CHECK_1.
40420         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
40421         (__xstat): Do not use CHECK_1.
40422         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
40423         (___xstat64): Do not use CHECK_1.
40425         [BZ #13550]
40426         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
40427         definitions.
40428         (CHECK_BOUNDS_HIGH): Likewise.
40429         * string/strcpy.c: Do not include <bp-checks.h>.
40430         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
40432 2013-02-07  Roland McGrath  <roland@hack.frob.com>
40434         * nscd/nscd-client.h (__nscd_drop_map_ref):
40435         Add __attribute__ ((unused)).
40436         * nis/nss-nisplus.h (niserr2nss): Likewise.
40438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
40439         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
40441         * csu/libc-tls.c (init_static_tls, init_slotinfo):
40442         Remove inline keyword.
40443         * include/rounding-mode.h (round_away): Likewise.
40444         * libio/wfileops.c (adjust_wide_data): Likewise.
40445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
40446         (__m128i_strloadu_tolower): Likewise.
40447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
40448         (__m128i_strloadu_tolower): Likewise.
40449         * time/mktime.c (ydhms_diff): Likewise.
40450         * locale/elem-hash.h (elem_hash): Likewise.
40451         * locale/setlocale.c (setdata): Likewise.
40452         * posix/regex_internal.h (re_string_char_size_at): Likewise.
40453         (re_string_wchar_at): Likewise.
40454         (bitset_not, bitset_merge, bitset_mask): Likewise.
40455         [!(__GNUC__ > 3)] (inline): Remove macro.
40456         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
40457         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
40458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
40459         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
40460         * string/memcmp.c (memcmp_bytes): Likewise.
40461         * locale/programs/locarchive.c (compute_hashval): Likewise.
40462         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
40463         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
40464         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
40465         * nss/getent.c (print_rpc, print_protocols): Likewise.
40466         (print_passwd, print_group, print_aliases): Likewise.
40467         * nis/nss-nisplus.h (niserr2nss): Likewise.
40468         * nscd/connections.c (restart_p): Likewise.
40469         Change return type to bool.
40471 2013-02-05  Roland McGrath  <roland@hack.frob.com>
40473         * Makeconfig (all-Depend-files): Add existing
40474         $(sorted-subdirs:=/Depend) files.
40475         (all-subdirs): Remove nss.
40476         * sysdeps/unix/inet/Subdirs: Add it here instead.
40477         * hesiod/Depend: New file.
40479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
40480         instead of calling alloca.
40482         * io/lseek.c (__lseek): Rename to __libc_lseek.
40483         Define __lseek as an alias.
40485         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
40487 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
40489         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
40490         else clause and remove check for non-standard endianness.
40492 2013-02-04  David S. Miller  <davem@davemloft.net>
40494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40496 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
40498         [BZ #13550]
40499         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
40500         (__ubp_memchr): Remove prototype.
40501         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
40502         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40503         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
40504         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
40505         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
40506         Remove alias.
40507         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
40508         (__ubp_memchr): Likewise.
40509         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
40510         (__ubp_memchr): Likewise.
40511         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
40512         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
40513         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
40514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
40515         CHECK_STRING.
40516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40517         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
40518         (__getcwd): Do not use CHECK_STRING.
40519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40520         <bp-checks.h>.
40521         (__real_chown): Do not use CHECK_STRING.
40522         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
40523         <bp-checks.h>.
40524         (fchownat): Do not use CHECK_STRING.
40525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
40526         CHECK_STRING.
40527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40528         <bp-checks.h>.
40529         (__lchown): Do not use CHECK_STRING.
40530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
40531         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
40532         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
40533         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
40534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40535         include <bp-checks.h>.
40536         (truncate64): Do not use CHECK_STRING.
40537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40538         <bp-checks.h>.
40539         (__real_chown): Do not use CHECK_STRING.
40540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40541         <bp-checks.h>.
40542         (__lchown): Do not use CHECK_STRING.
40543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40544         <bp-checks.h>.
40545         (__chown): Do not use CHECK_STRING.
40546         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
40547         <bp-checks.h>.
40548         (truncate64): Do not use CHECK_STRING.
40549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
40550         Likewise.
40551         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
40552         (__xmknod): Do not use CHECK_STRING.
40553         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
40554         <bp-checks.h>.
40555         (__xmknodat): Do not use CHECK_STRING.
40556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
40557         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
40559 2013-02-04  Andreas Schwab  <schwab@suse.de>
40561         [BZ #14142]
40562         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
40563         * include/netdb.h: Likewise for h_errno.
40564         * elf/tst-stackguard1.c: Include <tls.h>.
40566 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
40568         * elf/link.h (struct link_map): Extend the l_addr comment.
40569         * include/link.h (struct link_map): Likewise.
40571 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
40573         [BZ #13550]
40574         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
40575         (BOUNDED_1): Remove macro.
40576         * debug/backtrace.c: Don't include <bp-checks.h>.
40577         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
40578         (__backtrace): Likewise.
40579         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
40580         <bp-checks.h>.
40581         (__backtrace): Don't use BOUNDED_1.
40582         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
40583         <bp-checks.h>.
40584         (__backtrace): Don't use BOUNDED_1.
40585         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
40586         (__backtrace): Don't use BOUNDED_1.
40587         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
40588         (shmat): Don't use BOUNDED_N.
40590 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
40592         [BZ #13550]
40593         * sysdeps/generic/bp-start.h: Remove file.
40594         * csu/libc-start.c: Don't include <bp-start.h>.
40595         (LIBC_START_MAIN): Set up __environ directly instead of using
40596         INIT_ARGV_and_ENVIRON.
40597         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
40598         <bp-start.h>.
40600         [BZ #13550]
40601         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
40602         definitions.
40603         (CHECK_FCNTL): Likewise.
40604         (CHECK_N_PAGES): Likewise.
40606         [BZ #13550]
40607         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
40608         definitions.
40609         (CHECK_SIGSET_NULL_OK): Likewise.
40610         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
40611         <bp-checks.h>.
40612         (sigpending): Don't use CHECK_SIGSET.
40613         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
40614         <bp-checks.h>.
40615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40616         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
40617         <bp-checks.h>.
40618         (do_sigsuspend): Don't use CHECK_SIGSET.
40619         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
40620         use CHECK_SIGSET.
40621         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
40622         (do_sigwait): Don't use CHECK_SIGSET.
40623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
40624         use CHECK_SIGSET.
40625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
40626         include <bp-checks.h>.
40627         (sigpending): Don't use CHECK_SIGSET.
40628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
40629         include <bp-checks.h>.
40630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40631         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
40632         <bp-checks.h>.
40633         (sigpending): Don't use CHECK_SIGSET.
40634         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
40635         <bp-checks.h>.
40636         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
40638         [BZ #13550]
40639         * sysdeps/generic/bp-semctl.h: Remove file.
40640         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
40641         <bp-checks.h> and <bp-semctl.h>.
40642         (__old_semctl): Don't use CHECK_SEMCTL.
40643         (__new_semctl): Likewise.
40644         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
40645         and <bp-semctl.h>.
40646         (__old_semctl): Don't use CHECK_SEMCTL.
40647         (__new_semctl): Likewise.
40648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
40649         <bp-checks.h> and <bp-semctl.h>.
40650         (__old_semctl): Don't use CHECK_SEMCTL.
40651         (__new_semctl): Likewise.
40652         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
40653         <bp-checks.h> and <bp-semctl.h>.
40654         (semctl): Don't use CHECK_SEMCTL.
40656         [BZ #13550]
40657         * Makerules (elide-bp-thunks): Remove variable.
40658         (elide-routines.oS): Don't use $(elide-bp-thunks).
40659         (elide-routines.os): Likewise.
40660         (elide-routines.o): Likewise.
40661         (elide-routines.op): Likewise.
40662         (elide-routines.og): Likewise.
40663         (objects): Don't use $(bp-thunks).
40664         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
40665         include.
40666         (common-generated): Do not add s-proto-bp.d.
40667         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
40668         (int): Likewise.
40669         (typ): Likewise.
40670         Do not generate makefile rules for bounded-pointer thunks.
40671         * sysdeps/generic/bp-thunks.h: Remove file.
40672         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
40673         * sysdeps/unix/s-proto-bp.S: Likewise.
40675         [BZ #15062]
40676         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
40677         parts of result separately when argument is not close to line from
40678         -i to i and one part of argument is small.
40679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
40680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
40681         * math/libm-test.inc (cacos_test): Add more tests.
40682         (casin_test): Likewise.
40683         (casinh_test): Likewise.
40684         * sysdeps/i386/fpu/libm-test-ulps: Update.
40685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40687 2013-01-31  David S. Miller  <davem@davemloft.net>
40689         * po/de.po: Update from translation team.
40691 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
40693         * time/tzfile.c: Include stdint.h for SIZE_MAX.
40695 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
40697         * configure.in (_AC_PROG_CC_C89): New definition.
40698         * configure: Regenerate.
40700         * configure.in (AC_PROG_CPP): New definition.
40701         * configure: Regenerate.
40703 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40705         * debug/tst-backtrace.h: New file.
40706         * debug/tst-backtrace2.c: Include tst-backtrace.h.
40707         (ret): Remove variable.
40708         (x): Likewise.
40709         (FAIL): Remove macro.
40710         (NO_INLINE): Likewise.
40711         (fn1): Use match function instead of strstr.
40712         * debug/tst-backtrace3.c: Include tst-backtrace.h.
40713         (ret): Remove variable.
40714         (x): Likewise.
40715         (FAIL): Remove macro.
40716         (NO_INLINE): Likewise.
40717         (fn): Use match function instead of strstr.
40718         * debug/tst-backtrace4.c: Include tst-backtrace.h.
40719         (ret): Remove variable.
40720         (x): Likewise.
40721         (FAIL): Remove macro.
40722         (NO_INLINE): Likewise.
40723         (handle_signal): Use match function instead of strstr.
40724         * debug/tst-backtrace5.c: Include tst-backtrace.h.
40725         (ret): Remove variable.
40726         (x): Likewise.
40727         (FAIL): Remove macro.
40728         (NO_INLINE): Likewise.
40729         (handle_signal): Use match function instead of strstr.
40731 2013-01-23  Roland McGrath  <roland@hack.frob.com>
40733         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
40735 2013-01-23  David S. Miller  <davem@davemloft.net>
40737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
40738         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
40739         argument of CAS if possible.
40740         * sysdeps/sparc/sparc64/bits/atomic.h
40741         (__arch_compare_and_exchange_val_32_acq): Likewise.
40742         (__arch_compare_and_exchange_val_64_acq): Likewise.
40744 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
40746         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
40747         * sysdeps/posix/ulimit.c: ... this.
40748         Include <limits.h>.
40749         * sysdeps/unix/bsd/ulimit.c: Remove file.
40751 2013-01-23  Adam Conrad  <adconrad@0c3.net>
40753         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
40754         (LDFLAGS-tst-array5): Likewise.
40756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
40758         [BZ #15036]
40759         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
40760         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
40761         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
40762         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
40764 2013-01-21  David S. Miller  <davem@davemloft.net>
40766         * sysdeps/sparc/backtrace.c: New file.
40767         * sysdeps/sparc/sparc32/backtrace.h: New file.
40768         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
40769         * sysdeps/sparc/sparc64/backtrace.h: New file.
40770         * sysdeps/sparc/sparc64/backtrace.c: Delete.
40771         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
40772         -funwind-tables.
40774 2013-01-21  Andreas Schwab  <schwab@suse.de>
40776         [BZ #15020]
40777         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
40778         closed its stdout.
40780 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
40782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
40783         "mpa2.h".
40784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40786 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
40787             Mark Mitchell  <mark@codesourcery.com>
40788             Tom de Vries  <tom@codesourcery.com>
40789             Paul Pluzhnikov  <ppluzhnikov@google.com>
40791         * debug/tst-backtrace2.c: New file.
40792         * debug/tst-backtrace3.c: Likewise.
40793         * debug/tst-backtrace4.c: Likewise.
40794         * debug/tst-backtrace5.c: Likewise.
40795         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
40796         (CFLAGS-tst-backtrace3.c): Likewise.
40797         (CFLAGS-tst-backtrace4.c): Likewise.
40798         (CFLAGS-tst-backtrace5.c): Likewise.
40799         (LDFLAGS-tst-backtrace2): Likewise.
40800         (LDFLAGS-tst-backtrace3): Likewise.
40801         (LDFLAGS-tst-backtrace4): Likewise.
40802         (LDFLAGS-tst-backtrace5): Likewise.
40803         (tests): Add new tests tst-backtrace2, tst-backtrace3,
40804         tst-backtrace4 and tst-backtrace5.
40806 2013-01-18  Anton Blanchard  <anton@samba.org>
40807             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
40809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
40810         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
40811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
40812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
40813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40814         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
40815         "+r" and remove output regs list as redundant.  Add explicit inline
40816         asm to specify register of return val to work around compiler codegen
40817         bug.  Remove (int) cast on return value.  Add return type parameter to
40818         use in macro so that this macro does not truncate return value for
40819         64-bit values.
40820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
40821         pass to INTERNAL_VSYSCALL_NCS.
40822         (INLINE_VSYSCALL): Add 'long int' as return type to
40823         INTERNAL_VSYSCALL_NCS macro invocation.
40824         (INTERNAL_VSYSCALL): Add 'long int' as return type to
40825         INTERNAL_VSYSCALL_NCS macro invocation.
40826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40828 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40830         [BZ #14496]
40831         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
40832         Fix application of SIMD FP exception mask.
40834         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
40835         mp_no from a power of two.
40836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
40837         __mpexp_twomm1.  Use __pow_mp.
40839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
40840         multiplication.
40842 2013-01-17  David S. Miller  <davem@davemloft.net>
40844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40846 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40848         [BZ #15023]
40849         * include/complex.h: Condition contents on [!_COMPLEX_H].
40850         (__kernel_casinhf): New prototype.
40851         (__kernel_casinh): Likewise.
40852         (__kernel_casinhl): Likewise.
40853         * math/Makefile (libm_calls): Add k_casinh.
40854         * math/k_casinh.c: New file.
40855         * math/k_casinhf.c: Likewise.
40856         * math/k_casinhl.c: Likewise.
40857         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
40858         finite nonzero arguments.
40859         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
40860         finite nonzero arguments.
40861         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
40862         finite nonzero arguments.
40863         * math/s_casinh.c: Do not include <float.h>.
40864         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
40865         * math/s_casinhf.c: Do not include <float.h>.
40866         (__casinhf): Move code for finite nonzero arguments to
40867         k_casinhf.c.
40868         * math/s_casinhl.c: Do not include <float.h>.
40869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
40870         redefine.
40871         (__casinhl): Move code for finite nonzero arguments to
40872         k_casinhl.c.
40873         * math/libm-test.inc (cacos_test): Add more tests.
40874         * sysdeps/i386/fpu/libm-test-ulps: Update.
40875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40877 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
40879         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
40880         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
40881         [!HAVE_MREMAP]: Remove [defined linux] case.
40882         * malloc/arena.c: Do not include <malloc-sysdep.h>.
40884 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
40886         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
40888 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
40890         * elf/elf.h (R_386_SIZE32): New relocation.
40891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
40892         R_386_SIZE32.
40893         (elf_machine_rela): Likewise.
40894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40895         R_X86_64_SIZE64 and R_X86_64_SIZE32.
40897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
40899         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
40900         (FP_FAST_FMA): Do not define.
40901         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
40902         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
40903         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
40904         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
40905         !_SOFT_FLOAT]: Likewise.
40906         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
40907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
40908         value.
40909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
40910         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
40911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
40912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
40913         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
40914         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
40915         file.
40917 2013-01-16  Andreas Schwab  <schwab@suse.de>
40919         [BZ #14327]
40920         * include/stdlib.h (__mktemp): Add declaration.
40921         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
40922         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
40924 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40926         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
40927         definitions.
40928         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
40929         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
40930         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
40931         definitions here.
40932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
40933         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
40934         definitions.
40935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
40936         and ONE.
40937         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
40938         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
40939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
40940         definitions.
40941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
40942         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
40943         definitions.
40944         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
40946         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
40948 2013-01-15  David S. Miller  <davem@davemloft.net>
40950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40951         trunc{,f} to libm-sysdep_routes.
40952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
40954         file.
40955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
40956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
40957         file.
40958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
40959         file.
40960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
40961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
40962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
40963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
40964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
40965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
40966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
40967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
40969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
40970         nearbyint{,f} to libm-sysdep_routes.
40971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
40972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
40973         New file.
40974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
40975         file.
40976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
40977         New file.
40978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
40979         file.
40980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
40981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
40982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
40983         file.
40984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
40985         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
40986         file.
40987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
40988         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
40989         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
40991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
40992         libc_feholdexcept and libc_fesetenv.
40994 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
40996         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
40998 2013-01-14  David S. Miller  <davem@davemloft.net>
41000         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
41001         (SPARC_ASM_VIS2_IFUNC): Likewise.
41002         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
41003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
41004         use of 'siam' instruction.
41005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
41006         Likewise.
41007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
41008         Likewise.
41009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
41010         Likewise.
41011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
41012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
41013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
41014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
41015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
41016         file.
41017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
41018         file.
41019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
41020         file.
41021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
41022         file.
41023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
41024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
41025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
41026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
41027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
41028         new VIS2 routines.
41029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
41030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
41032         Likewise.
41033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
41034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
41035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
41036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
41037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
41038         routines to libm-sysdep_routines.
41039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
41041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
41042         fdim/fdimf to libm-sysdep_routines.
41043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
41044         file.
41045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
41046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
41047         file.
41048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
41049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
41050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
41051         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
41052         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
41053         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
41054         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
41056 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
41058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
41059         to optimize copies.
41061         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
41062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
41066         local variable MPTWO.
41067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41068         Likewise.
41070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41072         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
41073         GLOB_NOESCAPE.
41075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41077         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
41079 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
41081         * manual/pattern.texi (glob_t): Document gl_flags.
41082         (glob64_t): Likewise.
41084 2013-01-11  David S. Miller  <davem@davemloft.net>
41086         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
41087         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
41088         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
41089         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
41090         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
41091         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
41092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
41093         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
41094         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
41095         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
41096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
41097         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
41098         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
41100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41101         sparc V9 rather than using V8 code.
41102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
41106         Move to...
41107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
41108         Here.
41110 2013-01-11  Roland McGrath  <roland@hack.frob.com>
41112         [BZ #14941]
41113         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
41114         not in the main loop.
41115         * configure: Regenerated.
41117 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
41119         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
41120         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
41121         to just #else.
41122         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
41123         [!__GLIBC_HAVE_LONG_LONG] case.
41124         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
41125         condition to just #else.
41126         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
41127         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
41128         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
41129         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
41130         unconditional.
41131         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
41132         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41133         #elif condition to just #else.
41134         * sysdeps/unix/sysv/linux/sys/sysmacros.h
41135         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
41136         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
41137         #elif condition to just #else.
41139 2013-01-11  Steve Ellcey  <sellcey@mips.com>
41141         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
41142         (EF_MIPS_ARCH_64): Fix value.
41143         (EF_MIPS_ARCH_32R2): New.
41144         (EF_MIPS_ARCH_64R2): New.
41146 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
41148         * Makeconfig (+link-pie-before-libc): New.
41149         (+link-pie-after-libc): Likewise.
41150         (+link-pie-tests): Likewise.
41151         (+link-pie): Rewritten.
41152         (link-before-libc): Remove $(config-LDFLAGS).
41153         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
41154         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
41155         (config-LDFLAGS): Renamed to ...
41156         (rtld-LDFLAGS): This.
41157         (rtld-tests-LDFLAGS): New macro.
41158         (link-libc-rpath-link): Likewise.
41159         (link-libc-tests-rpath-link): Likewise.
41160         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
41161         (link-libc): Prepand $(link-libc-rpath-link).
41162         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
41163         (test-program-prefix): New macro.
41164         (test-via-rtld-prefix): Likewise.
41165         (test-program-cmd): Likewise.
41166         (host-test-program-cmd): Likewise.
41167         * Makefile ($(common-objpfx)testrun.sh): Replace
41168         $(run-program-prefix) with $(test-program-prefix).
41169         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
41170         $(rtld-LDFLAGS).
41171         ($(common-objpfx)shlib.lds): Likewise.
41172         (build-module-helper): Likewise.
41173         ($(common-objpfx)format.lds): Likewise.
41174         * Rules (binaries-pie-tests): New.
41175         (binaries-pie-notests): Likewise.
41176         (binaries-pie): Rewritten.
41177         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
41178         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
41179         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
41180         (make-test-out): Replace $(host-built-program-cmd) with
41181         $(host-test-program-cmd).
41182         * config.make.in (build-hardcoded-path-in-tests): New variable.
41183         * configure.in (--enable-hardcoded-path-in-tests): New configure
41184         option.
41185         (hardcoded_path_in_tests): New AC_SUBST.
41186         * configure: Regenerated.
41187         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
41188         $(built-program-cmd) with $(test-program-cmd).
41189         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
41190         (test_program_cmd): This.
41191         * elf/Makefile ($(objpfx)order.out): Run test with
41192         $(test-program-prefix).
41193         ($(objpfx)order2.out): Likewise.
41194         ($(objpfx)tst-initorder.out): Likewise.
41195         ($(objpfx)tst-initorder2.out): Likewise.
41196         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
41197         $(test-program-cmd).
41198         ($(objpfx)tst-array1-static.out): Likewise.
41199         ($(objpfx)tst-array2.out): Likewise.
41200         ($(objpfx)tst-array3.out): Likewise.
41201         ($(objpfx)tst-array4.out): Likewise.
41202         ($(objpfx)tst-array5.out): Likewise.
41203         ($(objpfx)tst-array5-static.out): Likewise.
41204         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
41205         $(test-program-cmd).
41206         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
41207         $(run-program-prefix) with $(test-program-prefix).
41208         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
41209         (test_program_prefix): This.
41210         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
41211         $(run-program-prefix) with $(test-program-prefix).
41212         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
41213         (test_program_prefix): This.
41214         * iconvdata/tst-tables.sh: Likewise.
41215         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
41216         $(run-program-prefix) with $(test-program-prefix).
41217         ($(objpfx)tst-translit.out): Likewise.
41218         ($(objpfx)tst-gettext2.out): Likewise.
41219         ($(objpfx)tst-gettext4.out): Likewise.
41220         ($(objpfx)tst-gettext6.out): Likewise.
41221         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
41222         (test_program_prefix): This.
41223         * intl/tst-gettext2.sh: Likewise.
41224         * intl/tst-gettext4.sh  Likewise.
41225         * intl/tst-gettext6.sh: Likewise.
41226         * intl/tst-translit.sh: Likewise.
41227         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
41228         with $(test-program-cmd).
41229         * libio/Makefile ($(objpfx)test-freopen.out): Replace
41230         $(run-program-prefix) with $(test-program-prefix).
41231         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
41232         (test_program_prefix): This.
41233         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
41234         $(run-program-prefix) with $(test-program-prefix).
41235         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
41236         (test_program_prefix): This.
41237         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
41238         * posix/Makefile ($(objpfx)globtest.out): Replace
41239         $(run-via-rtld-prefix) and $(test-wrapper) with
41240         $(test-program-prefix) and $(test-via-rtld-prefix).
41241         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
41242         $(test-program-prefix).
41243         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
41244         $(host-test-program-cmd).
41245         (tst-spawn-ARGS): Likewise.
41246         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
41247         $(test-program-prefix).
41248         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
41249         (test_via_rtld_prefix): This.
41250         (test_wrapper): Renamed to ...
41251         (test_program_prefix): This.
41252         (run_program_prefix): Replaced by test_program_prefix.
41253         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
41254         (test_program_prefix): This.
41255         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
41256         with $(host-test-program-cmd).
41257         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
41258         $(run-program-prefix) with $(test-program-prefix).
41259         ($(objpfx)tst-printf.out): Likewise.
41260         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
41261         $(test-program-cmd).
41262         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
41263         (test_program_prefix): This.
41264         * stdio-common/tst-unbputc.sh: Likewise.
41265         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
41266         $(run-program-prefix) with $(test-program-prefix).
41267         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
41268         (test_program_prefix): This.
41269         * string/Makefile ($(objpfx)tst-svc.out):  Replace
41270         $(built-program-cmd) with $(test-program-cmd).
41272 2013-01-11  Andreas Jaeger  <aj@suse.de>
41274         [BZ #15003]
41275         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
41276         value. Sync with Linux 3.7.
41278 2013-01-10  David S. Miller  <davem@davemloft.net>
41280         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
41281         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41282         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41284 2013-01-10  Roland McGrath  <roland@hack.frob.com>
41286         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
41287         never set.
41288         * configure: Regenerated.
41290 2013-01-10  David S. Miller  <davem@davemloft.net>
41292         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
41293         sparc V9 rather than using V8 code.
41294         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
41295         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
41297 2013-01-10  Roland McGrath  <roland@hack.frob.com>
41299         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
41300         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
41301         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
41302         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
41303         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
41304         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
41305         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
41306         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
41307         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
41308         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
41309         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
41310         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
41311         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
41312         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
41313         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
41314         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
41315         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
41316         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
41317         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
41318         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
41319         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
41320         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
41321         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
41322         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
41323         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
41324         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
41325         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
41327 2013-01-10  David S. Miller  <davem@davemloft.net>
41329         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41331 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
41333         * posix/Makefile (tests-static): New variable.
41334         (tests): Add $(tests-static).
41335         (tst-exec-static-ARGS): New variable.
41336         (tst-spawn-static-ARGS): Likewise.
41337         * posix/tst-exec-static.c: New file.
41338         * posix/tst-spawn-static.c: Likewise.
41339         * posix/tst-exec.c: Support run directly.
41340         * posix/tst-spawn.c: Likewise.
41342 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
41344         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
41345         long.
41346         * math/bits/mathcalls.h (llrint): Likewise.
41347         (llround): Likewise.
41348         * stdlib/stdlib.h (struct drand48_data): Likewise.
41349         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
41350         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
41351         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
41352         Likewise.
41353         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
41354         Likewise.
41355         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
41356         (elf_greg_t): Likewise.
41357         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
41358         (__jmp_buf): Likewise.
41359         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
41360         definitions.
41361         (llrint): Likewise, for all definitions.
41362         (llrintl): Likewise.
41364         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
41365         Remove [__GNUC__] condition.
41366         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
41367         condition to just [__USE_ISOC99].
41368         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
41370 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
41372         [BZ #14200]
41373         * sysdeps/unix/sysv/linux/x86/bits/environments.h
41374         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
41375         defined.
41376         (_POSIX_V6_ILP32_OFF32): Likewise.
41377         (_XBS5_ILP32_OFF32): Likewise.
41378         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
41379         (__ILP32_OFFBIG_LDFLAGS): Likewise.
41381 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41383         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
41385         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
41386         doubles __mpexp_twomm1.  Adjust usage.
41387         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
41388         Remove.
41390 2013-01-10  Andreas Schwab  <schwab@suse.de>
41392         [BZ #14964]
41393         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
41394         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
41396 2013-01-09  David S. Miller  <davem@davemloft.net>
41398         [BZ #15003]
41399         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
41400         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
41401         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
41402         (TCP_FASTOPEN): Define.
41403         (tcp_repair_opt): New structure.
41404         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
41405         enum values.
41406         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
41407         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
41408         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
41409         (tcp_cookie_transactions): New structure.
41411 2013-01-09  Anton Blanchard  <anton@samba.org>
41413         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
41414         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
41415         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
41416         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
41418 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
41420         * include/features.h (__USE_ANSI): Remove.
41422 2013-01-09  Roland McGrath  <roland@hack.frob.com>
41424         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
41426         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
41428 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
41430         * sysdeps/s390/fpu/libm-test-ulps: Update.
41432         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41434         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
41435         (__acr): Likewise.
41436         (__cpy): Likewise.
41437         (norm): Likewise.
41438         (denorm): Likewise.
41439         (__mp_dbl): Likewise.
41440         (__dbl_mp): Likewise.
41441         (add_magnitudes): Likewise.
41442         (sub_magnitudes): Likewise.
41443         (__add): Likewise.
41444         (__sub): Likewise.
41445         (__mul): Likewise.
41446         (__inv): Likewise.
41447         (__dvd): Likewise.
41448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
41449         (__acr): Likewise.
41450         (__cpy): Likewise.
41451         (norm): Likewise.
41452         (denorm): Likewise.
41453         (__mp_dbl): Likewise.
41454         (__dbl_mp): Likewise.
41455         (add_magnitudes): Likewise.
41456         (sub_magnitudes): Likewise.
41457         (__add): Likewise.
41458         (__sub): Likewise.
41459         (__mul): Likewise.
41460         (__inv): Likewise.
41461         (__dvd): Likewise.
41462         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
41463         (__acr): Likewise.
41464         (__cpy): Likewise.
41465         (norm): Likewise.
41466         (denorm): Likewise.
41467         (__mp_dbl): Likewise.
41468         (__dbl_mp): Likewise.
41469         (add_magnitudes): Likewise.
41470         (sub_magnitudes): Likewise.
41471         (__add): Likewise.
41472         (__sub): Likewise.
41473         (__mul): Likewise.
41474         (__inv): Likewise.
41475         (__dvd): Likewise.
41477 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
41479         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
41480         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
41481         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
41482         2 && __USE_EXTERN_INLINES]: Likewise.
41484 2013-01-08  Andreas Jaeger  <aj@suse.de>
41486         [BZ# 14985]
41487         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
41488         Remove.
41489         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41490         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
41492 2013-01-07  Anton Blanchard  <anton@samba.org>
41494         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
41495         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
41496         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
41497         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
41498         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
41499         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
41500         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
41501         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41504         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41505         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41506         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
41507         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
41508         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
41509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41510         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
41512         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
41513         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
41514         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
41515         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
41516         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41517         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
41518         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
41519         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
41520         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
41521         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
41522         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
41523         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
41524         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
41525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41526         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41527         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
41528         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
41529         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41530         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
41531         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41532         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
41533         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41534         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
41535         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41536         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
41538 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
41540         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
41541         (__MALLOC_PMT): Likewise.
41542         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
41543         [__GNUC__], only on [_LIBC].
41544         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41545         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
41546         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
41547         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
41548         forward declaration.
41549         (realloc_hook_ini): Likewise.
41550         (memalign_hook_ini): Likewise.
41551         (__libc_memalign): Do not use __MALLOC_PMT in variable
41552         declaration.
41553         (__libc_valloc): Likewise.
41554         (__libc_pvalloc): Likewise.
41555         (__libc_calloc): Likewise.
41556         (__posix_memalign): Likewise.
41558         [BZ #14996]
41559         * math/s_casinh.c: Include <float.h>.
41560         (__casinh): Do not do computation with squaring and square root
41561         for large arguments.
41562         * math/s_casinhf.c: Include <float.h>.
41563         (__casinhf): Do not do computation with squaring and square root
41564         for large arguments.
41565         * math/s_casinhl.c: Include <float.h>.
41566         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
41567         (__casinhl): Do not do computation with squaring and square root
41568         for large arguments.
41569         * math/libm-test.inc (casin_test): Add more tests.
41570         (casinh_test): Likewise.
41571         * sysdeps/i386/fpu/libm-test-ulps: Update.
41572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41574 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
41576         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
41577         (__x86_64_raw_data_cache_size): Likewise.
41578         (__x86_64_data_cache_size_half): Likewise.
41579         (__x86_64_raw_data_cache_size_half): Likewise.
41580         (__x86_64_shared_cache_size): Likewise.
41581         (__x86_64_raw_shared_cache_size): Likewise.
41582         (__x86_64_shared_cache_size_half): Likewise.
41583         (__x86_64_raw_shared_cache_size_half): Likewise.
41584         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
41585         to ...
41586         (__x86_data_cache_size): This.
41587         (__x86_64_raw_data_cache_size): Renamed to ...
41588         (__x86_raw_data_cache_size): This.
41589         (__x86_64_data_cache_size_half): Renamed to ...
41590         (__x86_data_cache_size_half): This.
41591         (__x86_64_raw_data_cache_size_half): Renamed to ...
41592         (__x86_raw_data_cache_size_half): This.
41593         (__x86_64_shared_cache_size): Renamed to ...
41594         (__x86_shared_cache_size): This.
41595         (__x86_64_raw_shared_cache_size): Renamed to ...
41596         (__x86_raw_shared_cache_size): This.
41597         (__x86_64_shared_cache_size_half): Renamed to ...
41598         (__x86_shared_cache_size_half): This.
41599         (__x86_64_raw_shared_cache_size_half): Renamed to ...
41600         (__x86_raw_shared_cache_size_half): This.
41601         * sysdeps/x86_64/memcpy.S: Updated.
41602         * sysdeps/x86_64/memset.S: Likewise.
41603         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
41604         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41605         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41607 2013-01-04  David S. Miller  <davem@davemloft.net>
41609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41611 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
41613         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
41614         1 to avoid redefinition warning.
41615         (__USE_GNU): Don't define.
41616         (init_signaling_nan): Protoize.
41618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41620 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41622         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
41623         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
41624         (__cpymn): Likewise.
41625         (norm): Remove commented code.
41626         (denorm): Likewise.
41627         (__mp_dbl): Likewise.
41628         (__inv): Likewise.
41629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
41630         (__cpymn): Likewise.
41631         (norm): Remove commented code.
41632         (denorm): Likewise.
41633         (__mp_dbl): Likewise.
41634         (__inv): Likewise.
41636         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
41637         mp_no value for 1.0 and 2.0.
41638         (norm): Use RADIXI instead of radixi.d.
41639         (denorm): Likewise.
41640         (__mul): Use 0.0 instead of zero.d.
41641         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
41642         mp_no value for 1.0 and 2.0.
41643         (norm): Use RADIXI instead of radixi.d.
41644         (denorm): Likewise.
41645         (__mul): Use 0.0 instead of zero.d.
41647 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
41649         [BZ #14994]
41650         * math/s_casinh.c (__casinh): Reduce finite argument to first
41651         quadrant then set signs of results at the end.
41652         * math/s_casinhf.c (__casinhf): Likewise.
41653         * math/s_casinhl.c (__casinhl): Likewise.
41654         * math/libm-test.inc (casin_test): Add more tests.
41655         (casinh_test): Likewise.
41656         * sysdeps/i386/fpu/libm-test-ulps: Update.
41657         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41659 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41661         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
41663         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
41665         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
41666         declarations.
41667         (denorm): Likewise.
41668         (__mp_dbl): Likewise.
41669         (__inv): Likewise.
41671         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
41672         and adjust the header comment.
41674         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
41675         variable name from declaration.
41677 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
41679         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41680         Initialize COMMON_CPUID_INDEX_7 element.
41681         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
41682         (CPUID_RTM): Likewise.
41683         (HAS_RTM): Likewise.
41684         (COMMON_CPUID_INDEX_7): New enum.
41686 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
41688         [BZ #14981]
41689         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
41690         size is zero, record memory as freed.
41692 2013-01-03  Andreas Jaeger  <aj@suse.de>
41694         * po/ia.po: Add new Interlingua translation.
41696 2012-01-03  Allan McRae  <allan@archlinux.org>
41698         * locale/programs/localedef.c: Fix description of '--posix' flag.
41700 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
41702         * NEWS: Update dates in second copyright notice.
41703         * README: Update copyright dates in example.
41704         * manual/libc.texinfo: Update copyright dates.
41705         * scripts/test-installation.pl: Update copyright date in --version
41706         output.
41708         * hurd/ctty-input.c: Fix copyright notice formatting.
41709         * hurd/ctty-output.c: Likewise.
41710         * hurd/dtable.c: Likewise.
41711         * hurd/hurd-raise.c: Likewise.
41712         * hurd/hurdprio.c: Likewise.
41713         * hurd/msgportdemux.c: Likewise.
41714         * misc/sys/file.h: Likewise.
41715         * misc/sys/ioctl.h: Likewise.
41716         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
41717         * sysdeps/mach/hurd/chdir.c: Likewise.
41718         * sysdeps/mach/hurd/fchdir.c: Likewise.
41719         * sysdeps/mach/hurd/rename.c: Likewise.
41720         * sysdeps/mach/hurd/rmdir.c: Likewise.
41721         * sysdeps/mach/hurd/seekdir.c: Likewise.
41722         * sysdeps/mach/hurd/setsid.c: Likewise.
41723         * sysdeps/posix/wait3.c: Likewise.
41725         * All files with FSF copyright notices: Update copyright dates
41726         using scripts/update-copyrights.
41727         * intl/plural.c: Regenerated.
41728         * locale/programs/charmap-kw.h: Likewise.
41729         * locale/programs/locfile-kw.h: Likewise.
41731 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41733         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
41734         four values.
41736         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
41737         calculation loop and add branch prediction.
41739         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
41740         check access beyond bounds of m1np.
41742         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41743         MPTWO.
41744         (__inv): Remove local variable MPTWO to use the global
41745         constant.
41746         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
41747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41748         variable MPTWO.
41749         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
41750         MP3HALFS static const.
41752 2013-01-01  David S. Miller  <davem@davemloft.net>
41754         * po/ca.po: Update from translation team.
41756 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
41758         * scripts/update-copyrights: New file.
41759         * Makeconfig: Reformat copyright notice.
41760         * ctype/ctype.h: Likewise.
41761         * debug/swprintf_chk.c: Likewise.
41762         * elf/dl-cache.c: Likewise.
41763         * elf/dl-debug.c: Likewise.
41764         * elf/dl-object.c: Likewise.
41765         * grp/initgroups.c: Likewise.
41766         * hurd/Makefile: Likewise.
41767         * hurd/hurd/signal.h: Likewise.
41768         * hurd/hurdfault.c: Likewise.
41769         * hurd/hurdioctl.c: Likewise.
41770         * hurd/hurdlookup.c: Likewise.
41771         * hurd/intr-msg.c: Likewise.
41772         * iconv/gconv_open.c: Likewise.
41773         * libio/swprintf.c: Likewise.
41774         * locale/lc-ctype.c: Likewise.
41775         * locale/nl_langinfo.c: Likewise.
41776         * mach/Machrules: Likewise.
41777         * mach/Makefile: Likewise.
41778         * malloc/obstack.h: Likewise.
41779         * manual/Makefile: Likewise.
41780         * manual/tsort.awk: Likewise.
41781         * misc/bits/stab.def: Likewise.
41782         * nis/nis_print_group_entry.c: Likewise.
41783         * nis/nis_table.c: Likewise.
41784         * nis/nss_compat/compat-pwd.c: Likewise.
41785         * nis/nss_compat/compat-spwd.c: Likewise.
41786         * po/Makefile: Likewise.
41787         * posix/fnmatch.c: Likewise.
41788         * posix/regex.h: Likewise.
41789         * resolv/Makefile: Likewise.
41790         * resolv/nss_dns/dns-network.c: Likewise.
41791         * resolv/res_hconf.c: Likewise.
41792         * scripts/gen-sorted.awk: Likewise.
41793         * soft-fp/soft-fp.h: Likewise.
41794         * stdio-common/printf.h: Likewise.
41795         * stdlib/monetary.h: Likewise.
41796         * stdlib/random.c: Likewise.
41797         * stdlib/random_r.c: Likewise.
41798         * sysdeps/generic/Makefile: Likewise.
41799         * sysdeps/gnu/Makefile: Likewise.
41800         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
41801         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41802         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41803         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41804         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41807         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41808         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41809         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41810         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
41811         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
41812         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
41813         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
41814         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
41815         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
41816         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
41817         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41818         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
41819         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41820         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
41821         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
41822         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
41823         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
41824         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
41825         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41826         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
41827         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
41828         * sysdeps/mach/hurd/errnos.awk: Likewise.
41829         * sysdeps/mach/hurd/fork.c: Likewise.
41830         * sysdeps/mach/hurd/getcwd.c: Likewise.
41831         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
41832         * sysdeps/mach/hurd/mmap.c: Likewise.
41833         * sysdeps/mach/hurd/utimes.c: Likewise.
41834         * sysdeps/mach/hurd/xmknod.c: Likewise.
41835         * sysdeps/posix/profil.c: Likewise.
41836         * sysdeps/posix/readdir_r.c: Likewise.
41837         * sysdeps/powerpc/bits/mathdef.h: Likewise.
41838         * sysdeps/powerpc/bits/setjmp.h: Likewise.
41839         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
41840         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
41841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
41842         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
41843         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
41844         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41845         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
41846         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
41847         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
41848         * sysdeps/pthread/lio_listio.c: Likewise.
41849         * sysdeps/sparc/dl-procinfo.h: Likewise.
41850         * sysdeps/unix/i386/sysdep.S: Likewise.
41851         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
41852         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
41853         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
41854         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
41855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
41856         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
41857         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
41858         * sysdeps/unix/sysv/linux/speed.c: Likewise.
41859         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
41860         * sysdeps/wordsize-32/divdi3.c: Likewise.
41861         * time/sys/time.h: Likewise.
41862         * wcsmbs/Makefile: Likewise.
41864 2013-01-01  David S. Miller  <davem@davemloft.net>
41866         * po/fr.po: Update from translation team.
41868         * catgets/gencat.c: Update copyright year.
41869         * csu/version.c: Likewise.
41870         * debug/catchsegv.sh: Likewise.
41871         * debug/pcprofiledump.c: Likewise.
41872         * debug/xtrace.sh: Likewise.
41873         * elf/ldconfig.c: Likewise.
41874         * elf/ldd.bash.in: Likewise.
41875         * elf/pldd.c: Likewise.
41876         * elf/sotruss.ksh: Likewise.
41877         * elf/sprof.c: Likewise.
41878         * iconv/iconv_prog.c: Likewise.
41879         * iconv/iconvconfig.c: Likewise.
41880         * locale/programs/locale.c: Likewise.
41881         * locale/programs/localedef.c: Likewise.
41882         * login/programs/pt_chown.c: Likewise.
41883         * malloc/memusage.sh: Likewise.
41884         * malloc/memusagestat.c: Likewise.
41885         * malloc/mtrace.pl: Likewise.
41886         * nscd/nscd.c: Likewise.
41887         * nss/getent.c: Likewise.
41888         * nss/makedb.c: Likewise.
41889         * posix/getconf.c: Likewise.
41891 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41893         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
41894         numbers.
41896 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
41898         * math/bits/mathcalls.h (modf): Use __nonnull.
41900 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41902         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
41903         (split): Use macro CN instead of the bare value.
41904         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
41905         could be used.
41906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
41907         instead of the bare value.
41908         (power1): Likewise.
41910 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41912         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
41913         __ATAN_TWOM.
41914         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41916         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
41917         their values.
41918         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
41919         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
41920         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
41921         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
41923 2012-12-28  Andreas Jaeger  <aj@suse.de>
41925         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
41926         values are from Linux 3.7.
41928         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
41929         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
41931 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41933         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
41934         TRUE case.
41936         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
41937         (norm): Likewise.
41938         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
41939         variables with preprocessor constants.
41940         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
41941         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
41942         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
41944 2012-12-27  Bruno Haible  <bruno@clisp.org>
41946         [BZ #14317]
41947         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
41948         only if needed.
41950 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41952         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
41953         and use variable directly.
41954         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
41956         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
41957         MPONE.
41958         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
41959         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
41960         variable MPONE.
41961         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
41962         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41963         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
41964         include directive.  Remove local variable MPONE.
41965         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
41966         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
41967         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41969 2012-12-25  David S. Miller  <davem@davemloft.net>
41971         * version.h (RELEASE): Set to "development".
41972         (VERSION): Set to "2.17.90".
41973         * NEWS: Add 2.18 section.
41975 2012-12-21  David S. Miller  <davem@davemloft.net>
41977         * po/hr.po: Update from translation team.
41979 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41981         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
41983 2012-12-19  Steve Ellcey  <sellcey@mips.com>
41985         * NEWS:  Mention new memcpy for MIPS.
41987 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41989         * manual/contrib.texi (Contributors): Spelling correction.
41991 2012-12-15  David S. Miller  <davem@davemloft.net>
41993         * po/ru.po: Update from translation team.
41995 2012-12-13  David S. Miller  <davem@davemloft.net>
41997         * NEWS: Mention IFUNC testsuite enhancements.
41999         * po/pl.po: Update from translation team.
42000         * po/bg.po: Likewise.
42002         * manual/contrib.texi (Contributors): Update entries for Hongjiu
42003         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
42005 2012-12-11  David S. Miller  <davem@davemloft.net>
42007         * po/sv.po: Update from translation team.
42009         * po/vi.po: Update from translation team.
42011         * po/cs.po: Update from translation team.
42013         * po/de.po: Update from translation team.
42014         * po/eo.po: Likewise.
42015         * po/nl.po: Likewise.
42017 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42019         [BZ #14246]
42020         * manual/argp.texi (Argp Helper Functions): Move node to follow
42021         Argp Parsing State.
42023         [BZ #14872]
42024         * manual/conf.texi (Limits on File System Capacity): Mention if
42025         terminating null is included in the max size.
42027 2012-12-10  Andreas Jaeger  <aj@suse.de>
42029         * po/cs.po: Update from translation team.
42031 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
42033         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
42034         void pointer and cast to uintptr_t.
42035         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
42036         path.
42037         * sysdeps/s390/s390-64/memcpy.S: Likewise.
42038         * sysdeps/s390/s390-64/memset.S: Likewise.
42040 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
42042         [BZ #14833]
42043         * menual/message.texi (Message Translation): Fix typos.
42044         (Helper programs for gettext): Likewise.
42046 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
42048         [BZ #14898]
42049         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
42050         Change to -1.
42052 2012-12-07  David S. Miller  <davem@davemloft.net>
42054         * po/libc.pot: Update.
42056 2012-12-07  Richard Henderson  <rth@redhat.com>
42058         [BZ #10114]
42059         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
42060         normal/normal case to before the switch.
42061         (_FP_DIV): Likewise.
42063 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
42064             Mike Frysinger  <vapier@gentoo.org>
42066         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
42067         check for __NR_fadvise64_64.
42069 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
42071         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
42072         0, not just to plain "0" as a statement.
42073         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
42074         with cw.
42076 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
42078         * NEWS: Use sourceware.org in Bugzilla URL.
42080 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
42083         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42085         * stdio-common/tst-put-error.c (do_test): Add newline to the
42086         padded test to ensure flush.
42088 2012-12-05  Jeff Law  <law@redhat.com>
42090         * sunrpc/etc.rpc (fedfs_admin): Add entry.
42092 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
42094         * README: Don't refer to ports add-on as distributed separately.
42095         Mention AArch64 in list of systems supported in the ports add-on.
42097         * LICENSES: Add more non-FSF copyright and license notices.
42099         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
42100         ((unused)).
42102         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
42104         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
42105         10000 as width of padded output.
42107 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42109         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
42111         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
42112         variable LX with __attribute__ ((unused)).
42113         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
42114         Likewise.
42115         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
42116         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42117         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
42118         with __attribute__ ((unused)).
42120 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
42122         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
42124 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
42126         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
42127         (CFLAGS-nldbl-acos.c): New variable.
42128         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
42129         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
42130         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
42131         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
42132         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
42133         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
42134         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
42135         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
42136         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
42137         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
42138         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
42139         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
42140         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
42141         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
42142         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
42143         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
42144         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
42145         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
42146         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
42147         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
42148         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
42149         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
42150         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
42151         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
42152         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
42153         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
42154         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
42155         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
42156         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
42157         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
42158         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
42159         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
42160         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
42161         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
42162         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
42163         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
42164         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
42165         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
42166         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
42167         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
42168         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
42169         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
42170         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
42171         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
42172         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
42173         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
42174         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
42175         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
42176         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
42177         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
42178         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
42179         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
42180         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
42181         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
42182         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
42183         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
42184         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
42185         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
42186         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
42187         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
42188         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
42189         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
42190         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
42191         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
42192         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
42193         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
42194         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
42195         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
42196         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
42197         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
42198         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
42199         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
42200         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
42201         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
42202         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
42203         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
42204         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
42205         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
42206         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
42207         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
42208         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
42209         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
42210         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
42211         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
42212         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
42213         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
42214         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
42215         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
42216         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
42217         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
42218         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
42219         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
42220         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
42221         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
42222         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
42223         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
42224         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
42226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42227         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
42229         [BZ #14914]
42230         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
42231         whole low double instead of just low 47 bits when splitting values
42232         into two parts.
42234 2012-12-03  Allan McRae  <allan@archlinux.org>
42236         * manual/stdio.texi (Predefined Printf Handlers): Remove
42237         @hsep and @vsep usage.
42239 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
42241         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
42242         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
42244 2012-12-03  Jeff Law  <law@redhat.com>
42246         * time/sys/time.h (settimeofday): Do not mark TV argument
42247         as __nonnull.
42249 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
42251         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
42252         when currently writing and seek to current position when not.
42253         * libio/Makefile (tests): Remove bug-fclose1.
42254         * libio/bug-fclose1.c: Delete.
42256 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
42258         * manual/arith.texi (feenableexcept): Fix typo.
42259         (fedisableexcept): Likewise.
42261 2012-11-30  Roland McGrath  <roland@hack.frob.com>
42263         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
42264         second, differently-typed declaration, rather than a cast.
42266 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42268         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
42269         * include/rpc/svc.h: ... here.
42271 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
42273         [BZ #13013]
42274         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
42275         depending n and resplen2 to catch cases where answer
42276         equals answerp2.
42278 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
42280         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
42281         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
42283 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
42285         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
42287 2012-11-29  Roland McGrath  <roland@hack.frob.com>
42289         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
42291 2012-11-28  Jeff Law  <law@redhat.com>
42293         [BZ #13761]
42294         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
42295         dataset_temporary.  Track alloca usage into alloca_used.
42296         If dataset is large allocate and release it via malloc/free.
42298 2012-06-04  Florian Weimer  <fweimer@redhat.com>
42300         [BZ #14197]
42301         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
42303 2012-11-28  David S. Miller  <davem@davemloft.net>
42305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42307 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
42309         [BZ #14803]
42310         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
42311         of pi/2 rounded to nearest to 64 bits.
42312         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
42313         nearest to 64 bits.
42314         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
42315         bits.
42317 2012-11-28  Jeff Law <law@redhat.com>
42318             Martin Osvald <mosvald@redhat.com>
42320         [BZ #14889]
42321         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
42322         * sunrpc/svc.c: Include time.h.
42323         (__svc_accept_failed): New function.
42324         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
42325         any reason other than EINTR, call __svc_accept_failed.
42326         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
42327         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
42329 2012-11-28  Andreas Schwab  <schwab@suse.de>
42331         * scripts/abilist.awk: Also handle indirect functions in .opd
42332         section.
42334 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
42336         [BZ #13881]
42337         * sysdeps/x86/fpu/powl_helper.c: New file.
42338         * sysdeps/x86/fpu/Makefile: Likewise.
42339         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
42340         (p3): New object.
42341         (__ieee754_powl): Use __powl_helper for finite arguments except
42342         integer exponents below 8.
42343         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
42344         (p3): New object.
42345         (__ieee754_powl): Use __powl_helper for finite arguments except
42346         integer exponents below 8.
42347         * math/libm-test.inc (pow_test): Add more tests and enable some
42348         previously disabled tests.
42349         * sysdeps/i386/fpu/libm-test-ulps: Update.
42350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42352 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42353             Carlos O'Donell  <carlos_odonell@mentor.com>
42355         * nss/makedb.c (is_prime): Assert that input is odd and greater
42356         than 4.  Note that fact in a comment too.
42357         (next_prime): Add 4 to input.
42359 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42361         [BZ #11741]
42362         * libio/Makefile (tests): Add test case tst-fwrite-error.
42363         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
42364         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
42365         * libio/tst-fwrite-error.c: New test case.
42367 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
42369         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
42370         before casting to void *.
42371         * include/libc-internal.h (__pointer_type): New macro.
42372         (__integer_if_pointer_type_sub): Likewise.
42373         (__integer_if_pointer_type): Likewise.
42374         (cast_to_integer): Likewise.
42375         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
42376         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
42377         before casting to atomic64_t.
42378         (atomic_exchange_acq): Likewise.
42379         (__arch_exchange_and_add_body): Likewise.
42380         (__arch_add_body): Likewise.
42381         (atomic_add_negative): Likewise.
42382         (atomic_add_zero): Likewise.
42384 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
42386         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
42387         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
42388         (add_fdes): Likewise.
42389         (linear_search_fdes): Likewise.
42390         (binary_search_unencoded_fdes): Likewise.
42392 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
42394         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
42396 2012-11-24  Adam Conrad  <adconrad@0c3.net>
42398         * configure.in: Autodetect C++ header directories.
42399         * configure: Regenerated.
42401 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
42403         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
42405 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
42407         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42409 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
42411         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
42412         LDBL_MANT_DIG == 106]: Disable some tests.
42413         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42414         Likewise.
42415         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
42416         Likewise.
42418         [BZ #14871]
42419         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
42420         input for small inputs.  Return +/- pi/2 for large inputs.
42421         * math/libm-test.inc (atan_test): Add more tests.
42423         * sysdeps/generic/unwind-dw2-fde-glibc.c
42424         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
42425         __attribute__ ((unused)).
42427         [BZ #14645]
42428         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
42429         x * y if x and y are nonzero and z is zero.
42431         [BZ #14811]
42432         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
42433         nonzero exponents with absolute value below 0x1p-117 to +/-
42434         0x1p-117.
42436         [BZ #14869]
42437         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
42438         up arguments below 2**-450, not just those below 2**-500.
42439         * math/libm-test.inc (hypot_test): Add another test.
42441         [BZ #14868]
42442         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
42443         Return a+b for ratio over 2**120, not 2**60.
42444         * math/libm-test.inc (hypot_test): Add another test.
42446         * math/libm-test.inc (clog_test): Use
42447         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
42448         (clog10_test): Likewise.
42450         [BZ #6778]
42451         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
42453 2012-11-22  Andreas Schwab  <schwab@suse.de>
42455         * sysdeps/i386/fpu/libm-test-ulps: Update.
42457 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
42459         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
42460         printf output with newline.
42462 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
42464         [BZ #14865]
42465         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
42466         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
42467         -z nodlopen, -z initfirst and -z execstack support.
42468         * configure: Regenerated.
42470         * elf/elf.h (DF_1_NODIRECT): New macro.
42471         (DF_1_IGNMULDEF): Likewise.
42472         (DF_1_NOKSYMS): Likewise.
42473         (DF_1_NOHDR): Likewise.
42474         (DF_1_EDITED): Likewise.
42475         (DF_1_NORELOC): Likewise.
42476         (DF_1_SYMINTPOSE): Likewise.
42477         (DF_1_GLOBAUDIT): Likewise.
42478         (DF_1_SINGLETON): Likewise.
42479         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
42480         DT_1_SUPPORTED_MASK bits.
42481         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
42483 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
42485         * sysdeps/unix/make-syscalls.sh: Document prefixes.
42487 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
42489         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
42490         macro.
42492         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
42493         (sendmmsg): Move declarations...
42494         * socket/sys/socket.h: ... here.
42495         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
42496         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
42497         include it from...
42498         * socket/recvmmsg.c: ... this new file.
42499         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
42500         (sendmmsg): Rename to __sendmmsg, create weak alias and make
42501         definition of __sendmmsg hidden.
42502         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
42503         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
42504         Move ENOSYS stub into and include it from...
42505         * socket/sendmmsg.c: ... this new file.
42506         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
42507         (sysdep_routines): Move recvmmsg and sendmmsg...
42508         * socket/Makefile (routines): ... here.
42509         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
42510         (GLIBC_PRIVATE): Add __sendmmsg.
42511         * include/sys/socket.h (__sendmmsg): Add declarations.
42512         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
42513         sendmmsg.
42515 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
42517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
42518         variable I1 with __attribute__ ((unused)).
42519         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
42521 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
42523         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
42524         DUMMY variables with __attribute__ ((unused)).
42526         * bits/byteswap.h: Include <bits/types.h>.
42527         (__bswap_64): Use __uint64_t instead of unsigned long long int.
42529 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42531         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
42532         string_t.  Do not manually set errno.
42533         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
42534         length with __strnlen.  Make sure to both set errno and return it on
42535         failure.
42537 2012-11-19  David S. Miller  <davem@davemloft.net>
42539         With help from Joseph Myers.
42540         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
42541         very large arguments properly.
42542         * math/libm-test.inc (atan_test): New tests.
42543         (atan2_test): New tests.
42544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42547 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
42549         [BZ #14856]
42550         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
42551         Define to 3.
42553         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
42554         [POSIX] (EADDRNOTAVAIL): Likewise.
42555         [POSIX] (EAFNOSUPPORT): Likewise.
42556         [POSIX] (EALREADY): Likewise.
42557         [POSIX] (ECONNABORTED): Likewise.
42558         [POSIX] (ECONNREFUSED): Likewise.
42559         [POSIX] (ECONNRESET): Likewise.
42560         [POSIX] (EDESTADDRREQ): Likewise.
42561         [POSIX] (EDQUOT): Likewise.
42562         [POSIX] (EHOSTUNREACH): Likewise.
42563         [POSIX] (EIDRM): Likewise.
42564         [POSIX] (EISCONN): Likewise.
42565         [POSIX] (ELOOP): Likewise.
42566         [POSIX] (EMULTIHOP): Likewise.
42567         [POSIX] (ENETDOWN): Likewise.
42568         [POSIX] (ENETUNREACH): Likewise.
42569         [POSIX] (ENOBUFS): Likewise.
42570         [POSIX] (ENODATA): Likewise.
42571         [POSIX] (ENOLINK): Likewise.
42572         [POSIX] (ENOMSG): Likewise.
42573         [POSIX] (ENOPROTOOPT): Likewise.
42574         [POSIX] (ENOSR): Likewise.
42575         [POSIX] (ENOSTR): Likewise.
42576         [POSIX] (ENOTCONN): Likewise.
42577         [POSIX] (ENOTSOCK): Likewise.
42578         [POSIX] (EOPNOTSUPP): Likewise.
42579         [POSIX] (EOVERFLOW): Likewise.
42580         [POSIX] (EPROTO): Likewise.
42581         [POSIX] (EPROTONOSUPPORT): Likewise.
42582         [POSIX] (EPROTOTYPE): Likewise.
42583         [POSIX] (ESTALE): Likewise.
42584         [POSIX] (ETIME): Likewise.
42585         [POSIX] (ETXTBSY): Likewise.
42586         [POSIX] (EWOULDBLOCK): Likewise.
42587         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
42588         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
42589         [POSIX] (SEEK_CUR): Likewise.
42590         [POSIX] (SEEK_END): Likewise.
42591         [POSIX || UNIX98] (mode_t): Do not require.
42592         [POSIX] (off_t): Likewise.
42593         [POSIX] (pid_t): Likewise.
42594         [POSIX] (sys/stat.h): Do not allow header.
42595         [POSIX] (unistd.h): Likewise.
42596         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
42597         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
42598         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
42599         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
42600         require.
42601         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
42602         sigevent): Specify elements.
42603         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
42604         entry.
42605         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
42606         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
42608         * conform/data/cpio.h-data [POSIX]: Disable whole file.
42609         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
42610         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
42611         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
42612         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
42613         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
42614         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
42615         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
42616         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
42617         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
42618         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
42619         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
42620         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
42621         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
42622         Likewise.
42623         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
42624         Likewise.
42625         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
42626         Likewise.
42627         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
42628         Likewise.
42629         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
42630         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
42631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
42632         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
42633         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
42634         Specify lower bound on value.
42635         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
42636         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
42637         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
42638         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
42639         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
42640         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
42641         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
42642         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
42643         value.
42644         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
42645         as optional.
42646         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
42647         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
42648         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
42649         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
42650         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
42651         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
42652         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
42653         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
42654         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
42655         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
42656         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
42657         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
42658         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
42659         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
42660         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
42661         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
42662         entry.
42663         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
42664         optional.
42665         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
42666         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
42667         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
42668         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
42669         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
42670         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
42671         Likewise.
42672         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
42673         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
42674         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
42675         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
42676         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
42677         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
42678         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
42679         as optional.
42680         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
42681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
42682         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
42683         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
42684         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
42685         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
42686         specify as optional.
42687         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
42688         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
42689         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
42690         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
42691         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
42692         [XPG3] (NL_LANGMAX): Likewise.
42693         [POSIX || XPG3] (NL_MSGMAX): Likewise.
42694         [POSIX || XPG3] (NL_NMAX): Likewise.
42695         [POSIX || XPG3] (NL_SETMAX): Likewise.
42696         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
42697         [XPG3] (NZERO): Likewise.
42698         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
42699         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
42700         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
42701         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
42702         (REG_ERANGE): Expect.
42703         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
42704         optional-constant.
42705         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
42706         Use (void) in prototype.
42707         [POSIX] (*_t): Allow.
42708         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
42709         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
42710         (WRDE_BADVAL): Expect.
42712         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
42713         expect.
42714         [XPG3 || XPG4] (O_RSYNC): Likewise.
42715         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
42716         Likewise.
42717         [XPG3 || XPG4] (pthread_sigmask): Likewise.
42718         [XPG3 || XPG4] (sigqueue): Likewise.
42719         [XPG3 || XPG4] (sigtimedwait): Likewise.
42720         [XPG3 || XPG4] (sigwaitinfo): Likewise.
42721         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
42722         [XPG3 || XPG4] (vsnprintf): Likewise.
42723         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
42724         Likewise.
42725         [XPG3 || XPG4] (blksize_t): Likewise.
42726         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
42727         Likewise.
42728         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
42729         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
42730         [XPG3 || XPG4] (struct itimerspec): Likewise.
42731         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
42732         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
42733         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
42734         [XPG3 || XPG4] (clockid_t): Likewise.
42735         [XPG3 || XPG4] (timer_t): Likewise.
42736         [XPG3 || XPG4] (clock_getres): Likewise.
42737         [XPG3 || XPG4] (clock_gettime): Likewise.
42738         [XPG3 || XPG4] (clock_settime): Likewise.
42739         [XPG3 || XPG4] (nanosleep): Likewise.
42740         [XPG3 || XPG4] (timer_create): Likewise.
42741         [XPG3 || XPG4] (timer_delete): Likewise.
42742         [XPG3 || XPG4] (timer_gettime): Likewise.
42743         [XPG3 || XPG4] (timer_getoverrun): Likewise.
42744         [XPG3 || XPG4] (timer_settime): Likewise.
42745         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
42746         [XPG3 || XPG4] (getlogin_r): Likewise.
42747         [XPG3 || XPG4] (pread): Likewise.
42748         [XPG3 || XPG4] (pthread_atfork): Likewise.
42749         [XPG3 || XPG4] (pwrite): Likewise.
42751         [BZ #14835]
42752         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
42753         <bits/siginfo.h>.
42755 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
42757         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
42758         finalizing MALLSTREAM.
42760         * sysdeps/mach/hurd/syncfs.c: New file.
42762 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
42764         [BZ #14719]
42765         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
42766         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
42767         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
42768         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
42769         (_nss_dns_gethostbyname4_r): Likewise.
42770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
42771         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
42773 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
42775         [BZ #13763]
42776         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
42778 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
42780         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
42781         * elf/cache.c (print_entry): Print ",AArch64" for
42782         FLAG_AARCH64_LIB64
42784         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
42785         * elf/cache.c (print_entry): Print ",hard-float" for
42786         FLAG_ARM_LIBHF.
42788 2012-11-18  David S. Miller  <davem@davemloft.net>
42790         With help from Joseph Myers.
42791         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
42792         cutoff to 2**-13.
42793         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
42794         cutoff to 2**-25.
42795         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
42796         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
42797         small.
42798         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
42799         * math/libm-test.inc (y0_test): New tests.
42800         (y1_test): New tests.
42801         * sysdeps/i386/fpu/libm-test-ulps: Update.
42802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42803         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42805 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
42807         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
42808         64-bit targets.
42809         * configure: Regenerated.
42811 2012-11-17  David S. Miller  <davem@davemloft.net>
42813         [BZ #14811]
42814         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
42815         nonzero exponents with absolute value below 0x1p-128 to +/-
42816         0x1p-128.
42818 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
42820         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
42822         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
42824         * posix/getconf-speclist.c: New file.
42825         * posix/posix-envs.def: Likewise.
42826         * posix/confstr.c (START_ENV_GROUP): New macro.
42827         (END_ENV_GROUP): Likewise.
42828         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42829         (KNOWN_PRESENT_ENV_STRING): Likewise.
42830         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42831         (UNKNOWN_ENVIRONMENT): Likewise.
42832         (confstr): Include posix-envs.def instead of handling
42833         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
42834         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
42835         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
42836         (END_ENV_GROUP): Likewise.
42837         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
42838         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
42839         (UNKNOWN_ENVIRONMENT): Likewise.
42840         (__sysconf): Include posix-envs.def instead of handling associated
42841         cases directly here.
42842         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
42843         preprocessing getconf-speclist.c rather than running getconf or
42844         generating empty file.
42846 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
42848         * scripts/check-local-headers.sh: Ignore 'mach' headers.
42850 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
42852         [BZ #14672]
42853         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
42855 2012-11-16  David S. Miller  <davem@davemloft.net>
42857         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
42858         smaller than LDBL_EPSILON/2.0L, just return xm1.
42860 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
42862         * elf/tst-array1.c (init): Set constructor priority to 1000.
42863         (fini): Set destructor priority to 1000.
42864         * elf/tst-array2dep.c: Likewise.
42866 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42868         [BZ #11741]
42869         * libio/fileops.c (_IO_new_file_write): Correctly return error.
42870         (_IO_new_file_xsputn): Also return EOF if none of the input
42871         data was written when overflow failed.
42872         * libio/iopadn.c (_IO_padn): Likewise.
42873         * libio/iowpadn.c (_IO_wpadn): Likewise.
42874         * stdio-common/tst-put-error.c: Add copyright notice.
42875         (do_test): Add case for printing padded string.
42876         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
42877         _IO_padn returned error.
42878         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
42879         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
42880         return EOF.
42882 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42884         * libio/libioP.h: Add comment note that the references to C++
42885         bits are now obsolete.
42887 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42889         * math/libm-test.inc (check_complex): Use asprintf.
42891 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
42893         * debug/pcprofiledump.c (print_version): Update copyright year.
42894         * malloc/memusagestat.c (print_version): Likewise.
42896 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
42898         [BZ #14831]
42899         * elf/Makefile (tests): Add tst-audit8.
42900         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
42901         ($(objpfx)tst-audit8.out): New target.
42902         (tst-audit8-ENV): New variable.
42903         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
42904         audit if l_reloc_result is NULL.
42905         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
42906         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
42907         * elf/tst-audit8.c: New file.
42909 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42911         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
42912         * misc/Makefile (CFLAGS-select.c): Define.
42913         * posix/Makefile (CFLAGS-pause.c): Define.
42915 2012-11-13  David S. Miller  <davem@davemloft.net>
42917         * crypt/Makefile: Move test targets after toplevel Rules
42918         inclusion.  Grab any necessary sysdep routines when linking.
42919         * crypt/md5.c (md5_process_block): Remove define, we will always
42920         name it __md5_process_block.
42921         (md5_finish_ctx): Update md5_process_block call.
42922         (md5_stream): Likewise.
42923         (md5_process_bytes): Likewise.
42924         (md5_process_block): Rename to __md5_process_block and move to ...
42925         * crypt/md5-block.c: ... here.
42926         * crypt/sha256.c (sha256_process_block): Move to ...
42927         * crypt/sha256-block.c: ... here.
42928         * crypt/sha512.c (sha512_process_block): Move to ...
42929         * crypt/sha512-block.c: ... here.
42930         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
42931         path.
42932         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
42933         * sysdeps/sparc/sparc64/multiarch/Makefile
42934         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
42935         crypt subdir.
42936         (localedef-aux): Add md5 crypto assembler when in locale subdir.
42937         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
42938         multiarch changes.
42939         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
42940         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
42941         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
42942         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
42943         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
42944         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
42945         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
42946         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
42947         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
42948         file.
42949         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
42950         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
42951         file.
42952         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
42954 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
42956         * timezone/tzselect.ksh: Update from tzcode git revision
42957         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
42958         * timezone/zdump.c: Likewise.
42959         * timezone/zic.c: Likewise.
42960         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
42961         in TZVERSION setting, not $(PKGVERSION).
42962         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
42963         REPORT_BUGS_TO settings.
42965         [BZ #14838]
42966         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
42967         macro.
42969 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42971         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
42972         detection to immediately after _FP_ROUND().
42973         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
42974         bits are 0.
42976 2012-11-11  David S. Miller  <davem@davemloft.net>
42978         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
42979         inttypes.h
42980         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
42981         __close rather than their public counterparts.
42983 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
42985         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
42986         file.
42987         [UNIX98] (sem_timedwait): Do not expect.
42988         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
42989         [XPG4 || UNIX98] (sockatmark): Do not expect.
42990         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
42991         (clock_getcpuclockid): Do not expect.
42992         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
42993         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
42994         Do not expect.
42995         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
42996         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
42997         [UNIX98] (vwscanf): Likewise.
42998         [UNIX98] (vswscanf): Likewise.
43000 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
43002         * timezone/version.h: Remove file.
43003         * timezone/README: Do not refer to version.h.
43004         * timezone/Makefile ($(objpfx)zic.o): New dependency on
43005         $(objpfx)version.h.
43006         ($(objpfx)zdump.o): Likewise.
43007         ($(objpfx)version.h): New target.
43009         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
43010         2012i.
43011         * timezone/README: Don't mention modification to tzselect.ksh.
43012         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
43013         work on unmodified tzselect.ksh.  Substitute version numbers in
43014         tzselect.ksh.
43016         * Makefile (format-me): Remove.
43017         (INSTALL): Adjust indentation.  Use commands directly instead of
43018         using $(format-me).
43020         * aclocal.m4 (ACX_PKGVERSION): New macro.
43021         (ACX_BUGURL): Likewise.
43022         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
43023         (PKGVERSION): New AC_DEFINE_UNQUOTED.
43024         (REPORT_BUGS_TO): Likewise.
43025         * configure: Regenerated.
43026         * config.h.in (PKGVERSION): New macro.
43027         (REPORT_BUGS_TO): Likewise.
43028         * config.make.in (PKGVERSION): New variable.
43029         (PKGVERSION_TEXI): Likewise.
43030         (REPORT_BUGS_TO): Likewise.
43031         (REPORT_BUGS_TEXI): Likewise.
43032         * Makefile (format-me): Use -I$(common-objpfx)manual.
43033         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
43034         ($(common-objpfx)manual/%): New target.
43035         (manual/%): Remove target.
43036         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
43037         (print_version): Use PKGVERSION.
43038         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
43039         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
43040         and REPORT_BUGS_TO.
43041         ($(objpfx)xtrace): Likewise.
43042         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
43043         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
43044         (print_version): Use PKGVERSION.
43045         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
43046         (do_version): Use PKGVERSION.
43047         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
43048         REPORT_BUGS_TO.
43049         (common-ldd-rewrite): Likewise.
43050         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
43051         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
43052         (print_version): Use PKGVERSION.
43053         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
43054         * elf/pldd.c (argp_program_bug_address): Remove variable.
43055         (more_help): New function.
43056         (argp): Use more_help.
43057         (print_version): Use PKGVERSION.
43058         * elf/sln.c (main): Use PKGVERSION.
43059         (usage): Use REPORT_BUGS_TO.
43060         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
43061         (top level): Use PKGVERSION.
43062         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
43063         (print_version): Use PKGVERSION.
43064         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
43065         (print_version): Use PKGVERSION.
43066         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
43067         (print_version): Use PKGVERSION.
43068         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
43069         (print_version): Use PKGVERSION.
43070         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
43071         (print_version): Use PKGVERSION.
43072         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
43073         (print_version): Use PKGVERSION.
43074         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
43075         and BUGURL.
43076         ($(objpfx)memusage): Likewise.
43077         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
43078         (do_version): Use PKGVERSION.
43079         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
43080         (print_version): Use PKGVERSION.
43081         * malloc/mtrace.pl ($PACKAGE): Remove variable.
43082         ($PKGVERSION): New variable.
43083         ($REPORT_BUGS_TO): Likewise.
43084         (usage): Use $REPORT_BUGS_TO.
43085         (top level): Use $PKGVERSION.
43086         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
43087         ($(objpfx)pkgvers.texi): New rule.
43088         ($(objpfx)stamp-pkgvers): Likewise.
43089         * manual/install.texi: Include pkgvers.texi.
43090         (--with-pkgversion): Document new configure option.
43091         (--with-bugurl): Likewise.
43092         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
43093         than necessarily for this particular distribution.  Use
43094         REPORT_BUGS_TO for where to report bugs.
43095         * INSTALL: Regenerated.
43096         * manual/libc.texinfo: Include pkgvers.texi.
43097         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
43098         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
43099         (print_version): Use PKGVERSION.
43100         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
43101         (print_version): Use PKGVERSION.
43102         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
43103         (print_version): Use PKGVERSION.
43104         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
43105         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
43106         macro.
43107         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
43108         (print_version): Use PKGVERSION.
43109         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
43110         (print_version): Use PKGVERSION.
43111         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
43112         and PKGVERSION.
43114         * timezone/checktab.awk: Update from tzcode 2012i.
43115         * timezone/ialloc.c: Likewise.
43116         * timezone/private.h: Likewise.
43117         * timezone/scheck.c: Likewise.
43118         * timezone/tzfile.h: Likewise.
43119         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
43120         (TZVERSION): Hardcode tzcode version number.
43121         * timezone/zdump.c: Update from tzcode 2012i.
43122         * timezone/zic.c: Likewise.
43123         * timezone/version.h: New file.
43124         * timezone/README: Describe version.h.  Update upstream location.
43126         [BZ #14824]
43127         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
43128         (mktemp): Enable declaration.
43129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
43130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
43131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
43132         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
43133         Likewise.
43134         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
43135         Likewise.
43136         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
43137         Likewise.
43138         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
43139         Likewise.
43140         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
43141         Likewise.
43142         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
43143         Likewise.
43145         [BZ #14821]
43146         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
43147         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
43148         for copies of such integer values.
43149         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43150         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43152 2012-11-09  Andreas Jaeger  <aj@suse.de>
43154         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
43155         definitions and declarations that are provided by
43156         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
43158 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43160         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
43161         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
43162         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
43163         definition.
43165 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43167         * elf/elf.h: Update comment before AArch64 relocations.
43169 2012-11-07  David S. Miller  <davem@davemloft.net>
43171         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
43172         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43173         (__start_context): Declare.
43174         (__makecontext_ret): Delete.
43175         (__makecontext): Hook up __start_context instead of
43176         __makecontext_ret.
43177         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
43178         (sysdep_routines): Add __start_context when in stdlib.
43180 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43182         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
43183         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
43184         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
43185         hardcoded "nm".
43186         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
43187         (READELF): New variable.  Use it instead of hardcoded "readelf".
43189 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43191         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
43192         * sysdeps/x86/Makefile: Here.
43193         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
43194         * sysdeps/x86/tst-xmmymm.sh: This.
43196 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43198         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
43199         expectations.
43200         [UNIX98] (pthread_barrier_t): Do not expect.
43201         [UNIX98] (pthread_barrierattr_t): Likewise.
43202         [UNIX98] (pthread_spinlock_t): Likewise.
43203         [UNIX98] (pthread_barrier_destroy): Likewise.
43204         [UNIX98] (pthread_barrier_init): Likewise.
43205         [UNIX98] (pthread_barrier_wait): Likewise.
43206         [UNIX98] (pthread_barrierattr_destroy): Likewise.
43207         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
43208         [UNIX98] (pthread_barrierattr_init): Likewise.
43209         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
43210         [UNIX98] (pthread_getcpuclockid): Likewise.
43211         [UNIX98] (pthread_mutex_timedlock): Likewise.
43212         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
43213         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
43214         [UNIX98] (pthread_sigmask): Likewise.
43215         [UNIX98] (pthread_spin_destroy): Likewise.
43216         [UNIX98] (pthread_spin_init): Likewise.
43217         [UNIX98] (pthread_spin_lock): Likewise.
43218         [UNIX98] (pthread_spin_trylock): Likewise.
43219         [UNIX98] (pthread_spin_unlock): Likewise.
43220         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
43221         Do not expect.
43222         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
43223         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
43224         [XPG3 || XPG4] (pthread_cond_t): Likewise.
43225         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
43226         [XPG3 || XPG4] (pthread_key_t): Likewise.
43227         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
43228         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
43229         [XPG3 || XPG4] (pthread_once_t): Likewise.
43230         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
43231         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
43232         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
43233         [XPG3 || XPG4] (pthread_t): Likewise.
43235         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
43236         not expect.
43237         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
43239         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
43240         Change function return type to int.
43242         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
43243         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
43244         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
43245         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
43246         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
43247         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
43248         [!POSIX] (posix_madvise): Likewise.
43249         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
43250         && !UNIX98].
43251         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
43252         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
43253         (mode_t): Likewise.
43254         (posix_mem_offset): Likewise.
43255         (posix_typed_mem_get_info): Likewise.
43256         (posix_typed_mem_open): Likewise.
43258         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
43259         Change condition to [XOPEN2K8].
43261         * conform/conformtest.pl: Preprocess allow-header data with -x c
43262         instead of from stdin.
43263         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
43264         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
43265         [C99-based standards] (cerfc): Likewise.
43266         [C99-based standards] (cexp2): Likewise.
43267         [C99-based standards] (cexpm1): Likewise.
43268         [C99-based standards] (clog10): Likewise.
43269         [C99-based standards] (clog1p): Likewise.
43270         [C99-based standards] (clog2): Likewise.
43271         [C99-based standards] (clgamma): Likewise.
43272         [C99-based standards] (ctgamma): Likewise.
43273         [C99-based standards] (cerff): Likewise.
43274         [C99-based standards] (cerfcf): Likewise.
43275         [C99-based standards] (cexp2f): Likewise.
43276         [C99-based standards] (cexpm1f): Likewise.
43277         [C99-based standards] (clog10f): Likewise.
43278         [C99-based standards] (clog1pf): Likewise.
43279         [C99-based standards] (clog2f): Likewise.
43280         [C99-based standards] (clgammaf): Likewise.
43281         [C99-based standards] (ctgammaf): Likewise.
43282         [C99-based standards] (cerfl): Likewise.
43283         [C99-based standards] (cerfcl): Likewise.
43284         [C99-based standards] (cexp2l): Likewise.
43285         [C99-based standards] (cexpm1l): Likewise.
43286         [C99-based standards] (clog10l): Likewise.
43287         [C99-based standards] (clog1pl): Likewise.
43288         [C99-based standards] (clog2l): Likewise.
43289         [C99-based standards] (clgammal): Likewise.
43290         [C99-based standards] (ctgammal): Likewise.
43291         * conform/data/inttypes.h-data [C99-based standards]: Include
43292         stdint.h-data.  Remove all expectations for stdint.h contents.
43293         [C99-based standards] (PRI*): Do not allow.
43294         [C99-based standards] (SCN*): Likewise.
43295         [C99-based standards] (*_t): Likewise.
43296         [C99-based-standards] (PRId8): Expect macro.
43297         [C99-based-standards] (PRIi8): Likewise.
43298         [C99-based-standards] (PRIo8): Likewise.
43299         [C99-based-standards] (PRIu8): Likewise.
43300         [C99-based-standards] (PRIx8): Likewise.
43301         [C99-based-standards] (PRIX8): Likewise.
43302         [C99-based-standards] (SCNd8): Likewise.
43303         [C99-based-standards] (SCNi8): Likewise.
43304         [C99-based-standards] (SCNo8): Likewise.
43305         [C99-based-standards] (SCNu8): Likewise.
43306         [C99-based-standards] (SCNx8): Likewise.
43307         [C99-based-standards] (PRIdLEAST8): Likewise.
43308         [C99-based-standards] (PRIiLEAST8): Likewise.
43309         [C99-based-standards] (PRIoLEAST8): Likewise.
43310         [C99-based-standards] (PRIuLEAST8): Likewise.
43311         [C99-based-standards] (PRIxLEAST8): Likewise.
43312         [C99-based-standards] (PRIXLEAST8): Likewise.
43313         [C99-based-standards] (SCNdLEAST8): Likewise.
43314         [C99-based-standards] (SCNiLEAST8): Likewise.
43315         [C99-based-standards] (SCNoLEAST8): Likewise.
43316         [C99-based-standards] (SCNuLEAST8): Likewise.
43317         [C99-based-standards] (SCNxLEAST8): Likewise.
43318         [C99-based-standards] (PRIdFAST8): Likewise.
43319         [C99-based-standards] (PRIiFAST8): Likewise.
43320         [C99-based-standards] (PRIoFAST8): Likewise.
43321         [C99-based-standards] (PRIuFAST8): Likewise.
43322         [C99-based-standards] (PRIxFAST8): Likewise.
43323         [C99-based-standards] (PRIXFAST8): Likewise.
43324         [C99-based-standards] (SCNdFAST8): Likewise.
43325         [C99-based-standards] (SCNiFAST8): Likewise.
43326         [C99-based-standards] (SCNoFAST8): Likewise.
43327         [C99-based-standards] (SCNuFAST8): Likewise.
43328         [C99-based-standards] (SCNxFAST8): Likewise.
43329         [C99-based-standards] (PRId16): Likewise.
43330         [C99-based-standards] (PRIi16): Likewise.
43331         [C99-based-standards] (PRIo16): Likewise.
43332         [C99-based-standards] (PRIu16): Likewise.
43333         [C99-based-standards] (PRIx16): Likewise.
43334         [C99-based-standards] (PRIX16): Likewise.
43335         [C99-based-standards] (SCNd16): Likewise.
43336         [C99-based-standards] (SCNi16): Likewise.
43337         [C99-based-standards] (SCNo16): Likewise.
43338         [C99-based-standards] (SCNu16): Likewise.
43339         [C99-based-standards] (SCNx16): Likewise.
43340         [C99-based-standards] (PRIdLEAST16): Likewise.
43341         [C99-based-standards] (PRIiLEAST16): Likewise.
43342         [C99-based-standards] (PRIoLEAST16): Likewise.
43343         [C99-based-standards] (PRIuLEAST16): Likewise.
43344         [C99-based-standards] (PRIxLEAST16): Likewise.
43345         [C99-based-standards] (PRIXLEAST16): Likewise.
43346         [C99-based-standards] (SCNdLEAST16): Likewise.
43347         [C99-based-standards] (SCNiLEAST16): Likewise.
43348         [C99-based-standards] (SCNoLEAST16): Likewise.
43349         [C99-based-standards] (SCNuLEAST16): Likewise.
43350         [C99-based-standards] (SCNxLEAST16): Likewise.
43351         [C99-based-standards] (PRIdFAST16): Likewise.
43352         [C99-based-standards] (PRIiFAST16): Likewise.
43353         [C99-based-standards] (PRIoFAST16): Likewise.
43354         [C99-based-standards] (PRIuFAST16): Likewise.
43355         [C99-based-standards] (PRIxFAST16): Likewise.
43356         [C99-based-standards] (PRIXFAST16): Likewise.
43357         [C99-based-standards] (SCNdFAST16): Likewise.
43358         [C99-based-standards] (SCNiFAST16): Likewise.
43359         [C99-based-standards] (SCNoFAST16): Likewise.
43360         [C99-based-standards] (SCNuFAST16): Likewise.
43361         [C99-based-standards] (SCNxFAST16): Likewise.
43362         [C99-based-standards] (PRId32): Likewise.
43363         [C99-based-standards] (PRIi32): Likewise.
43364         [C99-based-standards] (PRIo32): Likewise.
43365         [C99-based-standards] (PRIu32): Likewise.
43366         [C99-based-standards] (PRIx32): Likewise.
43367         [C99-based-standards] (PRIX32): Likewise.
43368         [C99-based-standards] (SCNd32): Likewise.
43369         [C99-based-standards] (SCNi32): Likewise.
43370         [C99-based-standards] (SCNo32): Likewise.
43371         [C99-based-standards] (SCNu32): Likewise.
43372         [C99-based-standards] (SCNx32): Likewise.
43373         [C99-based-standards] (PRIdLEAST32): Likewise.
43374         [C99-based-standards] (PRIiLEAST32): Likewise.
43375         [C99-based-standards] (PRIoLEAST32): Likewise.
43376         [C99-based-standards] (PRIuLEAST32): Likewise.
43377         [C99-based-standards] (PRIxLEAST32): Likewise.
43378         [C99-based-standards] (PRIXLEAST32): Likewise.
43379         [C99-based-standards] (SCNdLEAST32): Likewise.
43380         [C99-based-standards] (SCNiLEAST32): Likewise.
43381         [C99-based-standards] (SCNoLEAST32): Likewise.
43382         [C99-based-standards] (SCNuLEAST32): Likewise.
43383         [C99-based-standards] (SCNxLEAST32): Likewise.
43384         [C99-based-standards] (PRIdFAST32): Likewise.
43385         [C99-based-standards] (PRIiFAST32): Likewise.
43386         [C99-based-standards] (PRIoFAST32): Likewise.
43387         [C99-based-standards] (PRIuFAST32): Likewise.
43388         [C99-based-standards] (PRIxFAST32): Likewise.
43389         [C99-based-standards] (PRIXFAST32): Likewise.
43390         [C99-based-standards] (SCNdFAST32): Likewise.
43391         [C99-based-standards] (SCNiFAST32): Likewise.
43392         [C99-based-standards] (SCNoFAST32): Likewise.
43393         [C99-based-standards] (SCNuFAST32): Likewise.
43394         [C99-based-standards] (SCNxFAST32): Likewise.
43395         [C99-based-standards] (PRId64): Likewise.
43396         [C99-based-standards] (PRIi64): Likewise.
43397         [C99-based-standards] (PRIo64): Likewise.
43398         [C99-based-standards] (PRIu64): Likewise.
43399         [C99-based-standards] (PRIx64): Likewise.
43400         [C99-based-standards] (PRIX64): Likewise.
43401         [C99-based-standards] (SCNd64): Likewise.
43402         [C99-based-standards] (SCNi64): Likewise.
43403         [C99-based-standards] (SCNo64): Likewise.
43404         [C99-based-standards] (SCNu64): Likewise.
43405         [C99-based-standards] (SCNx64): Likewise.
43406         [C99-based-standards] (PRIdLEAST64): Likewise.
43407         [C99-based-standards] (PRIiLEAST64): Likewise.
43408         [C99-based-standards] (PRIoLEAST64): Likewise.
43409         [C99-based-standards] (PRIuLEAST64): Likewise.
43410         [C99-based-standards] (PRIxLEAST64): Likewise.
43411         [C99-based-standards] (PRIXLEAST64): Likewise.
43412         [C99-based-standards] (SCNdLEAST64): Likewise.
43413         [C99-based-standards] (SCNiLEAST64): Likewise.
43414         [C99-based-standards] (SCNoLEAST64): Likewise.
43415         [C99-based-standards] (SCNuLEAST64): Likewise.
43416         [C99-based-standards] (SCNxLEAST64): Likewise.
43417         [C99-based-standards] (PRIdFAST64): Likewise.
43418         [C99-based-standards] (PRIiFAST64): Likewise.
43419         [C99-based-standards] (PRIoFAST64): Likewise.
43420         [C99-based-standards] (PRIuFAST64): Likewise.
43421         [C99-based-standards] (PRIxFAST64): Likewise.
43422         [C99-based-standards] (PRIXFAST64): Likewise.
43423         [C99-based-standards] (SCNdFAST64): Likewise.
43424         [C99-based-standards] (SCNiFAST64): Likewise.
43425         [C99-based-standards] (SCNoFAST64): Likewise.
43426         [C99-based-standards] (SCNuFAST64): Likewise.
43427         [C99-based-standards] (SCNxFAST64): Likewise.
43428         [C99-based-standards] (PRIdMAX): Likewise.
43429         [C99-based-standards] (PRIiMAX): Likewise.
43430         [C99-based-standards] (PRIoMAX): Likewise.
43431         [C99-based-standards] (PRIuMAX): Likewise.
43432         [C99-based-standards] (PRIxMAX): Likewise.
43433         [C99-based-standards] (PRIXMAX): Likewise.
43434         [C99-based-standards] (SCNdMAX): Likewise.
43435         [C99-based-standards] (SCNiMAX): Likewise.
43436         [C99-based-standards] (SCNoMAX): Likewise.
43437         [C99-based-standards] (SCNuMAX): Likewise.
43438         [C99-based-standards] (SCNxMAX): Likewise.
43439         [C99-based-standards] (PRIdPTR): Likewise.
43440         [C99-based-standards] (PRIiPTR): Likewise.
43441         [C99-based-standards] (PRIoPTR): Likewise.
43442         [C99-based-standards] (PRIuPTR): Likewise.
43443         [C99-based-standards] (PRIxPTR): Likewise.
43444         [C99-based-standards] (PRIXPTR): Likewise.
43445         [C99-based-standards] (SCNdPTR): Likewise.
43446         [C99-based-standards] (SCNiPTR): Likewise.
43447         [C99-based-standards] (SCNoPTR): Likewise.
43448         [C99-based-standards] (SCNuPTR): Likewise.
43449         [C99-based-standards] (SCNxPTR): Likewise.
43450         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
43451         allow.
43452         * conform/data/stdint.h-data: Update comments to clarify
43453         requirements.
43454         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
43455         type.
43456         [C99-based standards] (INT8_MAX): Likewise.
43457         [C99-based standards] (INT16_MIN): Likewise.
43458         [C99-based standards] (INT16_MAX): Likewise.
43459         [C99-based standards] (INT32_MIN): Likewise.
43460         [C99-based standards] (INT32_MAX): Likewise.
43461         [C99-based standards] (INT64_MIN): Likewise.
43462         [C99-based standards] (INT64_MAX): Likewise.
43463         [C99-based standards] (UINT8_MAX): Likewise.
43464         [C99-based standards] (UINT16_MAX): Likewise.
43465         [C99-based standards] (UINT32_MAX): Likewise.
43466         [C99-based standards] (UINT64_MAX): Likewise.
43467         [C99-based standards] (INT_LEAST8_MIN): Likewise.
43468         [C99-based standards] (INT_LEAST8_MAX): Likewise.
43469         [C99-based standards] (INT_LEAST16_MIN): Likewise.
43470         [C99-based standards] (INT_LEAST16_MAX): Likewise.
43471         [C99-based standards] (INT_LEAST32_MIN): Likewise.
43472         [C99-based standards] (INT_LEAST32_MAX): Likewise.
43473         [C99-based standards] (INT_LEAST64_MIN): Likewise.
43474         [C99-based standards] (INT_LEAST64_MAX): Likewise.
43475         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
43476         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
43477         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
43478         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
43479         [C99-based standards] (INT_FAST8_MIN): Likewise.
43480         [C99-based standards] (INT_FAST8_MAX): Likewise.
43481         [C99-based standards] (INT_FAST16_MIN): Likewise.
43482         [C99-based standards] (INT_FAST16_MAX): Likewise.
43483         [C99-based standards] (INT_FAST32_MIN): Likewise.
43484         [C99-based standards] (INT_FAST32_MAX): Likewise.
43485         [C99-based standards] (INT_FAST64_MIN): Likewise.
43486         [C99-based standards] (INT_FAST64_MAX): Likewise.
43487         [C99-based standards] (UINT_FAST8_MAX): Likewise.
43488         [C99-based standards] (UINT_FAST16_MAX): Likewise.
43489         [C99-based standards] (UINT_FAST32_MAX): Likewise.
43490         [C99-based standards] (UINT_FAST64_MAX): Likewise.
43491         [C99-based standards] (INTPTR_MIN): Likewise.
43492         [C99-based standards] (INTPTR_MAX): Likewise.
43493         [C99-based standards] (UINTPTR_MAX): Likewise.
43494         [C99-based standards] (INTMAX_MIN): Likewise.
43495         [C99-based standards] (INTMAX_MAX): Likewise.
43496         [C99-based standards] (UINTMAX_MAX): Likewise.
43497         [C99-based standards] (PTRDIFF_MIN): Likewise.
43498         [C99-based standards] (PTRDIFF_MAX): Likewise.
43499         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
43500         [C99-based standards] (SIZE_MAX): Likewise.
43501         [C99-based standards] (WCHAR_MAX): Likewise.
43502         [C99-based standards] (WINT_MAX): Likewise.
43503         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
43504         constraint on value.
43505         [C99-based standards] (WCHAR_MIN): Likewise.
43506         [C99-based standards] (WINT_MIN): Likewise.
43507         [C99-based standards] (*_t): Allow.
43508         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
43509         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
43510         Include math.h-data and complex.h-data.  Remove all expectations
43511         of math.h and complex.h contents.
43512         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
43513         at end of line.
43514         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
43515         (struct tm): Expect tag.
43516         [C99-based-standards] (wcstof): Expect function.
43517         [C99-based-standards] (wcstold): Likewise.
43518         [C99-based-standards] (wcstoll): Likewise.
43519         [C99-based-standards] (wcstoull): Likewise.
43520         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
43521         macro-int-constant.  Specify type.
43522         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
43523         constraint on value.
43524         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43525         Specify type.
43526         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
43527         Specify value.
43528         [ISO C standards]: Do not allow headers.
43529         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
43530         wcs[abcdefghijklmnopqrstuvwxyz]*.
43531         [ISO C standards] (*_t): Do not allow.
43532         * conform/data/wctype.h-data [C99-based standards] (iswblank):
43533         Expect function.
43534         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
43535         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
43536         Specify type.
43537         [ISO C standards]: Do not allow headers.
43538         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
43539         is[abcdefghijklmnopqrstuvwxyz]*.
43540         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
43541         to[abcdefghijklmnopqrstuvwxyz]*.
43542         [ISO C standards] (*_t): Do not allow.
43543         * conform/data/stdalign.h-data: New file.
43544         * conform/data/stdbool.h-data: Likewise.
43545         * conform/data/stdnoreturn.h-data: Likewise.
43547 2012-11-07  Roland McGrath  <roland@hack.frob.com>
43549         [BZ #14815]
43550         * manual/filesys.texi (Directory Entries): Typo fix.
43551         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
43553 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43555         * elf/elf.h (EM_AARCH64): New macro.
43556         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
43557         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
43558         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
43559         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
43560         (R_AARCH64_TLSDESC): Likewise.
43561         (NT_ARM_TLS): Likewise.
43562         (NT_ARM_HW_BREAK): Likewise.
43563         (NT_ARM_HW_WATCH): Likewise.
43565 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43567         [BZ #14811]
43568         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
43569         (__ieee754_powl): Saturate nonzero exponents with absolute value
43570         below 0x1p-79 to +/- 0x1p-79.
43571         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
43572         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
43573         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
43574         nonzero exponents with absolute value below 0x1p-32 to +/-
43575         0x1p-32.
43576         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
43577         (__ieee754_powl): Saturate nonzero exponents with absolute value
43578         below 0x1p-79 to +/- 0x1p-79.
43579         * math/libm-test.inc (pow_test): Add more tests.
43581 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43583         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
43584         _dl_s390_cap_flags with kernel. Increase string length.
43585         (_dl_s390_platforms): Add z196 and zEC12.
43587 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
43589         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
43590         Change XOPEN21K to XOPEN2K.
43592 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
43594         * string/memmove.c: Use memcpy when possible.
43596 2012-11-06  Andreas Jaeger  <aj@suse.de>
43598         * po/eo.po: Update from translation team.
43600 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
43602         [BZ #14793]
43603         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
43604         exponent and small x and y exponents, scale x or y up.  Increase
43605         by 2 the exponent used in scaling up.
43606         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43607         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43608         * math/libm-test.inc (fma_test): Add more tests.
43609         (fma_test_towardzero): Likewise.
43610         (fma_test_downward): Likewise.
43611         (fma_test_upward): Likewise.
43613 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
43615         [BZ #14805]
43616         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
43617         fenv_t *.
43619         [BZ #14801]
43620         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
43621         namespace for names of struct fields.
43622         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
43623         fenv_t fields.
43624         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
43625         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
43627 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43629         [BZ #3665]
43630         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
43632 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
43634         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
43635         PTR_DEMANGLE.
43637         [BZ #5246]
43638         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
43639         PTR_DEMANGLE.
43641 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
43643         [BZ #14797]
43644         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
43645         definitely overflow as x * y not x * y + z.
43646         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43647         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43648         * math/libm-test.inc (fma_test): Add more tests.
43649         (fma_test_towardzero): Likewise.
43650         (fma_test_downward): Likewise.
43651         (fma_test_upward): Likewise.
43653 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
43655         [BZ #157]
43657         * include/stub-tag.h: Remove file.
43658         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
43659         '#include' of it.
43660         * manual/maint.texi (Porting): Don't reference it.
43661         * Makerules ($(objpfx)stubs): Likewise.
43662         * dirent/closedir.c: Don't include <stub-tag.h>.
43663         * dirent/dirfd.c: Likewise.
43664         * dirent/fdopendir.c: Likewise.
43665         * dirent/getdents.c: Likewise.
43666         * dirent/getdents64.c: Likewise.
43667         * dirent/opendir.c: Likewise.
43668         * dirent/readdir.c: Likewise.
43669         * dirent/readdir64.c: Likewise.
43670         * dirent/readdir64_r.c: Likewise.
43671         * dirent/readdir_r.c: Likewise.
43672         * dirent/rewinddir.c: Likewise.
43673         * dirent/seekdir.c: Likewise.
43674         * dirent/telldir.c: Likewise.
43675         * gmon/profil.c: Likewise.
43676         * grp/setgroups.c: Likewise.
43677         * inet/if_index.c: Likewise.
43678         * io/access.c: Likewise.
43679         * io/chdir.c: Likewise.
43680         * io/chmod.c: Likewise.
43681         * io/chown.c: Likewise.
43682         * io/close.c: Likewise.
43683         * io/dup.c: Likewise.
43684         * io/dup2.c: Likewise.
43685         * io/dup3.c: Likewise.
43686         * io/euidaccess.c: Likewise.
43687         * io/faccessat.c: Likewise.
43688         * io/fchdir.c: Likewise.
43689         * io/fchmod.c: Likewise.
43690         * io/fchmodat.c: Likewise.
43691         * io/fchown.c: Likewise.
43692         * io/fchownat.c: Likewise.
43693         * io/fcntl.c: Likewise.
43694         * io/flock.c: Likewise.
43695         * io/fstatfs.c: Likewise.
43696         * io/fstatfs64.c: Likewise.
43697         * io/fstatvfs.c: Likewise.
43698         * io/fstatvfs64.c: Likewise.
43699         * io/futimens.c: Likewise.
43700         * io/fxstat.c: Likewise.
43701         * io/fxstat64.c: Likewise.
43702         * io/fxstatat.c: Likewise.
43703         * io/fxstatat64.c: Likewise.
43704         * io/getcwd.c: Likewise.
43705         * io/isatty.c: Likewise.
43706         * io/lchmod.c: Likewise.
43707         * io/lchown.c: Likewise.
43708         * io/link.c: Likewise.
43709         * io/linkat.c: Likewise.
43710         * io/lseek.c: Likewise.
43711         * io/lseek64.c: Likewise.
43712         * io/lxstat64.c: Likewise.
43713         * io/mkdir.c: Likewise.
43714         * io/mkdirat.c: Likewise.
43715         * io/mkfifo.c: Likewise.
43716         * io/mkfifoat.c: Likewise.
43717         * io/open.c: Likewise.
43718         * io/open64.c: Likewise.
43719         * io/openat.c: Likewise.
43720         * io/openat64.c: Likewise.
43721         * io/pipe.c: Likewise.
43722         * io/pipe2.c: Likewise.
43723         * io/poll.c: Likewise.
43724         * io/posix_fadvise.c: Likewise.
43725         * io/posix_fadvise64.c: Likewise.
43726         * io/posix_fallocate.c: Likewise.
43727         * io/posix_fallocate64.c: Likewise.
43728         * io/read.c: Likewise.
43729         * io/readlink.c: Likewise.
43730         * io/readlinkat.c: Likewise.
43731         * io/rmdir.c: Likewise.
43732         * io/sendfile.c: Likewise.
43733         * io/sendfile64.c: Likewise.
43734         * io/statfs.c: Likewise.
43735         * io/statfs64.c: Likewise.
43736         * io/statvfs.c: Likewise.
43737         * io/statvfs64.c: Likewise.
43738         * io/symlink.c: Likewise.
43739         * io/symlinkat.c: Likewise.
43740         * io/ttyname.c: Likewise.
43741         * io/ttyname_r.c: Likewise.
43742         * io/umask.c: Likewise.
43743         * io/unlink.c: Likewise.
43744         * io/unlinkat.c: Likewise.
43745         * io/utime.c: Likewise.
43746         * io/utimensat.c: Likewise.
43747         * io/write.c: Likewise.
43748         * io/xmknod.c: Likewise.
43749         * io/xmknodat.c: Likewise.
43750         * io/xstat.c: Likewise.
43751         * io/xstat64.c: Likewise.
43752         * login/getpt.c: Likewise.
43753         * login/grantpt.c: Likewise.
43754         * login/unlockpt.c: Likewise.
43755         * math/e_acoshl.c: Likewise.
43756         * math/e_acosl.c: Likewise.
43757         * math/e_asinl.c: Likewise.
43758         * math/e_atan2l.c: Likewise.
43759         * math/e_atanhl.c: Likewise.
43760         * math/e_coshl.c: Likewise.
43761         * math/e_expl.c: Likewise.
43762         * math/e_fmodl.c: Likewise.
43763         * math/e_gammal_r.c: Likewise.
43764         * math/e_hypotl.c: Likewise.
43765         * math/e_j0l.c: Likewise.
43766         * math/e_j1l.c: Likewise.
43767         * math/e_jnl.c: Likewise.
43768         * math/e_lgammal_r.c: Likewise.
43769         * math/e_log10l.c: Likewise.
43770         * math/e_log2l.c: Likewise.
43771         * math/e_logl.c: Likewise.
43772         * math/e_powl.c: Likewise.
43773         * math/e_rem_pio2l.c: Likewise.
43774         * math/e_sinhl.c: Likewise.
43775         * math/e_sqrtl.c: Likewise.
43776         * math/fclrexcpt.c: Likewise.
43777         * math/fedisblxcpt.c: Likewise.
43778         * math/feenablxcpt.c: Likewise.
43779         * math/fegetenv.c: Likewise.
43780         * math/fegetexcept.c: Likewise.
43781         * math/fegetround.c: Likewise.
43782         * math/feholdexcpt.c: Likewise.
43783         * math/fesetenv.c: Likewise.
43784         * math/fesetround.c: Likewise.
43785         * math/feupdateenv.c: Likewise.
43786         * math/fgetexcptflg.c: Likewise.
43787         * math/fraiseexcpt.c: Likewise.
43788         * math/fsetexcptflg.c: Likewise.
43789         * math/ftestexcept.c: Likewise.
43790         * math/k_cosl.c: Likewise.
43791         * math/k_rem_pio2l.c: Likewise.
43792         * math/k_sinl.c: Likewise.
43793         * math/k_tanl.c: Likewise.
43794         * math/s_asinhl.c: Likewise.
43795         * math/s_atanl.c: Likewise.
43796         * math/s_cbrtl.c: Likewise.
43797         * math/s_erfl.c: Likewise.
43798         * math/s_expm1l.c: Likewise.
43799         * math/s_log1pl.c: Likewise.
43800         * math/s_tanhl.c: Likewise.
43801         * misc/acct.c: Likewise.
43802         * misc/brk.c: Likewise.
43803         * misc/chflags.c: Likewise.
43804         * misc/chroot.c: Likewise.
43805         * misc/fchflags.c: Likewise.
43806         * misc/fgetxattr.c: Likewise.
43807         * misc/flistxattr.c: Likewise.
43808         * misc/fremovexattr.c: Likewise.
43809         * misc/fsetxattr.c: Likewise.
43810         * misc/fsync.c: Likewise.
43811         * misc/ftruncate.c: Likewise.
43812         * misc/futimes.c: Likewise.
43813         * misc/futimesat.c: Likewise.
43814         * misc/getdomain.c: Likewise.
43815         * misc/getdtsz.c: Likewise.
43816         * misc/gethostid.c: Likewise.
43817         * misc/gethostname.c: Likewise.
43818         * misc/getloadavg.c: Likewise.
43819         * misc/getpagesize.c: Likewise.
43820         * misc/getsysstats.c: Likewise.
43821         * misc/getxattr.c: Likewise.
43822         * misc/gtty.c: Likewise.
43823         * misc/ioctl.c: Likewise.
43824         * misc/lgetxattr.c: Likewise.
43825         * misc/listxattr.c: Likewise.
43826         * misc/llistxattr.c: Likewise.
43827         * misc/lremovexattr.c: Likewise.
43828         * misc/lsetxattr.c: Likewise.
43829         * misc/lutimes.c: Likewise.
43830         * misc/madvise.c: Likewise.
43831         * misc/mincore.c: Likewise.
43832         * misc/mlock.c: Likewise.
43833         * misc/mlockall.c: Likewise.
43834         * misc/mmap.c: Likewise.
43835         * misc/mprotect.c: Likewise.
43836         * misc/msync.c: Likewise.
43837         * misc/munlock.c: Likewise.
43838         * misc/munlockall.c: Likewise.
43839         * misc/munmap.c: Likewise.
43840         * misc/preadv.c: Likewise.
43841         * misc/preadv64.c: Likewise.
43842         * misc/ptrace.c: Likewise.
43843         * misc/pwritev.c: Likewise.
43844         * misc/pwritev64.c: Likewise.
43845         * misc/readv.c: Likewise.
43846         * misc/reboot.c: Likewise.
43847         * misc/remap_file_pages.c: Likewise.
43848         * misc/removexattr.c: Likewise.
43849         * misc/revoke.c: Likewise.
43850         * misc/select.c: Likewise.
43851         * misc/setdomain.c: Likewise.
43852         * misc/setegid.c: Likewise.
43853         * misc/seteuid.c: Likewise.
43854         * misc/sethostid.c: Likewise.
43855         * misc/sethostname.c: Likewise.
43856         * misc/setregid.c: Likewise.
43857         * misc/setreuid.c: Likewise.
43858         * misc/setxattr.c: Likewise.
43859         * misc/sstk.c: Likewise.
43860         * misc/stty.c: Likewise.
43861         * misc/swapoff.c: Likewise.
43862         * misc/swapon.c: Likewise.
43863         * misc/sync.c: Likewise.
43864         * misc/syncfs.c: Likewise.
43865         * misc/syscall.c: Likewise.
43866         * misc/truncate.c: Likewise.
43867         * misc/ualarm.c: Likewise.
43868         * misc/usleep.c: Likewise.
43869         * misc/ustat.c: Likewise.
43870         * misc/utimes.c: Likewise.
43871         * misc/vhangup.c: Likewise.
43872         * misc/writev.c: Likewise.
43873         * posix/_exit.c: Likewise.
43874         * posix/alarm.c: Likewise.
43875         * posix/execve.c: Likewise.
43876         * posix/fexecve.c: Likewise.
43877         * posix/fork.c: Likewise.
43878         * posix/fpathconf.c: Likewise.
43879         * posix/getaddrinfo.c: Likewise.
43880         * posix/getegid.c: Likewise.
43881         * posix/geteuid.c: Likewise.
43882         * posix/getgid.c: Likewise.
43883         * posix/getgroups.c: Likewise.
43884         * posix/getlogin.c: Likewise.
43885         * posix/getlogin_r.c: Likewise.
43886         * posix/getpgid.c: Likewise.
43887         * posix/getpid.c: Likewise.
43888         * posix/getppid.c: Likewise.
43889         * posix/getresgid.c: Likewise.
43890         * posix/getresuid.c: Likewise.
43891         * posix/getsid.c: Likewise.
43892         * posix/getuid.c: Likewise.
43893         * posix/glob64.c: Likewise.
43894         * posix/nanosleep.c: Likewise.
43895         * posix/pathconf.c: Likewise.
43896         * posix/pause.c: Likewise.
43897         * posix/posix_madvise.c: Likewise.
43898         * posix/pread.c: Likewise.
43899         * posix/pread64.c: Likewise.
43900         * posix/pwrite.c: Likewise.
43901         * posix/pwrite64.c: Likewise.
43902         * posix/sched_getaffinity.c: Likewise.
43903         * posix/sched_getp.c: Likewise.
43904         * posix/sched_gets.c: Likewise.
43905         * posix/sched_primax.c: Likewise.
43906         * posix/sched_primin.c: Likewise.
43907         * posix/sched_rr_gi.c: Likewise.
43908         * posix/sched_setaffinity.c: Likewise.
43909         * posix/sched_setp.c: Likewise.
43910         * posix/sched_sets.c: Likewise.
43911         * posix/sched_yield.c: Likewise.
43912         * posix/setgid.c: Likewise.
43913         * posix/setlogin.c: Likewise.
43914         * posix/setpgid.c: Likewise.
43915         * posix/setresgid.c: Likewise.
43916         * posix/setresuid.c: Likewise.
43917         * posix/setsid.c: Likewise.
43918         * posix/setuid.c: Likewise.
43919         * posix/sleep.c: Likewise.
43920         * posix/spawni.c: Likewise.
43921         * posix/sysconf.c: Likewise.
43922         * posix/times.c: Likewise.
43923         * posix/wait.c: Likewise.
43924         * posix/wait3.c: Likewise.
43925         * posix/wait4.c: Likewise.
43926         * posix/waitpid.c: Likewise.
43927         * resolv/gai_sigqueue.c: Likewise.
43928         * resource/getpriority.c: Likewise.
43929         * resource/getrlimit.c: Likewise.
43930         * resource/getrusage.c: Likewise.
43931         * resource/nice.c: Likewise.
43932         * resource/setpriority.c: Likewise.
43933         * resource/setrlimit.c: Likewise.
43934         * resource/ulimit.c: Likewise.
43935         * rt/aio_cancel.c: Likewise.
43936         * rt/aio_fsync.c: Likewise.
43937         * rt/aio_read.c: Likewise.
43938         * rt/aio_sigqueue.c: Likewise.
43939         * rt/aio_suspend.c: Likewise.
43940         * rt/aio_write.c: Likewise.
43941         * rt/clock_getres.c: Likewise.
43942         * rt/clock_gettime.c: Likewise.
43943         * rt/clock_nanosleep.c: Likewise.
43944         * rt/clock_settime.c: Likewise.
43945         * rt/lio_listio.c: Likewise.
43946         * rt/mq_close.c: Likewise.
43947         * rt/mq_getattr.c: Likewise.
43948         * rt/mq_notify.c: Likewise.
43949         * rt/mq_open.c: Likewise.
43950         * rt/mq_receive.c: Likewise.
43951         * rt/mq_send.c: Likewise.
43952         * rt/mq_setattr.c: Likewise.
43953         * rt/mq_timedreceive.c: Likewise.
43954         * rt/mq_timedsend.c: Likewise.
43955         * rt/mq_unlink.c: Likewise.
43956         * rt/shm_open.c: Likewise.
43957         * rt/shm_unlink.c: Likewise.
43958         * rt/timer_create.c: Likewise.
43959         * rt/timer_delete.c: Likewise.
43960         * rt/timer_getoverr.c: Likewise.
43961         * rt/timer_gettime.c: Likewise.
43962         * rt/timer_settime.c: Likewise.
43963         * setjmp/__longjmp.c: Likewise.
43964         * setjmp/setjmp.c: Likewise.
43965         * signal/kill.c: Likewise.
43966         * signal/killpg.c: Likewise.
43967         * signal/raise.c: Likewise.
43968         * signal/sigaction.c: Likewise.
43969         * signal/sigaltstack.c: Likewise.
43970         * signal/sigblock.c: Likewise.
43971         * signal/sigignore.c: Likewise.
43972         * signal/sigintr.c: Likewise.
43973         * signal/signal.c: Likewise.
43974         * signal/sigpause.c: Likewise.
43975         * signal/sigpending.c: Likewise.
43976         * signal/sigqueue.c: Likewise.
43977         * signal/sigreturn.c: Likewise.
43978         * signal/sigset.c: Likewise.
43979         * signal/sigsetmask.c: Likewise.
43980         * signal/sigstack.c: Likewise.
43981         * signal/sigsuspend.c: Likewise.
43982         * signal/sigtimedwait.c: Likewise.
43983         * signal/sigvec.c: Likewise.
43984         * signal/sigwait.c: Likewise.
43985         * signal/sigwaitinfo.c: Likewise.
43986         * signal/sysv_signal.c: Likewise.
43987         * socket/accept.c: Likewise.
43988         * socket/accept4.c: Likewise.
43989         * socket/bind.c: Likewise.
43990         * socket/connect.c: Likewise.
43991         * socket/getpeername.c: Likewise.
43992         * socket/getsockname.c: Likewise.
43993         * socket/getsockopt.c: Likewise.
43994         * socket/isfdtype.c: Likewise.
43995         * socket/listen.c: Likewise.
43996         * socket/recv.c: Likewise.
43997         * socket/recvfrom.c: Likewise.
43998         * socket/recvmsg.c: Likewise.
43999         * socket/send.c: Likewise.
44000         * socket/sendmsg.c: Likewise.
44001         * socket/sendto.c: Likewise.
44002         * socket/setsockopt.c: Likewise.
44003         * socket/shutdown.c: Likewise.
44004         * socket/sockatmark.c: Likewise.
44005         * socket/socket.c: Likewise.
44006         * socket/socketpair.c: Likewise.
44007         * stdio-common/ctermid.c: Likewise.
44008         * stdio-common/cuserid.c: Likewise.
44009         * stdio-common/remove.c: Likewise.
44010         * stdio-common/rename.c: Likewise.
44011         * stdio-common/renameat.c: Likewise.
44012         * stdio-common/tempname.c: Likewise.
44013         * stdlib/getcontext.c: Likewise.
44014         * stdlib/makecontext.c: Likewise.
44015         * stdlib/setcontext.c: Likewise.
44016         * stdlib/swapcontext.c: Likewise.
44017         * stdlib/system.c: Likewise.
44018         * streams/fattach.c: Likewise.
44019         * streams/fdetach.c: Likewise.
44020         * streams/getmsg.c: Likewise.
44021         * streams/getpmsg.c: Likewise.
44022         * streams/putmsg.c: Likewise.
44023         * streams/putpmsg.c: Likewise.
44024         * sysdeps/unix/bsd/getpt.c: Likewise.
44025         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
44026         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
44027         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44029         Likewise.
44030         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
44031         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44032         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
44033         * sysvipc/msgctl.c: Likewise.
44034         * sysvipc/msgget.c: Likewise.
44035         * sysvipc/msgrcv.c: Likewise.
44036         * sysvipc/msgsnd.c: Likewise.
44037         * sysvipc/semctl.c: Likewise.
44038         * sysvipc/semget.c: Likewise.
44039         * sysvipc/semop.c: Likewise.
44040         * sysvipc/semtimedop.c: Likewise.
44041         * sysvipc/shmat.c: Likewise.
44042         * sysvipc/shmctl.c: Likewise.
44043         * sysvipc/shmdt.c: Likewise.
44044         * sysvipc/shmget.c: Likewise.
44045         * termios/tcdrain.c: Likewise.
44046         * termios/tcflow.c: Likewise.
44047         * termios/tcflush.c: Likewise.
44048         * termios/tcgetattr.c: Likewise.
44049         * termios/tcgetpgrp.c: Likewise.
44050         * termios/tcsendbrk.c: Likewise.
44051         * termios/tcsetattr.c: Likewise.
44052         * termios/tcsetpgrp.c: Likewise.
44053         * time/adjtime.c: Likewise.
44054         * time/clock.c: Likewise.
44055         * time/getitimer.c: Likewise.
44056         * time/gettimeofday.c: Likewise.
44057         * time/setitimer.c: Likewise.
44058         * time/settimeofday.c: Likewise.
44059         * time/stime.c: Likewise.
44060         * time/time.c: Likewise.
44062 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
44064         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
44065         /usr/old/bin.
44067         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
44068         instead of spaces.
44069         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
44071 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
44073         [BZ #14796]
44074         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
44075         FE_TONEAREST before applying Dekker multiplication and Knuth
44076         addition.  Clear inexact exceptions and check for exact zero
44077         results afterwards.
44078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44079         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44080         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44081         * math/libm-test.inc (fma_test): Add more tests.
44082         (fma_test_towardzero): Likewise.
44083         (fma_test_downward): Likewise.
44084         (fma_test_upward): Likewise.
44085         * sysdeps/generic/math_private.h (default_libc_fesetround): New
44086         function.
44087         (libc_fesetround): New macro.
44088         (libc_fesetroundf): Likewise.
44089         (libc_fesetroundl): Likewise.
44090         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
44091         function.
44092         (libc_fesetround_387): Likewise.
44093         (libc_fesetroundf): New macro.
44094         (libc_fesetround): Likewise.
44095         (libc_fesetroundl): Likewise.
44096         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
44097         function.
44098         (libc_fesetroundf): New macro.
44099         (libc_fesetround): Likewise.
44100         (libc_fesetroundl): Likewise.
44101         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
44102         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
44103         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
44104         libm_hidden_ver.
44105         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
44106         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
44107         libm_hidden_def.
44108         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
44109         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
44110         libm_hidden_ver.
44111         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
44112         libm_hidden_def.
44114         [BZ #3439]
44115         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
44116         integer constant usable in #if and use that to give value to enum
44117         constant.
44118         (FE_DIVBYZERO): Likewise.
44119         (FE_UNDERFLOW): Likewise.
44120         (FE_OVERFLOW): Likewise.
44121         (FE_INVALID): Likewise.
44122         (FE_INVALID_SNAN): Likewise.
44123         (FE_INVALID_ISI): Likewise.
44124         (FE_INVALID_IDI): Likewise.
44125         (FE_INVALID_ZDZ): Likewise.
44126         (FE_INVALID_IMZ): Likewise.
44127         (FE_INVALID_COMPARE): Likewise.
44128         (FE_INVALID_SOFTWARE): Likewise.
44129         (FE_INVALID_SQRT): Likewise.
44130         (FE_INVALID_INTEGER_CONVERSION): Likewise.
44131         (FE_TONEAREST): Likewise.
44132         (FE_TOWARDZERO): Likewise.
44133         (FE_UPWARD): Likewise.
44134         (FE_DOWNWARD): Likewise.
44135         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
44136         (FE_DIVBYZERO): Likewise.
44137         (FE_OVERFLOW): Likewise.
44138         (FE_UNDERFLOW): Likewise.
44139         (FE_INEXACT): Likewise.
44140         (FE_TONEAREST): Likewise.
44141         (FE_DOWNWARD): Likewise.
44142         (FE_UPWARD): Likewise.
44143         (FE_TOWARDZERO): Likewise.
44144         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
44145         (FE_UNDERFLOW): Likewise.
44146         (FE_OVERFLOW): Likewise.
44147         (FE_DIVBYZERO): Likewise.
44148         (FE_INVALID): Likewise.
44149         (FE_TONEAREST): Likewise.
44150         (FE_TOWARDZERO): Likewise.
44151         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
44152         (FE_OVERFLOW): Likewise.
44153         (FE_UNDERFLOW): Likewise.
44154         (FE_DIVBYZERO): Likewise.
44155         (FE_INEXACT): Likewise.
44156         (FE_TONEAREST): Likewise.
44157         (FE_TOWARDZERO): Likewise.
44158         (FE_UPWARD): Likewise.
44159         (FE_DOWNWARD): Likewise.
44160         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
44161         (FE_DIVBYZERO): Likewise.
44162         (FE_OVERFLOW): Likewise.
44163         (FE_UNDERFLOW): Likewise.
44164         (FE_INEXACT): Likewise.
44165         (FE_TONEAREST): Likewise.
44166         (FE_DOWNWARD): Likewise.
44167         (FE_UPWARD): Likewise.
44168         (FE_TOWARDZERO): Likewise.
44170 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
44172         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
44174 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
44176         * scripts/cross-test-ssh.sh (command): Use newlines to separate
44177         commands.  Quote $PWD.
44178         (blacklist_exports): Don't use remove_newlines.  Replace "declare
44179         -x" by "export".
44180         (remove_newlines): Remove.
44182 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
44184         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
44185         * stdlib/stdlib.h (atof): Moved to ...
44186         * include/bits/stdlib-float.h: Here.  New file.
44187         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
44188         * stdlib/bits/stdlib-float.h: New file.
44189         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
44190         -mno-sse -mno-mmx.
44191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
44192         <xmmintrin.h>.
44194 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44196         * conform/conformtest.pl (@headers): Add fenv.h.
44197         * conform/data/fenv.h-data: New file.
44198         * include/fenv.h [_ISOMAC]: Disable all contents of file except
44199         include of <math/fenv.h>.
44201         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
44202         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
44203         && !UNIX98].  Enables tests for XOPEN2K8.
44204         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
44205         POSIX2008]: Likewise.
44207         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
44208         (struct rusage): Do not expect type or its members.
44210         [BZ #3439]
44211         * math/math.h (FP_NAN): Define macro to integer constant usable in
44212         #if and use that to give value to enum constant.
44213         (FP_INFINITE): Likewise.
44214         (FP_ZERO): Likewise.
44215         (FP_SUBNORMAL): Likewise.
44216         (FP_NORMAL): Likewise.
44218 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
44220         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
44221         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
44222         arguments.
44224 2012-11-02  Roland McGrath  <roland@hack.frob.com>
44226         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
44227         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
44228         autoconf-time if not.
44229         * configure.in: Remove AC_PREREQ.
44231 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44233         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
44234         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
44235         of the internal implementation.
44237 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
44239         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
44240         except include of <misc/sys/syslog.h>.
44242 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
44245         function returns with a NULL context exit with zero.
44247 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44249         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
44251 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
44253         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
44254         (run_program_cmd): This.
44255         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
44256         (tst_langinfo): New variable.  Use it.
44258 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
44260         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
44261         floating point opcodes.
44263 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44265         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
44266         variable.
44268         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
44270         * sysdeps/mach/hurd/powerpc: Remove directory.
44271         * sysdeps/mach/powerpc: Likewise.
44273 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
44275         * scripts/check-local-headers.sh: Ignore c++ headers.
44277 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44279         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
44280         __libc_cleanup_region_start argument.
44282 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
44284         [BZ #14784]
44285         [BZ #14785]
44286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
44287         x * y using scaling, not as x * y + z.
44288         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44289         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44290         * math/libm-test.inc (fma_test): Add more tests.
44291         (fma_test_towardzero): Likewise.
44292         (fma_test_downward): Likewise.
44293         (fma_test_upward): Likewise.
44295 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
44297         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
44299 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
44301         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
44302         New variable.
44304 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
44306         * rt/tst-shm.c (worker): Correct checking for mmap failure.
44308 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
44310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44311         Fix sort order.
44312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44313         Likewise.
44315 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44318         Fix the order of the list for glibc 2.17.
44319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44320         Likewise.
44322 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
44324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44326 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
44328         [BZ #14610]
44329         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
44330         for low part of x being zero before using __atanl (y).
44331         * math/libm-test.inc (atan2_test): Add another test.
44333         * manual/install.texi (Configuring and compiling): Document
44334         general use of test-wrapper and test-wrapper-env.
44335         * INSTALL: Regenerated.
44337         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
44338         (__fma): Do not extract and scale down low bits on after-rounding
44339         systems when result rounded to normal precision would have normal
44340         exponent.
44341         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
44342         (__fmal): Do not extract and scale down low bits on after-rounding
44343         systems when result rounded to normal precision would have normal
44344         exponent.
44345         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
44346         (__fmal): Do not extract and scale down low bits on after-rounding
44347         systems when result rounded to normal precision would have normal
44348         exponent.
44349         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
44350         macro.
44351         (fma_test): Add more tests.
44352         (fma_test_towardzero): Likewise.
44353         (fma_test_downward): Likewise.
44354         (fma_test_upward): Likewise.
44356 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
44358         * sysdeps/i386/tininess.h: Renamed to ...
44359         * sysdeps/x86/tininess.h: This.
44360         * sysdeps/x86_64/tininess.h: Removed.
44362 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
44364         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
44365         input.  Use $(build-program-cmd).
44366         ($(objpfx)tst-array1-static.out): Likewise.
44367         ($(objpfx)tst-array2.out): Likewise.
44368         ($(objpfx)tst-array3.out): Likewise.
44369         ($(objpfx)tst-array4.out): Likewise.
44370         ($(objpfx)tst-array5.out): Likewise.
44371         ($(objpfx)tst-array5-static.out): Likewise.
44373 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
44375         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
44376         if defined.
44378         * nss/nsswitch.h (nss_interface_function): Provide new
44379         macro for use with NSS functions.
44380         * grp/initgroups.c: Use new macro.
44381         * nss/getXXbyYY.c: Likewise.
44382         * nss/getXXbyYY_r.c: Likewise.
44383         * nss/getXXent.c: Likewise.
44384         * nss/getXXent_r.c: Likewise.
44385         * sysdeps/posix/getaddrinfo.c: Likewise.
44387 2012-10-30  Andreas Jaeger  <aj@suse.de>
44389         * po/ru.po: Update Russion translation from translation project.
44391 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
44393         [BZ #14152]
44394         [BZ #14783]
44395         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
44396         result and shift together with sticky bit instead of replicating
44397         round-to-nearest rounding.
44398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44399         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44400         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
44401         missing underflow exceptions.
44402         (fma_test_towardzero): Add more tests.
44403         (fma_test_downward): Likewise.
44404         (fma_test_upward): Likewise.
44406         [BZ #14047]
44407         * sysdeps/generic/tininess.h: New file.
44408         * sysdeps/i386/tininess.h: Likewise.
44409         * sysdeps/sh/tininess.h: Likewise.
44410         * sysdeps/x86_64/tininess.h: Likewise.
44411         * stdlib/tst-strtod-underflow.c: Likewise.
44412         * stdlib/tst-tininess.c: Likewise.
44413         * stdlib/strtod_l.c: Include <tininess.h>.
44414         (round_and_return): Do not set errno for exact underflow cases.
44415         Force an underflow exception when setting errno for underflow.
44416         Determine underflow based on rounding to normal precision if
44417         TININESS_AFTER_ROUNDING.
44418         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
44419         ERANGE for exact underflow cases.
44420         * stdlib/Makefile (tests): Add tst-tininess and
44421         tst-strtod-underflow.
44422         ($(objpfx)tst-tininess): Use $(link-libm).
44423         ($(objpfx)tst-strtod-underflow): Likewise.
44425 2012-10-30  Andreas Jaeger  <aj@suse.de>
44427         [BZ#14767]
44428         * elf/Makefile (tests): Remove conditional for have-initfini-array
44429         since this is now always required and the variable does not exist
44430         anymore.
44431         (tests-static): Likewise.
44432         (modules-names): Likewise.
44434         * po/eo.po: Add Esperanto translation from translation project.
44436         * elf/tst-array1.c (fini_array): Make writeable so that it can be
44437         merged with constructor/destructor.
44438         (init_array): Likewise.
44439         * elf/tst-array2dep.c (fini_array): Likewise.
44440         (init_array): Likewise.
44442 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
44444         * manual/message.texi: Delete @cartouche tags.
44446 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
44448         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
44449         EOPNOTSUPP.
44450         * sysdeps/mach/hurd/fsync.c: Likewise.
44452         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
44453         [_POSIX_REALTIME_SIGNALS]: Change condition to
44454         [_POSIX_REALTIME_SIGNALS > 0].
44456 2012-10-27  Andreas Jaeger  <aj@suse.de>
44458         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
44459         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
44460         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
44461         [__WORDSIZE != 64]: Likewise.
44463 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
44465         *  iconvdata/tst-table.sh: Remove ${SHELL}.
44466         *  iconvdata/tst-tables.sh: Likewise.
44468 2012-10-25  David S. Miller  <davem@davemloft.net>
44470         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44471         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
44472         of strtoull.
44474         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
44475         ifunc-impl-list.c
44476         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44477         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
44478         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
44479         file.
44481 2012-10-25  Roland McGrath  <roland@hack.frob.com>
44483         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44484         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
44485         __getdirentries.
44487 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
44488             Jim Blandy  <jimb@codesourcery.com>
44490         * scripts/cross-test-ssh.sh: New file.
44491         * manual/install.texi (Configuring and compiling): Document use of
44492         cross-test-ssh.sh.
44493         * INSTALL: Regenerated.
44495 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
44497         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
44498         EOPNOTSUPP.
44500 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
44502         * Makeconfig (run-program-prefix): Fix comment.
44504 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
44505             Jim Blandy  <jimb@codesourcery.com>
44507         * Makeconfig (test-wrapper): New variable,
44508         (test-wrapper-env): Likewise.
44509         [$(cross-compiling) = yes && $(test-wrapper) != ""]
44510         (run-built-tests): Define to yes.
44511         (run-program-prefix): Use $(test-wrapper).
44512         (built-program-cmd): Likewise.
44513         * Rules (make-test-out): Use $(test-wrapper-env) and
44514         $(host-built-program-cmd).
44515         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
44516         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
44517         tst-pathopt.sh.
44518         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
44519         $(test-wrapper-env) to tst-rtld-load-self.sh.
44520         ($(objpfx)order2.out): Use $(test-wrapper).
44521         ($(objpfx)tst-initorder.out): Likewise.
44522         ($(objpfx)tst-initorder2.out): Likewise.
44523         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
44524         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
44525         (test_wrapper_env): New variable.  Use it to run ld.so.
44526         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
44527         Use it to run ld.so.
44528         (test_wrapper_env): Likewise.
44529         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
44530         $(test-wrapper) to run-iconv-test.sh.
44531         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
44532         (ICONV): Use $test_wrapper.
44533         * posix/Makefile ($(objpfx)globtest.out): Pass
44534         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
44535         globtest.sh, not $(run-program-prefix).
44536         * posix/globtest.sh (run_via_rtld_prefix): New variable.
44537         (test_wrapper): Likewise.
44538         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
44539         set together with run_via_rtld_prefix.
44540         (run_program_prefix): Define in terms of test_wrapper and
44541         run_via_rtld_prefix.
44543 2012-10-24  Roland McGrath  <roland@hack.frob.com>
44545         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
44546         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
44547         Targets removed.
44549         [BZ #14743]
44550         * include/time.h: Remove librt_hidden_proto (clock_gettime).
44551         Declare __clock_getres, __clock_gettime, __clock_settime,
44552         __clock_nanosleep, and __clock_getcpuclockid.
44553         * rt/clock_gettime.c: Define __clock_gettime as an alias.
44554         Remove librt_hidden_def (clock_gettime).
44555         * sysdeps/unix/clock_gettime.c: Likewise.
44556         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
44557         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
44558         * rt/clock_getres.c: Define __clock_getres as an alias.
44559         * sysdeps/posix/clock_getres.c: Likewise.
44560         * rt/clock_settime.c: Define __clock_settime as an alias.
44561         * sysdeps/unix/clock_settime.c: Likewise.
44562         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
44563         * sysdeps/unix/clock_nanosleep.c: Likewise.
44564         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
44565         * rt/clock-compat.c: New file.
44566         * rt/Makefile (librt-routines): Add clock-compat and move
44567         $(clock-routines) to ...
44568         (routines): ... here, new variable.
44569         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
44570         Don't add get_clockfreq here.
44571         * rt/Versions (libc: GLIBC_2.17): New version set.
44572         Add clock_* symbols here.
44573         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
44574         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
44575         (GLIBC_2.17): Add clock_* symbols.
44576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
44577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
44578         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44580         Likewise.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44582         Likewise.
44583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
44584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
44585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
44586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
44587         * NEWS: Mention the move.
44589         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44590         Use __open, __read, __close rather than their public counterparts.
44591         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44592         (__get_clockfreq_via_cpuinfo): Likewise.
44593         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
44594         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
44596         * config.h.in (HAVE_IFUNC): New #undef.
44597         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
44598         was successful.
44599         * configure: Regenerated.
44601 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
44603         * configure.in: Move READELF check to start of file.
44604         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
44605         libc_cv_asm_gnu_indirect_function in the process.
44606         * configure: Regenerated.
44608 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
44610         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
44611         send the output to /dev/null.
44612         (libc_cv_cc_with_libunwind): Likewise.
44613         (libc_cv_as_noexecstack): Likewise.
44614         * configure: Regenerate.
44616 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
44618         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
44620         * posix/globtest.sh (TMPDIR): Do not set.
44621         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
44622         (testout): Likewise.
44624 2012-10-24  Andreas Jaeger  <aj@suse.de>
44626         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
44627         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
44628         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
44629         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
44630         posix_fadvise64, posix_fallocate64.
44632         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
44633         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
44634         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
44635         Likewise.
44636         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
44637         Likewise.
44638         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
44640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
44641         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
44642         <bits/fcntl-linux.h>.
44643         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
44645         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
44646         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
44647         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
44648         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
44649         [__WORDSIZE != 64]: Likewise.
44651 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
44653         * Makeconfig (run-built-tests): New variable.
44654         * Rules [$(cross-compiling) = yes]: Change condition to
44655         [$(run-built-tests) = no].
44656         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
44657         to [$(run-built-tests) = yes].
44658         * elf/Makefile [$(cross-compiling) = no]: Likewise
44659         * grp/Makefile [$(cross-compiling) = no]: Likewise.
44660         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
44661         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
44662         * intl/Makefile [$(cross-compiling) = no]: Likewise.
44663         * io/Makefile [$(cross-compiling) = no]: Likewise.
44664         * libio/Makefile [$(cross-compiling) = no]: Likewise.
44665         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
44666         * misc/Makefile [$(cross-compiling) = no]: Likewise.
44667         * posix/Makefile [$(cross-compiling) = no]: Likewise.
44668         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
44669         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
44670         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
44671         * string/Makefile [$(cross-compiling) = no]: Likewise.
44673         * posix/Makefile ($(objpfx)globtest.out): Pass
44674         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
44675         $(rtld-installed-name).
44676         * posix/globtest.sh (elf_objpfx): Remove variable.
44677         (rtld_installed_name): Likewise.
44678         (library_path): Likewise.
44679         (run_program_prefix): New variable.  Use for running globtest
44680         binary.
44682 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
44683             Joseph Myers  <joseph@codesourcery.com>
44685         * Makeconfig (host-built-program-cmd): New variable.
44686         * elf/Makefile (tst-stackguard1-ARGS): Use
44687         $(host-built-program-cmd).
44688         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
44689         (tst-spawn-ARGS): Likewise.
44690         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
44692 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
44693             Jim Blandy  <jimb@codesourcery.com>
44695         * Makeconfig (run-via-rtld-prefix): New variable.
44696         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
44697         (built-program-cmd): Likewise.
44699 2012-10-22  Andreas Jaeger  <aj@suse.de>
44701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
44702         __O_RSYNC if it exists, otherwise to O_SYNC.
44704 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
44705             Joseph Myers  <joseph@codesourcery.com>
44707         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
44708         /dev/null.
44709         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
44710         from /dev/null
44711         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
44712         /dev/null.
44714 2012-10-22  Andreas Jaeger  <aj@suse.de>
44716         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
44717         Define always.
44718         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
44720         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44721         bits/fcntl-linux.h.
44723         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
44724         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
44726         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
44727         to __O_LARGEFILE.
44728         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
44729         to __O_LARGEFILE.
44731 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
44732             Joseph Myers  <joseph@codesourcery.com>
44734         * config.make.in (NM): New variable.
44736 2012-10-21  Andreas Jaeger  <aj@suse.de>
44738         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
44739         definitions and declarations that are provided by
44740         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44742 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44744         [BZ #14683]
44745         * elf/Makefile (tests-static): Add tst-leaks1-static.
44746         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
44747         ($(objpfx)tst-leaks1-static): New rule.
44748         ($(objpfx)tst-leaks1-static-mem): Likewise.
44749         (tst-leaks1-static-ENV): New macro.
44750         * elf/dl-open.c (dl_open_worker): Check the main application
44751         only if SHARED is defined.
44752         * elf/tst-leaks1-static.c: New file.
44754 2012-10-20  Andreas Jaeger  <aj@suse.de>
44756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
44757         generic values for Linux.
44758         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
44759         and declarations that are provided by <bits/fcntl-linux.h> and
44760         include <bits/fcntl-linux.h>.
44761         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44762         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44764 2012-10-20  Roland McGrath  <roland@hack.frob.com>
44766         * io/fcntl.h: Move include of <bits/types.h> to the top and
44767         include it unconditionally.
44769 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
44771         * wcsmbs/Makefile (tests-ifunc): New variable.
44772         (tests): Add $(tests-ifunc).
44773         * wcsmbs/test-wcschr-ifunc.c: New file.
44774         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
44775         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
44776         * wcsmbs/test-wcslen-ifunc.c: Likewise.
44777         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
44778         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
44780         * string/Makefile (tests-ifunc): New variable.
44781         (tests): Add $(tests-ifunc).
44782         * string/test-memccpy.c (TEST_NAME): New macro.
44783         * string/test-memchr.c (TEST_NAME): Likewise.
44784         * string/test-memcmp.c (TEST_NAME): Likewise.
44785         * string/test-memcpy.c (TEST_NAME): Likewise.
44786         * string/test-memmem.c (TEST_NAME): Likewise.
44787         * string/test-memmove.c (TEST_NAME): Likewise.
44788         * string/test-memset.c (TEST_NAME): Likewise.
44789         * string/test-rawmemchr.c (TEST_NAME): Likewise.
44790         * string/test-stpcpy.c (TEST_NAME): Likewise.
44791         * string/test-stpncpy.c (TEST_NAME): Likewise.
44792         * string/test-strcasecmp.c (TEST_NAME): Likewise.
44793         * string/test-strcasestr.c (TEST_NAME): Likewise.
44794         * string/test-strcat.c (TEST_NAME): Likewise.
44795         * string/test-strchr.c (TEST_NAME): Likewise.
44796         * string/test-strcmp.c(TEST_NAME): Likewise.
44797         * string/test-strcpy.c (TEST_NAME): Likewise.
44798         * string/test-strcspn.c (TEST_NAME): Likewise.
44799         * string/test-strlen.c (TEST_NAME): Likewise.
44800         * string/test-strncasecmp.c (TEST_NAME): Likewise.
44801         * string/test-strncmp.c (TEST_NAME): Likewise.
44802         * string/test-strncpy.c (TEST_NAME): Likewise.
44803         * string/test-strnlen.c (TEST_NAME): Likewise.
44804         * string/test-strpbrk.c (TEST_NAME): Likewise.
44805         * string/test-strrchr.c (TEST_NAME): Likewise.
44806         * string/test-strspn.c (TEST_NAME): Likewise.
44807         * string/test-strstr.c (TEST_NAME): Likewise.
44808         * string/test-bcopy-ifunc.c: New file.
44809         * string/test-bzero-ifunc.c: Likewise.
44810         * string/test-memccpy-ifunc.c: Likewise.
44811         * string/test-memchr-ifunc.c: Likewise.
44812         * string/test-memcmp-ifunc.c: Likewise.
44813         * string/test-memcpy-ifunc.c: Likewise.
44814         * string/test-memmem-ifunc.c: Likewise.
44815         * string/test-memmove-ifunc.c: Likewise.
44816         * string/test-mempcpy-ifunc.c: Likewise.
44817         * string/test-memset-ifunc.c: Likewise.
44818         * string/test-rawmemchr-ifunc.c: Likewise.
44819         * string/test-stpcpy-ifunc.c: Likewise.
44820         * string/test-stpncpy-ifunc.c: Likewise.
44821         * string/test-strcasecmp-ifunc.c: Likewise.
44822         * string/test-strcasestr-ifunc.c: Likewise.
44823         * string/test-strcat-ifunc.c: Likewise.
44824         * string/test-strchr-ifunc.c: Likewise.
44825         * string/test-strchrnul-ifunc.c: Likewise.
44826         * string/test-strcmp-ifunc.c: Likewise.
44827         * string/test-strcpy-ifunc.c: Likewise.
44828         * string/test-strcspn-ifunc.c: Likewise.
44829         * string/test-strlen-ifunc.c: Likewise.
44830         * string/test-strncasecmp-ifunc.c: Likewise.
44831         * string/test-strncat-ifunc.c: Likewise.
44832         * string/test-strncmp-ifunc.c: Likewise.
44833         * string/test-strncpy-ifunc.c: Likewise.
44834         * string/test-strnlen-ifunc.c: Likewise.
44835         * string/test-strpbrk-ifunc.c: Likewise.
44836         * string/test-strrchr-ifunc.c: Likewise.
44837         * string/test-strspn-ifunc.c: Likewise.
44838         * string/test-strstr-ifunc.c: Likewise.
44840         * debug/Makefile (tests-ifunc): New variable.
44841         (tests): Add $(tests-ifunc).
44842         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
44843         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
44844         * debug/test-stpcpy_chk-ifunc.c: New file.
44845         * debug/test-strcpy_chk-ifunc.c: Likewise.
44847 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44849         [BZ #13601]
44850         * elf/dl-load.c (open_verify): Retry read if the entire ELF
44851         header is not read in.
44853 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
44855         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
44856         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
44857         directly.  Pass built executable to script as
44858         $(built-program-cmd).
44859         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
44860         $testprogram without using LD_LIBRARY_PATH and $ldso.
44862         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
44863         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
44864         $(rtld-installed-name).
44865         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
44866         (rtld_installed_name): Likewise.
44867         (library_path): Likewise.
44868         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
44869         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
44870         $(run-program-prefix) to tst-tables.sh.
44871         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
44872         it to run tst-table-from and tst-table-to.
44873         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
44874         Pass it to tst-table.sh.
44875         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
44876         $(run-program-prefix) to tst-gettext.sh.
44877         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
44878         tst-translit.sh.
44879         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
44880         tst-gettext2.sh.
44881         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
44882         to run tst-gettext.
44883         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
44884         to run tst-gettext2.
44885         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
44886         to run tst-translit.
44887         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
44888         $(run-program-prefix) to tst-mtrace.sh.
44889         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
44890         to run tst-mtrace.
44891         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
44892         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
44893         $(rtld-installed-name).
44894         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
44895         (rtld_installed_name): Likewise.
44896         (run_program_prefix): New variable.  Use it to run wordexp-test.
44898         * Makeconfig (ARCH): Remove all definitions.
44899         (machine): Likewise.
44900         [ARCH]: Remove conditional code.
44901         [!objdir]: Give error.
44902         [!objdir] (objpfx): Remove.
44903         [!objdir] (common-objpfx): Likewise.
44904         [!objdir] (common-objdir): Likewise.
44905         * configure.in (config_makefile): Remove.  Hardcode Makefile in
44906         AC_CONFIG_FILES call.
44907         * configure: Regenerated.
44909         [BZ #13888]
44910         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
44911         or TMPDIR.
44912         (testout): Likewise.
44914         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
44915         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
44916         $(rtld-installed-name).
44917         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
44918         (rtld_installed_name): Likwise.
44919         (runit): Remove function.
44920         (run_getconf): New variable,  Use it for running getconf binary.
44922 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
44924         [BZ #14716]
44925         * string/test-memmem.c (check_result): New function.
44926         (do_one_test): Use it.
44927         (check1): New function.
44928         (test_main): Use it.
44930 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
44932         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
44934 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
44936         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
44937         (_G_LSEEK64): Likewise.
44938         (_G_MMAP64): Likewise.
44939         (_G_FSTAT64): Likewise.
44940         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
44941         (_G_LSEEK64): Likewise.
44942         (_G_MMAP64): Likewise.
44943         (_G_FSTAT64): Likewise.
44944         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
44945         unconditional.  Call __mmap64 directly.
44946         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
44947         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
44948         __lseek64 directly.
44949         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
44950         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
44951         __mmap64 directly.
44952         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
44953         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44954         __lseek64 directly.
44955         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
44956         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
44957         __lseek64 directly.
44958         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
44959         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
44960         __lseek64 directly.
44961         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
44962         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
44963         __fxstat64 directly.
44964         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
44965         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
44966         unconditional.
44967         (freopen64) [!_G_OPEN64]: Remove conditional code.
44968         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
44969         unconditional.
44970         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
44971         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
44972         unconditional.
44973         (ftello64) [!_G_LSEEK64]: Remove conditional code.
44974         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
44975         unconditional.
44976         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44977         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
44978         unconditional.
44979         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
44980         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
44981         unconditional.
44982         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44983         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
44984         unconditional.
44985         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
44986         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
44987         unconditional.
44988         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
44990 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44992         [BZ #12140]
44993         * manual/memory.texi (Malloc Tunable Parameters): Add note
44994         about free list pointers overwriting some perturb bytes.
44995         Wording suggested by Roland McGrath.
44997 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
44999         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
45000         (lgamma_test): Likewise.
45001         (tgamma_test): Likewise.
45003 2012-10-16  Florian Weimer  <fweimer@redhat.com>
45005         [BZ #14700]
45006         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
45007         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
45009 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
45011         * NEWS: Mention BZ #14716.
45012         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
45013         when removing AVAILABLE1_USES_J macro.
45015 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
45017         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
45018         (__bswap_64): __uint64_t for unsigned 64-bit int.
45020 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
45022         * include/string.h (memmem): Declare libc hidden alias.
45023         * string/memmem.c (memmem): Define libc hidden alias.
45024         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
45025         __read, __close instead of open, read, close.
45027 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
45029         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
45030         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
45031         global and hidden.
45032         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
45033         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
45034         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
45035         Likewise.
45036         (__rawmemchr_sse2): Likewise.
45037         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
45038         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
45039         (__strchr_sse2): Likewise.
45040         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
45041         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
45042         (__strcasecmp_sse2): Likewise.
45043         (__strncasecmp_sse2): Likewise.
45044         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
45045         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
45046         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
45047         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
45048         (__strrchr_sse2): Likewise.
45049         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
45050         ifunc-impl-list.c.
45051         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
45052         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
45053         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
45054         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
45055         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
45056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
45057         * sysdeps/x86_64/multiarch/memset.S: Likewise.
45058         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
45059         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
45060         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
45061         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
45062         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
45063         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
45064         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
45065         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
45066         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
45067         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
45068         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
45069         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
45070         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
45071         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
45072         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
45073         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
45074         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
45075         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
45076         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45077         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
45078         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
45079         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
45080         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
45082         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
45083         global and hidden.
45084         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
45085         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
45086         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
45087         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
45088         Likewise.
45089         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
45090         Likewise.
45091         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
45092         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
45093         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
45094         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
45095         ifunc-impl-list.c.
45096         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45097         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45098         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45099         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45100         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45101         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45102         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45103         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45104         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45105         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45106         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45107         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45108         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45109         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
45110         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
45111         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45112         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
45113         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
45114         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45115         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45116         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45117         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45118         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45119         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45120         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45121         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
45122         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
45123         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
45124         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
45125         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45126         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
45127         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45128         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45129         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
45130         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45131         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45132         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45133         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45134         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45135         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45136         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
45138         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
45139         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
45140         * include/ifunc-impl-list.h: New file.
45141         * misc/ifunc-impl-list.c: Likewise.
45142         * misc/Makefile (routines): Add ifunc-impl-list.
45143         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
45144         * string/test-string.h: Include <ifunc-impl-list.h>.
45145         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
45146         TEST_NAME]: New variables.
45147         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
45148         are defined.
45149         (test_init): Call __libc_ifunc_impl_list to initialize
45150         func_list if TEST_IFUNC and TEST_NAME are defined.
45152         * string/Makefile (strop-tests): Add bcopy and bzero.
45153         * string/test-bcopy.c: New file.
45154         * string/test-bzero.c: Likewise.
45155         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
45156         defined.
45157         * string/test-memset.c: Support bzero test if TEST_BZERO is
45158         defined.
45159         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
45160         __libc_memmove.
45161         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
45162         __libc_memset.
45163         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
45164         of memset.
45166 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
45168         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
45169         * configure: Regenerated.
45171         * Makeconfig (+link-static-before-libc): Don't include
45172         $(link-static-libc).
45174         * libio/libio.h (_IO_pos_t): Remove.
45176 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45178         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
45179         McGrath.
45181 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45183         * crypt/crypt-entry.c: Include fips-private.h.
45184         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
45185         * crypt/md5c-test.c (main): Tolerate disabled MD5.
45186         * sysdeps/unix/sysv/linux/fips-private.h: New file.
45187         * sysdeps/generic/fips-private.h: New file, dummy fallback.
45189 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
45191         * crypt/crypt-private.h: Include stdbool.h.
45192         (_ufc_setup_salt_r): Return bool.
45193         * crypt/crypt-entry.c: Include errno.h.
45194         (__crypt_r): Return NULL with EINVAL for bad salt.
45195         * crypt/crypt_util.c (bad_for_salt): New.
45196         (_ufc_setup_salt_r): Check that salt is long enough and within
45197         the specified alphabet.
45198         * crypt/badsalttest.c: New file.
45199         * crypt/Makefile (tests): Add it.
45200         ($(objpfx)badsalttest): New.
45202 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
45204         * NEWS: Add entry for BZ #14602.
45206 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45208         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
45209         type-generic.
45210         * math/libm-test.inc: Update comment listing what functions and
45211         macros are tested.
45212         (isgreater_test): New function.
45213         (isgreaterequal_test): Likewise.
45214         (isless_test): Likewise.
45215         (islessequal_test): Likewise.
45216         (islessgreater_test): Likewise.
45217         (isunordered_test): Likewise.
45218         (main): Call the new functions.
45220 2012-10-09  Roland McGrath  <roland@hack.frob.com>
45222         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
45223         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
45224         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
45225         * sysdeps/i386/configure: Regenerated.
45226         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
45227         * sysdeps/mach/configure: Regenerated.
45228         * sysdeps/mach/hurd/configure: Regenerated.
45229         * sysdeps/powerpc/configure: Regenerated.
45230         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45231         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45232         * sysdeps/s390/s390-32/configure: Regenerated.
45233         * sysdeps/s390/s390-64/configure: Regenerated.
45234         * sysdeps/sh/configure: Regenerated.
45235         * sysdeps/sparc/configure: Regenerated.
45236         * sysdeps/unix/sysv/linux/configure: Regenerated.
45237         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
45238         * sysdeps/x86_64/configure: Regenerated.
45240         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
45241         defined.  Don't check if MAP is NULL.
45243 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
45245         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
45246         (_G_stat64): Likewise.
45247         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
45248         (_G_stat64): Likewise.
45249         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
45250         instead of struct _G_stat64.
45251         * libio/fileops.c (mmap_remap_check): Likewise.
45252         (decide_maybe_mmap): Likewise.
45253         (_IO_new_file_seekoff): Likewise.
45254         (_IO_file_stat): Likewise.
45255         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
45256         _G_off64_t.
45257         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
45258         instead of struct _G_stat64.
45259         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45261 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
45263         [BZ #14602]
45264         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45265         Replace with ...
45266         (CHECK_EOL): New macro.
45267         (two_way_short_needle): Check beginning of haystack for EOL.  Use
45268         CHECK_EOL.
45269         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45270         Replace with CHECK_EOL.
45271         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
45272         Replace with CHECK_EOL.
45274 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
45276         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
45277         type-generic.
45278         * math/libm-test.inc: Update comment listing what functions and
45279         macros are tested.
45280         (finite_test): New function.
45281         (isinf_test): Likewise.
45282         (isnan_test): Likewise.
45283         (fpclassify_test): Test subnormal input.
45284         (isfinite_test): Likewise.
45285         (isnormal_test): Likewise.
45286         (main): Call the new functions.
45288 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
45290         [BZ #14660]
45291         * Makerules (%.dynsym): Force C locale when running
45292         $(OBJDUMP) --dynamic-syms.
45294 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
45296         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
45297         <stdint.h>.
45299 2012-10-06  David S. Miller  <davem@davemloft.net>
45301         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
45302         upper 32-bits of the length value in %o2 since we use branch-on-register
45303         tests which consider the entire 64-bit register.
45305 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
45307         * string/test-strstr.c (check2): Add a test for page boundary.
45309 2012-10-05  David S. Miller  <davem@davemloft.net>
45311         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
45312         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
45313         file.
45314         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45315         sysdep_routines.
45316         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45317         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
45318         and bzero when HWCAP_SPARC_CRYPTO is present.
45320 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
45322         [BZ #14602]
45323         * string/test-strstr.c (check2): New function.
45324         (test_main): Call check2.
45326         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
45327         and bug-strchr1.
45328         * string/bug-strcasestr1.c (do_test): Moved to ...
45329         * string/test-strcasestr.c (check1): Here.  New function.
45330         (do_one_test): Break out result checking code into ...
45331         (check_result): This.  New function.
45332         (do_one_test): Call check_result.
45333         (test_main): Call check1.
45334         * string/bug-strchr1.c (do_test): Moved to ...
45335         * string/test-strchr.c (check1): Here.  New function.
45336         (do_one_test): Break out result checking code into ...
45337         (check_result): This.  New function.
45338         (do_one_test): Call check_result.
45339         (test_main): Call check1.
45340         * string/bug-strstr1.c (main): Moved to ...
45341         * string/test-strstr.c (check1): Here.  New function.
45342         (do_one_test): Break out result checking code into ...
45343         (check_result): This.  New function.
45344         (do_one_test): Call check_result.
45345         (test_main): Call check1.
45346         * string/bug-strcasestr1.c: Removed.
45347         * string/bug-strchr1.c: Likewise.
45348         * string/bug-strstr1.c: Likewise.
45350         * elf/Makefile (dl-routines): Add hwcaps.
45351         * elf/dl-support.c (_dl_important_hwcaps): Removed.
45352         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
45353         (_dl_important_hwcaps): Moved to ...
45354         * elf/dl-hwcaps.c: Here.  New file.
45355         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
45357         [BZ #14557]
45358         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
45359         if IS_IN_rtld isn't defined.
45361         * elf/dl-support.c (_dl_sysinfo_map): New.
45362         Include "get-dynamic-info.h" and "setup-vdso.h".
45363         (_dl_non_dynamic_init): Call setup_vdso.
45364         * elf/dynamic-link.h: Don't include <assert.h>.
45365         (elf_get_dynamic_info): Moved to ...
45366         * elf/get-dynamic-info.h: Here.  New file.
45367         * elf/dynamic-link.h: Include "get-dynamic-info.h".
45368         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
45369         * elf/setup-vdso.h: Here.  New file.
45370         * elf/rtld.c: Include "setup-vdso.h".
45371         (dl_main): Call setup_vdso.
45373 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
45375         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
45376         creal in comment listing functions tested.  List finite, isinf,
45377         isnan, isless, islessequal, isgreater, isgreaterequal,
45378         islessgreater, isunordered, lgamma_r and pow10 as functions and
45379         macros not tested.  Mention which functions not tested are aliases
45380         for other functions.  Fix typo.  Note that signs of NaNs are not
45381         tested.
45383         * scripts/config.guess: Update from config.git.
45384         * scripts/config.sub: Likewise.
45386 2012-10-04  Roland McGrath  <roland@hack.frob.com>
45388         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
45389         * misc/madvise.c (madvise): Renamed to __madvise.
45390         Make madvise a weak alias.
45391         * include/sys/mman.h: Declare __madvise.
45392         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
45393         * sysdeps/unix/syscalls.list
45394         (madvise): Make __madvise the strong name, and madvise a weak alias.
45395         * sysdeps/unix/sysv/linux/syscalls.list
45396         (madvise, mmap): Remove redundant entries.
45397         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
45398         * malloc/malloc.c (mtrim): Likewise.
45399         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
45401 2012-10-03  Roland McGrath  <roland@hack.frob.com>
45403         * sysdeps/mach/hurd/dl-cache.c: File removed.
45404         * config.h.in (USE_LDCONFIG): New #undef.
45405         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
45406         * configure: Regenerated.
45407         * elf/Makefile (dl-routines): Add dl-cache only under
45408         [$(use-ldconfig) = yes].
45409         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
45410         cache on [USE_LDCONFIG].
45411         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
45412         [USE_LDCONFIG].
45413         * elf/rtld.c (dl_main): Likewise.
45415 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
45417         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
45418         _SC_LEVEL4_CACHE_LINESIZE.
45420 2012-10-03  Roland McGrath  <roland@hack.frob.com>
45422         * sysdeps/unix/bsd/confstr.h: File removed.
45424 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
45426         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
45427         sys/sdt-config.h.
45429 2012-10-02  Roland McGrath  <roland@hack.frob.com>
45431         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
45432         Make 'mapoff' field ElfW(Off) rather than off_t.
45434 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
45436         * nscd/Makefile: Remove nscd-cflags and all its users.
45437         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
45438         (CFLAGS-nonlib): Add compiler flags for nscd modules.
45440         [BZ #10631]
45441         * malloc.c (malloc_printerr): Clarify error message.
45443 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
45445         [BZ #14648]
45446         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45447         Set bit_FMA_Usable if FMA is supported.
45448         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
45449         macro.
45450         (bit_FMA4_Usable): Updated.
45451         (index_FMA_Usable): New macro.
45452         (CPUID_FMA): Likewise
45453         (HAS_FMA): Defined with bit_FMA_Usable.
45455 2012-10-01  Roland McGrath  <roland@hack.frob.com>
45457         * bits/types.h (__swblk_t): Type removed.
45458         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
45459         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
45460         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45461         (__SWBLK_T_TYPE): Likewise.
45462         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
45463         (__SWBLK_T_TYPE): Likewise.
45464         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45465         (__SWBLK_T_TYPE): Likewise.
45466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45467         (__SWBLK_T_TYPE): Likewise.
45469 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
45470             Honza Horak <hhorak@redhat.com>
45472         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
45473         (xdr_mapname): Use YPMAXMAP as maxsize.
45474         (xdr_peername): Use YPMAXPEER as maxsize.
45475         (xdr_keydat): Use YPAXRECORD as maxsize.
45476         (xdr_valdat): Use YPMAXRECORD as maxsize.
45478 2012-10-01  Roland McGrath  <roland@hack.frob.com>
45480         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
45482         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
45483         * csu/init-first.c: ... here.
45484         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
45485         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
45486         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
45487         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
45488         * sysdeps/i386/init-first.c: File removed.
45489         * sysdeps/sh/init-first.c: File removed.
45491 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
45493         [BZ #14645]
45494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
45495         if x * y might underflow to zero and z is zero.
45496         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45497         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45498         * math/libm-test.inc (min_subnorm_value): New variable.
45499         (fma_test): Add more tests.
45500         (fma_test_towardzero): Likewise.
45501         (fma_test_downward): Likewise
45502         (fma_test_upward): Likewise.
45503         (initialize): Set min_subnorm_value.
45505 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
45507         [BZ #14638]
45508         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
45509         0 + 0.
45510         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
45511         mode for addition resulting in exact zero.
45512         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
45513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
45514         exact 0 + 0.
45515         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45516         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45517         * math/libm-test.inc (fma_test): Add more tests.
45518         (fma_test_towardzero): New function.
45519         (fma_test_downward): Likewise.
45520         (fma_test_upward): Likewise.
45521         (main): Call the new functions.
45523 2012-09-28  David S. Miller  <davem@davemloft.net>
45525         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
45527 2012-09-28  Roland McGrath  <roland@hack.frob.com>
45529         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
45530         instead of SIGALRM.
45532         * sysdeps/gnu/_G_config.h: Moved to ...
45533         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
45534         * sysdeps/mach/hurd/_G_config.h: Moved to ...
45535         * sysdeps/generic/_G_config.h: ... here.
45537         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
45539         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
45541         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
45542         Conditionalize target on [libnss_test1.so-version].
45544         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
45546         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
45547         (elfobjdir): Move out of conditionals.
45549         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
45550         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
45551         (__nss_lookup_function): Conditionalize label remove_from_tree on
45552         [!DO_STATIC_NSS || SHARED], matching its only use.
45554 2012-09-28  David S. Miller  <davem@davemloft.net>
45556         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
45557         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
45558         file.
45559         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
45560         sysdep_routines.
45561         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
45562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
45563         when HWCAP_SPARC_CRYPTO is present.
45565 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45567         * io/tst-mknodat.c: Create a FIFO instead of a socket.
45569 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
45571         [BZ #6530]
45572         * stdio-common/vfprintf.c (process_string_arg): Revert
45573         2000-07-22 change.
45575 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
45577         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
45578         for testcase.
45579         * stdio-common/tst-sprintf.c: Include <locale.h>
45580         (main): Test sprintf's handling of incomplete multibyte
45581         characters.
45583 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
45585         * elf/dl-runtime.c (VERSYMIDX): Removed.
45586         * elf/dl-version.c (VERSYMIDX): Likewise.
45587         * elf/do-rel.h (VERSYMIDX): Likewise.
45588         (VALIDX): Likewise.
45589         * elf/dynamic-link.h (VERSYMIDX): Likewise.
45590         * elf/rtld.c (VALIDX): Likewise.
45591         (ADDRIDX): Likewise.
45592         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
45593         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
45594         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
45595         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
45596         (VALIDX): Likewise.
45597         (ADDRIDX): Likewise.
45599 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45601         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
45603 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
45605         [BZ #11438]
45606         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
45607         to global scope.
45608         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
45609         addresses are in the same scope as 192.0.2/24.
45610         * posix/gai.conf: Document new scope table defaults.
45612 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45614         [BZ #5298]
45615         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
45616         for ftell.  Compute offsets from write pointers instead.
45617         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
45619 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45621         [BZ #14543]
45622         * libio/Makefile (tests): New test case tst-fseek.
45623         * libio/tst-fseek.c: New test case to verify that fseek/ftell
45624         combination works in wide mode.
45625         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
45626         state when the external buffer state changes.
45628 2012-09-27  David S. Miller  <davem@davemloft.net>
45630         [BZ #14376]
45631         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
45632         pass reloc->r_addend in as the 'high' argument to
45633         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
45635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45637 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
45639         * rt/tst-aio2.c: Include <pthread.h>.
45640         * rt/tst-aio3.c: Likewise.
45642 2012-09-27  Steve Ellcey  <sellcey@mips.com>
45644         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
45646 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
45648         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
45649         contents on [SHARED].
45651 2012-09-26  Marek Polacek  <polacek@redhat.com>
45653         [BZ #14530]
45654         [BZ #13741]
45655         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
45656         for C++ and GCC <4.3 as well as for non GCC compilers.
45658 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
45660         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45662 2012-09-25  Roland McGrath  <roland@hack.frob.com>
45664         * Makefile.in (all, install): Declare with .PHONY.
45665         Reported by Michael Hope <michael.hope@linaro.org>.
45667 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45669         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
45670         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
45671         system header.
45672         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
45673         Likewise.
45674         (sydep_routines): Add the new and the internal functions.
45675         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
45676         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
45677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
45678         (GLIBC_2.17): Add the new function.
45679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
45680         (GLIBC_2.17): Likewise.
45681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
45682         (GLIBC_2.17): Likewise.
45683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
45684         (GLIBC_2.17): Likewise.
45685         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
45687 2012-09-25  Alan Modra  <amodra@gmail.com>
45689         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
45690         Add release barrier before setting once_control to say
45691         initialisation is done.  Add hints on lwarx.  Use macro in
45692         place of isync.
45693         (clear_once_control): Add release barrier.
45695 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45697         [BZ #13629]
45698         * math/s_clog.c (__clog): Handle more values close to |z| = 1
45699         specially.
45700         * math/s_clog10.c (__clog10): Likewise.
45701         * math/s_clog10f.c (__clog10f): Likewise.
45702         * math/s_clog10l.c (__clog10l): Likewise.
45703         * math/s_clogf.c (__clogf): Likewise.
45704         * math/s_clogl.c (__clogl): Likewise.
45705         * math/Makefile (libm-calls): Add x2y2m1.
45706         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
45707         (__x2y2m1): Likewise.
45708         (__x2y2m1l): Likewise.
45709         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
45710         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
45711         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
45712         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45713         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
45714         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
45715         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
45716         * sysdeps/i386/fpu/libm-test-ulps: Update.
45717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45719         [BZ #14621]
45720         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
45721         int as type of variable DEPTH.
45722         (glob): Use size_t instead of int as type of variables NEWCOUNT
45723         and OLD_PATHC.
45725 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45727         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
45728         Add s_sincosf-sse2.
45729         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
45730         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
45731         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
45732         macros for using routine as __sincosf_ia32.
45733         Use macro for function declaration and weak_alias.
45734         * sysdeps/i386/fpu/libm-test-ulps: Update.
45736         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
45737         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45739         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
45740         subnormal argument.
45741         * math/s_cexpf.c (__cexpf): Likewise.
45742         * math/s_csinf.c (__csinf): Likewise.
45743         * math/s_csinhf.c (__csinhf): Likewise.
45744         * math/s_ctanf.c (__ctanf): Likewise.
45745         * math/s_ctanhf.c (__ctanhf): Likewise.
45746         * math/s_ccosh.c (__ccoshf): Likewise.
45747         * math/s_cexp.c (__cexpl): Likewise.
45748         * math/s_csin.c (__csin): Likewise.
45749         * math/s_csinh.c (__csinh): Likewise.
45750         * math/s_ctan.c (__ctan): Likewise.
45751         * math/s_ctanh.c (ctanh): Likewise.
45752         * math/s_ccoshl.c (__ccoshl): Likewise.
45753         * math/s_cexpl.c (__cexpl): Likewise.
45754         * math/s_csinl.c (__csinl): Likewise.
45755         * math/s_csinhl.c (__csinhl): Likewise.
45756         * math/s_ctanl.c (__ctanl): Likewise.
45757         * math/s_ctanhl.c (__ctanhl): Likewise.
45759 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
45761         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
45762         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
45763         (_IO_off_t): Define to __off_t, not _G_off_t.
45764         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
45765         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
45766         (_IO_wint_t): Define to wint_t, not _G_wint_t.
45767         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
45768         type of __dummy and __dummy2 fields.
45769         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
45770         (_G_ssize_t): Likewise.
45771         (_G_off_t): Likewise.
45772         (_G_pid_t): Likewise.
45773         (_G_uid_t): Likewise.
45774         (_G_wchar_t): Likewise.
45775         (_G_wint_t): Likewise.
45776         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
45777         (_G_ssize_t): Likewise.
45778         (_G_off_t): Likewise.
45779         (_G_pid_t): Likewise.
45780         (_G_uid_t): Likewise.
45781         (_G_wchar_t): Likewise.
45782         (_G_wint_t): Likewise.
45783         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
45784         (_G_ssize_t): Likewise.
45785         (_G_off_t): Likewise.
45786         (_G_pid_t): Likewise.
45787         (_G_uid_t): Likewise.
45788         (_G_wchar_t): Likewise.
45789         (_G_wint_t): Likewise.
45791 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45793         * malloc/arena.c: Include malloc-sysdep.h.
45794         (shrink_heap): Use check_may_shrink_heap to decide if madvise
45795         is sufficient to shrink the heap or an unmap is needed.
45796         * sysdeps/generic/malloc-sysdep.h: New file.  Define
45797         new function check_may_shrink_heap.
45798         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
45799         new function check_may_shrink_heap.
45801 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45803         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
45804         comments.
45806 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
45808         * catgets/test-gencat.sh: Add "set -e".
45809         * elf/tst-pathopt.sh: Likewise.
45810         * grp/tst_fgetgrent.sh: Likewise.
45811         * iconvdata/run-iconv-test.sh: Likewise.
45812         * intl/tst-gettext.sh: Likewise.
45813         * intl/tst-gettext2.sh: Likewise.
45814         * intl/tst-gettext4.sh: Likewise.
45815         * intl/tst-gettext6.sh: Likewise.
45816         * intl/tst-translit.sh: Likewise.
45817         * io/ftwtest-sh: Likewise.
45818         * libio/test-freopen.sh: Likewise.
45819         * malloc/tst-mtrace.sh: Likewise.
45820         * posix/globtest.sh: Likewise.
45821         * posix/tst-getconf.sh: Likewise.
45822         * posix/wordexp-tst.sh: Likewise.
45823         * stdio-common/tst-printf.sh: Likewise.
45824         * stdio-common/tst-unbputc.sh: Likewise.
45825         * stdlib/tst-fmtmsg.sh: Likewise.
45826         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45827         * catgets/Makefile: Do not specify -e option when running
45828         testsuite shell scripts.
45829         * elf/Makefile: Likewise.
45830         * grp/Makefile: Likewise.
45831         * iconvdata/Makefile: Likewise.
45832         * intl/Makefile: Likewise.
45833         * io/Makefile: Likewise.
45834         * libio/Makefile: Likewise.
45835         * malloc/Makefile: Likewise.
45836         * posix/Makefile: Likewise.
45837         * stdio-common/Makefile: Likewise.
45838         * stdlib/Makefile: Likewise.
45839         * sysdeps/x86_64/Makefile: Likewise.
45841         * io/ftwtest-sh: Add copyright header.
45842         * posix/globtest.sh: Likewise.
45843         * posix/tst-getconf.sh: Likewise.
45844         * posix/wordexp-tst.sh: Likewise.
45845         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
45847 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
45849         [BZ #13679]
45850         * Makeconfig (+link): Defined as $(+link-static) if
45851         $(build-shared) isn't yes.
45852         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
45853         isn't yes.
45854         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
45856         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
45858         [BZ #14562]
45859         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
45860         new chunk size with MALLOC_ALIGN_MASK.
45862 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
45864         [BZ #5044]
45865         * stdio-common/printf_fphex.c: Include <stdbool.h> and
45866         <rounding-mode.h>.
45867         (__printf_fphex): Determine rounding using get_rounding_mode and
45868         round_away.
45869         * stdio-common/tst-printf-round.c (struct hex_test): New
45870         structure.
45871         (hex_tests): New variable.
45872         (test_hex_in_one_mode): New function.
45873         (do_test): Also run tests for hex float output.
45875 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
45877         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45878         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45879         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
45880         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
45881         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
45882         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
45883         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45884         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
45886 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
45888         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
45889         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
45890         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
45891         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
45893 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
45895         [BZ #14579]
45896         * elf/rtld.c (dl_main): Limit the check for self loading to normal
45897         mode only.
45898         * elf/tst-rtld-load-self.sh: New test.
45899         * elf/Makefile: Run it.
45901 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
45903         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
45904         (tst-writev-ENV): Remove.
45905         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
45907 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
45909         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
45911 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
45913         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
45914         unconditional.
45915         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
45916         Likewise.
45917         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
45918         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
45919         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
45920         Likewise.
45922 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
45924         [BZ #14587]
45925         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
45926         * config.make.in (have-cpp-asm-debuginfo): Removed.
45927         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
45928         * configure: Regenerated.
45930 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
45932         [BZ #5044]
45933         * stdio-common/printf_fp.c: Include <stdbool.h> and
45934         <rounding-mode.h>.
45935         (___printf_fp): Determine rounding using get_rounding_mode and
45936         round_away.
45937         * stdio-common/tst-printf-round.c: New file.
45938         * stdio-common/Makefile (tests): Add tst-printf-round.
45939         (link-libm): New variable.
45940         ($(objpfx)tst-printf-round): Depend in $(link-libm).
45942 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
45944         [BZ #14576]
45945         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
45946         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
45947         Likewise.
45948         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
45949         Likewise.
45951 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
45953         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
45954         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45955         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45956         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
45958 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
45960         [BZ #14518]
45961         * include/rounding-mode.h: New file.
45962         * sysdeps/generic/get-rounding-mode.h: Likewise.
45963         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
45964         * stdlib/strtod_l.c: Include <rounding-mode.h>.
45965         (MAX_VALUE): New macro.
45966         (MIN_VALUE): Likewise.
45967         (overflow_value): New function.
45968         (underflow_value): Likewise.
45969         (round_and_return): Use overflow_value and underflow_value to
45970         determine return values in overflow and underflow cases.  Use
45971         round_away to determine rounding depending on rounding mode.
45972         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
45973         determine return values in overflow and underflow cases.
45974         * stdlib/tst-strtod-round.c: Include <fenv.h>.
45975         (struct test_results): New structure.
45976         (struct test): Use struct test_results to store expected results
45977         for all rounding modes.
45978         (TEST): Include expected results for all rounding modes.
45979         (test_in_one_mode): New function.
45980         (do_test): Use test_in_one_mode to compute and check results.
45981         Check results for all rounding modes.
45982         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
45983         $(link-libm).
45985 2012-12-09  Allan McRae  <allan@archlinux.org>
45987         * sysdeps/i386/fpu/libm-test-ulps: Update
45989 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
45991         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
45992         (_G_int32_t): Likewise.
45993         (_G_uint16_t): Likewise.
45994         (_G_uint32_t): Likewise.
45995         (_G_HAVE_BOOL): Likewise.
45996         (_G_HAVE_ATEXIT): Likewise.
45997         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
45998         (_G_HAVE_IO_FILE_OPEN): Likewise.
45999         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
46000         (_G_int32_t): Likewise.
46001         (_G_uint16_t): Likewise.
46002         (_G_uint32_t): Likewise.
46003         (_G_HAVE_BOOL): Likewise.
46004         (_G_HAVE_ATEXIT): Likewise.
46005         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46006         (_G_HAVE_IO_FILE_OPEN): Likewise.
46007         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
46008         (_G_int32_t): Likewise.
46009         (_G_uint16_t): Likewise.
46010         (_G_uint32_t): Likewise.
46011         (_G_HAVE_BOOL): Likewise.
46012         (_G_HAVE_ATEXIT): Likewise.
46013         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
46014         (_G_HAVE_IO_FILE_OPEN): Likewise.
46016 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
46018         * csu/libc-tls.c: Update copyright years.
46020 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
46022         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
46023         [!_G_USING_THUNKS]: Remove conditional code.
46024         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
46025         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
46027         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
46028         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
46029         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46030         (_G_VTABLE_LABEL_PREFIX): Likewise.
46031         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46032         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46033         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46034         (_G_VTABLE_LABEL_PREFIX): Likewise.
46035         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46036         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
46037         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
46038         (_G_VTABLE_LABEL_PREFIX): Likewise.
46039         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
46041 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
46043         * libio/Makefile: Include ../Makeconfig before tests.
46044         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
46045         only if $(build-shared) is yes.
46047         * iconv/gconv_db.c: Update copyright years.
46049 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46051         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
46052         unwind info if defined PIC. Fix special cases description.
46053         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
46055         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
46056         DP_HI_MASK entry.
46057         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
46059 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
46061         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
46063         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
46064         is NULL.
46066         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
46067         (LDLIBS-tst-chk4): This.
46068         (LDFLAGS-tst-chk5): Renamed to ...
46069         (LDLIBS-tst-chk5): This.
46070         (LDFLAGS-tst-chk6): Renamed to ...
46071         (LDLIBS-tst-chk6): This.
46072         (LDFLAGS-tst-lfschk4): Renamed to ...
46073         (LDLIBS-tst-lfschk4): This.
46074         (LDFLAGS-tst-lfschk5): Renamed to ...
46075         (LDLIBS-tst-lfschk5): This.
46076         (LDFLAGS-tst-lfschk6): Renamed to ...
46077         (LDLIBS-tst-lfschk6): This.
46079         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
46080         on $(common-objpfx)soversions.mk.
46082 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
46084         [BZ #10014]
46085         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
46086         example host name.
46088 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
46090         * malloc/arena.c (arena_get_retry): New function that gets
46091         another arena for the caller to try its request on.
46092         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
46093         current arena cannot fulfill the request.
46094         (__libc_memalign): Likewise.
46095         (__libc_memalign): Likewise.
46096         (__libc_pvalloc): Likewise.
46097         (__libc_calloc): Likewise.
46099 2012-09-05  John Tobey  <john.tobey@gmail.com>
46101         [BZ #13542]
46102         * manual/arith.texi (Operations on Complex): Fix description
46103         of carg branch cut.
46105 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46107         [BZ #10014]
46108         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
46109         host name.
46111         [BZ #10038]
46112         * manual/memory.texi (Memory): Make order of menu items match
46113         order of sections.
46115 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46117         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
46118         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
46119         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
46121 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46123         * csu/libc-tls.c (static_dtv): Renamed to ...
46124         (_dl_static_dtv): This.  Make it global.
46125         (_dl_initial_dtv): Removed.
46126         (__libc_setup_tls): Updated.
46127         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
46128         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
46129         DL_INITIAL_DTV.
46131 2012-09-06  Petr Machata  <pmachata@redhat.com>
46133         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
46134         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
46135         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
46136         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
46138 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46140         [BZ #14545]
46141         * csu/libc-tls.c (_dl_initial_dtv): New variable.
46142         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
46143         freeing dtv[-1].
46145 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
46147         [BZ #14544]
46148         * Makeconfig (link-static-before-libc): Replace $(+prector)
46149         with $(+prectorT).
46150         (link-static-after-libc): Replace $(+postctor) with
46151         $(+postctorT).
46152         (link-bounded): Replace $(+prector)/$(+postctor) with
46153         $(+prectorT)/$(+postctorT).
46154         (+prectorT): New macro.
46155         (+postctorT): Likewise.
46157 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
46159         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
46160         (round_str): Handle values above the maximum for IBM long double
46161         as inexact.
46162         * stdlib/tst-strtod-round.c (tests): Regenerated.
46164 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46166         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
46167         assembler flag.
46168         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
46169         zarch_nohighgprs around the zarch optimized routines.
46170         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
46171         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
46172         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
46173         for zarch.
46175 2012-09-05  David S. Miller  <davem@davemloft.net>
46177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46179         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
46180         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
46181         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
46182         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
46183         entries.
46185 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46187         * malloc/arena.c: Fold copyright years.
46188         * malloc/mcheck.c, malloc/memusage.c: Likewise.
46190 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46192         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
46194 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46196         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
46198 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46200         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
46201         change internal state upon failure.
46203 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
46205         * malloc/mcheck.c (mcheck_check_all): Fix typo.
46206         * malloc/memusage.c (mmap): Likewise.
46207         (mmap64, mremap): Likewise.  Adjust name in comment.
46209 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46211         * libio/fileops.c: Fix typos in comments.
46212         * libio/oldfileops.c: Likewise.
46213         * libio/wfileops.c: Likewise.
46215 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
46217         [BZ #1349]
46218         * malloc/Makefile (tests): Add tst-malloc-usable test case.
46219         (tst-malloc-usable-ENV): Set environment for test case.
46220         * malloc/hooks.c (malloc_check_get_size): New function to get
46221         requested size.
46222         * malloc/malloc.c (musable): Use malloc_check_get_size.
46223         * malloc/tst-malloc-usable.c: New test case.
46225 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46227         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
46229 2012-09-05  Allan McRae  <allan@archlinux.org>
46231         [BZ #13966]
46232         * configure.in (CXX_SYSINCLUDES): Use compiler output to
46233         determine header location.
46234         * configure: Regenerated.
46236 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
46238         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
46239         float format.
46240         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
46241         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
46242         format.
46243         (test): Regenerate.
46245 2012-09-04  David S. Miller  <davem@davemloft.net>
46247         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
46248         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
46249         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
46251 2012-09-04  Florian Weimer  <fweimer@redhat.com>
46253         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
46254         failures.
46256         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
46258 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
46260         [BZ #9914]
46261         * libio/iogetdelim.c: Include <limits.h>.
46262         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
46263         + len + 1 would overflow.
46265 2012-09-03  Andreas Jaeger  <aj@suse.de>
46267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46268         * sysdeps/i386/fpu/libm-test-ulps: Update.
46270 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46272         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
46273         Add s_sinf-sse2, s_conf-sse2.
46275         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
46276         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
46277         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
46278         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
46280         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
46281         for using routine as __sinf_ia32.
46282         Use macro for function declaration and weak_alias.
46283         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
46284         for using routine as __cosf_ia32.
46285         Use macro for function declaration and weak_alias.
46287         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
46288         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
46290         * sysdeps/x86_64/fpu/s_sinf.S: New file.
46291         * sysdeps/x86_64/fpu/s_cosf.S: New file.
46292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46294         * math/libm-test.inc (cos_test): Add more test cases.
46295         (sin_test): Likewise.
46296         (sincos_test): Likewise.
46298 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46300         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
46301         (IFUNC_RESOLVE): Make pointers to the specialized implementations
46302         hidden.
46303         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
46305 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
46307         [BZ #14538]
46308         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
46309         first element of the GOT.
46310         (elf_machine_load_address): Return the difference between
46311         the runtime address of _DYNAMIC and elf_machine_dynamic ().
46313 2012-09-01  Allan McRae  <allan@archlinux.org>
46315         [BZ #13412]
46316         * configure.in (AWK): Require gawk version 3.0 or later.
46317         * configure: Regenerated.
46319 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
46321         * sysdeps/unix/sysv/linux/kernel-features.h
46322         (__ASSUME_POSIX_CPU_TIMERS): Remove.
46323         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46324         [__NR_clock_getres]: Make code unconditional.
46325         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
46326         (clock_getcpuclockid): Remove code left unreachable by removal of
46327         conditionals.
46328         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
46329         code unconditional.
46330         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46331         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46332         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
46333         Make code unconditional.
46334         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
46335         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46336         * sysdeps/unix/sysv/linux/clock_settime.c
46337         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
46338         conditional code.
46339         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
46340         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
46342 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
46344         [BZ #14476]
46345         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
46346         scripts/test-installation.pl.
46348         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
46349         and $ld_so_version if it is set.
46351 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46353         [BZ #14516]
46354         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
46355         failure if reading from procfs failed.
46356         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
46358 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
46360         * sysdeps/unix/sysv/linux/kernel-features.h
46361         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
46362         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46363         Remove conditional code.
46364         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46365         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
46366         Remove conditional code.
46367         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46368         * sysdeps/unix/sysv/linux/i386/fxstat.c
46369         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46370         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46371         * sysdeps/unix/sysv/linux/i386/fxstatat.c
46372         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46373         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46374         * sysdeps/unix/sysv/linux/i386/lxstat.c
46375         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
46376         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46377         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
46378         Remove conditional code.
46379         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46380         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
46381         Remove conditional code.
46382         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46383         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
46384         <kernel-features.h>.
46385         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
46386         Remove.
46387         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
46388         Remove conditional code.
46389         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
46390         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
46391         Remove conditional.
46393 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
46395         [BZ #5400]
46396         * NEWS: Add fixed bug number.
46398 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
46400         [BZ #14519]
46401         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
46402         underflowing exponent in case of negative sign.
46403         * stdlib/tst-strtod-round-data: Add more tests.
46404         * stdlib/tst-strtod-round.c (tests): Regenerated.
46406         [BZ #3479]
46407         * stdlib/strtod_l.c (NDIG): Remove.
46408         (HEXNDIG): Likewise.
46409         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
46410         smallest representable value.
46411         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
46412         lie within an exact representation of 1/2 ulp of the result.
46413         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
46414         unconditionally.
46415         (TENS_P9_IDX): Define unconditionally.
46416         (TENS_P9_SIZE): Likewise.
46417         (TENS_P10_IDX): Likewise.
46418         (TENS_P10_SIZE): Likewise.
46419         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
46420         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
46421         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
46422         entries for 10^2^13 and 10^2^14.
46423         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
46424         (TENS_P13_IDX): Define.
46425         (TENS_P13_SIZE): Likewise.
46426         (TENS_P14_IDX): Likewise.
46427         (TENS_P14_SIZE): Likewise.
46428         (_fpioconst_pow10): Change array size to
46429         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
46430         unconditional.
46431         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
46432         1024]: Add entries for 10^2^13 and 10^2^14.
46433         [LAST_POW10 > _LAST_POW10]: Remove #error.
46434         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
46435         (_fpioconst_pow10): Change array size to
46436         FPIOCONST_POW10_ARRAY_SIZE.
46437         * stdlib/gen-fpioconst.c: New file.
46438         * stdlib/gen-tst-strtod-round.c: Likewise.
46439         * stdlib/tst-strtod-round-data: Likewise.
46440         * stdlib/tst-strtod-round.c: Likewise.
46441         * stdlib/Makefile (tests): Add tst-strtod-round.
46443         [BZ #14459]
46444         * stdlib/strtod_l.c: Include <stdint.h>.
46445         (NDEBUG): Do not define.
46446         (round_and_return): Change EXPONENT parameter to type intmax_t.
46447         Rearrange calculations to avoid internal overflow possibilities.
46448         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
46449         Rearrange calculations to avoid internal overflow possibilities.
46450         Assert that number fits inside MPNSIZE limbs.
46451         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
46452         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
46453         calculations and add assertions to avoid internal overflow
46454         possibilities.  Add casts to avoid signed/unsigned operations.
46455         * stdlib/tst-strtod-overflow.c: New file.
46456         * stdlib/Makefile (tests): Add tst-strtod-overflow.
46458 2012-08-25  Marek Polacek  <polacek@redhat.com>
46460         * time/time.h: Fix some typos in comments.
46462 2012-08-23  Roland McGrath  <roland@hack.frob.com>
46464         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
46465         * posix/tst-rfc3484-2.c: Likewise.
46466         * posix/tst-rfc3484-3.c: Likewise.
46468 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
46470         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
46471         (EF_ARM_ABI_FLOAT_HARD): Likewise.
46473 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
46475         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
46476         #include of fxstatat64.c.
46478 2012-08-22  Roland McGrath  <roland@hack.frob.com>
46480         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
46481         * shadow/getspent_r.c: Likewise.
46482         * shadow/getspnam.c: Likewise.
46483         * shadow/getspnam_r.c: Likewise.
46484         * gshadow/getsgent.c: Likewise.
46485         * gshadow/getsgent_r.c: Likewise.
46486         * gshadow/getsgnam.c: Likewise.
46487         * gshadow/getsgnam_r.c: Likewise.
46488         * inet/getnetbyad.c: Likewise.
46489         * inet/getnetbyad_r.c: Likewise.
46490         * inet/getnetbynm.c: Likewise.
46491         * inet/getnetbynm_r.c: Likewise.
46492         * inet/getnetent.c: Likewise.
46493         * inet/getnetent_r.c: Likewise.
46494         * inet/getproto.c: Likewise.
46495         * inet/getproto_r.c: Likewise.
46496         * inet/getprtent.c: Likewise.
46497         * inet/getprtent_r.c: Likewise.
46498         * inet/getprtname.c: Likewise.
46499         * inet/getprtname_r.c: Likewise.
46500         * inet/getrpcbyname.c: Likewise.
46501         * inet/getrpcbyname_r.c: Likewise.
46502         * inet/getrpcbynumber.c: Likewise.
46503         * inet/getrpcbynumber_r.c: Likewise.
46504         * inet/getrpcent.c: Likewise.
46505         * inet/getrpcent_r.c: Likewise.
46506         * inet/getaliasent.c: Likewise.
46507         * inet/getaliasent_r.c: Likewise.
46508         * inet/getaliasname.c: Likewise.
46509         * inet/getaliasname_r.c: Likewise.
46510         * nscd/getgrgid_r.c: Likewise.
46511         * nscd/getgrnam_r.c: Likewise.
46512         * nscd/gethstbyad_r.c: Likewise.
46513         * nscd/gethstbynm3_r.c: Likewise.
46514         * nscd/getpwnam_r.c: Likewise.
46515         * nscd/getpwuid_r.c: Likewise.
46516         * nscd/getsrvbynm_r.c: Likewise.
46517         * nscd/getsrvbypt_r.c: Likewise.
46518         * nscd/gai.c: Likewise.
46520         * configure.in (build_nscd): New substituted variable, set
46521         by --disable-build-nscd and defaults to $use_nscd.
46522         * configure: Regenerated.
46523         * config.make.in (build-nscd): New substituted variable.
46524         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
46525         Change conditional to require [$(build-nscd) = yes] as well.
46526         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
46528         [BZ# 13696]
46529         * configure.in (use_nscd): New substituted variable, set by
46530         --disable-nscd.  If enabled, define USE_NSCD.
46531         * configure: Regenerated.
46532         * config.h.in: Add USE_NSCD.
46533         * config.make.in (use-nscd): New substituted variable.
46534         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
46535         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
46536         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
46537         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
46538         (CFLAGS-getgrnam_r.c): Likewise.
46539         (CFLAGS-initgroups.c): Likewise.
46540         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
46541         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
46542         Variables removed.
46543         * inet/getnetgrent_r.c
46544         (nscd_setnetgrent): New function, broken out of ...
46545         (setnetgrent): ... here.  Call it.
46546         (innetgr): Conditionalize nscd bits on [USE_NSCD].
46547         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
46548         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
46549         * nscd/Makefile (routines, aux): Move definitions after include of
46550         Makeconfig.  Conditionalize on [$(use-nscd) != no].
46551         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
46552         Conditionalize on [USE_NSCD].
46553         (is_nscd, nscd_init_cb): Likewise.
46554         (nss_load_library): Conditionalize init callback on [USE_NSCD].
46555         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
46556         * nss/nss_db/db-init.c: Likewise.
46557         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
46558         [USE_NSCD].
46559         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
46560         (make_request): Use it.
46561         (cache_valid_p): New function.
46562         (__check_pf): Use it.
46563         * NEWS: Add item for --disable-nscd.
46565 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
46567         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
46568         to support sed >= 4.2.1-20-ga9bf076.
46569         * configure: Regenerated.
46571 2012-08-22  Roland McGrath  <roland@hack.frob.com>
46573         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
46574         Conditionalize whole body on [IREL].
46576 2012-08-22  Jeff Law <law@redhat.com>
46578         [BZ #14505]
46579         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
46580         if the family is PF_UNSPEC.
46582 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
46584         * Makerules (lib-version): Rename from V.
46585         (install-lib-nosubdir): Change V to lib-version.
46587 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
46589         [BZ #14252]
46590         * powerpc32/power6/wcschr.c: New file.
46591         * powerpc32/power6/wcscpy.c: New file.
46592         * powerpc32/power6/wcsrchr.c: New file.
46593         * powerpc64/power6/wcschr.c: New file.
46594         * powerpc64/power6/wcscpy.c: New file.
46595         * powerpc64/power6/wcsrchr.c: New file.
46597 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
46599         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
46600         (two_way_short_needle): Use it.
46601         * string/strstr.c (AVAILABLE1_USES_J): Define.
46602         * string/strcasestr.c: Likewise.
46604         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
46605         array references.
46606         * string/strcasestr.c (TOLOWER): Make side-effect safe.
46608         [BZ #11607]
46609         * NEWS: Add an entry.
46610         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
46611         define their defaults.
46612         (two_way_short_needle): Detect end-of-string on-the-fly.
46613         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
46614         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
46615         * string/bug-strcasestr1.c: New test.
46616         * string/Makefile: Run it.
46618 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
46620         [BZ #11607]
46621         * string/str-two-way.h (two_way_short_needle): Optimize matching of
46622         the first character.
46624 2012-08-21  Roland McGrath  <roland@hack.frob.com>
46626         * csu/elf-init.c (__libc_csu_irel): Function removed.
46627         * csu/libc-start.c (apply_irel): New function.
46628         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
46630 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
46632         * sysdeps/unix/sysv/linux/kernel-features.h
46633         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
46634         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
46635         <kernel-features.h>.
46636         [__NR_fadvise64_64]: Make code unconditional.
46637         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
46638         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46639         !__NR_fadvise64_64)]: Likewise.
46640         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
46641         !__NR_fadvise64_64))]: Likewise.
46642         [__NR_fadvise64]: Make code unconditional.
46643         [!__NR_fadvise64]: Remove conditional code.
46644         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
46645         <kernel-features.h>.
46646         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46647         unconditional.
46648         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46649         conditional code.
46650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
46651         not include <kernel-features.h>.
46652         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46653         unconditional.
46654         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46655         conditional code.
46656         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
46657         include <kernel-features.h>.
46658         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
46659         unconditional.
46660         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
46661         conditional code.
46663 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46665         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
46666         slight instruction rearrangements per scrollpipe analysis.
46667         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
46669 2012-08-20  Roland McGrath  <roland@hack.frob.com>
46671         * manual/syslog.texi (syslog; vsyslog, closelog):
46672         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
46673         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
46675         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
46676         DSOCAPS to match condition on defining it.
46678 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
46680         * sysdeps/unix/sysv/linux/kernel-features.h
46681         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
46682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
46683         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46684         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
46686         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46687         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
46689         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
46690         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
46692         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
46693         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
46695         * sysdeps/unix/sysv/linux/kernel-features.h
46696         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
46697         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
46698         unconditional.
46699         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46700         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
46701         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46702         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46703         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
46704         Make code unconditional.
46705         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46706         (__mmap64) [!__NR_mmap2]: Likewise.
46707         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
46708         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
46709         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46710         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
46711         [__NR_mmap2]: Make code unconditional.
46712         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
46713         (__mmap64) [!__NR_mmap2]: Likewise.
46715 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46717         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
46719 2012-08-18  Andreas Jaeger  <aj@suse.de>
46721         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
46723 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46725         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
46726         * include/unistd.h (__have_sock_cloexec): Likewise.
46727         (__have_pipe2): Likewise.
46728         (__have_dup3): Likewise.
46730 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
46732         [BZ #9685]
46733         * include/unistd.h (__have_pipe2): Change define into an extern int.
46734         (__have_dup3): Likewise.
46735         * socket/have_sock_cloexec.c: Include fcntl.h.
46736         (__have_pipe2): New variable.
46737         (__have_dup3): Likewise.
46739 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
46741         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
46743 2012-08-17  Marek Polacek  <polacek@redhat.com>
46745         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
46746         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
46748 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46750         * configure.in: Add AC_SUBST for sysheaders.
46751         * configure: Regenerated.
46752         * config.make.in (sysheaders): New substituted variable.
46754         * sysdeps/unix/mkfifo.c: Moved ...
46755         * sysdeps/posix/mkfifo.c: ... here.
46756         * sysdeps/unix/mkfifoat.c: Moved ...
46757         * sysdeps/posix/mkfifoat.c: ... here.
46759         * sysdeps/unix/utime.c: Moved ...
46760         * sysdeps/posix/utime.c: ... here.
46762         * sysdeps/unix/time.c: Moved ...
46763         * sysdeps/posix/time.c: ... here.
46764         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
46765         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
46767         * sysdeps/unix/nice.c: Moved ...
46768         * sysdeps/posix/nice.c: ... here.
46770         * sysdeps/unix/alarm.c: Moved ...
46771         * sysdeps/posix/alarm.c: ... here.
46773         * intl/Makefile ($(codeset_mo)): Depend on the input file.
46775 2012-08-17  Jeff Law <law@redhat.com>
46777         * intl/Makefile (codeset_mo): New variable.
46778         ($(codeset_mo)): New target.
46779         (tst-codeset.out): Depend on that.  Remove explicit rule.
46780         (tst-gettext3.out, tst-gettext5.out): Likewise.
46781         (LOCPATH-ENV, tst-codeset-ENV): New variables.
46782         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
46783         * intl/tst-codeset.sh: Remove.
46784         * intl/tst-gettext3.sh: Likewise.
46785         * intl/tst-gettext5.sh: Likewise.
46787 2012-08-17  Roland McGrath  <roland@hack.frob.com>
46789         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
46790         * sysdeps/unix/syscalls.list: ... here.
46792         * sysdeps/posix/getaddrinfo.c
46793         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
46794         (gaiconf_init, gaiconf_reload): Use them.
46795         [!_STATBUF_ST_NSEC]
46796         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
46797         Define using time_t rather than struct timespec.
46799         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
46800         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
46801         Macros removed.
46802         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
46803         [!NO_THREADS].
46804         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
46805         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
46806         Likewise.
46808         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
46809         __libc_cleanup_push argument.
46811         * bits/param.h: New file.
46812         * misc/sys/param.h: New file.
46813         * include/sys/param.h: New file.
46814         * misc/Makefile (headers): Add bits/param.h.
46815         * sysdeps/generic/sys/param.h: File removed.
46816         * sysdeps/unix/sysv/linux/bits/param.h: New file.
46817         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
46818         * sysdeps/mach/hurd/bits/param.h: New file.
46819         * sysdeps/mach/hurd/sys/param.h: File removed.
46821         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
46822         last change.
46824         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
46825         [_IO_MTSAFE_IO].
46826         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
46827         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
46828         New macros.
46830         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
46831         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
46832         rather than -D_IO_MTSAFE_IO conditionally.
46833         * stdio-common/Makefile (CPPFLAGS): Likewise.
46834         * wcsmbs/Makefile (CPPFLAGS): Likewise.
46835         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
46836         Use $(libio-mtsafe).
46837         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
46838         of -D_IO_MTSAFE_IO.
46839         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
46840         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
46841         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
46842         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
46843         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
46844         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
46845         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
46846         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
46847         (CFLAGS-fread_u_chk.c): Likewise.
46848         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
46849         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
46850         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
46851         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
46852         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
46853         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
46854         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
46855         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
46856         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
46858         * libio/Makefile: Test [$(libc-reentrant) = yes]
46859         instead of [$(filter %REENTRANT, $(defines)) nonempty].
46861         * Makeconfig
46862         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
46863         * sysdeps/pthread/configure: File removed.
46864         * sysdeps/pthread/Makeconfig: New file.
46865         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
46866         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
46868 2012-08-16  Gary Benson  <gbenson@redhat.com>
46870         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
46871         unmapping the first object in a namespace.
46873 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46875         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
46876         (__internal_setnetgrent): ... this.  Add internal_function to
46877         definition.  Add libc_hidden_def.
46878         (setnetgrent): Update caller.
46879         (internal_endnetgrent): Renamed to ...
46880         (__internal_endnetgrent): ... this.  Add internal_function to
46881         definition.  Add libc_hidden_def.
46882         (endnetgrent): Update caller.
46883         (internal_getnetgrent_r): Renamed to ...
46884         (__internal_getnetgrent_r): ... this.  Add internal_function to
46885         definition.  Add libc_hidden_def.
46886         (__getnetgrent_r): Update caller.
46887         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
46889 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46891         * stdlib/longlong.h: Update from GCC.
46893 2012-08-16  Roland McGrath  <roland@hack.frob.com>
46895         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
46896         on _QL, which is set by umul_ppmm but never used.
46897         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
46898         variables, which are set by GMP macros but never used.
46899         * stdio-common/_itowa.c (_itowa): Likewise.
46900         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
46901         * stdlib/mod_1.c (mpn_mod_1): Likewise.
46903 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
46905         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
46906         struct La_sh_regs is not constant.
46907         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
46908         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
46909         and struct La_sparc64_regs are not constant.
46911 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
46913         * sysdeps/unix/sysv/linux/kernel-features.h
46914         (__ASSUME_POSIX_TIMERS): Remove.
46915         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
46916         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46917         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
46918         Make code unconditional.
46919         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46920         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
46921         Make code unconditional.
46922         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46923         * sysdeps/unix/sysv/linux/clock_nanosleep.c
46924         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
46925         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46926         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
46927         Make code unconditional.
46928         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
46929         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
46930         (__libc_missing_posix_timers): Remove.
46932 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46934         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
46935         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
46937         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
46939         * elf/dl-sym.c: Include <stdlib.h>.
46941         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
46942         constants, which avoids warnings in 32-bit builds.
46944         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
46945         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
46947         * misc/lseek.c: File moved to ...
46948         * io/lseek.c: ... here.
46950         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
46952         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
46953         shifting LEN more than 31 bits at once.
46955 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46957         [BZ #14195]
46958         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
46959         segmentation fault for a case of two empty input strings.
46960         * string/test-strncasecmp.c (check1): Renamed to...
46961         (bz12205): ...this.
46962         (bz14195): Add new testcase for two empty input strings and N > 0.
46963         (test_main): Call new testcase, adapt for renamed function.
46965 2012-08-15  Andreas Jaeger  <aj@suse.de>
46967         [BZ #14090]
46968         * crypt/md5test2.c: New test, based on test supplied by Serge
46969         Belyshev <belyshev@depni.sinp.msu.ru>.
46970         * crypt/Makefile (xtests): Add md5test-giant..
46971         * crypt/Makefile ($(objpfx)md5test-giant): Add.
46973 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
46975         [BZ #14090]
46976         * crypt/md5.c (md5_process_block): Don't assume the buffer
46977         length is less than 2**32.
46978         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
46979         length is less than 2**64.
46981 2012-08-15  Roland McGrath  <roland@hack.frob.com>
46983         * string/str-two-way.h: Include <sys/param.h>.
46984         (MAX): Macro removed.
46986         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
46987         Move #define and #undef of memmove to just before and after
46988         including <string.h>.
46990         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
46991         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
46992         and after including <string.h>.  Move declarations of
46993         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
46994         to before #include "string/memmove.c".
46996         * include/dirent.h: Declare __getdirentries.
46998         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
46999         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
47001 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
47003         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
47004         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
47005         * sysdeps/i386/configure: Regenerated.
47006         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
47007         STABS_CURRENT_FILE, and STABS_FUN.
47008         (END): Remove call to STABS_FUN_END.
47009         (STABS_CURRENT_FILE1): Delete.
47010         (STABS_CURRENT_FILE): Likewise.
47011         (STABS_FUN): Likewise.
47012         (STABS_FUN_END): Likewise.
47013         (STABS_FUN2): Likewise.
47014         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
47015         * sysdeps/x86_64/configure: Regenerated.
47017 2012-08-14  Roland McGrath  <roland@hack.frob.com>
47019         * elf/dl-open.c: Include <atomic.h>.
47020         * elf/dl-lookup.c: Likewise.
47022 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
47024         * sysdeps/unix/sysv/linux/kernel-features.h
47025         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
47026         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
47027         unconditionally.
47028         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
47029         unconditionally.
47030         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
47031         condition on __ASSUME_CLONE_THREAD_FLAGS.
47033 2012-08-14  Andreas Jaeger  <aj@suse.de>
47035         * sysdeps/i386/fpu/libm-test-ulps: Update.
47037 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
47039         * include/atomic.h (atomic_exchange_and_add): Split into ...
47040         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
47041         New atomic macros.
47043 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
47045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47047 2012-08-13  Jeff Law <law@redhat.com>
47049         * manual/stdio.texi (snprintf): Clarify handling of the trailing
47050         null byte in the output string.
47052 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
47054         * sysdeps/unix/sysv/linux/kernel-features.h
47055         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
47056         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
47057         (__ASSUME_ARG_MAX_STACK_BASED): Define.
47058         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
47059         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
47060         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
47061         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
47063 2012-08-09  Jeff Law <law@redhat.com>
47065         [BZ #13939]
47066         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
47067         When avoid_arena is set, don't retry in the that arena.  Pick the
47068         next one, whatever it might be.
47069         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
47070         (arena_lock): Pass in new parameter to arena_get2.
47071         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
47072         arena_get2.
47073         (__libc_malloc): Unify retrying after main arena failure with
47074         __libc_memalign version.
47075         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
47077 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
47079         [BZ #14166]
47080         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
47081         to __redirect_strstr.
47082         (__strstr_sse42): Use typeof __redirect_strstr.
47083         (__strstr_ia32): Likewise.
47084         (__libc_strstr): New prototype.
47085         (strstr): Renamed to ...
47086         (__libc_strstr): This.
47087         (strstr): New strong alias of __libc_strstr.
47088         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
47089         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
47090         __redirect_time.
47091         Include <time.h>.
47092         (__libc_time): New prototype.
47093         (time_ifunc): Replace time with __libc_time.
47094         (time): New strong alias and hidden definition of __libc_time.
47095         (__GI_time): Remove strong alias.
47096         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
47097         Include <stddef.h>.
47098         (memmove): Redefined to __redirect_memmove.
47099         (__memmove_sse2): Use typeof __redirect_memmove.
47100         (__memmove_ssse3): Likewise.
47101         (__memmove_ssse3_back): Likewise.
47102         (__libc_memmove): New prototype.
47103         (memmove): Renamed to ...
47104         (__libc_memmove): This.
47105         (memmove): New strong alias of __libc_memmove.
47107 2012-08-08  Mark Salter  <msalter@redhat.com>
47109         * elf/elf.h
47110         (R_MN10300_TLS_GD): Define.
47111         (R_MN10300_TLS_LD): Likewise.
47112         (R_MN10300_TLS_LDO): Likewise.
47113         (R_MN10300_TLS_GOTIE): Likewise.
47114         (R_MN10300_TLS_IE): Likewise.
47115         (R_MN10300_TLS_LE): Likewise.
47116         (R_MN10300_TLS_DTPMOD): Likewise.
47117         (R_MN10300_TLS_DTPOFF): Likewise.
47118         (R_MN10300_TLS_TPOFF): Likewise.
47119         (R_MN10300_SYM_DIFF): Likewise.
47120         (R_MN10300_ALIGN): Likewise.
47121         (R_MN10300_NUM): Update.
47123 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
47125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
47126         Remove.
47128 2012-08-08  Roland McGrath  <roland@hack.frob.com>
47130         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
47132         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
47133         sysdeps/unix -> sysdeps/posix move.
47134         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47136 2012-08-07      Allan McRae     <allan@archlinux.org>
47138         [BZ #14303]
47139         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
47140         (SUNOS_CPP): Likewise.
47141         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
47142         not found.
47143         (open_input): Call CPP using execvp.
47145 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47147         * sysdeps/unix/sysv/linux/kernel-features.h
47148         (__ASSUME_PROT_GROWSUPDOWN): Remove.
47149         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47150         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47151         (__ASSUME_WAITID_SYSCALL): Likewise.
47152         * sysdeps/unix/sysv/linux/dl-execstack.c
47153         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
47154         code unconditional.
47155         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
47156         conditional code.
47157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
47158         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
47159         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
47160         code.
47161         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
47162         unconditional.
47163         [__ASSUME_WAITID_SYSCALL]: Likewise.
47164         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
47166 2012-08-07  Roland McGrath  <roland@hack.frob.com>
47168         * sysdeps/unix/closedir.c: Renamed to ...
47169         * sysdeps/posix/closedir.c: ... here.
47170         * sysdeps/unix/dirfd.c: Renamed to ...
47171         * sysdeps/posix/dirfd.c: ... here.
47172         * sysdeps/unix/dirstream.h: Renamed to ...
47173         * sysdeps/posix/dirstream.h: ... here.
47174         * sysdeps/unix/fdopendir.c: Renamed to ...
47175         * sysdeps/posix/fdopendir.c: ... here.
47176         * sysdeps/unix/opendir.c: Renamed to ...
47177         * sysdeps/posix/opendir.c: ... here.
47178         * sysdeps/unix/readdir.c: Renamed to ...
47179         * sysdeps/posix/readdir.c: ... here.
47180         * sysdeps/unix/readdir_r.c: Renamed to ...
47181         * sysdeps/posix/readdir_r.c: ... here.
47182         * sysdeps/unix/rewinddir.c: Renamed to ...
47183         * sysdeps/posix/rewinddir.c: ... here.
47184         * sysdeps/unix/seekdir.c: Renamed to ...
47185         * sysdeps/posix/seekdir.c: ... here.
47186         * sysdeps/unix/telldir.c: Renamed to ...
47187         * sysdeps/posix/telldir.c: ... here.
47188         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
47189         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
47190         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
47191         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
47193         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
47194         * bits/fcntl.h: ... here.
47196         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
47197         not 0.
47198         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
47199         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
47200         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
47201         (struct flock): Move l_start, l_len to the beginning.
47202         Use __pid_t for l_pid.
47203         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
47204         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
47205         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
47206         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
47207         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
47208         [__USE_LARGEFILE64] (struct flock64): New type.
47209         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
47211         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
47212         * bits/dirent.h: ... here.
47214         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
47215         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
47217 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
47219         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47220         Change from 2.6.0 to 2.6.16.
47221         * sysdeps/unix/sysv/linux/configure: Regenerated.
47222         * sysdeps/unix/sysv/linux/kernel-features.h
47223         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
47224         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
47225         version.
47226         (__ASSUME_UTIMES): Likewise.
47227         (__ASSUME_CLONE_STOPPED): Remove.
47228         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
47229         architectures, not kernel version.
47230         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
47231         (__ASSUME_NO_CLONE_DETACHED): Likewise.
47232         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
47233         (__ASSUME_WAITID_SYSCALL): Likewise.
47234         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
47235         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
47236         * README: State 2.6.16 as minimum Linux kernel version.  Do not
47237         refer to older versions.
47239 2012-08-06  Roland McGrath  <roland@hack.frob.com>
47241         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
47242         Define alphasort64 as an alias.
47243         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
47244         Define versionsort64 as an alias.
47245         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
47246         Define scandir64 as an alias.
47247         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
47248         Define scandirat64 as an alias.
47249         * dirent/alphasort64.c (alphasort64):
47250         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
47251         * dirent/versionsort64.c: Likewise.
47252         * dirent/scandir64.c: Likewise.
47253         * dirent/scandirat64.c: Likewise.
47254         * sysdeps/wordsize-64/alphasort.c: File removed.
47255         * sysdeps/wordsize-64/alphasort64.c: File removed.
47256         * sysdeps/wordsize-64/scandir.c: File removed.
47257         * sysdeps/wordsize-64/scandir64.c: File removed.
47258         * sysdeps/wordsize-64/scandirat.c: File removed.
47259         * sysdeps/wordsize-64/scandirat64.c: File removed.
47260         * sysdeps/wordsize-64/versionsort.c: File removed.
47261         * sysdeps/wordsize-64/versionsort64.c: File removed.
47262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
47263         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
47264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
47265         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
47266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
47267         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
47268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
47269         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
47271         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
47272         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47273         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
47274         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47275         [defined __arch64__ || defined __sparcv9]
47276         (__INO_T_MATCHES_INO64_T): New macro.
47277         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47278         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
47279         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
47280         * sysdeps/unix/sysv/linux/bits/dirent.h
47281         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
47282         (_DIRENT_MATCHES_DIRENT64): New macro.
47284         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
47285         Define lockf64 as an alias.
47286         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
47287         Define fseeko64 as an alias.
47288         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
47289         Define ftello64 as an alias.
47290         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
47291         Define _IO_fgetpos64 and fgetpos64 as aliases.
47292         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
47293         Define _IO_fsetpos64 and fsetpos64 as aliases.
47294         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
47295         Conditionalize body on this.
47296         * libio/fseeko64.c: Likewise.
47297         * libio/ftello64.c: Likewise.
47298         * libio/iofgetpos64.c: Likewise.
47299         * libio/iofsetpos64.c: Likewise.
47300         * sysdeps/wordsize-64/lockf.c: File removed.
47301         * sysdeps/wordsize-64/lockf64.c: File removed.
47302         * sysdeps/wordsize-64/fseeko.c: File removed.
47303         * sysdeps/wordsize-64/fseeko64.c: File removed.
47304         * sysdeps/wordsize-64/ftello.c: File removed.
47305         * sysdeps/wordsize-64/ftello64.c: File removed.
47306         * sysdeps/wordsize-64/iofgetpos.c: File removed.
47307         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
47308         * sysdeps/wordsize-64/iofsetpos.c: File removed.
47309         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
47310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
47311         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
47312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
47313         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
47314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
47315         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
47316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
47317         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
47318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
47319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
47321         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
47323         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
47324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47325         [defined __arch64__ || defined __sparcv9]
47326         (__OFF_T_MATCHES_OFF64_T): New macro.
47327         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47328         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
47329         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47330         (__OFF_T_MATCHES_OFF64_T): New macro.
47332 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
47334         * stdlib/secure-getenv.c (__secure_getenv): Replace
47335         GLIBC_2_16 with GLIBC_2_17.
47337 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
47339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
47340         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
47342 2012-08-03  David S. Miller  <davem@davemloft.net>
47344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47346 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
47348         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
47349         Remove.
47350         (__ASSUME_CORRECT_SI_PID): Likewise.
47351         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
47352         (__ASSUME_TMPFS_NAME): Likewise.
47353         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
47354         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
47355         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
47356         (HAVE_AUX_SECURE): Make definition unconditional.
47357         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
47358         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
47360 2012-08-03  Roland McGrath  <roland@hack.frob.com>
47362         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
47363         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
47364         * sysdeps/mach/hurd/eloop-threshold.h: New file.
47365         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47366         __eloop_threshold instead of SYMLOOP_MAX.
47368         * sysdeps/generic/eloop-threshold.h: New file.
47369         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
47370         of MAXSYMLINKS.
47371         * elf/chroot_canon.c (chroot_canon): Likewise.
47373 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
47375         [BZ #13717]
47376         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47377         Change to 2.6.0 everywhere.
47378         * sysdeps/unix/sysv/linux/configure: Regenerated.
47379         * sysdeps/unix/sysv/linux/kernel-features.h
47380         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
47381         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
47382         kernel versions.
47383         (__ASSUME_POSIX_TIMERS): Define unconditionally.
47384         (__ASSUME_FUTEX_REQUEUE): Remove.
47385         (__ASSUME_STATFS64): Define unconditionally.
47386         (__ASSUME_AT_SECURE): Likewise.
47387         (__ASSUME_CORRECT_SI_PID): Likewise.
47388         (__ASSUME_TGKILL): Define without depending on kernel version for
47389         i386.
47390         (__ASSUME_UTIMES): Likewise.
47391         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
47392         kernel version.
47393         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
47394         (__ASSUME_TMPFS_NAME): Likewise.
47395         * README: Update reference to Linux kernel versions.
47397 2012-08-02  Marek Polacek  <polacek@redhat.com>
47399         [BZ# 14150]
47400         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
47401         libc_cv_asm_type_prefix with %.
47402         * configure: Regenerated.
47403         * include/libc-symbols.h: Remove comment about
47404         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47405         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
47406         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
47407         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
47408         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
47409         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
47410         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
47411         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
47412         * elf/tst-unique2mod1.c: Likewise.
47413         * elf/tst-unique1mod2.c: Likewise.
47414         * elf/tst-unique1mod1.c: Likewise.
47415         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
47416         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
47417         Replace ASM_TYPE_DIRECTIVE with .type.
47418         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47419         * sysdeps/i386/sysdep.h: Likewise.
47420         * sysdeps/x86_64/sysdep.h: Likewise.
47421         * sysdeps/sh/sysdep.h: Likewise.
47422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
47423         Do not define ASM_TYPE_DIRECTIVE.
47424         * sysdeps/powerpc/sysdep.h: Likewise.
47425         * sysdeps/powerpc/powerpc32/sysdep.h:
47426         Replace ASM_TYPE_DIRECTIVE with .type.
47427         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
47428         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
47429         * sysdeps/i386/fpu/e_powf.S: Likewise.
47430         * sysdeps/i386/fpu/e_expl.S: Likewise.
47431         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47432         * sysdeps/i386/fpu/e_acosh.S: Likewise.
47433         * sysdeps/i386/fpu/e_pow.S: Likewise.
47434         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47435         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47436         * sysdeps/i386/fpu/s_expm1.S: Likewise.
47437         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47438         * sysdeps/i386/fpu/e_log2.S: Likewise.
47439         * sysdeps/i386/fpu/e_log2l.S: Likewise.
47440         * sysdeps/i386/fpu/e_scalb.S: Likewise.
47441         * sysdeps/i386/fpu/e_powl.S: Likewise.
47442         * sysdeps/i386/fpu/e_log10f.S: Likewise.
47443         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47444         * sysdeps/i386/fpu/e_logl.S: Likewise.
47445         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47446         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47447         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47448         * sysdeps/i386/fpu/e_log2f.S: Likewise.
47449         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47450         * sysdeps/i386/fpu/e_log.S: Likewise.
47451         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47452         * sysdeps/i386/fpu/e_logf.S: Likewise.
47453         * sysdeps/i386/fpu/e_log10l.S: Likewise.
47454         * sysdeps/i386/fpu/e_atanh.S: Likewise.
47455         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47456         * sysdeps/i386/fpu/e_log10.S: Likewise.
47457         * sysdeps/i386/fpu/s_frexp.S: Likewise.
47458         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47459         * sysdeps/i386/fpu/s_asinh.S: Likewise.
47460         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47461         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47462         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
47463         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47464         * sysdeps/i386/i686/strtok.S: Likewise.
47465         * sysdeps/i386/i386-mcount.S: Likewise.
47466         * sysdeps/i386/strtok.S: Likewise.
47467         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
47468         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47469         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47470         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47471         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47472         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47473         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47474         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47475         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47476         * sysdeps/x86_64/_mcount.S: Likewise.
47477         * sysdeps/x86_64/strtok.S: Likewise.
47478         * sysdeps/sh/_mcount.S: Likewise.
47480 2012-08-01  Roland McGrath  <roland@hack.frob.com>
47482         * libio/iofopen.c: Include <fcntl.h>.
47483         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
47484         (_IO_fopen64, fopen64): Define as aliases.
47485         * libio/iofopen64.c: Include <fcntl.h>.
47486         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
47487         Conditionalize body on this.
47488         * sysdeps/wordsize-64/iofopen.c: File removed.
47489         * sysdeps/wordsize-64/iofopen64.c: File removed.
47491 2012-08-01  Marek Polacek  <polacek@redhat.com>
47493         * libc/Makeconfig: Use elf in place of binfmt-subdir.
47494         Use dlfcn directly instead of a variable.
47495         (binfmt-subdir): Do not define.
47496         (dlfcn): Likewise.
47498 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
47500         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
47501         Remove all definitions.
47502         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
47503         <kernel-features.h>.
47504         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47505         (miss_F_GETOWN_EX): Remove all definitions.
47506         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
47507         macro definition.
47508         [!__ASSUME_FCNTL64]: Remove conditional code.
47509         [__ASSUME_FCNTL64]: Make code unconditional.
47510         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
47511         <kernel-features.h>.
47512         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
47513         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
47514         (lockf64) [__NR_fcntl64]: Make code unconditional.
47515         (lockf64) [__ASSUME_FCNTL64]: Likewise.
47517         * sysdeps/unix/sysv/linux/kernel-features.h
47518         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
47519         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
47520         Make code unconditional.
47521         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47522         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
47524         [__NR_vfork]: Make code unconditional.
47525         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47526         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
47528         [__NR_vfork]: Make code unconditional.
47529         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47530         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
47532 2012-08-01  Roland McGrath  <roland@hack.frob.com>
47534         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
47535         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
47537         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47538         Define mkstemp64 as an alias.
47539         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47540         Define mkstemps64 as an alias.
47541         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47542         Define mkostemp64 as an alias.
47543         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
47544         Define mkostemps64 as an alias.
47545         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
47546         Conditionalize body on this.
47547         * misc/mkostemp64.c: Likewise.
47548         * misc/mkostemps64.c: Likewise.
47549         * misc/mkstemps64.c: Likewise.
47550         * sysdeps/wordsize-64/mkstemp64.c: File removed.
47551         * sysdeps/wordsize-64/mkostemp64.c: File removed.
47552         * sysdeps/wordsize-64/mkostemp.c: File removed.
47553         * sysdeps/wordsize-64/mkstemp.c: File removed.
47554         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
47555         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
47556         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
47557         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
47559         [BZ #14138]
47560         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
47561         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
47562         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
47563         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
47565         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
47566         compat_symbol macros from <shlib-compat.h> rather than the underlying
47567         default_symbol_version and symbol_version macros, so that DEFAULT
47568         lines in shlib-versions are respected.
47569         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
47571 2012-08-01  Florian Weimer  <fweimer@redhat.com>
47573         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
47574         Declare with warn_unused_result.
47575         (setgid, setregid, setegid, setresgid): Likewise.
47576         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
47577         Likewise.
47578         * WUR-REPORT: Remove set*id functions.
47580 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
47582         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
47584 2012-07-31  Roland McGrath  <roland@hack.frob.com>
47586         [BZ #10191]
47587         * include/sys/socket.h (__libc_accept, __libc_accept4):
47588         Add attribute_hidden.
47589         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
47591         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
47592         use of PTR_MANGLE.
47593         * inet/getnetgrent_r.c (setup): Likewise.
47595         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
47597 2012-07-31  David S. Miller  <davem@davemloft.net>
47599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47601 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
47603         [BZ #13629]
47604         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
47605         value between 1.0 and 2.0 and smaller part has absolute value less
47606         than 1.0.
47607         * math/s_clog10.c (__clog10): Likewise.
47608         * math/s_clog10f.c (__clog10f): Likewise.
47609         * math/s_clog10l.c (__clog10l): Likewise.
47610         * math/s_clogf.c (__clogf): Likewise.
47611         * math/s_clogl.c (__clogl): Likewise.
47612         * math/libm-test.inc (clog_test): Add more tests.
47613         (clog10_test): Likewise.
47614         * sysdeps/i386/fpu/libm-test-ulps: Update.
47615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47617 2012-07-31  Florian Weimer  <fweimer@redhat.com>
47619         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
47620         Exit with zero in case no suitable GID is found, and write a
47621         message to standard error.
47623 2012-07-30  Roland McGrath  <roland@hack.frob.com>
47625         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
47626         rather than to 1.
47627         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
47628         (MAXPATHLEN): Removed.
47629         (NOGROUP, NODEV): New macros.
47630         (setbit, clrbit, isset, isclr): New macros.
47631         (howmany, roundup, powerof2): New macros.
47632         (DEV_BSIZE): New macro.
47634         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
47635         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
47637         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
47638         definition on [!__NO_LONG_DOUBLE_MATH].
47640         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
47641         PTR_MANGLE and PTR_DEMANGLE.
47643         * socket/accept4.c (accept4): Rename to __libc_accept4.
47644         Define accept4 as a weak alias.
47646         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
47647         on [_DIRENT_HAVE_D_TYPE].
47648         * io/ftw.c (ftw_dir): Likewise.
47650         * io/xmknod.c (__xmknod): Don't check PATH for being null.
47652         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
47654         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
47655         Use the BSD numbers rather than the arbitrary ones we had.
47656         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
47657         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
47658         (SIGXCPU, SIGXFSZ): New macros.
47659         (_NSIG): Now 32.
47661         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
47662         initializer on [_LIBC_REENTRANT].
47664         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
47665         definitions inside [_POSIX_MAPPED_FILES].
47667         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
47669         * dirent/opendir.c: Include <fcntl.h>.
47671         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
47672         (__libc_getspecific): Likewise.
47673         (__libc_key_create): Likewise.
47675         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
47676         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
47677         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
47678         (tmpfile64): Define as alias.
47679         * sysdeps/wordsize-64/tmpfile.c: File removed.
47680         * sysdeps/wordsize-64/tmpfile64.c: File removed.
47681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
47682         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
47684         * stdio-common/vfscanf.c: Include <stdbool.h>.
47685         * nss/makedb.c: Likewise.
47686         * stdio-common/_i18n_number.h: Likewise.
47687         * argp/argp-help.c: Likewise.
47688         * posix/wordexp.c: Likewise.
47689         * sysdeps/posix/spawni.c: Likewise.
47690         * nss/nss_files/files-initgroups.c: Likewise.
47691         * stdio-common/reg-modifier.c: Include <stdlib.h>.
47692         * nss/nss_files/files-initgroups.c: Likewise.
47693         * nss/nss_db/db-netgrp.c: Likewise.
47694         * nss/nss_db/db-initgroups.c: Likewise.
47695         * io/fchmodat.c: Include <sys/stat.h>.
47697         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
47698         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
47700         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
47701         [HAVE_MMAP].
47703         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
47704         Add multiple inclusion protection.
47706 2012-07-27  David S. Miller  <davem@davemloft.net>
47708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47710 2012-07-27  Gary Benson  <gbenson@redhat.com>
47712         [BZ #14298]
47713         * elf/rtld.c: Include <stap-probe.h>.
47714         (dl_main): Added static probes "init_start" and "init_complete".
47715         * elf/dl-load.c: Include <stap-probe.h>.
47716         (lose): Take new parameter "nsid".
47717         Added static probe "map_failed".
47718         (_dl_map_object_from_fd): Pass namespace id to lose.
47719         Added static probe "map_start".
47720         (open_verify): Pass namespace id to lose.
47721         * elf/dl-open.c: Include <stap-probe.h>.
47722         (dl_open_worker) Added static probes "map_complete", "reloc_start"
47723         and "reloc_complete".
47724         * elf/dl-close.c: Include <stap-probe.h>.
47725         (_dl_close_worker): Added static probes "unmap_start" and
47726         "unmap_complete".
47727         * elf/rtld-debugger-interface.txt: New file documenting the above.
47729 2012-07-26  Roland McGrath  <roland@hack.frob.com>
47731         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
47732         rather than a string variable.
47733         * sunrpc/rpc_main.c (h_output): Likewise.
47734         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
47736 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
47738         * inet/check_native.c: New file.
47740 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
47742         [BZ #13629]
47743         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
47744         if larger part has absolute value 1.0.
47745         * math/s_clog10.c (__clog10): Likewise.
47746         * math/s_clog10f.c (__clog10f): Likewise.
47747         * math/s_clog10l.c (__clog10l): Likewise.
47748         * math/s_clogf.c (__clogf): Likewise.
47749         * math/s_clogl.c (__clogl): Likewise.
47750         * math/libm-test.inc (clog_test): Add more tests.
47751         (clog10_test): Likewise.
47752         * sysdeps/i386/fpu/libm-test-ulps: Update.
47753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47755         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
47756         (pltexit): Likewise.
47757         (La_regs): Likewise.
47758         (La_retval): Likewise.
47759         (int_retval): Likewise.
47760         Update #error for removed macros to refer only to definitions in
47761         tst-audit.h.
47762         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
47763         macro.
47764         (pltexit): Likewise.
47765         (La_regs): Likewise.
47766         (La_retval): Likewise.
47767         (int_retval): Likewise.
47768         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
47769         macro.
47770         (pltexit): Likewise.
47771         (La_regs): Likewise.
47772         (La_retval): Likewise.
47773         (int_retval): Likewise.
47774         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
47775         macro.
47776         (pltexit): Likewise.
47777         (La_regs): Likewise.
47778         (La_retval): Likewise.
47779         (int_retval): Likewise.
47780         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
47781         macro.
47782         (pltexit): Likewise.
47783         (La_regs): Likewise.
47784         (La_retval): Likewise.
47785         (int_retval): Likewise.
47786         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
47787         macro.
47788         (pltexit): Likewise.
47789         (La_regs): Likewise.
47790         (La_retval): Likewise.
47791         (int_retval): Likewise.
47792         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
47793         macro.
47794         (pltexit): Likewise.
47795         (La_regs): Likewise.
47796         (La_retval): Likewise.
47797         (int_retval): Likewise.
47798         * sysdeps/generic/tst-audit.h: Update comment to refer only to
47799         macro definitions in tst-audit.h.
47800         * sysdeps/i386/tst-audit.h: New file.
47801         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
47802         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
47803         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
47804         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
47805         * sysdeps/sh/tst-audit.h: Likewise.
47806         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
47807         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
47808         * sysdeps/x86_64/tst-audit.h: Likewise.
47810 2012-07-26  Andreas Jaeger  <aj@suse.de>
47812         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
47813         ptrace.
47815         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
47816         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
47817         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
47818         PTRACE_O_MASK.
47819         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
47820         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
47821         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
47823         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
47824         value.
47826         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
47827         _sigsys.
47828         (si_call_addr, si_syscall, si_arch): Define new macro.
47829         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
47830         _sigsys.
47831         (si_call_addr, si_syscall, si_arch): Define new marcro.
47832         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
47833         _sigsys.
47834         (si_call_addr, si_syscall, si_arch): Define new macro.
47835         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
47836         _sigsys.
47837         (si_call_addr, si_syscall, si_arch): Define new macro.
47839 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47841         [BZ #13717]
47842         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
47843         Change to 2.4.21 where previously 2.4.1.
47844         * sysdeps/unix/sysv/linux/configure: Regenerated.
47845         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
47846         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
47847         Linux kernel version.
47848         (__ASSUME_STD_AUXV): Remove.
47849         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
47850         kernel version.
47851         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
47852         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
47853         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
47854         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
47855         (__ASSUME_NETLINK_SUPPORT): Likewise.
47856         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
47857         (__no_netlink_support): Remove conditional definition.
47858         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
47859         Remove.
47860         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47861         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
47862         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
47863         (if_nameindex_ioctl): Remove.
47864         (if_nameindex_netlink): Do not handle __no_netlink_support.
47865         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47866         code.
47867         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
47868         Remove conditional code.
47869         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
47870         code.
47871         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
47872         unconditional.
47873         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
47874         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
47875         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
47876         Remove.
47877         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
47878         [!__ASSUME_STD_AUXV]: Remove conditional code.
47879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
47880         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
47881         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
47882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
47883         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
47884         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47885         code.
47886         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47888         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
47889         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47890         conditional code.
47891         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
47893         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
47894         code.
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47896         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
47897         conditional code.
47898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
47899         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47900         code unconditional.
47901         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47902         conditional code.
47903         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47904         unconditional.
47905         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47906         conditional code.
47907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47908         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47909         unconditional.
47910         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47911         conditional code.
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
47913         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47914         code unconditional.
47915         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47916         conditional code.
47917         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47918         unconditional.
47919         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47920         conditional code.
47921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
47922         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
47923         code unconditional.
47924         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47925         conditional code.
47926         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
47927         unconditional.
47928         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
47929         conditional code.
47931 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
47933         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
47934         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
47935         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
47936         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
47937         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
47938         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
47939         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
47940         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
47941         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
47942         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
47943         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
47944         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
47945         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
47946         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
47947         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
47948         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
47949         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
47950         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
47951         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
47952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
47953         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
47954         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
47955         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
47957 2012-07-25  Florian Weimer  <fweimer@redhat.com>
47959         * Versions.def: Add GLIBC_2.17.
47960         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
47961         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
47962         Introduce __libc_secure_getenv.
47963         * stdlib/Versions (2.17): Add secure_getenv
47964         (GLIBC_PRIVATE): Add __libc_secure_getenv.
47965         * stdlib/secure-getenv.c: Rename __secure_getenv to
47966         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
47967         symbol __secure_getenv for GLIBC_2.0.
47968         * stdlib/tst-secure-getenv.c: New.
47969         * stdlib/Makefile (tests): Add testcase.
47970         * manual/startup.texi (Environment Access): Document
47971         secure_getenv.
47972         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
47973         __libc_secure_getenv.
47974         * inet/ruserpass.c (ruserpass): Likewise.
47975         * malloc/mtrace.c (mtrace): Likewise.
47976         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47977         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
47978         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
47979         * sysdeps/posix/tempname.c: Likewise.  Evaluate
47980         HAVE_SECURE_GETENV.
47981         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
47982         __secure_getenv to __libc_secure_getenv.
47983         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
47984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47985         Likewise.
47986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47987         Likewise.
47988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
47989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
47990         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
47991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
47992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
47993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
47994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
47996 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
47998         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
47999         (struct La_i86_retval): Likewise.
48000         (struct La_x86_64_regs): Likewise.
48001         (struct La_x86_64_retval): Likewise.
48002         (struct La_x32_regs): Likewise.
48003         (struct La_x32_retval): Likewise.
48004         (struct La_ppc32_regs): Likewise.
48005         (struct La_ppc32_retval): Likewise.
48006         (struct La_ppc64_regs): Likewise.
48007         (struct La_ppc64_retval): Likewise.
48008         (struct La_sh_regs): Likewise.
48009         (struct La_sh_retval): Likewise.
48010         (struct La_s390_32_regs): Likewise.
48011         (struct La_s390_32_retval): Likewise.
48012         (struct La_s390_64_regs): Likewise.
48013         (struct La_s390_64_retval): Likewise.
48014         (struct La_sparc32_regs): Likewise.
48015         (struct La_sparc32_retval): Likewise.
48016         (struct La_sparc64_regs): Likewise.
48017         (struct La_sparc64_retval): Likewise.
48018         (struct audit_ifaces): Remove architecture-specific pltenter and
48019         pltexit members.
48020         * sysdeps/i386/ldsodefs.h: New file.
48021         * sysdeps/powerpc/ldsodefs.h: Likewise.
48022         * sysdeps/s390/ldsodefs.h: Likewise.
48023         * sysdeps/sh/ldsodefs.h: Likewise.
48024         * sysdeps/sparc/ldsodefs.h: Likewise.
48025         * sysdeps/x86_64/ldsodefs.h: Likewise.
48027 2012-07-25  Marek Polacek  <polacek@redhat.com>
48029         [BZ #6808]
48030         * math/libm-test.inc (yn_test): Add another test.
48031         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
48032         to ERANGE when the result is +-Inf.
48033         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
48034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
48035         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
48036         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
48038 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
48040         * conform/data/time.h-data (NULL): Use macro-constant.  Require
48041         equal to 0.
48042         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
48043         clock_t.
48044         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
48046 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
48048         * configure.in <sysdeps resolving>: Correct printing
48049         Implies_before.
48050         * configure: Regenerate.
48052 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
48054         * math/w_ilogb.c: Include <limits.h>.
48055         * math/w_ilogbl.c: Likewise.
48057 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48059         * manual/lang.texi (__va_copy): Document primarily as ISO C99
48060         va_copy.  Document allowing for unavailable va_copy only as
48061         pre-C99 compatibility.
48062         * manual/string.texi (Copying and Concatenation): Use va_copy
48063         instead of __va_copy in concat example.
48065 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
48067         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
48068         (__sendto): Use create_address_port.  Initialize APORT and deallocate
48069         it if not null.
48071         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
48072         with O_NOLINK passed to __file_name_lookup.
48074         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
48075         with O_NOLINK passed to __file_name_lookup.
48077         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
48078         negative N or less than NGIDS.
48080         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
48081         type to string_t.  Set ERANGE as errno and return it if NAME is not big
48082         enough.  Use memcpy instead of strncpy.
48084 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
48086         * elf/Makefile (check-data): Remove.
48087         (localplt.data): New vpath directive.
48088         ($(objpfx)check-localplt.out): Use localplt.data from vpath
48089         instead of $(check-data).
48090         * scripts/data/localplt-generic.data: Move to ...
48091         * sysdeps/generic/localplt.data: ... here.
48092         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
48093         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
48094         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
48095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48096         ... here.
48097         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
48098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48099         ... here.
48100         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
48101         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
48102         ... here.
48103         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
48104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48105         ... here.
48106         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
48107         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
48108         ... here.
48109         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
48110         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
48111         ... here.
48113 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48115         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
48116         PPC32 and PPC64 files.
48117         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
48118         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
48120 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48122         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
48123         __makecontext_ret to ...
48124         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
48125         ... here and call exit if uc_link is NULL.  New file.
48126         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
48127         __makecontext_ret.S.
48128         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
48129         __makecontext_ret to ...
48130         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
48131         ... here and call exit if uc_link is NULL.  New file.
48132         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
48133         __makecontext_ret.S.
48135 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48137         * elf/elf.h (R_390_IRELATIVE): New definition.
48138         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
48139         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
48140         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
48141         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48142         (elf_machine_lazy_rel): Likewise.
48143         * sysdeps/s390/dl-irel.h: New file.
48144         * sysdeps/s390/s390-64/memcpy.S: New asm code.
48145         * sysdeps/s390/s390-64/memset.S: New asm code.
48146         * sysdeps/s390/s390-64/memcmp.S: New asm code.
48147         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
48148         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
48149         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
48150         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
48151         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
48152         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
48153         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
48154         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
48155         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
48156         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
48157         * sysdeps/s390/s390-32/memcpy.S: New asm code.
48158         * sysdeps/s390/s390-32/memset.S: New asm code.
48159         * sysdeps/s390/s390-32/memcmp.S: New asm code.
48161 2012-07-17  Marek Polacek  <polacek@redhat.com>
48163         [BZ #14349]
48164         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
48165         * sysdeps/s390/s390-64/configure.in: Likewise.
48166         * sysdeps/sparc/configure.in: Likewise.
48167         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
48168         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
48169         * sysdeps/i386/configure.in: Likewise.
48170         * sysdeps/x86_64/configure.in: Likewise.
48171         * sysdeps/sh/configure.in: Likewise.
48172         * sysdeps/s390/s390-32/configure: Regenerated.
48173         * sysdeps/s390/s390-64/configure: Likewise.
48174         * sysdeps/x86_64/configure: Likewise.
48175         * sysdeps/sh/configure: Likewise.
48176         * sysdeps/powerpc/powerpc64/configure: Likewise.
48177         * sysdeps/powerpc/powerpc32/configure: Likewise.
48178         * sysdeps/sparc/configure: Likwise.
48179         * sysdeps/i386/configure: Likewise.
48181         * elf/dl-open.c: Comment fixes.
48183 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
48185         * Makefile [CXX] (check-data): Remove.
48186         [CXX] (c++-types.data): New vpath directive.
48187         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
48188         vpath.  Do not allow for C++ type data being missing.
48189         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
48190         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
48191         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
48192         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
48193         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
48194         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
48195         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
48196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48197         ... here.
48198         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
48199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48200         ... here.
48201         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
48202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
48203         ... here.
48204         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
48205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
48206         ... here.
48207         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
48208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
48209         ... here.
48210         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
48211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
48212         ... here.
48213         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
48214         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
48215         ... here.
48216         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
48217         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
48219         * elf/tls-macros.h (TLS_LE): Move architecture-specific
48220         definitions to architecture-specific files.
48221         (TLS_IE): Likewise.
48222         (TLS_LD): Likewise.
48223         (TLS_GD): Likewise.
48224         * sysdeps/i386/tls-macros.h: New file.
48225         * sysdeps/powerpc/tls-macros.h: Likewise.
48226         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
48227         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
48228         * sysdeps/sh/tls-macros.h: Likewise.
48229         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
48230         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
48231         * sysdeps/x86_64/tls-macros.h: Likewise.
48233 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48235         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
48236         zero value for regular exit case.
48238         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
48239         (__start_context): Preserve zero value for regular exit case.
48241 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
48242             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48244         * manual/setjmp.texi (setcontext): Clarify normal process
48245         termination when uc_link is the null pointer.
48246         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
48247         exit call.
48249 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
48251         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
48252         preprocessor.  Test for each exception mask separately.
48254 2012-07-16  Andreas Jaeger  <aj@suse.de>
48256         * po/ru.po: Update from translation team.
48258 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
48260         * conform/data/string.h-data (NULL): Use macro-constant.  Require
48261         equal to 0.
48262         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
48263         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
48264         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
48265         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
48266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48268 2012-07-13  Andreas Jaeger  <aj@suse.de>
48270         * po/fr.po: Update from translation team.
48272 2012-07-12  Marek Polacek  <polacek@redhat.com>
48274         [BZ #14173]
48275         * math/libm-test.inc (yn_test): Add test for BZ #14173.
48276         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
48277         loop condition.
48279 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
48281         [BZ #13717]
48282         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48283         Change to 2.4.1 where previously 2.4.0.
48284         * sysdeps/unix/sysv/linux/configure: Regenerated.
48285         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
48286         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
48287         version.
48288         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
48289         (__ASSUME_AT_CLKTCK): Remove.
48290         (__ASSUME_AT_PAGESIZE): Likewise.
48291         (__ASSUME_AT_XID): Likewise.
48292         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
48293         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
48294         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
48295         unconditionally.
48296         (HAVE_AUX_PAGESIZE): Likewise.
48297         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
48298         [__ASSUME_AT_CLKTCK]: Make code unconditional.
48299         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
48301 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
48303         [BZ #14307]
48304         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
48305         the temporary buffer used to invoke __gethostbyname2_r,
48306         __gethostbyaddr_r and gethostbyname4_r to make room for struct
48307         host_data / struct gaih_addrtuple.
48308         * resolv/nss_dns/dns-host.c (global scope): Move definition of
48309         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
48310         header file nss/nsswitch.h.
48311         * nss/nsswitch.h (global scope): Add definition of implementation
48312         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
48313         resolv/nss_dns/dns-host.c).
48315 2012-07-11  Andreas Jaeger  <aj@suse.de>
48317         * po/fr.po: Update from translation team.
48319         * po/sv.po: Update from translation team
48320         * po/fr.po: Another update from translation team.
48322 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48324         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
48325         for subnormals or multiply small sinh result by itself.
48326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
48327         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48329 2012-07-11  David S. Miller  <davem@davemloft.net>
48331         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48333 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
48335         [BZ #14347]
48336         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
48337         (INTERNAL_MARK): Shift it here.
48339 2012-07-10  Marek Polacek  <polacek@redhat.com>
48341         [BZ #14151]
48342         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
48343         libc_cv_asm_global_directive with .globl.
48344         * configure: Regenerated.
48345         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
48346         with .globl.
48347         * sysdeps/i386/configure: Regenerated.
48348         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
48349         with .globl.
48350         * sysdeps/x86_64/configure: Regenerated.
48351         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
48352         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
48353         * elf/tst-unique2mod2.c: Likewise.
48354         * elf/tst-unique2mod1.c: Likewise.
48355         * elf/tst-unique1mod2.c: Likewise.
48356         * elf/tst-unique1mod1.c: Likewise.
48357         * sysdeps/s390/s390-32/sysdep.h: Likewise.
48358         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
48359         * sysdeps/s390/s390-64/sysdep.h: Likewise.
48360         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48361         * sysdeps/mach/sysdep.h: Likewise.
48362         * sysdeps/i386/sysdep.h: Likewise.
48363         * sysdeps/i386/i386-mcount.S: Likewise.
48364         * sysdeps/x86_64/_mcount.S: Likewise.
48365         * sysdeps/x86_64/sysdep.h: Likewise.
48366         * sysdeps/sh/_mcount.S: Likewise.
48367         * sysdeps/sh/sysdep.h: Likewise.
48368         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
48369         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
48370         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
48371         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48372         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
48373         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
48374         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
48375         * locale/localeinfo.h: Likewise.
48376         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
48377         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
48379 2012-07-09  Roland McGrath  <roland@hack.frob.com>
48381         [BZ #14336]
48382         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
48383         system".
48384         * manual/message.texi (The Uniforum approach): Likewise.
48385         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
48386         (glibc iconv Implementation): Likewise.
48388 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
48390         [BZ #14337]
48391         * math/s_clog.c (__clog): Avoid scaling a value down where that
48392         could result in underflow.
48393         * math/s_clog10.c (__clog10): Likewise.
48394         * math/s_clog10f.c (__clog10f): Likewise.
48395         * math/s_clog10l.c (__clog10l): Likewise.
48396         * math/s_clogf.c (__clogf): Likewise.
48397         * math/s_clogl.c (__clogl): Likewise.
48398         * math/libm-test.inc (clog_test): Add more tests.
48399         (clog10_test): Likewise.
48400         * sysdeps/i386/fpu/libm-test-ulps: Update.
48401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48403 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
48405         [BZ #14283]
48406         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
48407         by 7 not 8 to examine high bit of fractional part.
48409         [BZ #14042]
48410         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
48411         for call to __mcount_internal.
48412         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
48413         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
48414         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
48416 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
48418         [BZ #14154]
48419         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
48420         approximation for values within 0x1p-13f of an odd multiple of
48421         pi/4.
48422         * math/libm-test.inc (tan_test): Do not allow spurious underflow
48423         exception.  Add more tests.
48424         * sysdeps/i386/fpu/libm-test-ulps: Update.
48426         [BZ #6778]
48427         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
48428         inputs and return -1 for them.  Do not check for +Inf in case not
48429         reachable for +Inf.
48430         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48431         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
48432         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48433         and return -1 for them.  Do not check for +Inf in case not
48434         reachable for +Inf.
48435         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
48436         define.
48437         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
48438         and return -1 for them.  Do not check for +Inf in case not
48439         reachable for +Inf.
48440         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
48441         spurious underflow.
48442         * sysdeps/i386/fpu/libm-test-ulps: Update.
48443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48445 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
48447         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
48449 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
48451         [BZ #14157]
48452         [BZ #14331]
48453         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
48454         could result in spurious underflow.  Scale down values above
48455         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
48456         * math/s_csqrtf.c (__csqrtf): Likewise.
48457         * math/s_csqrtl.c (__csqrtl): Likewise.
48458         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
48459         spurious underflow.
48460         * sysdeps/i386/fpu/libm-test-ulps: Update.
48461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48463 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
48465         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
48466         xopen-msg.sed.
48467         * catgets/xopen-msg.awk: New file.
48468         * catgets/xopen-msg.sed: Removed.
48470         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
48471         po2text.sed.
48472         * intl/po2test.awk: New file.
48473         * intl/po2test.sed: Removed.
48475 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
48477         [BZ #14328]
48478         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
48479         or multiply small sinh result by itself.
48480         * math/s_ctanf.c (__ctanf): Likewise.
48481         * math/s_ctanh.c (__ctanh): Likewise.
48482         * math/s_ctanhf.c (__ctanhf): Likewise.
48483         * math/s_ctanhl.c (__ctanhl): Likewise.
48484         * math/s_ctanl.c (__ctanl): Likewise.
48485         * math/libm-test.inc (ctan_test_tonearest): New function.
48486         (ctan_test_towardzero): Likewise.
48487         (ctan_test_downward): Likewise.
48488         (ctan_test_upward): Likewise.
48489         (ctanh_test_tonearest): Likewise.
48490         (ctanh_test_towardzero): Likewise.
48491         (ctanh_test_downward): Likewise.
48492         (ctanh_test_upward): Likewise.
48493         (main): Call these new functions.
48494         * sysdeps/i386/fpu/libm-test-ulps: Update.
48495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48497 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
48499         * .gitignore: Delete /ports entry.
48501 2012-07-03  Andreas Jaeger  <aj@suse.de>
48503         * po/bg.po: Update from translation team.
48504         * po/cs.po: Likewise.
48505         * po/de.po: Likewise.
48506         * po/hr.po: Likewise.
48507         * po/nl.pl: Likewise.
48508         * po/pl.po: Likewise.
48509         * po/vi.po: Likewise.
48511 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
48513         * Makeconfig [!+link] (+link-before-libc): New variable.
48514         [!+link] (+link-after-libc): Likewise.
48515         [!+link] (+link-tests): Likewise.
48516         [!+link] (+link): Define in terms of $(+link-before-libc) and
48517         $(+link-after-libc).
48518         [!+link-static] (+link-static-before-libc): New variable.
48519         [!+link-static] (+link-static-after-libc): Likewise.
48520         [!+link-static] (+link-static-tests): Likewise.
48521         [!+link-static] (+link-static): Define in terms of
48522         $(+link-static-before-libc) and $(+link-static-after-libc).
48523         [build-shared] (link-libc-before-gnulib): New variable.
48524         [build-shared] (link-libc-tests): Likewise.
48525         [build-shared] (link-libc): Define in terms of
48526         $(link-libc-before-gnulib).
48527         [!build-shared] (link-libc-tests): New variable.
48528         (link-libc-static-tests): New variable.
48529         [!gnulib] (gnulib-arch): New variable.
48530         [!gnulib] (gnulib-tests): Likewise.
48531         [!gnulib] (static-gnulib-arch): Likewise.
48532         [!gnulib] (static-gnulib-tests): Likewise.
48533         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
48534         Define with "=" instead of ":=".
48535         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
48536         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
48537         * Rules (binaries-all-notests): New variable.
48538         (binaries-all-tests): Likewise.
48539         (binaries-static-notests): Likewise.
48540         (binaries-static-tests): Likewise.
48541         (binaries-all): Define using $(binaries-all-notests) and
48542         $(binaries-all-tests).
48543         (binaries-static): Define using $(binaries-static-notests) and
48544         $(binaries-static-tests).
48545         (binaries-shared-tests): New variable.
48546         (binaries-shared-notests): Likewise.
48547         (binaries-shared): Remove variable.
48548         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
48549         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
48550         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
48551         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
48552         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
48553         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
48554         * elf/Makefile (sln-modules): New variable.
48555         (extra-objs): Add $(sln-modules:=.o).
48556         (ldconfig-modules): Add static-stubs.
48557         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
48558         * elf/static-stubs.c: New file.
48560         [BZ #14283]
48561         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
48562         by 7 not 8 to examine high bit of fractional part.  Use volatile
48563         variables when splitting into final array of floats if
48564         __FLT_EVAL_METHOD__ != 0.
48565         * math/libm-test.inc (cos_test): Add another test.
48566         (sin_test): Likewise.
48567         * sysdeps/i386/fpu/libm-test-ulps: Update.
48569         [BZ #14273]
48570         * math/libm-test.inc (cosh_test): Add more tests.
48572         * version.h (RELEASE): Set to "development".
48573         (VERSION): Set to "2.16.90".
48575 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
48577         * NEWS: Update copyright. Remove last-updated date.
48578         Mention math library bug fixes and timezone data changes.
48579         * README: Mention GNU/Hurd, x32, and HPPA support status.
48581 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
48583         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
48585 2012-06-27  Andreas Jaeger  <aj@suse.de>
48587         * manual/contrib.texi (Contributors): Add Samuel Thibault.
48589 2012-06-25  Andreas Jaeger  <aj@suse.de>
48591         * sysdeps/s390/fpu/libm-test-ulps: Update.
48593 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
48594             Thomas Schwinge  <thomas@codesourcery.com>
48596         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
48597         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
48598         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
48599         fanotify_mark.
48601 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
48603         * sysdeps/mach/start.c: Remove file.
48604         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
48605         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
48606         * sysdeps/sh/init-first.c: Likewise.
48608         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
48609         registers for frame unwinding purposes, add CFI directives.
48610         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48611         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
48612         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
48613         Likewise.
48615         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
48616         __fortify_fail returning.
48617         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
48619         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
48620         sysdeps/sh/____longjmp_chk.S.
48621         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
48622         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
48623         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
48624         (gen-as-const-headers): Append sigaltstack-offsets.sym.
48626         * sysdeps/sh/abort-instr.h: New file.
48627         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
48628         process in case exit returns.
48630         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
48631         initialize the GOT register before use.
48633         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
48634         calculation of ARGC > 4.
48636         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
48637         meaningful names to some local labels.
48639 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
48640             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48642         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
48643         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
48644         (__arch_compare_and_exchange_val_16_acq): Likewise.
48645         (__arch_compare_and_exchange_val_32_acq): Likewise.
48646         (atomic_exchange_and_add): Fix gUSA sequence.
48647         (atomic_add): Likewise.
48648         (atomic_add_negative): Likewise.
48649         (atomic_add_zero): Likewise.
48650         (atomic_bit_test_set): Likewise.
48652 2012-06-22  Andreas Schwab  <schwab@redhat.com>
48654         [BZ #13579]
48655         * include/link.h (struct link_map): Add l_free_initfini.
48656         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
48657         l_initfini.
48658         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
48659         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
48660         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
48661         set.
48663 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
48665         * configure.in: Use AC_LANG_SOURCE.
48666         * configure: Regenerate.
48668 2012-06-22  Roland McGrath  <roland@hack.frob.com>
48670         * configure.in (libc_cv_localstatedir): New substituted variable.
48671         * configure: Regenerated.
48672         * config.make.in (localstatedir): New variable, substituted from
48673         libc_cv_localstatedir.
48674         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
48675         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
48676         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
48677         * sysdeps/gnu/configure: Regenerated.
48679 2012-06-21  Jeff Law  <law@redhat.com>
48681         [BZ #14277]
48682         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
48683         free.  Simplify list management for _LIBC case.
48685 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
48687         [BZ #14273]
48688         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
48689         Clear sign bit of 64-bit integer value before comparing against
48690         overflow value.
48692         * sysdeps/mach/configure: Regenerated.
48694 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
48696         [BZ #14278]
48697         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
48699 2012-06-21  Jeff Law  <law@redhat.com>
48701         [BZ #13882]
48702         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
48703         uint16_t for elements in the "seen" array to avoid char overflows.
48704         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48705         * elf/dl-open.c (dl_open_worker): Likewise.
48707 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
48709         * scripts/list-sources.sh: Scan PORTS for translations.
48710         * po/libc.pot: Regenerated.
48712 2012-06-21  Andreas Jaeger  <aj@suse.de>
48714         [BZ #12194]
48715         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
48716         warning.
48717         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
48718         * bits/byteswap-16.h (__bswap_16): Likewise.
48719         * bits/byteswap.h (__bswap_constant_16): Likewise.
48721 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
48723         [BZ #14117]
48724         * sysdeps/i386/fpu_control.h: Removed.
48725         * sysdeps/x86_64/fpu_control.h: Moved to ...
48726         * sysdeps/x86/fpu_control.h: Here.
48728         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
48729         (_FPU_SETCW): Likewise.
48731 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
48733         [BZ #14117]
48734         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
48735         * sysdeps/x86/fpu/bits/mathinline.h: This.
48736         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
48738         [BZ #14050]
48739         [BZ #14117]
48740         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
48741         functions if __x86_64__ is defined.
48743 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
48745         * string/endian.h: Add !__ASSEMBLER__ condition for including
48746         conversion interfaces.
48748 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
48750         [BZ #14241]
48751         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
48752         of ABS(x) in calculating zero to negative powers other than odd
48753         integers.
48754         * math/libm-test.inc (pow_test): Add more tests.
48756 2012-06-15  Andreas Jaeger  <aj@suse.de>
48758         * manual/contrib.texi (Contributors): Update entry of Liubov
48759         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
48760         Machado Filho.
48762 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
48764         * string/string.h: Add __wur to GNU version of strerror_r.
48766 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
48768         [BZ #14229]
48769         * string/Makefile (tests): Add tst-strtok_r.
48770         * string/tst-strtok_r.c: New file.
48771         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
48772         RAX_LP/RDX_LP on SAVE_PTR.
48774 2012-06-14  Roland McGrath  <roland@hack.frob.com>
48776         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
48778 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
48780         * libm_test.inc (csqrt_test): Allow more spurious underflow
48781         exceptions.
48782         (j0_test): Likewise.
48783         (j1_test): Likewise.
48784         (y0_test): Likewise.
48785         (y1_test): Likewise.
48787 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
48789         * po/Makefile (libc.pot): Use UTF-8 charset.
48791 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
48793         [BZ #14210]
48794         Suppress sign-conversion warning from FD_SET.
48795         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
48796         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
48797         not unsigned long int.
48798         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
48800 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
48802         [BZ #14050]
48803         [BZ #14117]
48804         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
48805         __extern_always_inline instead of __extern_inline.
48806         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
48807         (__signbit): Likewise.
48808         (__signbitl): Support C++ namespace.
48809         (lrintf): New inline function.
48810         (lrint): Likewise.
48811         (llrintf): Likewise.
48812         (llrint): Likewise.
48813         (fmaxf): Likewise.
48814         (fmax): Likewise.
48815         (fminf): Likewise.
48816         (fmin): Likewise.
48817         (rint): Likewise.
48818         (rintf): Likewise.
48819         (ceil): Likewise.
48820         (ceilf): Likewise.
48821         (floor): Likewise.
48822         (floorf): Likewise.
48823         (nearbyint): Likewise.
48824         (nearbyintf): Likewise.
48826 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
48828         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
48829         non-default versions.
48831 2012-06-11  Roland McGrath  <roland@hack.frob.com>
48833         [BZ #14218]
48834         * manual/argp.texi (Argp): Reword argp_parse description slightly.
48836 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
48838         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
48839         (FE_UPWARD, FE_DOWNWARD): Don't define.
48840         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
48841         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
48843         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
48844         reading it.
48845         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
48846         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48848 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48850         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48851         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
48852         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
48853         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
48855 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
48857         [BZ #14117]
48858         * sysdeps/i386/fpu/bits/fenv.h: Removed.
48859         * sysdeps/i386/fpu/Implies: New file.
48860         * sysdeps/x86_64/fpu/Implies: Likewise.
48861         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
48862         * sysdeps/x86/fpu/bits/fenv.h: This.
48864         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
48865         __SSE_MATH__.
48867 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
48869         [BZ #14134]
48870         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
48871         character 0xffff that matches the last element of the
48872         conversion table.
48874 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48876         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
48877         fmodl commit.
48879 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
48882         values higher than 25.6283.
48884 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48886         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
48887         subnormal exponent extraction and add some __builtin_expect.
48888         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
48889         Fix for subnormal mantissa calculation.
48891 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
48893         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
48894         cpu2 is -1 and errno is not ENOSYS.
48896 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
48898         [BZ #14117]
48899         * sysdeps/i386/i486/bits/string.h: Renamed to ...
48900         * sysdeps/x86/bits/string.h: This.
48901         * sysdeps/x86_64/bits/string.h: Removed.
48903         * sysdeps/i386/i486/bits/string.h: Define inline functions only
48904         if not compiling for x86-64, but compiling for >= i486.
48906         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
48907         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
48909         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
48910         New macro from Linux kernel 3.4.0.
48911         (FP_XSTATE_MAGIC2): Likewise.
48912         (FP_XSTATE_MAGIC2_SIZE): Likewise.
48913         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
48914         (struct _fpx_sw_bytes): New struct.
48915         (struct _xsave_hdr): Likewise.
48916         (struct _ymmh_state): Likewise.
48917         (struct _xstate): Likewise.
48919         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
48920         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
48921         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
48922         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
48923         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
48924         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
48926         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
48927         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
48928         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
48929         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
48930         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
48931         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
48933 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
48935         [BZ #13743]
48936         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
48937         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
48938         (sysdep_headers): Include sys/platform/ppc.h.
48939         * sysdeps/powerpc/test-gettimebase.c: Test for
48940         __ppc_get_timebase() to catch future ISA opcode/insn changes.
48941         * manual/Makefile (appendices): Include platform.texi.
48942         * manual/contrib.texi (Contributors): Update @node pointers.
48943         * manual/maint.texi (Maintenance): Likewise.
48944         (Platform): New node.
48945         * manual/platform.texi: New file.  Document the new features.
48947 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48948             Jakub Jelinek  <jakub@redhat.com>
48950         [BZ #14188]
48951         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
48952         where __builtin_expect is unavailable.
48954 2012-06-03  David S. Miller  <davem@davemloft.net>
48956         * stdlib/longlong.h: Updated from GCC.
48958 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
48960         [BZ #14042]
48961         * sysdeps/powerpc/powerpc32/mcount.c: New file.
48962         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
48963         __mcount_internal.
48964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
48965         (GLIBC_2.16): Likewise.
48967 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48969         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
48971 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
48973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
48974         (default-abi): New variable.
48975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
48976         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
48977         variable.
48978         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
48979         Likewise.
48980         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
48981         Likewise.
48982         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
48983         Likewise.
48985         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
48986         definition.  Document in comment.
48988 2012-06-01  David S. Miller  <davem@davemloft.net>
48990         * stdlib/longlong.h: Updated from GCC.
48992 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
48994         [BZ #14117]
48995         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
48996         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
48997         sys/debugreg.h sys/io.h here.
48998         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
48999         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
49000         sys/io.h.
49001         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
49002         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
49003         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
49004         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
49005         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
49006         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
49008         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
49009         Define only if __x86_64__ is defined.
49011 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
49013         [BZ #14048]
49014         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
49015         Use int64_t for variable i.
49016         * math/libm-test.inc (fmod_test): Add more tests.
49018         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
49019         z computation is not scheduled after fetestexcept.
49020         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
49021         Use math_force_eval instead of asm to ensure calculation scheduled
49022         before exception test.
49023         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
49024         Ensure a1 + u.d computation is not scheduled after fetestexcept.
49026 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
49028         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
49029         computation is not scheduled after fetestexcept.
49031 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
49033         [BZ #14117]
49034         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
49035         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
49037 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49039         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
49040         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49042 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49044         [BZ #14117]
49045         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
49046         <bits/wordsize.h>.
49047         (__WCHAR_MIN): Support __WORDSIZE == 64.
49048         (__WCHAR_MAX): Likewise.
49050         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
49051         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
49053         [BZ #14183]
49054         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
49055         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
49057         [BZ #14117]
49058         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
49059         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
49061         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
49062         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
49064         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
49065         Defined to 1 if __x86_64__ isn't defined.
49066         (_STAT_VER_LINUX_OLD): New.
49067         (st_atime): Remove duplicate.
49068         (st_mtime): Likewise.
49069         (st_ctime): Likewise.
49071 2012-05-31  David S. Miller  <davem@davemloft.net>
49073         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
49074         entries.
49076 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
49078         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
49079         gen-libm-test.pl.
49081         [BZ #14132]
49082         * elf/dl-reloc.c: Include <_itoa.h>.
49083         (_dl_reloc_bad_type): Remove use of INTUSE.
49084         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
49085         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
49086         * stdio-common/psiginfo.c (psiginfo): Likewise.
49087         * stdio-common/psignal.c (psignal): Likewise.
49088         * string/strsignal.c (strsignal): Likewise.
49089         * include/signal.h (_sys_siglist): Declare hidden proto.
49090         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
49091         INTVARDEF with libc_hidden_data_def.
49092         * stdio-common/itoa-udigits.c: Likewise.
49093         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
49094         (_itoa_lower_digits_internal): Remove declaration.
49095         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
49096         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
49097         (_sys_sigabbrev_internal): Remove aliases.
49098         (_sys_siglist): Define hidden alias.
49100 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
49102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49103         bits/sysctl.h.
49105 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
49107         [BZ #14117]
49108         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
49109         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
49111         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
49112         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
49113         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
49114         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
49115         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
49116         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
49118         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
49119         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
49120         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
49122         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
49123         with __addr.
49124         (insw): Likewise.
49125         (insl): Likewise.
49126         (outsb): Likewise.
49127         (outsw): Likewise.
49128         (outsl): Likewise.
49130         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
49131         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
49132         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
49134         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
49135         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
49136         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
49137         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
49138         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
49139         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
49141         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
49142         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
49144         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
49145         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
49147         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
49148         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
49149         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
49151         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
49152         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
49153         to ...
49154         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
49156         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
49157         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
49158         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
49160         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
49161         for x86-64.
49162         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
49164 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
49166         * math/math.h (M_El): Use two more decimal places.
49167         (M_LOG2El): Likewise.
49168         (M_LOG10El): Likewise.
49169         (M_LN2l): Likewise.
49170         (M_LN10l): Likewise.
49171         (M_PIl): Likewise.
49172         (M_PI_2l): Likewise.
49173         (M_PI_4l): Likewise.
49174         (M_1_PIl): Likewise.
49175         (M_2_PIl): Likewise.
49176         (M_2_SQRTPIl): Likewise.
49177         (M_SQRT2l): Likewise.
49178         (M_SQRT1_2l): Likewise.
49180 2012-05-31  David S. Miller  <davem@davemloft.net>
49182         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
49183         values between float registers.
49184         * sysdeps/sparc/sparc64/memset.S: Likewise.
49185         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49187 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
49189         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
49190         -D_FORTIFY_SOURCE=1.
49191         (CPPFLAGS-tst-longjmp_chk.c): Define.
49192         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
49193         (CPPFLAGS-tst-longjmp_chk2.c): Define.
49194         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
49195         CFLAGS-tst-wchar-h.c.
49197 2012-05-31  Marek Polacek  <polacek@redhat.com>
49199         [BZ #14132]
49200         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
49201         __endmntent_internal): Remove declaration.
49202         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
49203         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
49204         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
49206 2012-05-30  David S. Miller  <davem@davemloft.net>
49208         * sysdeps/sparc/sparc32/soft-fp/q_util.c
49209         (___Q_simulate_exceptions): Use real FP ops rather than writing
49210         into the %fsr.
49211         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
49212         Likewise.
49214 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49216         [BZ #14117]
49217         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
49218         * sysdeps/x86/bits/xtitypes.h: This.
49220         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
49221         * sysdeps/x86/bits/wordsize.h: This.
49223         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
49224         * sysdeps/x86/bits/huge_vall.h: This.
49226         * sysdeps/i386/bits/select.h: Removed.
49227         * sysdeps/x86_64/bits/select.h: Renamed to ...
49228         * sysdeps/x86/bits/select.h: This.
49230         * sysdeps/i386/bits/setjmp.h: Removed.
49231         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
49232         * sysdeps/x86/bits/setjmp.h: This.
49234         * sysdeps/i386/bits/mathdef.h: Removed.
49235         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
49236         * sysdeps/x86/bits/mathdef.h: This.
49238 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
49240         [BZ #14132]
49241         * include/sys/socket.h (__connect_internal)
49242         (__libc_sa_len_internal): Remove declaration.
49243         (__connect, __libc_sa_len): Declare hidden_proto.
49244         (SA_LEN): Remove use of INTUSE.
49245         * socket/connect.c: Add libc_hidden_def.
49246         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
49247         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
49248         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
49249         alias.
49250         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
49251         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
49252         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
49253         of adding _internal alias.
49255 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49257         [BZ #14117]
49258         * sysdeps/i386/bits/link.h: Removed.
49259         * sysdeps/i386/bits/linkmap.h: Likewise.
49260         * sysdeps/x86_64/bits/link.h: Renamed to ...
49261         * sysdeps/x86/bits/link.h: This.
49262         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
49263         * sysdeps/x86/bits/linkmap.h: This.
49265         * sysdeps/i386/bits/endian.h: Removed.
49266         * sysdeps/x86_64/bits/endian.h: Renamed to ...
49267         * sysdeps/x86/bits/endian.h: This.
49269         * sysdeps/i386/bits/byteswap.h: Removed.
49270         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49271         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
49272         * sysdeps/x86/bits/byteswap.h: This.
49273         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
49274         * sysdeps/x86/bits/byteswap-16.h: This.
49275         * sysdeps/i386/Implies: Add x86.
49276         * sysdeps/x86_64/Implies: Likewise.
49278 2012-05-30  David S. Miller  <davem@davemloft.net>
49280         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
49281         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
49282         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
49283         (FP_TRAPPING_EXCEPTIONS): Define.
49284         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
49285         (FP_TRAPPING_EXCEPTIONS): Define.
49286         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
49287         subnormals only when inexact has been signalled or underflow
49288         exceptions are enabled.
49289         (_FP_PACK_CANONICAL): Likewise.
49291 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49293         [BZ #14183]
49294         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
49295         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
49297 2012-05-30  Richard Henderson  <rth@twiddle.net>
49299         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
49300         with #ifndef NOT_IN_libc.
49302         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
49303         marked to avoid plt entry.
49305 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
49307         [BZ #14112]
49308         * Makeconfig (default-abi): New macro.
49309         (abi-includes): Likewise.
49310         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
49311         $(abi-$(default-abi)-lib-soname) for soname if defined.
49312         ($(common-objpfx)gnu/lib-names.stmp): Generate from
49313         abi-variants.
49314         * Makefile (installed-stubs): Likewise.
49315         * include/stubs-biarch.h: Removed.
49316         * scripts/lib-names.awk: Only handle one library at a time.
49317         * scripts/soversions.awk: Remove WORDSIZE support.
49318         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
49319         entries.
49320         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
49321         Removed.
49322         (syscall-list-default-condition): Likewise.
49323         (syscall-list-default-condition): Likewise.
49324         (syscall-list-includes): Likewise.
49325         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
49326         syscall-list-* with abi-*.  Handle undefined abi-variants.
49327         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
49328         * sysdeps/unix/sysv/linux/i386/Implies: New file.
49329         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
49330         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
49331         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
49332         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
49333         Removed.
49334         (syscall-list-32-options): Likewise.
49335         (syscall-list-32-condition): Likewise.
49336         (syscall-list-64-options): Likewise.
49337         (syscall-list-64-condition): Likewise.
49338         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
49339         macro.
49340         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
49341         Renamed to ...
49342         (abi-*): This.
49343         (abi-64-ld-soname): New macro.
49344         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
49345         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
49346         Renamed to ...
49347         (abi-*): This.
49348         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
49349         * sysdeps/x86_64/x32/shlib-versions: Likewise.
49351 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
49353         * sysdeps/unix/sysv/linux/kernel-features.h
49354         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
49355         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
49356         include <kernel-features.h>.
49357         [!__NR_ftruncate64]: Remove conditional code.
49358         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49359         [__NR_ftruncate64]: Make code unconditional.
49360         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49361         * sysdeps/unix/sysv/linux/truncate64.c: Do not
49362         include <kernel-features.h>.
49363         [!__NR_ftruncate64]: Remove conditional code.
49364         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49365         [__NR_ftruncate64]: Make code unconditional.
49366         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
49368         include <kernel-features.h>.
49369         [!__NR_ftruncate64]: Remove conditional code.
49370         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49371         [__NR_ftruncate64]: Make code unconditional.
49372         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
49374         include <kernel-features.h>.
49375         [!__NR_ftruncate64]: Remove conditional code.
49376         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49377         [__NR_ftruncate64]: Make code unconditional.
49378         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
49380         * configure.in (libc_cv_fpie): Weaken to a compile test using
49381         LIBC_TRY_CC_OPTION.
49382         * configure: Regenerated.
49384 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
49387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
49388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
49389         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
49390         Refreshed.
49391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
49392         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
49393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
49394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
49395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
49396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
49397         Refreshed.
49399 2012-05-27  David S. Miller  <davem@davemloft.net>
49401         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
49402         (___Q_zero): New.
49403         (__Q_simulate_exceptions): Return void.  Change to simulate
49404         exceptions by writing into the %fsr.
49405         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
49406         (__Qp_handle_exceptions): Likewise.
49407         (numbers): Delete.
49408         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
49409         __Qp_handle_exceptions.
49410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
49411         __Qp_handle_exceptions.
49412         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49413         as unused and give dummy FP_RND_NEAREST initializer.
49414         (FP_INHIBIT_RESULTS): Define.
49415         (___Q_simulate_exceptions): Update declaration.
49416         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
49417         formatting.
49418         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
49419         as unused and give dummy FP_RND_NEAREST initializer.
49420         (__Qp_handle_exceptions): Update declaration.
49421         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
49422         formatting.
49424 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
49426         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
49427         the temporary FPU control word.
49428         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
49429         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
49430         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
49431         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
49432         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
49433         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
49434         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
49435         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
49436         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
49437         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
49438         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
49440 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49442         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
49443         fields.
49445 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
49447         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
49448         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
49449         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
49450         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
49451         Likewise.
49452         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
49453         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
49454         Likewise.
49456 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
49458         * po/h.po: Update from translation team.
49460 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
49462         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
49464         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
49465         handling of denormals.
49466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
49467         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
49468         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
49469         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
49470         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
49472         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
49473         Likewise.
49475 2012-05-26  Marek Polacek  <polacek@redhat.com>
49477         [BZ #14152]
49478         * math/libm-test.inc (fma_test): Don't always expect underflow
49479         exception.
49481 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49483         [BZ #12416]
49484         * elf/tst-execstack.c: Include stackinfo.h.
49485         (do_test): Adjust test case to ensure that pthread_getattr_np
49486         behaviour remains the same after marking stack executable.
49488 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
49490         * sysdeps/unix/sysv/linux/kernel-features.h
49491         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
49492         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
49493         kernel-features.h.
49494         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49495         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49496         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
49497         kernel-features.h.
49498         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
49499         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
49501 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
49503         * configure.in: Define the default includes to being none.
49504         * configure: Regenerated.
49506 2012-05-25  Roland McGrath  <roland@hack.frob.com>
49508         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
49509         * sysdeps/x86_64/setjmp.S: Likewise.
49510         * sysdeps/i386/bsd-setjmp.S: Likewise.
49511         * sysdeps/i386/bsd-_setjmp.S: Likewise.
49512         * sysdeps/i386/setjmp.S: Likewise.
49513         * sysdeps/i386/__longjmp.S: Likewise.
49514         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
49515         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
49517         * include/stap-probe.h: New file.
49518         * configure.in: Handle --enable-systemtap.
49519         * configure: Regenerated.
49520         * config.h.in (USE_STAP_PROBE): New #undef.
49521         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
49522         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
49523         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
49525 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #13717]
49528         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
49529         to 2.4.0 where earlier.
49530         * sysdeps/unix/sysv/linux/configure: Regenerated.
49531         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
49532         <kernel-features.h>.
49533         [__ASSUME_32BITUIDS]: Make code unconditional.
49534         [!__ASSUME_32BITUIDS]: Remove conditional code.
49535         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
49536         <kernel-features.h>.
49537         [__ASSUME_32BITUIDS]: Make code unconditional.
49538         [!__ASSUME_32BITUIDS]: Remove conditional code.
49539         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
49540         [__ASSUME_32BITUIDS]: Make code unconditional.
49541         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
49542         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
49543         <kernel-features.h>.
49544         [__ASSUME_32BITUIDS]: Make code unconditional.
49545         [!__ASSUME_32BITUIDS]: Remove conditional code.
49546         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
49547         <kernel-features.h>.
49548         [__ASSUME_32BITUIDS]: Make code unconditional.
49549         [!__ASSUME_32BITUIDS]: Remove conditional code.
49550         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
49551         <kernel-features.h>.
49552         [__ASSUME_32BITUIDS]: Make code unconditional.
49553         [!__ASSUME_32BITUIDS]: Remove conditional code.
49554         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
49555         <kernel-features.h>.
49556         [__ASSUME_32BITUIDS]: Make code unconditional.
49557         [!__ASSUME_32BITUIDS]: Remove conditional code.
49558         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
49559         <kernel-features.h>.
49560         [__ASSUME_32BITUIDS]: Make code unconditional.
49561         [!__ASSUME_32BITUIDS]: Remove conditional code.
49562         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
49563         <kernel-features.h>.
49564         [__ASSUME_32BITUIDS]: Make code unconditional.
49565         [!__ASSUME_32BITUIDS]: Remove conditional code.
49566         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
49567         <kernel-features.h>.
49568         [__ASSUME_32BITUIDS]: Make code unconditional.
49569         [!__ASSUME_32BITUIDS]: Remove conditional code.
49570         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
49571         <kernel-features.h>.
49572         [__ASSUME_32BITUIDS]: Make code unconditional.
49573         [!__ASSUME_32BITUIDS]: Remove conditional code.
49574         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
49575         <kernel-features.h>.
49576         [__ASSUME_32BITUIDS]: Make code unconditional.
49577         [!__ASSUME_32BITUIDS]: Remove conditional code.
49578         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
49579         <kernel-features.h>.
49580         [__ASSUME_32BITUIDS]: Make code unconditional.
49581         [!__ASSUME_32BITUIDS]: Remove conditional code.
49582         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
49583         <kernel-features.h>.
49584         [__NR_setresgid] (__setresgid): Do not declare.
49585         [__ASSUME_32BITUIDS]: Make code unconditional.
49586         [!__ASSUME_32BITUIDS]: Remove conditional code.
49587         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
49588         <kernel-features.h>.
49589         [__NR_setresuid] (__setresuid): Do not declare.
49590         [__ASSUME_32BITUIDS]: Make code unconditional.
49591         [!__ASSUME_32BITUIDS]: Remove conditional code.
49592         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
49593         <kernel-features.h>.
49594         [__ASSUME_32BITUIDS]: Make code unconditional.
49595         [!__ASSUME_32BITUIDS]: Remove conditional code.
49596         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
49597         <kernel-features.h>.
49598         [__ASSUME_32BITUIDS]: Make code unconditional.
49599         [!__ASSUME_32BITUIDS]: Remove conditional code.
49600         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
49601         <kernel-features.h>.
49602         [__ASSUME_32BITUIDS]: Make code unconditional.
49603         [!__ASSUME_32BITUIDS]: Remove conditional code.
49604         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
49605         <kernel-features.h>.
49606         [__ASSUME_32BITUIDS]: Make code unconditional.
49607         [!__ASSUME_32BITUIDS]: Remove conditional code.
49608         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
49609         <kernel-features.h>.
49610         [__ASSUME_32BITUIDS]: Make code unconditional.
49611         [!__ASSUME_32BITUIDS]: Remove conditional code.
49612         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
49613         <kernel-features.h>.
49614         [__ASSUME_32BITUIDS]: Make code unconditional.
49615         [!__ASSUME_32BITUIDS]: Remove conditional code.
49616         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
49617         <kernel-features.h>.
49618         [__ASSUME_32BITUIDS]: Make code unconditional.
49619         [!__ASSUME_32BITUIDS]: Remove conditional code.
49620         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
49621         <kernel-features.h>.
49622         [__ASSUME_32BITUIDS]: Make code unconditional.
49623         [!__ASSUME_32BITUIDS]: Remove conditional code.
49624         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
49625         <kernel-features.h>.
49626         [__ASSUME_32BITUIDS]: Make code unconditional.
49627         [!__ASSUME_32BITUIDS]: Remove conditional code.
49628         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
49629         <kernel-features.h>.
49630         [__ASSUME_32BITUIDS]: Make code unconditional.
49631         [!__ASSUME_32BITUIDS]: Remove conditional code.
49632         * sysdeps/unix/sysv/linux/kernel-features.h
49633         (__ASSUME_SETRESUID_SYSCALL): Remove.
49634         (__ASSUME_SETRESGID_SYSCALL): Likewise.
49635         (__ASSUME_32BITUIDS): Likewise.
49636         (__ASSUME_LDT_WORKS): Likewise.
49637         (__ASSUME_O_DIRECTORY): Likewise.
49638         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
49639         architecture but not kernel version.
49640         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49641         (__ASSUME_MMAP2_SYSCALL): Likewise.
49642         (__ASSUME_STAT64_SYSCALL): Likewise.
49643         (__ASSUME_IPC64): Likewise.
49644         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
49645         <kernel-features.h>.
49646         [__ASSUME_32BITUIDS]: Make code unconditional.
49647         [!__ASSUME_32BITUIDS]: Remove conditional code.
49648         * sysdeps/unix/sysv/linux/opendir.c: Do not include
49649         <kernel-features.h>.
49650         [__ASSUME_O_DIRECTORY]: Make code unconditional.
49651         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
49652         132096]: Remove conditional code.
49653         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
49654         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
49655         <kernel-features.h>.
49656         [__ASSUME_32BITUIDS]: Make code unconditional.
49657         [!__ASSUME_32BITUIDS]: Remove conditional code.
49658         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
49659         <kernel-features.h>.
49660         [__ASSUME_32BITUIDS]: Make code unconditional.
49661         [!__ASSUME_32BITUIDS]: Remove conditional code.
49662         * sysdeps/unix/sysv/linux/setegid.c: Do not include
49663         <kernel-features.h>.
49664         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
49665         unconditional.
49666         (__setresgid): Do not declare.
49667         [__ASSUME_32BITUIDS]: Make code unconditional.
49668         [!__ASSUME_32BITUIDS]: Remove conditional code.
49669         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
49670         <kernel-features.h>.
49671         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
49672         unconditional.
49673         (__setresuid): Do not declare.
49674         [__ASSUME_32BITUIDS]: Make code unconditional.
49675         [!__ASSUME_32BITUIDS]: Remove conditional code.
49676         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
49677         <kernel-features.h>.
49678         [__ASSUME_32BITUIDS]: Make code unconditional.
49679         [!__ASSUME_32BITUIDS]: Remove conditional code.
49680         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
49681         <kernel-features.h>.
49682         [__ASSUME_32BITUIDS]: Make code unconditional.
49683         [!__ASSUME_32BITUIDS]: Remove conditional code.
49685 2012-05-25  Richard Henderson  <rth@twiddle.net>
49687         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
49688         dl_hwcap to ifunc resolver.
49689         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
49690         elf_ifunc_invoke.
49691         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
49692         dl_hwcap to ifunc resolver.
49693         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
49695 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49697         [BZ #14153]
49698         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
49699         for |x| <= 2**-26, not 2**-57.
49700         * math/libm-test.inc (acos_test): Do not allow spurious underflow
49701         exception.
49703 2012-05-24  Jeff Law  <law@redhat.com>
49705         * stdio-common/Makefile (tests): Add bug25.
49706         * stdio-common/bug25.c: New test.
49708 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49710         [BZ #13576]
49711         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
49712         multiple of MALLOC_ALIGNMENT in size.
49713         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
49715 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
49717         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
49718         Require >= 256.
49719         (FILENAME_MAX): Use macro-int-constant.
49720         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
49721         (_IOFBF): Use macro-int-constant.
49722         (_IOLBF): Likewise.
49723         (_IONBF): Likewise.
49724         (SEEK_CUR): Likewise.
49725         (SEEK_END): Likewise.
49726         (SEEK_SET): Likewise.
49727         (TMP_MAX): Likewise.
49728         (EOF): Use macro-int-constant.  Require < 0.
49729         (NULL): Use macro-constant.  Require == 0.
49730         (stdin): Require type to be FILE *.
49731         (stdout): Likewise.
49732         (stderr): Likewise.
49733         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
49734         macro-int-constant.
49735         (EXIT_SUCCESS): Likewise.
49736         (NULL): Use macro-constant.  Require == 0.
49737         (RAND_MAX): Use macro-int-constant.
49738         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
49739         [C99-based standards] (strtof): Require function.
49740         [C99-based standards] (strtold): Likewise.
49741         [C99-based standards] (strtoll): Likewise.
49742         [C99-based standards] (strtoull): Likewise.
49743         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
49744         [ISO || ISO99 || ISO11] (limits.h): Likewise.
49745         [ISO || ISO99 || ISO11] (math.h): Likewise.
49746         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
49747         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
49748         [ISO || ISO99 || ISO11] (*_t): Do not allow.
49750 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
49752         [BZ #14132]
49753         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
49754         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
49755         * intl/dgettext.c (DCGETTEXT): Likewise.
49756         * intl/gettext.c (DCGETTEXT): Likewise.
49757         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
49758         * posix/regex_internal.h (gettext): Likewise.
49759         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
49760         Remove declaration.
49761         * include/argz.h (__argz_count_internal)
49762         (__argz_stringify_internal): Remove declaration.
49763         (__argz_count, __argz_stringify): Declare hidden proto.
49764         * intl/dcgettext.c: Remove use of INTDEF.
49765         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
49766         * string/argz-stringify.c: Likewise.
49767         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49768         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49769         Declare hidden proto.
49770         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
49771         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
49772         Declare hidden proto.
49773         * include/stdio.h (__asprintf_internal): Don't declare.
49774         (__asprintf): Don't define as macro.  Declare hidden proto.
49775         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
49776         (__fsetlocking): Declare hidden proto.
49777         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
49778         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
49779         hidden proto.
49780         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
49781         (_IO_setlinebuf): Remove use of INTUSE.
49782         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
49783         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
49784         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
49785         Remove declaration.
49786         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
49787         (_IO_do_flush): Remove use of INTUSE.
49788         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
49789         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
49790         (_IO_adjust_column, _IO_least_wmarker)
49791         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
49792         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
49793         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
49794         (_IO_default_doallocate, _IO_wdefault_doallocate)
49795         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
49796         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
49797         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
49798         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
49799         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
49800         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
49801         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
49802         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
49803         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
49804         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
49805         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
49806         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
49807         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
49808         proto.
49809         (_IO_flush_all_internal, _IO_adjust_column_internal)
49810         (_IO_default_uflow_internal, _IO_default_finish_internal)
49811         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
49812         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
49813         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
49814         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
49815         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
49816         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
49817         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
49818         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
49819         (_IO_file_close_internal, _IO_file_close_it_internal)
49820         (_IO_file_underflow_internal, _IO_file_overflow_internal)
49821         (_IO_file_init_internal, _IO_file_attach_internal)
49822         (_IO_file_fopen_internal, _IO_file_read_internal)
49823         (_IO_file_sync_internal, _IO_file_seek_internal)
49824         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
49825         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
49826         (_IO_str_underflow_internal, _IO_str_overflow_internal)
49827         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
49828         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
49829         (_IO_list_all_internal, _IO_link_in_internal)
49830         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
49831         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
49832         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
49833         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
49834         (_IO_do_write_internal, _IO_padn_internal)
49835         (_IO_getline_info_internal, _IO_getline_internal)
49836         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
49837         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
49838         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
49839         (_IO_vfscanf_internal, _IO_vfprintf_internal)
49840         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
49841         (_IO_init_internal, _IO_un_link_internal): Don't declare.
49842         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
49843         with libc_hidden_ver, remove use of INTUSE.
49844         * libio/genops.c: Likewise.
49845         * libio/freopen.c: Likewise.
49846         * libio/freopen64.c: Likewise.
49847         * libio/iofclose.c: Likewise.
49848         * libio/iofdopen.c: Likewise.
49849         * libio/iofflush.c: Likewise.
49850         * libio/iofflush_u.c: Likewise.
49851         * libio/iofgets.c: Likewise.
49852         * libio/iofgets_u.c: Likewise.
49853         * libio/iofopen.c: Likewise.
49854         * libio/iofopncook.c: Likewise.
49855         * libio/iofread.c: Likewise.
49856         * libio/iofread_u.c: Likewise.
49857         * libio/ioftell.c: Likewise.
49858         * libio/iofwrite.c: Likewise.
49859         * libio/iogetline.c: Likewise.
49860         * libio/iogets.c: Likewise.
49861         * libio/iogetwline.c: Likewise.
49862         * libio/iopadn.c: Likewise.
49863         * libio/iopopen.c: Likewise.
49864         * libio/ioseekoff.c: Likewise.
49865         * libio/ioseekpos.c: Likewise.
49866         * libio/iosetbuffer.c: Likewise.
49867         * libio/iosetvbuf.c: Likewise.
49868         * libio/ioungetc.c: Likewise.
49869         * libio/ioungetwc.c: Likewise.
49870         * libio/iovdprintf.c: Likewise.
49871         * libio/iovsprintf.c: Likewise.
49872         * libio/iovsscanf.c: Likewise.
49873         * libio/memstream.c: Likewise.
49874         * libio/obprintf.c: Likewise.
49875         * libio/oldfileops.c: Likewise.
49876         * libio/oldiofclose.c: Likewise.
49877         * libio/oldiofdopen.c: Likewise.
49878         * libio/oldiofopen.c: Likewise.
49879         * libio/oldiopopen.c: Likewise.
49880         * libio/oldstdfiles.c: Likewise.
49881         * libio/putc.c: Likewise.
49882         * libio/setbuf.c: Likewise.
49883         * libio/setlinebuf.c: Likewise.
49884         * libio/stdfiles.c: Likewise.
49885         * libio/strops.c: Likewise.
49886         * libio/vasprintf.c: Likewise.
49887         * libio/vscanf.c: Likewise.
49888         * libio/vsnprintf.c: Likewise.
49889         * libio/vswprintf.c: Likewise.
49890         * libio/wfiledoalloc.c: Likewise.
49891         * libio/wfileops.c: Likewise.
49892         * libio/wgenops.c: Likewise.
49893         * libio/wmemstream.c: Likewise.
49894         * libio/wstrops.c: Likewise.
49895         * libio/__fpurge.c: Likewise.
49896         * libio/__fsetlocking.c: Likewise.
49897         * assert/assert.c: Likewise.
49898         * debug/fgets_chk.c: Likewise.
49899         * debug/fgets_u_chk.c: Likewise.
49900         * debug/fread_chk.c: Likewise.
49901         * debug/fread_u_chk.c: Likewise.
49902         * debug/gets_chk.c: Likewise.
49903         * debug/obprintf_chk.c: Likewise.
49904         * debug/vasprintf_chk.c: Likewise.
49905         * debug/vdprintf_chk.c: Likewise.
49906         * debug/vsnprintf_chk.c: Likewise.
49907         * debug/vsprintf_chk.c: Likewise.
49908         * malloc/mtrace.c: Likewise.
49909         * misc/error.c: Likewise.
49910         * misc/syslog.c: Likewise.
49911         * stdio-common/asprintf.c: Likewise.
49912         * stdio-common/fxprintf.c: Likewise.
49913         * stdio-common/getw.c: Likewise.
49914         * stdio-common/isoc99_fscanf.c: Likewise.
49915         * stdio-common/isoc99_scanf.c: Likewise.
49916         * stdio-common/isoc99_vfscanf.c: Likewise.
49917         * stdio-common/isoc99_vscanf.c: Likewise.
49918         * stdio-common/isoc99_vsscanf.c: Likewise.
49919         * stdio-common/printf-prs.c: Likewise.
49920         * stdio-common/printf_fp.c: Likewise.
49921         * stdio-common/printf_fphex.c: Likewise.
49922         * stdio-common/printf_size.c: Likewise.
49923         * stdio-common/putw.c: Likewise.
49924         * stdio-common/scanf.c: Likewise.
49925         * stdio-common/sprintf.c: Likewise.
49926         * stdio-common/tmpfile.c: Likewise.
49927         * stdio-common/vfprintf.c: Likewise.
49928         * stdio-common/vfscanf.c: Likewise.
49929         * stdlib/strfmon_l.c: Likewise.
49930         * sunrpc/openchild.c: Likewise.
49931         * sunrpc/xdr_stdio.c: Likewise.
49932         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
49933         * sysdeps/mach/hurd/tmpfile.c: Likewise.
49935 2012-05-24  Roland McGrath  <roland@hack.frob.com>
49937         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
49939         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
49940         in the third column, to generate for the shared library an IFUNC
49941         that uses _dl_vdso_vsym.
49942         * Makerules (COMPILE.c, compile-stdin.c): New variables.
49943         * Makeconfig (object-suffixes-noshared): New variable.
49945         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
49946         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
49947         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
49948         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
49950         [BZ #14132]
49951         * include/sys/time.h (__gettimeofday): Remove macro.
49952         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
49953         * time/gettimeofday.c (__gettimeofday): Remove #undef.
49954         Remove INTDEF.
49955         (__gettimeofday): Add libc_hidden_def.
49956         (gettimeofday): Add libc_hidden_weak.
49957         * sysdeps/mach/gettimeofday.c: Likewise.
49958         * sysdeps/posix/gettimeofday.c: Likewise.
49959         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
49960         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
49961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
49962         (__gettimeofday_internal): Remove strong_alias.
49963         (__gettimeofday): Add libc_hidden_def.
49964         (gettimeofday): Add libc_hidden_weak.
49965         * sysdeps/unix/syscalls.list (gettimeofday):
49966         Remove __gettimeofday_internal alias.
49968 2012-05-24  Daniel Jacobowitz  <drow@false.org>
49969             H.J. Lu  <hongjiu.lu@intel.com>
49971         [BZ #12495]
49972         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
49973         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
49974         (largebin_index_32_big): New.
49975         (largebin_index): Use it for 16-byte alignment.
49976         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
49977         correction with front_misalign.
49979 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
49981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
49982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49983         Likewise.
49984         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
49985         Likewise.
49986         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
49987         Likewise.
49988         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
49989         Likewise.
49990         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
49991         Likewise.
49992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
49993         Likewise.
49994         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
49995         Likewise.
49996         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
49997         Likewise.
49998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
49999         Likewise.
50000         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
50001         Likewise.
50002         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
50003         Likewise.
50004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
50005         Likewise.
50007         * scripts/data/c++-types-x32-linux-gnu.data: New file.
50008         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
50010 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
50012         [BZ #10846]
50013         [BZ #14036]
50014         * math/libm-test.inc (exp_test): Add test from bug 14036.
50015         (pow_test): Add test from bug 10846.
50017         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
50018         and other flags.
50019         (special_function): Do not include flags in test name.
50020         (parse_args): Likewise.
50021         * sysdeps/i386/fpu/libm-test-ulps: Update.
50022         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50023         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
50024         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
50025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50027         * math/gen-libm-test.pl (%beautify): Add entries for underflow
50028         exceptions.
50029         * math/libm-test.inc ("Philosophy"): Update comment about
50030         exception testing.
50031         (UNDERFLOW_EXCEPTION): New macro.
50032         (UNDERFLOW_EXCEPTION_OK): Likewise.
50033         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
50034         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
50035         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
50036         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
50037         (INVALID_EXCEPTION_OK): Update value.
50038         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50039         (OVERFLOW_EXCEPTION_OK): Likewise.
50040         (IGNORE_ZERO_INF_SIGN): Likewise.
50041         (test_exceptions): Handle underflow exceptions.
50042         (acos_test): Update for underflow exception expectations.
50043         (cexp_test): Likewise.
50044         (clog_test): Likewise.
50045         (clog10_test): Likewise.
50046         (csqrt_test): Likewise.
50047         (ctan_test): Likewise.
50048         (ctanh_test): Likewise.
50049         (exp_test): Likewise.
50050         (exp10_test): Likewise.
50051         (exp2_test): Likewise.
50052         (expm1_test): Likewise.
50053         (fma_test): Likewise.
50054         (j0_test): Likewise.
50055         (jn_test): Likewise.
50056         (nexttoward_test): Likewise.
50057         (pow_test): Likewise.
50058         (scalbn_test): Likewise.
50059         (scalbln_test): Likewise.
50060         (tan_test): Likewise.
50061         (y1_test): Likewise.
50062         * sysdeps/i386/fpu/libm-test-ulps: Update.
50063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50065 2012-05-23  David S. Miller  <davem@davemloft.net>
50067         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
50068         (__libc_sigaction): Remove unused local variables.
50070 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50072         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
50074 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
50076         mktime: avoid signed integer overflow
50077         * time/mktime.c (__mktime_internal): Do not mishandle the case
50078         where diff == INT_MIN.
50080         mktime: simplify computation of average
50081         * time/mktime.c (ranged_convert): Use new time_t_avg function
50082         instead of rolling our own (probably-slower) code.
50084         mktime: do not assume signed right shift propagates sign bit
50085         * time/mktime.c (isdst_differ): New static function.
50086         (__mktime_internal): No need to normalize tm_isdst now.
50087         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
50088         tm_isdst values.
50090         mktime: merge another wrapv change from gnulib
50091         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
50092         from some compilers.
50094         mktime: remove incorrect attempt at unusual arithmetics
50095         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
50096         The code didn't really work on such machines anyway.
50097         (TYPE_MINIMUM): Assume two's complement.
50098         (twos_complement_arithmetic): Verify that long_int and time_t
50099         are two's complement (or unsigned, in the latter case).
50101         mktime: check signed shifts on long_int and time_t, too
50102         * time/mktime.c (SHR): Check that shifts work as desired
50103         on the types long_int and time_t too, as SHR is used on
50104         such types.
50106         mktime: do not assume 'long' is wide enough
50107         * time/mktime.c (verify): Move decl up.
50108         (long_int): New type.
50109         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
50110         to remove assumption in the code that 'long' is wide enough to
50111         store year values.  This assumption is not true on x32 and on
50112         some non-glibc platforms.
50114         mktime: merge wrapv change from gnulib
50115         * time/mktime.c (WRAPV): New macro.
50116         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
50117         (guess_time_tm, __mktime_internal): Do not assume that signed
50118         integer overflow wraps around; modern compilers generate code
50119         where this assumption is no longer valid.
50121 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50123         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50124         Replace "jmp L(pseudo_end)" with "ret".
50125         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
50126         Likewise.
50128 2012-05-23  Andreas Jaeger  <aj@suse.de>
50130         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
50131         * sysdeps/unix/sysv/linux/poll.c: Remove file.
50133 2012-05-23  Andreas Jaeger  <aj@suse.de>
50134             Maximilian Attems  <max@stro.at>
50136         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
50137         New macros.
50139 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
50141         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
50142         code so that pseudo_end is just ret and the stack pointer is
50143         correct also for static library in error case.
50145 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
50147         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
50148         move to syscalls.list.
50149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
50150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
50151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
50152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
50154         * manual/install.texi (Running make install): Do not mention Linux
50155         kernel version for which pt_chown is not needed.
50156         (Linux): Do not mention problems with nscd with 2.0 kernels.
50157         * INSTALL: Regenerated.
50159 2012-05-23  Andreas Jaeger  <aj@suse.de>
50161         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
50162         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
50163         macro.
50164         * sysdeps/unix/sysv/linux/s390/bits/mman.h
50165         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50166         * sysdeps/unix/sysv/linux/sh/bits/mman.h
50167         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50168         * sysdeps/unix/sysv/linux/i386/bits/mman.h
50169         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50170         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
50171         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50172         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
50173         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
50174         * sysdeps/unix/sysv/linux/bits/in.h
50175         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
50177 2012-05-22  Roland McGrath  <roland@hack.frob.com>
50179         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
50180         (PREPARE_VERSION): Just use assert instead, it will be elided
50181         under [NDEBUG] anyway.
50183 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50185         * sysdeps/unix/sysv/linux/Makefile: Include
50186         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
50187         (sysdep_routines): Remove sysctl.
50188         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
50189         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
50190         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
50191         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
50192         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
50194 2012-05-22  Andreas Jaeger  <aj@suse.de>
50196         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
50197         that pseudo_end is just ret and the stack pointer is correct also
50198         for static library in error case.
50200 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
50202         [BZ #14122]
50203         * nss/nsswitch.c (defconfig_entries): New variable.
50204         (__nss_database_lookup): Don't leak defconfig entries.
50205         (nss_parse_service_list): Don't leak on error paths.
50206         (free_database_entries): New function.
50207         (free_defconfig): New function.
50208         (free_mem): Move common code to free_database_entries.
50210 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50212         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
50213         Add arch_prctl.
50214         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
50216         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
50217         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
50218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
50219         New macro.
50220         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
50221         (INTERNAL_SYSCALL_TYPES): Likewise.
50222         (LOAD_ARGS_TYPES_[1-6]): Likewise.
50223         (LOAD_REGS_TYPES_[1-6]): Likewise.
50224         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
50225         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
50227 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50229         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
50230         copysignl for GLIBC_2_0.
50231         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
50232         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
50233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
50234         logbl for GLIBC_2_0.
50235         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
50236         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
50238 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
50241         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50243         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
50244         Use "neg %eax".
50246         * time/mktime.c: Update copyright years.
50248 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
50250         mktime: merge comment-quoting-style change from gnulib
50251         * time/mktime.c: Quote 'like this' in comments.
50252         The GNU coding standards suggest that we no longer quote `like this',
50253         as "`" and "'" are typically rendered asymmetrically nowadays.
50254         The typical gnulib style is to quote 'like this' when quoting
50255         code, and "like this" when quoting English.
50257         * time/mktime.c (compile-command): Add "-I.".
50259         mktime: merge mktime-internal.h change from gnulib
50260         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
50262         mktime: merge time_r change from gnulib
50263         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
50265         mktime: merge DEBUG change from gnulib
50266         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
50267         case system <time.h> has a #define.
50269         mktime: merge <sys/types.h> change from gnulib
50270         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
50271         since <time.t> is now guaranteed to define time_t.
50273         mktime: merge HAVE_CONFIG_H change from gnulib
50274         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
50276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
50278         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50279         Use "neg %eax".
50281         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
50282         __rlim_t cast.
50283         (struct rusage): Use anonymous union to pad each field to
50284         __syscall_slong_t.
50286 2012-05-21  David S. Miller  <davem@davemloft.net>
50288         * Makefules (o-iterator): Remove .s cases.
50289         (compile-command.s): Delete.
50290         (COMPILE.s): Delete.
50291         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
50293 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
50295         * configure.in (libc_cv_predef_stack_protector): Only consider
50296         "foobar" and "__stack_chk_fail" lines in libc_undefs.
50297         * configure: Regenerated.
50299 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
50302         New macro.  Use R*LP on int and pointer.
50303         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
50304         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
50305         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
50306         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
50308         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
50309         [__WORDSIZE_TIME64_COMPAT32] instead of
50310         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
50311         (struct utmp): Likewise.
50312         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
50313         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
50314         Renamed to ...
50315         (__WORDSIZE_TIME64_COMPAT32): This.
50316         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
50317         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
50318         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
50319         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
50320         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
50321         (__WORDSIZE_TIME64_COMPAT32): New macro.
50323 2012-05-21  Andreas Jaeger  <aj@suse.de>
50325         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
50326         only if [SHARED]. Add prototype for __wcschr_ia32.
50328 2012-05-21  Roland McGrath  <roland@hack.frob.com>
50330         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
50331         of %rbp unmolested in the jmp_buf while mangling the low bits.
50332         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
50333         unmolested high bits of %rbp while demangling the low bits.
50334         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
50336 2012-05-21  Andreas Jaeger  <aj@suse.de>
50338         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
50339         * sunrpc/svc_simple.c: Use it for registerrpc.
50340         * sunrpc/xcrypt.c: Use it for passwd2des.
50342         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
50344 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50346         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
50347         Don't define if [__SYSCALL_WORDSIZE != 32].
50348         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
50349         New macro.
50351 2012-05-21  Bruno Haible  <bruno@clisp.org>
50352             Andreas Jaeger  <aj@suse.de>
50354         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
50355         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
50356         inptr and inend for must_buffer_ch.
50357         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
50358         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
50359         * stdio-common/Makefile (tests): Remove bug15.
50360         (bug15-ENV): Remove macro.
50361         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
50362         anymore.
50364 2012-05-19  Andreas Jaeger  <aj@suse.de>
50365             Roland McGrath  <roland@hack.frob.com>
50367         * manual/contrib.texi: Completely rewritten. It contains now an
50368         alphabetical list of contributors and their contributions.
50370 2012-05-21  Richard Henderson  <rth@twiddle.net>
50372         * misc/getauxval.c (__getauxval): Use unsigned long int.
50373         * misc/sys/auxv.h: Include <sys/cdefs.h>.
50374         (getauxval): Use unsigned long int.
50376 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
50378         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
50380 2012-05-21  Roland McGrath  <roland@hack.frob.com>
50382         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
50383         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
50384         __alignof__ (long double).
50386 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50388         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50390 2012-05-20  Richard Henderson  <rth@twiddle.net>
50392         * misc/getauxval.c: New file.
50393         * misc/sys/auxv.h: New file.
50394         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
50395         (routines): Add getauxval.
50396         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
50397         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
50398         * elf/dl-sysdep.c (_dl_auxv): Remove.
50399         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
50400         * elf/dl-support.c (_dl_auxv): New variable.
50401         (_dl_aux_init): Initialize it.
50402         * manual/startup.texi (Auxiliary Vector): New node.
50403         * sysdeps/generic/bits/hwcap.h: New file.
50404         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
50405         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
50406         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
50407         * sysdeps/sparc/sysdep.h: ... here.  Include it.
50408         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
50409         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
50410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
50411         Update.
50412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
50413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
50414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
50415         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
50416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50417         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
50418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
50419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
50421 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50425 2012-05-19  David S. Miller  <davem@davemloft.net>
50427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50429 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
50431         [BZ #14123]
50432         * math/s_ccosh.c: Include <float.h>
50433         (__ccosh): Avoid internal overflow calculating sinh and cosh
50434         values before multiplying by sin and cos values.
50435         * math/s_ccoshf.c: Likewise.
50436         * math/s_ccoshl.c: Likewise.
50437         * math/s_csin.c: Likewise.
50438         * math/s_csinf.c: Likewise.
50439         * math/s_csinl.c: Likewise.
50440         * math/s_csinh.c: Likewise.
50441         * math/s_csinhf.c: Likewise.
50442         * math/s_csinhl.c: Likewise.
50443         * math/libm-test.inc (ccos_test): Add more tests.
50444         (ccosh_test): Likewise.
50445         (csin_test): Likewise.
50446         (csinh_test): Likewise.
50447         * sysdeps/i386/fpu/libm-test-ulps: Update.
50448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50450 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
50452         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
50453         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
50455         * sysdeps/x86_64/x32/_itoa.h: Add comment.
50457 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
50459         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
50460         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
50461         * sysdeps/powerpc/soft-fp/Versions: Likewise.
50462         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
50463         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
50464         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
50465         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
50466         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
50467         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
50468         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
50469         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
50470         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
50471         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
50472         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
50473         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
50474         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
50475         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
50476         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
50477         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
50478         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
50479         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
50480         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
50481         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
50482         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
50483         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
50484         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
50485         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
50486         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
50487         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
50488         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
50489         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
50491 2012-05-18  Andreas Jaeger  <aj@suse.de>
50493         * csu/.gitignore: Delete.
50495 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50497         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
50498         (timex): Use __syscall_slong_t.
50500 2012-05-18  Andreas Jaeger  <aj@suse.de>
50501             Carlos O'Donell  <carlos_odonell@mentor.com>
50503         * manual/install.texi (Configuring and compiling): Update
50504         description about files modified in the source directory.
50505         * INSTALL: Regenerated.
50507 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50509         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
50510         value.  Use "or" to set return value to -1.
50511         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
50512         negate return value.
50514 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
50516         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
50517         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
50518         failure if the compiler has Graphite support disabled.
50519         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
50520         Likewise.
50521         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
50522         (CFLAGS-memmove.c): Likewise.
50523         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
50524         Likewise.
50526 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
50528         * sysdeps/x86_64/x32/_itoa.h: New file.
50530         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
50531         getdents system call only if kernel and user dirents have the
50532         same d_ino and d_off.
50534         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50535         LLONG_MAX != LONG_MAX.
50536         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50537         (_fitoa_word): Likewise.
50539         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
50540         years.
50541         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
50542         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
50543         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
50545         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
50546         include <bits/wordsize.h>.  Check __x86_64__ instead of
50547         __WORDSIZE.
50548         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
50549         if __x86_64__ is defined.  Use anonymous union on fpstate.
50551         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
50552         anonymous union.
50554 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
50556         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
50557         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
50558         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
50559         Refer to _rtld_local_ro instead of _rtld_global_ro.
50560         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
50561         Likewise.
50562         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
50563         Likewise.
50564         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
50565         Likewise.
50566         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
50567         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
50568         of _rtld_global, and rtld_progname instead of _dl_argv[0].
50570         [BZ #10882]
50571         * sysdeps/powerpc/powerpc32/dl-machine.c
50572         (__elf_machine_runtime_setup) [PROF]: Don't reference
50573         _dl_prof_resolve.
50575 2012-05-18  Andreas Jaeger  <aj@suse.de>
50577         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
50578         function only available for GCCs before 3.4 since GCC 3.4
50579         introduced a builtin.
50580         (lrint): Likewise.
50581         (llrintf): Likewise.
50582         (llrint): Likewise.
50583         (fmaxf): Likewise.
50584         (fmax): Likewise.
50585         (fminf): Likewise.
50586         (fmin): Likewise.
50587         (rint): Likewise.
50588         (rintf): Likewise.
50589         (nearbyint): Likewise.
50590         (nearbyintf): Likewise.
50591         (ceil): Likewise.
50592         (ceilf): Likewise.
50593         (floor): Likewise.
50594         (floorf): Likewise.
50596 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50598         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
50599         on both fields and cast pointer to __syscall_ulong_t.
50601         * bits/types.h (__fsword_t): New type.
50602         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
50603         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
50604         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50605         (__FSWORD_T_TYPE): Likewise.
50606         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50607         (__FSWORD_T_TYPE): Likewise.
50608         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50609         (__FSWORD_T_TYPE): Likewise.
50610         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
50611         (__FSWORD_T_TYPE): Likewise.
50612         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
50613         __SWORD_TYPE with __fsword_t.
50614         (statfs64): Likewise.
50616 2012-05-17  David S. Miller  <davem@davemloft.net>
50618         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
50620 2012-05-17  Andreas Jaeger  <aj@suse.de>
50622         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
50623         warning.
50625 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50627         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
50629 2012-05-17  Andreas Jaeger  <aj@suse.de>
50631         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
50632         when it is used.
50634 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50636         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
50638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50640         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
50641         * sysdeps/x86_64/tst-mallocalign1.c: New file.
50643 2012-05-17  Andreas Jaeger  <aj@suse.de>
50644             Carlos O'Donell  <carlos_odonell@mentor.com>
50646         [BZ #14059]
50647         * sysdeps/x86_64/multiarch/init-arch.h
50648         (bit_YMM_Usable): Rename to...
50649         (bit_AVX_Usable): ... this.
50650         (bit_FMA4_Usable): New macro.
50651         (bit_XMM_state): New macro.
50652         (bit_YMM_state): New macro.
50653         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
50654         [__ASSEMBLER__] (index_AVX_Usable): ... this.
50655         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
50656         (CPUID_OSXSAVE): New macro.
50657         (CPUID_AVX): New macro.
50658         (CPUID_FMA4): New macro.
50659         (index_YMM_Usable): Rename to...
50660         (index_AVX_Usable): ... this.
50661         (HAS_AVX): Use HAS_ARCH_FEATURE.
50662         (HAS_FMA4): Likewise.
50663         (HAS_YMM_USABLE): Remove.
50664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50665         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
50666         are present.
50667         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
50668         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
50669         * sysdeps/x86_64/multiarch/Makefile: Likewise.
50670         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
50671         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
50673 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
50675         * math/libm-test.c: Support platforms without multiple rounding modes.
50676         * math/bug-nextafter.c: Support platforms without FP exceptions.
50677         * math/bug-nexttoward.c: Likewise.
50678         * math/test-fenv.c: Likewise.
50679         * math/test-misc.c: Likewise.
50680         * stdlib/bug-getcontext.c: Likewise.
50682 2012-05-17  Andreas Jaeger  <aj@suse.de>
50684         * manual/examples/search.c (critter_cmp): Change signature to
50685         avoid warnings.
50686         * manual/string.texi (Collation Functions): Likewise.
50688 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50690         * bits/types.h: Fold copyright years.
50691         * bits/typesizes.h: Likewise.
50692         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
50693         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
50694         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
50695         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
50696         * time/time.h: Likewise.
50698 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
50700         [BZ #208]
50701         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
50702         in instead of returning them.  Return void.
50703         (__libc_mallinfo): Accumulate over all arenas.
50704         (__malloc_stats): Adjust for change in int_mallinfo interface.
50706 2012-05-16  Roland McGrath  <roland@hack.frob.com>
50708         [BZ #10375]
50709         * configure.in (NM): Add AC_CHECK_TOOL for it.
50710         (libc_extra_cflags): New substituted variable.
50711         Check for -fstack-protector being used implicitly.
50712         * configure: Regenerated.
50713         * config.make.in (config-extra-cflags): New variable,
50714         gets @libc_extra_cflags@.
50715         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
50717         [BZ #10375]
50718         * configure.in: Check for _FORTIFY_SOURCE being predefined.
50719         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
50720         * configure: Regenerated.
50721         * config.make.in (CPPUNDEFS): New substituted variable.
50722         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
50723         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
50724         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
50726 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50728         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
50729         (mq_attr): Use __syscall_slong_t.
50731 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50733         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
50734         Check __x86_64__ instead of __WORDSIZE.
50735         (_STAT_VER_LINUX): Likewise.
50736         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
50737         __syscall_ulong_t and __syscall_slong_t.
50738         (stat64): Likewise.
50740 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50742         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
50744 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50746         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
50748 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50750         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
50751         __syscall_ulong_t.
50753         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
50754         include <bits/wordsize.h>.  Check __x86_64__ instead of
50755         __WORDSIZE.
50756         (greg_t): Use "__extension__ long long int" if __x86_64__ is
50757         defined.
50758         (mcontext_t): Replace "unsigned long" with "unsigned long long".
50760         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
50761         include <bits/wordsize.h>.  Check __x86_64__ instead of
50762         __WORDSIZE.
50763         (user_regs_struct): Use "__extension__ unsigned long long"
50764         instead of "unsigned long" if __x86_64__ is defined.
50765         (user): Likewise.  Pad after pointer field if __ILP32__ is
50766         defined.
50768 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
50770         * configure.in (makeinfo): Require version 4.5 or later.  Allow
50771         versions 5 to 9.
50772         * configure: Regenerated.
50773         * manual/install.texi (texinfo): Increase version requirement to
50774         4.5 or later.
50775         * INSTALL: Regenerated.
50777         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
50779 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50781         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
50783         * sysdeps/x86_64/x32/ffs.c: New file.
50785         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
50786         __syscall_ulong_t.
50787         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
50788         defined.  Use __syscall_ulong_t.
50789         (shminfo): Use __syscall_ulong_t.
50790         (shm_info): Likewise.
50792         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
50793         __syscall_ulong_t.
50795         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
50796         <bits/wordsize.h>.
50797         (msgqnum_t): Use __syscall_ulong_t.
50798         (msglen_t): Likewise.
50799         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
50800         __syscall_ulong_t.
50802         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
50803         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50805         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
50807         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
50808         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
50810         * sysvipc/sys/msg.h (msgbuf): Replace long int with
50811         __syscall_slong_t.
50813         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
50814         include <bits/wordsize.h>.  Check __x86_64__ instead of
50815         __WORDSIZE.
50817         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
50818         "unsigned long long int" if __x86_64__ is defined.
50819         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
50821         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
50822         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
50823         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
50825         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
50826         <stdint.h>.
50827         (GET_PC): Cast to uintptr_t first.
50828         (GET_FRAME): Likewise.
50829         (GET_STACK): Likewise.
50831         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
50832         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
50833         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
50834         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
50835         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
50836         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
50837         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
50838         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
50839         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
50840         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
50841         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
50842         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
50843         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
50844         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
50845         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
50846         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
50847         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
50848         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
50849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
50850         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
50851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
50852         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
50853         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
50854         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
50855         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
50856         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
50857         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
50858         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
50859         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
50861 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
50863         * Makerules (+depfiles): Also collect depfiles from .oS in
50864         $(extra-objs).
50865         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
50866         .oS, $(libnldbl-routines)).
50868         * Makerules (native-compile-mkdep-flags): Define.
50869         * sunrpc/Makefile (extra-objs): Add $(addprefix
50870         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
50871         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
50872         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
50873         calling $(make-target-directory).
50875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50877         * bits/types.h (__snseconds_t): Removed.
50878         * time/time.h (struct timespec): Replace __snseconds_t with
50879         __syscall_slong_t.
50880         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
50881         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
50882         Likewise.
50883         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50884         (__SNSECONDS_T_TYPE): Likewise.
50885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50886         (__SNSECONDS_T_TYPE): Likewise.
50887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50888         (__SNSECONDS_T_TYPE): Likewise.
50890 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50892         * sysdeps/mach/hurd/bits/typesizes.h
50893         (__SYSCALL_SLONG_TYPE): New macro.
50894         (__SYSCALL_ULONG_TYPE): Likewise.
50896 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50898         * bits/types.h (__syscall_slong_t): New type.
50899         (__syscall_ulong_t): Likewise.
50901         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
50902         (__SYSCALL_ULONG_TYPE): Likewise.
50903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
50904         (__SYSCALL_SLONG_TYPE): Likewise.
50905         (__SYSCALL_ULONG_TYPE): Likewise.
50906         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
50907         (__SYSCALL_SLONG_TYPE): Likewise.
50908         (__SYSCALL_ULONG_TYPE): Likewise.
50909         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
50910         (__SYSCALL_SLONG_TYPE): Likewise.
50911         (__SYSCALL_ULONG_TYPE): Likewise.
50913 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50915         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
50916         Add sigaltstack-offsets.sym.
50917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
50918         <sigaltstack-offsets.h>.
50919         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
50920         longjmp_msg pointer.
50921         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
50922         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
50923         signal stack.
50924         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
50926 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
50928         * elf/stackguard-macros.h: Remove file.
50929         * sysdeps/generic/stackguard-macros.h: New file.
50930         * sysdeps/i386/stackguard-macros.h: Likewise.
50931         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50932         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50933         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50934         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50935         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50936         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50937         * sysdeps/x86_64/stackguard-macros.h: Likewise.
50938         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
50939         <elf/stackguard-macros.h>.
50941         [BZ #14109]
50942         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
50943         __aligned__ in attribute.
50944         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
50945         (gregset_t): Likewise.
50947 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50949         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
50950         * sysdeps/x86_64/64/Implies-after: Here.  New file.
50951         * sysdeps/x86_64/x32/Implies-after: New file.
50953 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50955         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
50956         and access return value for _dl_profile_fixup.  Use R10_LP to
50957         load frame size.
50959 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50961         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
50963 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50965         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
50966         * sysdeps/x86_64/x32/sysdep.h: New file.
50968 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
50970         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
50971         * sysdeps/x86_64/setjmp.S: Likewise.
50973 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50975         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
50976         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
50977         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
50978         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
50979         remove unused global constant.
50981 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
50983         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
50984         include of <not-cancel.h>.
50986 2012-05-15  Roland McGrath  <roland@hack.frob.com>
50988         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
50990 2012-05-15  Jeff Law  <law@redhat.com>
50991             Andreas Jaeger  <aj@suse.de>
50993         [BZ #13594]
50994         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
50995         out from...
50996         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
50997         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
50998         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
50999         code changing __hst_map_handle.map.
51001 2012-05-15  Roland McGrath  <roland@hack.frob.com>
51003         * configure.in (sysnames): Look for Implies-before and Implies-after
51004         files.
51005         * configure: Regenerated.
51007 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51009         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
51010         8-byte data alignment with LP_SIZE alignment.
51012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51014         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
51015         into R10_LP.
51017 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51019         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
51021 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51023         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
51024         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
51025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
51026         Likewise.
51027         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
51029 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51031         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
51032         (stackinfo_sub_sp): Likewise.
51034 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
51037         RAX_LP.
51039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51041         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
51042         into R*_LP.
51044 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51046         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
51047         sizes into R*_LP.
51049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51051         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
51053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51055         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
51056         into R11_LP and load __x86_64_shared_cache_size_half into
51057         R8_LP.
51059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
51061         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51062         R8_LP.
51064 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
51067         logb for POWER7.
51068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
51069         logbf for POWER7.
51070         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
51071         logbl for POWER7.
51072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
51073         powerpc32/power7/fpu/s_logb.c via #include.
51074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
51075         powerpc32/power7/fpu/s_logbf.c via #include.
51076         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
51077         powerpc32/power7/fpu/s_logbl.c via #include.
51079 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
51081         * README.libm: Remove file.
51083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51085         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
51086         count for x32.  Use R*_LP and omit operand-size suffix.
51088 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51090         * shlib-versions: Move x86_64-.*-linux.* entries to ...
51091         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
51092         * sysdeps/x86_64/x32/shlib-versions: New file.
51094 2012-05-14  Roland McGrath  <roland@hack.frob.com>
51096         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
51097         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
51098         Use _dl_fatal_printf instead.
51100 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51102         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
51103         set if not set by the user.  Do not allow for being unset.
51104         * sysdeps/unix/sysv/linux/configure: Regenerated.
51106 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51108         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
51109         the `q' suffix from lea and replace .quad with ASM_ADDR.
51111 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
51114         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
51115         instead of $17.
51116         (PTR_DEMANGLE): Likewise.
51118 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51120         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
51121         (LP_OP): Likewise.
51122         (ASM_ADDR): Likewise.
51123         (RAX_LP): Likewise.
51124         (RBP_LP): Likewise.
51125         (RBX_LP): Likewise.
51126         (RCX_LP): Likewise.
51127         (RDI_LP): Likewise.
51128         (RSI_LP): Likewise.
51129         (RSP_LP): Likewise.
51130         (R8_LP): Likewise.
51131         (R9_LP): Likewise.
51132         (R10_LP): Likewise.
51133         (R10_LP): Likewise.
51134         (R11_LP): Likewise.
51135         (R12_LP): Likewise.
51136         (R13_LP): Likewise.
51137         (R14_LP): Likewise.
51138         (R15_LP): Likewise.
51140 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51142         * sysdeps/x86_64/x32/dl-machine.h: New file.
51144 2012-05-14  Andreas Jaeger  <aj@suse.de>
51146         * manual/Makefile (subdir): Remove export of subdir.
51147         (all): Remove target.
51148         (.PHONY): Remove all from list.
51149         (mkinstalldirs): Remove.
51150         (.PHONY): Remove installdirs from list.
51151         ($(inst_infodir)/libc.info): Use make-target-directory.
51152         (installdirs): Remove.
51153         (subdir_%): Remove.
51154         (glibc-targets): Remove.
51155         (lib): Remove.
51156         (stubs): Remove.
51157         ($(objpfx)stubs ../po/manual.pot): Remove.
51158         ($(objpfx)stamp%): Remove.
51159         (make-target-directory): Remove.
51160         (subdir_install): Remove.
51161         (routines): Remove.
51162         (aux): Remove.
51163         (sources): Remove.
51164         (objects): Remove.
51165         (headers): Remove.
51167         [BZ #13750]
51168         * manual/.gitignore: Remove, it's not needed anymore.
51169         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
51170         all files in it.
51171         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
51172         directory.
51173         (texis): Renamed to $(objpfx)texis.
51174         (texis-path): New, contains path to generated files.
51175         (chapters.%): Use texis-path for complete path, add extra argument
51176         libc-texinfo.sh.
51177         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
51178         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
51179         (summary,texi, stamp-summary): Use complete path of
51180         files. Generate files in build dir.
51181         (dir-add.texi): Build in build dir.
51182         (libm-err.texi,stamp-libm-err): Likewise.
51183         (version.texi, stamp-version): Likewise.
51184         (.%c.texi): Likewise.
51185         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
51186         (mostlyclean): Remove target.
51187         (realclean): Remove target.
51188         (generated): Add new variable with contents from mostlyclean and
51189         realclean, remove entries duplicated in common-mostlyclean, add
51190         stamp-libm-err and stamp-version.
51191         (generated-dirs): Add libc directory.
51192         ($(inst_infodir)/libc.info): Install files from build dir.
51194         * manual/install.texi (Configuring and compiling): Adjust since
51195         the info files are not part of the tar ball anymore.
51197 2012-05-14  Andreas Jaeger  <aj@suse.de>
51199         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
51200         variable.
51202 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
51204         [BZ #13717]
51205         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51206         to 2.2.0 where earlier.
51207         * sysdeps/unix/sysv/linux/configure: Regenerated.
51208         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
51209         Remove conditional code.
51210         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
51211         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
51212         Remove conditional code.
51213         [!__NR_lchown]: Likewise.
51214         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51215         [__NR_lchown]: Likewise.
51216         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
51217         comment referencing __ASSUME_LCHOWN_SYSCALL.
51218         * sysdeps/unix/sysv/linux/i386/sigaction.c
51219         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51220         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51221         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
51222         Remove conditional code.
51223         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
51224         (__protocol_available): Remove #if 0 code.
51225         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
51226         conditional code.
51227         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
51228         * sysdeps/unix/sysv/linux/kernel-features.h
51229         (__ASSUME_GETCWD_SYSCALL): Don't define.
51230         (__ASSUME_REALTIME_SIGNALS): Likewise.
51231         (__ASSUME_PREAD_SYSCALL): Likewise.
51232         (__ASSUME_PWRITE_SYSCALL): Likewise.
51233         (__ASSUME_POLL_SYSCALL): Likewise.
51234         (__ASSUME_LCHOWN_SYSCALL): Likewise.
51235         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
51236         non-SPARC.
51237         (__ASSUME_SIOCGIFNAME): Don't define.
51238         (__ASSUME_MSG_NOSIGNAL): Likewise.
51239         (__ASSUME_SENDFILE): Define unconditionally.
51240         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
51241         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
51242         conditional code.
51243         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
51244         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
51245         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51246         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51247         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
51248         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
51249         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
51250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
51251         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51252         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
51254         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51255         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
51257         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51258         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
51260         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51261         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
51263         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51264         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
51266         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
51267         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
51269         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51270         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
51272         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51273         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51274         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
51275         Remove conditional code.
51276         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51277         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51278         Remove conditional code.
51279         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51280         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
51281         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
51282         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51283         Remove conditional code.
51284         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51285         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
51286         Remove conditional code.
51287         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51288         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
51289         Remove conditional code.
51290         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51291         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
51292         Remove conditional code.
51293         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
51294         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
51295         Remove conditional code.
51296         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51297         * sysdeps/unix/sysv/linux/sh/pwrite64.c
51298         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
51299         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
51300         * sysdeps/unix/sysv/linux/sigaction.c
51301         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51302         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51303         * sysdeps/unix/sysv/linux/sigpending.c
51304         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51305         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51306         * sysdeps/unix/sysv/linux/sigprocmask.c
51307         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51308         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51309         * sysdeps/unix/sysv/linux/sigsuspend.c
51310         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
51311         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
51312         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51313         (__libc_missing_rt_sigs): Remove.
51314         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
51315         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
51316         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
51317         Remove conditional code.
51318         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
51319         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
51320         return 1.
51321         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
51322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
51323         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
51324         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
51326 2012-05-14  Andreas Jaeger  <aj@suse.de>
51328         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
51329         it's not used in glibc.
51330         (__coshm1): Likewise.
51331         (__acosh1p): Likewise.
51332         (__sgn): Likewise.
51334         * manual/string.texi (Copying and Concatenation): Add missing
51335         variable in concat example.
51336         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
51338 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51340         [BZ #14103]
51341         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
51342         __builtin_clzl with __builtin_clzll.
51344 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
51346         [BZ #14104]
51347         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
51348         libc_freeres_ptr.
51350 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51352         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
51353         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
51354         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
51355         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
51357 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
51359         * NEWS: Update ia64 info.
51361 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
51363         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
51364         used as bcopy.
51366 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
51368         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
51369         * sysdeps/unix/syscalls.list (dup3): Likewise.
51370         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
51371         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
51373 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
51375         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
51376         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
51378 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
51380         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
51381         thread pointer.
51382         (TLS_IE): Use mov/add instead of movq/addq to load thread
51383         pointer.
51384         (TLS_GD_PREFIX): New.
51385         (TLS_GD): Use it.
51387 2012-05-11  David S. Miller  <davem@davemloft.net>
51389         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
51390         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
51391         (_FPU_SETCW): Likewise.
51393 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51395         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
51396         is 32-byte aligned.
51398 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
51400         [BZ #11837]
51401         * iconvdata/gb18030.c: Update tables.
51402         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
51403         characters specially.
51404         (BODY for TO_LOOP): Add encoding of missing ranges.
51406 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
51408         [BZ #13673]
51409         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
51410         * sysdeps/mach/hurd/dup3.c: Likewise.
51411         * sysdeps/mach/hurd/readlinkat.c: Likewise.
51412         * sysdeps/powerpc/memmove.c:: Likewise.
51414 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51416         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
51417         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
51419 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51421         * elf/elf.h (R_X86_64_RELATIVE64): New.
51422         (R_X86_64_NUM): Updated.
51423         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
51424         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
51425         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
51426         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
51427         tst-quad1pie tst-quad2pie
51428         (modules-names): Add tst-quadmod1 tst-quadmod2.
51429         ($(objpfx)tst-quad1): New dependency.
51430         ($(objpfx)tst-quad2): Likewise.
51431         ($(objpfx)tst-quad1pie): Likewise.
51432         ($(objpfx)tst-quad2pie): Likewise.
51433         * sysdeps/x86_64/tst-quad1.c: New file.
51434         * sysdeps/x86_64/tst-quad1pie.c: New file.
51435         * sysdeps/x86_64/tst-quad2.c: Likewise.
51436         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
51437         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
51438         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
51439         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
51440         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
51442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51444         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
51445         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
51446         * streams/stropts.h (t_scalar_t): Define type.
51448         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
51449         (_PATH_PRESERVE): Set to "/var/lib".
51450         (_PATH_RWHODIR): Set to "/var/spool/rwho".
51452         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
51453         instead of int.
51455         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
51456         if __dir_mkfile succeeded.
51458         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
51459         checking for _hurd_dtablesize.  Unlock it right after having
51460         finished _hurd_dtable allocation.
51462 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51464         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
51465         * sysdeps/mach/hurd/configure: Regenerated.
51466         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
51467         special-casing to...
51468         * sysdeps/gnu/configure.in: ... this new file.
51469         * sysdeps/unix/sysv/linux/configure: Regenerated.
51470         * sysdeps/gnu/configure: New generated file.
51472         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
51473         for Linux: use nsec instead of usec, as well as:
51474         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
51475         members of type struct timespec.
51476         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
51477         New macros.
51478         (struct stat64): Likewise.
51479         (_STATBUF_ST_NSEC): New macro.
51480         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
51482         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
51483         __strtoul_internal rather than strtoul.
51485 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51487         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
51488         and reject them.
51490 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51492         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
51493         which preserves existing values.
51494         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
51496 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51498         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
51499         TIMEOUT values.  Return EINVAL for NFDS values either negative or
51500         greater than FD_SETSIZE.
51502 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51504         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
51505         allocated, call __vm_protect to finish enabling the existing space, and
51506         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
51507         allocate the remainder.
51509 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51511         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
51512         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
51514 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51516         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
51517         sysdeps/mach/hurd/readlink.c.
51519         * posix/tst-sysconf.c (posix_options): Only use
51520         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
51521         _POSIX_SYNCHRONIZED_IO when they are defined
51522         * sysdeps/mach/hurd/bits/posix_opt.h:
51523         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
51524         (_XOPEN_REALTIME): Undefine macro.
51525         (_XOPEN_REALTIME_THREADS): Undefine macro.
51526         (_XOPEN_SHM): Undefine macro.
51527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
51528         macro to -1.
51529         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
51530         macro to -1.
51531         (_POSIX_ASYNC_IO): Undefine macro.
51532         (_POSIX_PRIORITIZED_IO): Undefine macro.
51533         (_POSIX_SPIN_LOCKS): Define macro to -1.
51535         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
51536         SA_NODEFER, SA_RESETHAND.
51537         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
51538         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
51539         F_DUPFD_CLOEXEC.
51541 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51543         * elf/Makefile (pldd-modules): Define unconditionally.
51545 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51547         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
51549 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51551         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
51552         Return ENOENT when name is empty.
51553         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
51555 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51557         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
51559         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
51561 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51563         Fix mlock in all cases except non-readable pages.
51564         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
51565         instead of VM_PROT_ALL as parameter to __vm_wire function.
51567         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
51568         (__mkdir): When path is `/', just fail with EEXIST.
51569         * sysdeps/mach/hurd/mkdirat.c: Likewise.
51571 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51573         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
51574         <sys/uio.h> (for writev).
51575         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
51576         and <sys/param.h> (for MIN).
51578 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
51580         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
51581         REQUESTED_TIME.  Properly set the remaining time and return EINTR
51582         if interrupted.
51584 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51586         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
51587         Depend on against $(link-rpcuserlibs).
51589 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51591         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
51592         (__libc_stack_end): Do not use attribute_relro.
51593         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
51594         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
51595         to libthread-provided value.
51596         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
51597         attribute_relro.
51599 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51601         [BZ #3748]
51602         * bits/libc-lock.h (__libc_once_get): New macro.
51603         * sysdeps/mach/bits/libc-lock.h: Likewise.
51604         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
51605         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
51606         instead of using implementation details.
51608         * libio/fileops.c: Unconditionally include <kernel-features.h>.
51609         * libio/freopen.c: Likewise.
51610         * libio/freopen64.c: Likewise.
51611         * misc/syslog.c: Likewise.
51612         * nscd/connections.c: Likewise.
51613         * nscd/netgroupcache.c: Likewise.
51614         * sysdeps/posix/getcwd.c: Likewise.
51616 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51618         * math/w_ilogbf.c: Add #include <limits.h>.
51620 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51622         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
51623         path instead of returning without unlocking.
51625         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
51626         immediate-write ioctls.
51627         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
51629 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51631         * sysdeps/mach/hurd/i386/init-first.c (init): Use
51632         __builtin_frame_address instead of making assumptions about the
51633         location of the return address relative to DATA.  Force early load of
51634         the return address.
51635         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
51636         __builtin_frame_address.
51638         dup3 for GNU Hurd.
51639         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
51640         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
51641         implement dup3 and do some further code clean-ups.
51642         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
51643         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
51645 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51647         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
51649         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
51650         HURD_CRITICAL_END around holding _hurd_dtable_lock.
51651         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
51652         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
51653         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
51654         d->port.lock.
51656         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
51657         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
51658         when handler == SIG_ERR, not when handler != SIG_ERR.
51660 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51662         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
51663         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
51664         definitions.
51666         accept4 for GNU Hurd.
51667         * include/sys/socket.h (__libc_accept4): New prototype.
51668         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
51669         to implement __libc_accept4.
51670         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
51671         __libc_accept4.
51672         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
51674         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
51675         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
51676         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
51677         signal-defines.sym.
51679 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51681         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
51683 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
51685         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
51686         assertion on O_CLOEXEC flag.
51687         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
51688         * hurd/intern-fd.c: Likewise.
51689         * hurd/port2fd.c: Likewise.
51691 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51693         [BZ #3906]
51694         * bits/in.h (IPV6_PKTINFO): Define new macro.
51695         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
51697 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51699         [BZ #13954]
51700         [BZ #13955]
51701         [BZ #13956]
51702         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
51703         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51704         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
51705         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51706         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51707         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51708         * math/libm-test.inc (logb_test) : Additional logb tests.
51710 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
51711             Andreas Jaeger  <aj@suse.de>
51713         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
51714         * configure: Regenerated.
51715         * config.h.in (LINK_OBSOLETE_RPC): New macro.
51716         * config.make.in (link-obsolete-rpc): New substituted variable.
51717         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
51718         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
51719         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51720         (shared-only-routines): Don't set it under [link-obsolete-rpc],
51721         so that libc.a contains the symbols.
51722         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
51723         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
51724         * sunrpc/auth_none.c: Likewise.
51725         * sunrpc/auth_unix.c: Likewise.
51726         * sunrpc/authdes_prot.c: Likewise.
51727         * sunrpc/authuxprot.c: Likewise.
51728         * sunrpc/clnt_gen.c: Likewise.
51729         * sunrpc/clnt_perr.c: Likewise.
51730         * sunrpc/clnt_raw.c: Likewise.
51731         * sunrpc/clnt_simp.c: Likewise.
51732         * sunrpc/clnt_tcp.c: Likewise.
51733         * sunrpc/clnt_udp.c: Likewise.
51734         * sunrpc/clnt_unix.c: Likewise.
51735         * sunrpc/des_crypt.c: Likewise.
51736         * sunrpc/des_soft.c: Likewise.
51737         * sunrpc/get_myaddr.c: Likewise.
51738         * sunrpc/key_call.c: Likewise.
51739         * sunrpc/key_prot.c: Likewise.
51740         * sunrpc/netname.c: Likewise.
51741         * sunrpc/pm_getmaps.c: Likewise.
51742         * sunrpc/pm_getport.c: Likewise.
51743         * sunrpc/pmap_clnt.c: Likewise.
51744         * sunrpc/pmap_prot.c: Likewise.
51745         * sunrpc/pmap_prot2.c: Likewise.
51746         * sunrpc/pmap_rmt.c: Likewise.
51747         * sunrpc/publickey.c: Likewise.
51748         * sunrpc/rpc_cmsg.c: Likewise.
51749         * sunrpc/rpc_common.c: Likewise.
51750         * sunrpc/rpc_dtable.c: Likewise.
51751         * sunrpc/rpc_prot.c: Likewise.
51752         * sunrpc/rpc_thread.c: Likewise.
51753         * sunrpc/rtime.c: Likewise.
51754         * sunrpc/svc.c: Likewise.
51755         * sunrpc/svc_auth.c: Likewise.
51756         * sunrpc/svc_raw.c: Likewise.
51757         * sunrpc/svc_run.c: Likewise.
51758         * sunrpc/svc_tcp.c: Likewise.
51759         * sunrpc/svc_udp.c: Likewise.
51760         * sunrpc/svc_unix.c: Likewise.
51761         * sunrpc/svcauth_des.c: Likewise.
51762         * sunrpc/xcrypt.c: Likewise.
51763         * sunrpc/xdr.c: Likewise.
51764         * sunrpc/xdr_array.c: Likewise.
51765         * sunrpc/xdr_float.c: Likewise.
51766         * sunrpc/xdr_intXX_t.c: Likewise.
51767         * sunrpc/xdr_mem.c: Likewise.
51768         * sunrpc/xdr_rec.c: Likewise.
51769         * sunrpc/xdr_ref.c: Likewise.
51770         * sunrpc/xdr_sizeof.c: Likewise.
51771         * sunrpc/xdr_stdio.c: Likewise.
51773 2012-05-10  Roland McGrath  <roland@hack.frob.com>
51775         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
51776         change.  Update copyright years.
51778 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51780         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
51782 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
51783             Joseph Myers  <joseph@codesourcery.com>
51784             Paul Pluzhnikov  <ppluzhnikov@google.com>
51786         [BZ #14012]
51787         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
51788         requiring rpcgen.
51789         [cross-compiling] (extra-libs): Likewise.
51790         [cross-compiling] (extra-libs-others): Likewise.
51791         [cross-compiling] (librpcsvc-routines): Likewise.
51792         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
51793         [cross-compiling] (omit-deps): Likewise.
51794         (sunrpc-CPPFLAGS): New variable.
51795         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
51796         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
51797         (cross-rpcgen-objs): New variable.
51798         (extra-objs): Append $(cross-rpcgen-objs).
51799         ($(cross-rpcgen-objs)): New rule.
51800         ($(objpfx)cross-rpcgen): Likewise.
51801         (rpcgen-cmd): Define to use $(built-program-file).  Expand
51802         comment.
51803         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
51804         ($(objpfx)x%.stmp): Likewise.
51805         * sunrpc/proto.h [IS_IN_build] (_): Define.
51806         [IS_IN_build] (_libc_intl_domainname): Likewise.
51808 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
51810         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
51811         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
51812         and R_X86_64_TPOFF64.
51814 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
51816         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
51817         sysdeps/unix/sysv/syscalls.list.
51818         (stime): Likewise.
51819         (utime): Likewise.
51820         * sysdeps/unix/sysv/syscalls.list: Remove file.
51822 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
51824         [BZ #3440]
51825         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
51826         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
51827         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
51828         (__LC_IDENTIFICATION): Make these macros useful in #if
51829         expressions, as required by C99.
51831 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
51833         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
51834         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
51835         after this.
51837 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
51839         * stdlib/longlong.h: Updated from GCC.
51841 2012-05-09  Andreas Jaeger  <aj@suse.de>
51843         * nscd/nscd.c (run_modes): Make named enum, reorder so that
51844         default is first entry.
51845         (run_mode): Set type.
51846         (main): Remove informal message about syslog.
51847         (options): Fix typo.
51849         [BZ #14053]
51850         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
51851         to asm.
51852         (lrint): Likewise.
51853         (llrintf): Likewise.
51854         (llrint): Likewise.
51855         (rint): Likewise.
51856         (rintf): Likewise.
51857         (nearbyint): Likewise.
51858         (nearbyintf): Likewise.
51860 2012-05-09  Andreas Jaeger  <aj@suse.de>
51861             Pedro Alves  <palves@redhat.com>
51863         * nscd/nscd.c (run_mode): Use enum.
51864         (main): Cleanup coding style issue.
51866 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
51867             Andreas Jaeger  <aj@suse.de>
51869         * nscd/nscd.c (go_background): Replaced with...
51870         (run_mode): ... this.
51871         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
51872         (options): Add -F --foreground.
51873         (main): Implement it.
51874         (parse_opt): Parse it.
51876 2012-05-09  Andreas Jaeger  <aj@suse.de>
51878         [BZ #14083]
51879         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
51880         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
51881         -Wconversion warning.
51882         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
51883         Likewise.
51885 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
51887         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
51888         == 0.
51889         (LC_ALL): Use macro-int-constant.
51890         (LC_COLLATE): Likewise.
51891         (LC_CTYPE): Likewise.
51892         (LC_MESSAGES): Likewise.
51893         (LC_MONETARY): Likewise.
51894         (LC_NUMERIC): Likewise.
51895         (LC_TIME): Likewise.
51896         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
51897         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51898         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51899         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
51900         Specify type.
51901         [C99-based standards] (float_t): Expect type.
51902         [C99-based standards] (double_t): Expect type.
51903         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
51904         type.
51905         [C99-based standards] (HUGE_VALL): Likewise.
51906         [C99-based standards] (INFINITY): Likewise.
51907         [C99-based standards] (NAN): Likewise.
51908         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
51909         [C99-based standards] (FP_NAN): Likewise.
51910         [C99-based standards] (FP_NORMAL): Likewise.
51911         [C99-based standards] (FP_SUBNORMAL): Likewise.
51912         [C99-based standards] (FP_ZERO): Likewise.
51913         [C99-based standards] (FP_FAST_FMA): Use
51914         optional-macro-int-constant.  Specify type.  Require == 1.
51915         [C99-based standards] (FP_FAST_FMAF): Likewise.
51916         [C99-based standards] (FP_FAST_FMAL): Likewise.
51917         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
51918         [C99-based standards] (FP_ILOGBNAN): Likewise.
51919         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
51920         Specify type.
51921         [C99-based standards] (MATH_ERREXCEPT): Likewise.
51922         [C99-based standards] (math_errhandling): Specify type.
51923         [ISO99 || ISO11] (signgam): Do not allow.
51924         [non-C99-based standards] (copysignf): Do not allow.
51925         [non-C99-based standards] (exp2f): Likewise.
51926         [non-C99-based standards] (log2f): Likewise.
51927         [non-C99-based standards] (modff): Allow.
51928         [non-C99-based standards] (erff): Do not allow.
51929         [non-C99-based standards] (erfcf): Likewise.
51930         [non-C99-based standards] (gammaf): Likewise.
51931         [non-C99-based standards] (hypotf): Likewise.
51932         [non-C99-based standards] (j0f): Likewise.
51933         [non-C99-based standards] (j1f): Likewise.
51934         [non-C99-based standards] (jnf): Likewise.
51935         [non-C99-based standards] (lgammaf): Likewise.
51936         [non-C99-based standards] (tgammaf): Likewise.
51937         [non-C99-based standards] (y0f): Likewise.
51938         [non-C99-based standards] (y1f): Likewise.
51939         [non-C99-based standards] (ynf): Likewise.
51940         [non-C99-based standards] (isnanf): Likewise.
51941         [non-C99-based standards] (acoshf): Likewise.
51942         [non-C99-based standards] (asinhf): Likewise.
51943         [non-C99-based standards] (atanhf): Likewise.
51944         [non-C99-based standards] (cbrtf): Likewise.
51945         [non-C99-based standards] (expm1f): Likewise.
51946         [non-C99-based standards] (ilogbf): Likewise.
51947         [non-C99-based standards] (log1pf): Likewise.
51948         [non-C99-based standards] (logbf): Likewise.
51949         [non-C99-based standards] (nextafterf): Likewise.
51950         [non-C99-based standards] (remainderf): Likewise.
51951         [non-C99-based standards] (rintf): Likewise.
51952         [non-C99-based standards] (scalbf): Likewise.
51953         [non-C99-based standards] (copysignl): Likewise.
51954         [non-C99-based standards] (exp2l): Likewise.
51955         [non-C99-based standards] (log2l): Likewise.
51956         [non-C99-based standards] (modfl): Allow.
51957         [non-C99-based standards] (erfl): Do not allow.
51958         [non-C99-based standards] (erfcl): Likewise.
51959         [non-C99-based standards] (gammal): Likewise.
51960         [non-C99-based standards] (hypotl): Likewise.
51961         [non-C99-based standards] (j0l): Likewise.
51962         [non-C99-based standards] (j1l): Likewise.
51963         [non-C99-based standards] (jnl): Likewise.
51964         [non-C99-based standards] (lgammal): Likewise.
51965         [non-C99-based standards] (tgammal): Likewise.
51966         [non-C99-based standards] (y0l): Likewise.
51967         [non-C99-based standards] (y1l): Likewise.
51968         [non-C99-based standards] (ynl): Likewise.
51969         [non-C99-based standards] (isnanl): Likewise.
51970         [non-C99-based standards] (acoshl): Likewise.
51971         [non-C99-based standards] (asinhl): Likewise.
51972         [non-C99-based standards] (atanhl): Likewise.
51973         [non-C99-based standards] (cbrtl): Likewise.
51974         [non-C99-based standards] (expm1l): Likewise.
51975         [non-C99-based standards] (ilogbl): Likewise.
51976         [non-C99-based standards] (log1pl): Likewise.
51977         [non-C99-based standards] (logbl): Likewise.
51978         [non-C99-based standards] (nextafterl): Likewise.
51979         [non-C99-based standards] (remainderl): Likewise.
51980         [non-C99-based standards] (rintl): Likewise.
51981         [non-C99-based standards] (scalbl): Likewise.
51982         [ISO || ISO99 || ISO11] (*_t): Do not allow.
51983         [non-C99-based standards] (FP_*): Do not allow.
51984         [C99-based standards] (FP_*): Change to
51985         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
51986         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
51987         allow.
51988         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
51989         (SIG_ERR): Likewise.
51990         [X/Open-based standards] (SIG_HOLD): Likewise.
51991         (SIG_IGN): Likewise.
51992         (SIGABRT): Use macro-int-constant.  Specify type.  Require
51993         positive value.
51994         (SIGFPE): Likewise.
51995         (SIGILL): Likewise.
51996         (SIGINT): Likewise.
51997         (SIGSEGV): Likewise.
51998         (SIGTER): Likewise.
51999         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
52000         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
52001         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
52002         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
52003         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
52004         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
52005         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
52006         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
52007         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
52008         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
52009         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
52010         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
52011         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
52012         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
52013         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
52014         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
52015         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
52016         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
52017         [X/Open-based standards] (SIGTRAP): Likewise.
52018         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
52019         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
52020         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
52021         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
52022         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52023         allow.
52025 2012-05-08  Ian Wienand  <ianw@vmware.com>
52027         [BZ #14080]
52028         * time/tzset.c (__tzset_parse_tz): Update default rules for
52029         daylight time changes in the Energy Policy Act of 2005.
52031 2012-05-09  Andreas Jaeger  <aj@suse.de>
52033         [BZ #13983]
52034         * elf/ldconfig.c (parse_conf): Change string to make clear that
52035         ldconfig only issued a warning if ld.so.conf does not exist.
52037 2012-05-08  David S. Miller  <davem@davemloft.net>
52039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
52040         movxtod instead of popping the value on the stack.
52042         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52044 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
52046         * config.h.in: Add HAVE_ARM_PCS_VFP.
52048 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
52050         [BZ #13979]
52051         * include/features.h: Warn if user requests __FORTIFY_SOURCE
52052         checking but the checks are disabled for any reason.
52054 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
52056         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
52057         and ELF64_R_TYPE with ELFW(R_TYPE).
52059 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
52061         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
52062         (ulimit): Likewise.
52064         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
52065         (settimeofday): Likewise.
52067 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
52069         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
52070         a struct th_u2 inside the union, and move tu_block/tu_code into
52071         a new th_u3 union of tu_block/tu_code inside of that.  Move
52072         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
52073         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
52074         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
52075         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
52076         (th_stuff): Change to th_u1.tu_stuff.
52077         (th_data): Define.
52078         (th_msg): Change to th_u1.th_u2.tu_data.
52080 2012-05-07  David S. Miller  <davem@davemloft.net>
52082         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52084         [BZ #14074]
52085         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
52086         (SETUP_PIC_REG): Use it.
52087         (SETUP_PIC_REG_LEAF): Use it.
52089 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
52091         [BZ #13885]
52092         [BZ #13923]
52093         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52094         USE_AS_EXPM1L.
52095         (EXPL_FINITE): Likewise.
52096         (FLDLOG): Likewise.
52097         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52098         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52099         e_expl.S.
52100         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52101         USE_AS_EXPM1L.
52102         (EXPL_FINITE): Likewise.
52103         (FLDLOG): Likewise.
52104         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
52105         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
52106         e_expl.S.
52107         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
52108         test of -max_value argument for long double.
52109         * sysdeps/i386/fpu/libm-test-ulps: Update.
52110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52112 2012-05-06  David S. Miller  <davem@davemloft.net>
52114         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
52115         quad soft-float symbols whose references which are compiler
52116         generated.
52117         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52119 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
52121         [BZ #13884]
52122         [BZ #13914]
52123         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52124         USE_AS_EXP10L.
52125         (EXPL_FINITE): Likewise.
52126         (FLDLOG): Likewise.
52127         (c0): Likewise.
52128         (c1): Likewise.
52129         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52130         Adjust comments for base varying.
52131         (__expl_finite): Change alias to EXPL_FINITE.
52132         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
52133         e_expl.S.
52134         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
52135         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
52136         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52137         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
52138         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
52139         USE_AS_EXP10L.
52140         (EXPL_FINITE): Likewise.
52141         (FLDLOG): Likewise.
52142         (c0): Likewise.
52143         (c1): Likewise.
52144         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
52145         Adjust comments for base varying.
52146         (__expl_finite): Change alias to EXPL_FINITE.
52147         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
52148         tests for bugs.
52149         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52151         [BZ #14064]
52152         * math/libm-test.inc (check_float_internal): Correct ulp
52153         calculation for subnormal expected results.
52155 2012-05-06  Andreas Jaeger  <aj@suse.de>
52157         * Makeconfig (+math-flags): New, set to -frounding-math.
52158         (+cflags): Add +math-flags so that all of glibc gets compiled with
52159         it.
52161         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
52163 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
52165         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
52166         Disable one test.
52168         [BZ #13787]
52169         [BZ #13922]
52170         [BZ #14036]
52171         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
52172         (__ieee754_expl): Allow for and saturate large arguments.
52173         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
52174         (u_threshold): Likewise.
52175         (__exp): Call __ieee754_exp before checking for overflow and
52176         underflow.
52177         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
52178         (u_threshold): Likewise.
52179         (__expf): Call __ieee754_expf before checking for overflow and
52180         underflow.
52181         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
52182         (u_threshold): Likewise.
52183         (__expl): Call __ieee754_expl before checking for overflow and
52184         underflow.
52185         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
52186         (__ieee754_expl): Allow for and saturate large arguments.
52187         * math/libm-test.inc (exp_test): Add another test.  Do not allow
52188         missing overflow exception on overflow.
52189         (expm1_test): Do not allow missing overflow exception on overflow.
52191         * sysdeps/i386/fpu/e_expl.c: Move to ...
52192         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
52193         rather than using inline asm.
52194         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
52195         * sysdeps/x86_64/fpu/e_expl.S: Copy from
52196         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
52198         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
52199         (nice): Likewise.
52200         (poll): Likewise.
52201         (signal): Likewise.
52202         (time): Likewise.
52203         (times): Likewise.
52205 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52207         * sysdeps/unix/syscalls.list (adjtime): Add entry from
52208         sysdeps/unix/common/syscalls.list.
52209         (fchmod): Likewise.
52210         (fchown): Likewise.
52211         (ftruncate): Likewise.
52212         (getrusage): Likewise.
52213         (gettimeofday): Likewise.
52214         (setpgid): Likewise.
52215         (setregid): Likewise.
52216         (setreuid): Likewise.
52217         (sigaction): Likewise.
52218         (truncate): Likewise.
52219         (vhangup): Likewise.
52220         * sysdeps/unix/common/syscalls.list: Remove file.
52221         * sysdeps/unix/bsd/Implies: Don't include unix/common.
52222         * sysdeps/unix/sysv/linux/Implies: Likewise.
52224 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
52226         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
52227         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
52228         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
52229         Moved to ...
52230         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52231         Here.
52232         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
52233         to ...
52234         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
52235         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
52236         to ...
52237         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
52238         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
52239         to ...
52240         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
52241         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
52242         to ...
52243         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
52244         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
52245         to ...
52246         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
52247         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
52248         to ...
52249         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
52250         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
52251         to ...
52252         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
52253         Here.
52254         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
52255         to ...
52256         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
52257         Here.
52258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
52259         to ...
52260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
52261         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
52262         Moved to ...
52263         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
52264         Here.
52265         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
52266         to ...
52267         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
52269 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52271         * sysdeps/unix/common/bits/dirent.h: Remove file.
52272         * sysdeps/unix/common/bits/fcntl.h: Likewise.
52274         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
52275         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
52276         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
52277         * sysdeps/unix/bsd/isatty.c: Likewise.
52278         * sysdeps/unix/bsd/tcdrain.c: Likewise.
52279         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
52280         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
52282 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52284         [BZ #13563]
52285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
52286         long double comparison inaccuracies.
52287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52290 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
52292         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
52293         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
52295 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
52297         [BZ #14049]
52298         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
52299         nonzero digits before rounding a hex value.
52300         * stdlib/tst-strtod.c (tests): Add another test.
52302 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52304         * sysdeps/s390/fpu/libm-test-ulps: Update.
52306 2012-05-03  Andreas Jaeger  <aj@suse.de>
52308         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
52309         does not get optimized out.
52310         (malloc_opt_barrier): New.
52312 2012-05-03  Andreas Jaeger  <aj@suse.de>
52313             Roland McGrath  <roland@hack.frob.com>
52315         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
52316         intermediate file deletion.
52317         (generated): Add .symlist files.
52319 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
52321         [BZ #13775]
52322         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
52323         Redirect under this condition.
52324         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52325         [__USE_GNU] (__dprintf_chk): Not under this condition.
52326         [__USE_GNU] (__vdprintf_chk): Likewise.
52327         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
52328         under this condition.
52329         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
52330         [__USE_XOPEN2K8] (dprintf): Define under this condition.
52331         [__USE_XOPEN2K8] (vdprintf): Likewise.
52332         [__USE_GNU] (__dprintf_chk): Not under this condition.
52333         [__USE_GNU] (__vdprintf_chk): Likewise.
52334         [__USE_GNU] (dprintf): Likewise.
52335         [__USE_GNU] (vdprintf): Likewise.
52337 2012-05-03  Roland McGrath  <roland@hack.frob.com>
52339         * elf/Makefile (common-generated): Set this instead of generated for
52340         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
52341         $(all-built-dso)-derived lists.
52343 2012-05-03  Andreas Jaeger  <aj@suse.de>
52345         * sysdeps/i386/fpu/libm-test-ulps: Update.
52347         * FAQ: Removed.
52348         * FAQ.in: Likewise.
52349         * scripts/gen-FAQ.pl: Likewise.
52350         * manual/install.texi (Installation): Point to online location of
52351         FAQ.
52352         * Makefile (files-for-dist): Remove FAQ.
52353         (FAQ): Remove.
52355 2012-05-02  Allan McRae  <allan@archlinux.org>
52357         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
52358         (LDFLAGS-reldepmod5.so): Likewise.
52359         (LDFLAGS-reldep6mod1.so): Likewise.
52360         (LDFLAGS-reldep6mod4.so): Likewise.
52361         (LDFLAGS-reldep8mod3.so): Likewise.
52362         (LDFLAGS-unload4mod1.so): Likewise.
52363         (LDFLAGS-unload4mod2.so): Likewise.
52364         (LDFLAGS-tst-initorder): Likewise.
52365         (LDFLAGS-tst-initordera2.so): Likewise.
52366         (LDFLAGS-tst-initordera3.so): Likewise.
52367         (LDFLAGS-tst-initordera4.so): Likewise.
52368         (LDFLAGS-tst-initorderb2.so): Likewise.
52369         (LDFLAGS-noload): Likewise.
52370         (LDFLAGS-next): Likewise.
52371         (LDFLAGS-order2mod1.so): Likewise.
52372         (LDFLAGS-order2mod2.so): Likewise.
52373         (LDFLAGS-tst-initorder2): Likewise.
52374         (LDFLAGS-tst-initorder2a.so): Likewise.
52375         (LDFLAGS-tst-initorder2b.so): Likewise.
52376         (LDFLAGS-tst-initorder2c.so): Likewise.
52377         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
52379 2012-05-02  David S. Miller  <davem@davemloft.net>
52381         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52383 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
52385         [BZ #14055]
52386         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
52388 2012-05-02  Andreas Jaeger  <aj@suse.de>
52390         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
52391         since we manipulate rounding mode.
52392         (CPPFLAGS-test-idouble.c): Likewise.
52393         (CPPFLAGS-test-ifloat.c): Likewise.
52394         (CFLAGS-test-ldouble.c): Likewise.
52395         (CFLAGS-test-double.c): Likewise.
52396         (CFLAGS-test-float.c): Likewise.
52397         (CFLAGS-test-misc.c): Likewise.
52398         (CFLAGS-test-test-fenv.c): Likewise.
52400 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52402         [BZ #2550]
52403         [BZ #2570]
52404         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
52405         comparisons to determine direction to adjust input.
52407 2012-05-01  Roland McGrath  <roland@hack.frob.com>
52409         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
52410         output to the target.
52412         * scripts/localplt.awk: New file.
52413         * elf/Makefile ($(objpfx)check-localplt): Target removed.
52414         (check-localplt-CFLAGS): Variable removed.
52415         ($(all-built-dso:=.jmprel)): New static pattern rule.
52416         (generated): Add those targets.
52417         (localplt-built-dso): New variable.
52418         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
52420         * elf/check-localplt.c: File removed.
52422         * scripts/check-execstack.awk: New file.
52423         * elf/Makefile ($(objpfx)check-execstack): Target removed.
52424         (check-execstack-CFLAGS): Variable removed.
52425         ($(objpfx)check-execstack.h): Target removed.
52426         ($(objpfx)execstack-default): New target.
52427         (generated): Add that instead of check-execstack.h.
52428         ($(all-built-dso:=.phdr)): New static pattern rule.
52429         (generated): Add those targets.
52430         * elf/check-execstack.c: File removed.
52432         * scripts/check-textrel.awk: New file.
52433         * elf/Makefile ($(objpfx)check-textrel): Target removed.
52434         (check-textrel-CFLAGS): Variable removed.
52435         (all-built-dso): Use := to define.o
52436         ($(all-built-dso:=.dyn)): New static pattern rule.
52437         (generated): Add those targets.
52438         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
52439         * config.make.in (READELF): New substituted variable.
52440         * elf/check-textrel.c: File removed.
52442 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52444         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
52445         allow.
52446         * conform/data/ctype.h-data [C99-based standards] (isblank):
52447         Expect function.
52448         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
52449         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
52450         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52451         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
52452         Specify type.  Require positive value.
52453         (EILSEQ): Likewise.
52454         (ERANGE): Likewise.
52455         [ISO || POSIX] (EILSEQ): Do not expect.
52456         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
52457         Specify type.  Require positive value.
52458         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
52459         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
52460         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
52461         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
52462         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
52463         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
52464         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
52465         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
52466         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
52467         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
52468         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
52469         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
52470         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
52471         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
52472         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
52473         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
52474         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
52475         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
52476         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
52477         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
52478         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
52479         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
52480         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
52481         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
52482         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
52483         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
52484         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
52485         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
52486         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
52487         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
52488         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
52489         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
52490         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
52491         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
52492         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
52493         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
52494         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
52495         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
52496         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
52497         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
52498         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
52499         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
52500         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
52501         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
52502         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
52503         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
52504         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
52505         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
52506         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
52507         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
52508         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
52509         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
52510         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
52511         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
52512         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
52513         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
52514         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
52515         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
52516         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
52517         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
52518         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
52519         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
52520         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
52521         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
52522         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
52523         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
52524         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
52525         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
52526         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
52527         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
52528         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
52529         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
52530         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
52531         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
52532         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
52533         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
52534         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
52535         Require >= 2.
52536         (FLT_ROUNDS): Expect as macro, not constant.
52537         (FLT_MANT_DIG): Use macro-int-constant.
52538         (DBL_MANT_DIG): Likewise.
52539         (LDBL_MANT_DIG): Likewise.
52540         (FLT_DIG): Likewise.
52541         (DBL_DIG): Likewise.
52542         (LDBL_DIG): Likewise.
52543         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
52544         (DBL_MIN_EXP): Likewise.
52545         (LDBL_MIN_EXP): Likewise.
52546         (FLT_MAX_EXP): Use macro-int-constant.
52547         (DBL_MAX_EXP): Likewise.
52548         (LDBL_MAX_EXP): Likewise.
52549         (FLT_MAX_10_EXP): Likewise.
52550         (DBL_MAX_10_EXP): Likewise.
52551         (LDBL_MAX_10_EXP): Likewise.
52552         (FLT_MAX): Use macro-constant.
52553         (DBL_MAX): Likewise.
52554         (LDBL_MAX): Likewise.
52555         (FLT_EPSILON): Use macro-constant.  Give upper bound.
52556         (DBL_EPSILON): Likewise.
52557         (LDBL_EPSILON): Likewise.
52558         (FLT_MIN): Likewise.
52559         (DBL_MIN): Likewise.
52560         (LDBL_MIN): Likewise.
52561         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
52562         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
52563         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
52564         [ISO11] (FLT_HAS_SUBNORM): Likewise.
52565         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
52566         [ISO11] (DBL_DECIMAL_DIG): Likewise.
52567         [ISO11] (FLT_DECIMAL_DIG): Likewise.
52568         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
52569         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
52570         [ISO11] (FLT_TRUE_MIN): Likewise.
52571         [ISO11] (LDBL_TRUE_MIN): Likewise.
52572         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52573         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
52574         (SCHAR_MIN): Use macro-int-constant.  Specify type.
52575         (SCHAR_MAX): Likewise.
52576         (UCHAR_MAX): Likewise.
52577         (CHAR_MIN): Likewise.
52578         (CHAR_MAX): Likewise.
52579         (MB_LEN_MAX): Use macro-int-constant.
52580         (SHRT_MIN): Use macro-int-constant.  Specify type.
52581         (SHRT_MAX): Likewise.
52582         (USHRT_MAX): Likewise.
52583         (INT_MAX): Likewise.
52584         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
52585         bound negative.
52586         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52587         bound with "U".
52588         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52589         bound with "L".
52590         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
52591         bound negative.  Suffix upper bound with "L".
52592         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
52593         bound with "UL".
52594         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
52595         Specify type.
52596         [C99-based standards] (LLONG_MAX): Likewise.
52597         [C99-based standards] (ULLONG_MAX): Likewise.
52598         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
52599         == 0.
52600         [ISO11] (max_align_t): Require type.
52601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
52603         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
52604         from $CFLAGS, without defining away __attribute__ calls.
52605         (checknamespace): Use $CFLAGS_namespace.
52607         * conform/conformtest.pl (@keywords): Only include C99 keywords
52608         for standards based on C99 or C11.
52610         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
52611         Disable tests.
52612         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
52613         UNIX98]: Likewise.
52615         * conform/conformtest.pl: Handle "macro-int-constant" and test for
52616         usability of symbols in #if.
52618         * conform/conformtest.pl: If macro or constant types start
52619         "promoted:", expect the symbol to be of the following type
52620         promoted by the integer promotions.
52622         * conform/conformtest.pl: Parse all "constant" and "macro" lines
52623         in one place.  Also handle "macro-constant".
52625         * conform/conformtest.pl: Only accept expected macro values with
52626         "==".  Parse all "macro" lines in one place.
52627         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
52629         * conform/conformtest.pl: Handle braced types on "constant" lines
52630         instead of handling "typed-constant".
52631         * conform/data/signal.h-data: Use "constant" instead of
52632         "typed-constant".
52634         * conform/conformtest.pl: Handle "optional-" at start of lines in
52635         one place rather than duplicating several cases.  Handle each
52636         format of "macro" line with initial "optional-".
52638         * conform/conformtest.pl: Only accept expected constant or
52639         optional-constant values with "==".  Parse all "constant" lines in
52640         one place.  Parse all "optional-constant" lines in one place.
52641         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
52642         * conform/data/fmtmsg.h-data: Likewise.
52643         * conform/data/netinet/in.h-data: Likewise.
52644         * conform/data/tar.h-data: Likewise.
52645         * conform/data/limits.h-data: Use "==" form on "constant" and
52646         "optional-constant" lines.
52648         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
52649         Use -std=c99 for XOPEN2K.
52650         (@knownproblems): Remove.
52651         (newtoken): Don't check %isknown.
52653         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
52654         Do not expect macro.
52655         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
52656         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
52657         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
52658         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
52659         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
52660         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
52661         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
52662         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
52663         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
52664         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
52665         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
52666         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
52667         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
52668         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
52669         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
52670         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
52671         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
52672         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
52673         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
52674         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
52675         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
52676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
52677         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
52678         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
52679         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
52680         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
52681         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
52682         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
52683         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
52684         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
52685         [XPG3] (acosh): Likewise.
52686         [XPG3] (asinh): Likewise.
52687         [XPG3] (atanh): Likewise.
52688         [XPG3] (cbrt): Likewise.
52689         [XPG3] (expm1): Likewise.
52690         [XPG3] (ilogb): Likewise.
52691         [XPG3] (log1p): Likewise.
52692         [XPG3] (logb): Likewise.
52693         [XPG3] (nextafter): Likewise.
52694         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
52695         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
52696         [XPG3] (remainder): Likewise.
52697         [XPG3] (rint): Likewise.
52698         [XPG3 || XPG4 || UNIX98] (round): Likewise.
52699         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
52700         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
52701         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
52702         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
52703         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
52704         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
52705         [UNIX98 || XOPEN2K] (scalb): Expect.
52706         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
52707         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
52708         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
52709         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
52710         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
52711         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
52712         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
52713         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
52714         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
52715         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
52716         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
52717         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
52718         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
52719         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
52720         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
52721         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
52722         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
52723         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
52724         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
52725         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
52726         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
52727         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
52728         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
52729         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
52730         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
52731         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
52732         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
52733         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
52734         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
52735         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
52736         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
52737         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
52738         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
52739         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
52740         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
52741         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
52742         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
52743         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
52744         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
52745         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
52746         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
52747         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
52748         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
52749         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
52750         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
52751         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
52752         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
52753         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
52754         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
52755         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
52756         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
52757         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
52758         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
52759         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
52760         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
52761         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
52762         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
52763         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
52764         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
52765         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
52766         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
52767         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
52768         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
52769         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
52770         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
52771         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
52772         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
52773         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
52774         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
52775         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
52776         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
52777         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
52778         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
52779         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
52780         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
52781         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
52782         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
52783         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
52784         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
52785         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
52786         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
52787         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
52788         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
52789         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
52790         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
52791         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
52792         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
52793         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
52794         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
52795         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
52796         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
52797         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
52798         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
52799         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
52800         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
52801         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
52802         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
52803         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
52804         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
52805         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
52806         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
52807         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
52808         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
52809         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
52810         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
52811         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
52812         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
52813         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
52814         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
52815         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
52816         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
52817         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
52818         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
52819         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
52820         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
52821         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
52822         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
52823         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
52824         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
52825         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
52826         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
52827         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
52828         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
52829         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
52830         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
52831         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
52832         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
52833         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
52834         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
52835         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
52836         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
52837         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
52838         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
52839         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
52840         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
52841         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
52842         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
52844         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
52845         _XOPEN_SOURCE_EXTENDED for XPG4.
52847         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
52849         * Makeconfig (localtime): Remove variable.
52850         (inst_localtime-file): Likewise.
52852 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
52855         Update.
52856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52857         Update.
52858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
52859         Update.
52860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
52861         Update.
52862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
52863         Update.
52864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
52865         Update.
52866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
52867         Update.
52868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
52869         Update.
52870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
52871         Update.
52873 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
52875         [BZ #2550]
52876         [BZ #2570]
52877         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
52878         comparisons to determine direction to adjust input.
52879         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
52880         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
52881         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
52882         Likewise.
52883         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
52884         Likewise.
52885         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52886         Likewise.
52887         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
52888         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
52889         Likewise.
52890         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
52891         Likewise.
52892         * math/libm-test.inc (nexttoward_test): Add more tests.
52894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52896         [BZ #14040]
52897         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
52898         in version GLIBC_2.1, not GLIBC_2.0.
52899         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
52900         Likewise.
52902 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
52904         [BZ #13942]
52905         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
52906         (1 - x) * (1 + x).
52907         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52908         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
52909         * math/libm-test.inc (acos_test): Add more tests.
52910         (asin_test): Likewise.
52911         * sysdeps/i386/fpu/libm-test-ulps: Update.
52912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52914         [BZ #14034]
52915         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
52916         of square root.
52917         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
52918         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
52919         * math/libm-test.inc (acos_test_tonearest): New function.
52920         (acos_test_towardzero): Likewise.
52921         (acos_test_downward): Likewise.
52922         (acos_test_upward): Likewise.
52923         (asin_test_tonearest): Likewise.
52924         (asin_test_towardzero): Likewise.
52925         (asin_test_downward): Likewise.
52926         (asin_test_upward): Likewise.
52927         (main): Call the new functions.
52928         * sysdeps/i386/fpu/libm-test-ulps: Update.
52929         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52931         [BZ #13884]
52932         [BZ #13924]
52933         * math/e_exp10.c: Include <float.h>.
52934         (__ieee754_exp10): Handle underflow here rather than multiplying
52935         large negative argument by M_LN10.
52936         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
52937         of __ieee754_expf.
52938         * math/e_exp10l.c: Include <float.h>.
52939         (__ieee754_exp10l): Handle underflow here rather than multiplying
52940         large negative argument by M_LN10l.
52941         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
52942         spurious overflow exception on underflow.
52944 2012-04-29  Marek Polacek  <polacek@redhat.com>
52946         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
52947         (__fortify_function): New macro.
52948         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
52949         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
52950         __extern_always_inline.
52951         * libio/bits/stdio2.h: Likewise.
52952         * libio/bits/stdio.h: Likewise.
52953         * string/string.h: Likewise.
52954         * string/bits/string3.h: Likewise.
52955         * include/stdio.h: Likewise.
52956         * stdlib/bits/stdlib.h: Likewise.
52957         * stdlib/stdlib.h: Likewise.
52958         * rt/bits/mqueue2.h: Likewise.
52959         * rt/mqueue.h: Likewise.
52960         * posix/bits/unistd.h: Likewise.
52961         * posix/unistd.h: Likewise.
52962         * io/bits/poll2.h: Likewise.
52963         * io/bits/fcntl2.h: Likewise.
52964         * io/fcntl.h: Likewise.
52965         * io/sys/poll.h: Likewise.
52966         * misc/bits/syslog.h: Likewise.
52967         * misc/bits/syslog-ldbl.h: Likewise.
52968         * misc/sys/syslog.h: Likewise.
52969         * socket/bits/socket2.h: Likewise.
52970         * socket/sys/socket.h: Likewise.
52971         * debug/tst-chk1.c: Likewise.
52972         * wcsmbs/bits/wchar2.h: Likewise.
52973         * wcsmbs/bits/wchar-ldbl.h: Likewise.
52974         * wcsmbs/wchar.h: Likewise.
52976 2012-04-29  Andreas Jaeger  <aj@suse.de>
52978         * Makerules (tests): Remove enable-check-abi protection.
52979         (check-abi-warn): Remove.
52980         (check-abi-%): Remove check-abi-warn usage.
52982         * configure.in: Remove check-abi configure option.
52983         * configure: Regenerated.
52984         * config.make.in (enable-check-abi): Remove.
52986 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
52988         [BZ #14033]
52989         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
52990         double functions to double *_finite functions.
52992         [BZ #13941]
52993         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
52994         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
52995         LDBL_MIN_EXP.
52996         * stdio-common/Makefile (tests): Add tst-sprintf3.
52997         * stdio-common/tst-sprintf3.c: New file.
52999         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
53000         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
53002 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53004         * conform/conformtest.pl: Remove duplicate typed-constant
53005         handling.
53007 2012-04-28  David S. Miller  <davem@davemloft.net>
53009         * Makerules (%.abilist): Add vpath on sysdep_dirs.
53010         (check-abi-%): Remove AWK script prerequisite and explicit
53011         abilist directory.
53012         (check-abi): Rewrite to just diff the symlist with the abilist.
53013         (config-tls, config-abi-config): Delete, no longer used.
53014         (update-abi-%): Remove AWK script and explicit abilist directory.
53015         (update-abi): Rewrite to simply compare and conditionally copy the
53016         symlist and the sysdep abilist file.  Remove update-abi-config
53017         checks.
53018         * abilist/ld.abilist: Remove.
53019         * abilist/libBrokenLocale.abilist: Remove.
53020         * abilist/libanl.abilist: Remove.
53021         * abilist/libcrypt.abilist: Remove.
53022         * abilist/libdl.abilist: Remove.
53023         * abilist/librt.abilist: Remove.
53024         * abilist/libthread_db.abilist: Remove.
53025         * abilist/libutil.abilist: Remove.
53026         * scripts/extract-abilist.awk: Remove.
53027         * scripts/merge-abilist.awk: Remove.
53028         * sysdeps/generic/libcidn.abilist: New file.
53029         * sysdeps/generic/libnss_compat.abilist: New file.
53030         * sysdeps/generic/libnss_db.abilist: New file.
53031         * sysdeps/generic/libnss_dns.abilist: New file.
53032         * sysdeps/generic/libnss_files.abilist: New file.
53033         * sysdeps/generic/libnss_hesiod.abilist: New file.
53034         * sysdeps/generic/libnss_nis.abilist: New file.
53035         * sysdeps/generic/libnss_nisplus.abilist: New file.
53036         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
53037         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
53038         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
53039         file.
53040         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
53041         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
53042         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
53043         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
53044         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
53045         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
53046         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
53047         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
53048         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
53049         file.
53050         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
53051         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
53052         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
53053         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
53054         file.
53055         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
53056         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
53057         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
53058         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
53059         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
53060         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
53061         file.
53062         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
53063         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
53064         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
53065         file.
53066         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
53067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
53068         New file.
53069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
53070         New file.
53071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
53072         New file.
53073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
53074         New file.
53075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
53076         New file.
53077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
53078         New file.
53079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
53080         New file.
53081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
53082         New file.
53083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
53084         New file.
53085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
53086         New file.
53087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
53088         New file.
53089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
53090         New file.
53091         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
53092         New file.
53093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
53094         file.
53095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
53096         New file.
53097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
53098         New file.
53099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
53100         file.
53101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
53102         New file.
53103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
53104         New file.
53105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
53106         file.
53107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
53108         New file.
53109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
53110         New file.
53111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
53112         New file.
53113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
53114         New file.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
53116         New file.
53117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
53118         New file.
53119         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
53120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
53121         file.
53122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
53123         New file.
53124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
53125         file.
53126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
53127         file.
53128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
53129         file.
53130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
53131         file.
53132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
53133         file.
53134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53135         New file.
53136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
53137         file.
53138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
53139         file.
53140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
53141         New file.
53142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
53143         file.
53144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
53145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
53146         file.
53147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
53148         New file.
53149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
53150         file.
53151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
53152         file.
53153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
53154         file.
53155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
53156         file.
53157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
53158         file.
53159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
53160         New file.
53161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
53162         file.
53163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
53164         file.
53165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
53166         New file.
53167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
53168         file.
53169         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
53170         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
53171         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
53172         file.
53173         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
53174         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
53175         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
53176         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
53177         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
53178         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
53179         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
53180         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
53181         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
53182         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
53183         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
53184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
53185         file.
53186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
53187         New file.
53188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
53189         file.
53190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
53191         file.
53192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
53193         file.
53194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
53195         file.
53196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
53197         file.
53198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
53199         New file.
53200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
53201         New file.
53202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
53203         file.
53204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
53205         New file.
53206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
53207         file.
53208         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
53209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
53210         file.
53211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
53212         New file.
53213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
53214         file.
53215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
53216         file.
53217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
53218         file.
53219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
53220         file.
53221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
53222         file.
53223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
53224         New file.
53225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
53226         New file.
53227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
53228         file.
53229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
53230         New file.
53231         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
53232         file.
53234 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
53236         * conform/conformtest.pl: Fix typo in handling typed-constant from
53237         allow-header.
53239 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53241         * README: Cut down references to pre-2.6 Linux kernels and
53242         Linuxthreads.  Update lists of configurations in libc and ports
53243         and sort alphabetically.  Say "or newer" with Linux kernel version
53244         requirements.
53246         * config.h.in [IS_IN_build]: Allow compiling without optimization.
53248 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53250         [BZ #887]
53251         * math/libm-test.inc (logb_test_downward): New test to expose
53252         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
53253         rounding mode.
53255 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
53257         [BZ #14027]
53258         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
53259         to be done.
53260         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
53261         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
53263 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
53265         * sysdeps/unix/i386/brk.S: Remove file.
53266         * sysdeps/unix/i386/dl-brk.S: Likewise.
53267         * sysdeps/unix/i386/pipe.S: Likewise.
53268         * sysdeps/unix/i386/sigreturn.S: Likewise.
53269         * sysdeps/unix/i386/syscall.S: Likewise.
53270         * sysdeps/unix/i386/vfork.S: Likewise.
53271         * sysdeps/unix/i386/wait.S: Likewise.
53273         * sysdeps/unix/common/tcsendbrk.c: Move to ...
53274         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
53276         * configure.in (arm*-none*): Do not allow without
53277         --enable-hacker-mode.
53278         (netbsd*): Remove case setting base_os.
53279         (386bsd*): Likewise.
53280         (freebsd*): Likewise.
53281         (bsdi*): Likewise.
53282         (osf*): Likewise.
53283         (sunos*): Likewise.
53284         (ultrix*): Likewise.
53285         (newsos*): Likewise.
53286         (dynix*): Likewise.
53287         (*bsd*): Likewise.
53288         (sysv*): Likewise.
53289         (isc*): Likewise.
53290         (esix*): Likewise.
53291         (sco*): Likewise.
53292         (minix*): Likewise.
53293         (irix4*): Likewise.
53294         (irix6*): Likewise.
53295         (solaris[2-9]*): Likewise.
53296         (none): Likewise.
53297         * configure: Regenerated.
53299 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53301         [BZ #11521]
53302         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
53303         overflow or cancellation in calculating denominator.
53304         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
53305         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
53306         down expression to avoid unexpected rounding in newer GCCs.
53307         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
53309 2012-04-26  David S. Miller  <davem@davemloft.net>
53311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
53312         long-double compat symbols.
53313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
53314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
53315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
53316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
53317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
53318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
53319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
53320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
53321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
53322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
53323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
53324         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
53325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
53327 2012-04-25  David S. Miller  <davem@davemloft.net>
53329         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
53330         HWCAP_* values only after the memory barriers have been defined.
53331         (atomic_full_barrier): Define.
53332         (atomic_read_barrier): Define.
53333         (atomic_write_barrier): Define.
53335 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53337         * shlib-versions: Add libgcc_s version information.
53338         * sysdeps/generic/libgcc_s.h: Remove.
53339         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
53340         libgcc_s.h.
53341         * sysdeps/gnu/unwind-resume.c: Likewise.
53342         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
53344 2012-04-25  David S. Miller  <davem@davemloft.net>
53346         * sysdeps/unix/sparc/brk.S: Delete.
53347         * sysdeps/unix/sparc/dl-brk.S: Delete.
53348         * sysdeps/unix/sparc/pipe.S: Delete.
53349         * sysdeps/unix/sparc/sysdep.S: Delete.
53350         * sysdeps/unix/sparc/sysdep.h: Delete.
53351         * sysdeps/unix/sparc/vfork.S: Delete.
53352         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
53353         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
53354         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
53355         (ret_ERRVAL, r0, r1, MOVE): Define.
53356         (JUMPTARGET): Remove.
53357         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
53358         sysdeps/unix/sparc/sysdep.h
53359         (ENTRY, END): Remove.
53360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
53362 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
53364         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
53365         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
53366         -DIS_IN_build.
53368         * timezone/README: Update upstream location and email address for
53369         tzcode and tzdata.
53370         * timezone/zdump.c: Update from tzcode 2012b.
53371         * timezone/zic.c: Likewise.
53373         * configure.in (libc_cv_as_needed): Remove test.
53374         * configure: Regenerated.
53375         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
53376         conditional definition.
53377         [$(have-as-needed) != yes] (no-as-needed): Likewise.
53378         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
53379         * config.make.in (have-as-needed): Remove variable.
53381 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53382             Paul Pluzhnikov  <ppluzhnikov@google.com>
53384         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
53385         strings correctly.
53387 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
53389         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
53390         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
53391         * sysdeps/sh/strlen.S: Likewise.
53393 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53395         * sysdeps/unix/fork.S: Remove file.
53396         * sysdeps/unix/i386/fork.S: Likewise.
53397         * sysdeps/unix/sparc/fork.S: Likewise.
53399         * sysdeps/unix/system.c: Remove file.
53400         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
53402         * sysdeps/unix/getegid.S: Remove file.
53403         * sysdeps/unix/geteuid.S: Likewise.
53405 2012-04-24  Roland McGrath  <roland@hack.frob.com>
53407         * scripts/check-localplt.awk: New file.
53408         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
53409         of diff.
53410         * scripts/data/localplt-generic.data: Add a comment.
53412         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
53413         NODE when __dir_mkfile failed.
53414         * sysdeps/mach/hurd/symlinkat.c: Likewise.
53415         Reported by Ludovic Courtès <ludo@gnu.org>.
53417 2012-04-24  Andreas Jaeger  <aj@suse.de>
53419         * Makerules (common-clean): Also remove gen-as-const-headers
53420         files.
53422 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53424         * Makerules (native-compile): Do not change working directory for
53425         build.  Use $(OUTPUT_OPTION) in command.
53426         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
53428 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53430         [BZ #13886]
53431         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
53432         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
53433         * math/libm-test.inc (floor_test): Add more tests.
53434         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
53436 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
53438         * sysdeps/unix/getdents.c: Remove file.
53439         * sysdeps/unix/sysv/getdents.c: Likewise.
53440         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
53442         * sysdeps/unix/syscalls.list (madvise): Add syscall from
53443         sysdeps/unix/mman/syscalls.list.
53444         (mmap): Likewise.
53445         (mprotect): Likewise.
53446         (msync): Likewise.
53447         (munmap): Likewise.
53448         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
53449         * sysdeps/unix/mman/syscalls.list: Remove.
53450         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
53452         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
53453         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
53454         * configure: Regenerated.
53455         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
53456         $(libgcc_s_suffix).
53457         * config.make.in (libgcc_s_suffix): Remove variable.
53459 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
53461         * sysdeps/unix/sysv/gethostname.c: Move to ...
53462         * sysdeps/posix/gethostname.c: ... here.
53464         * sysdeps/unix/execve.S: Remove file.
53466         * sysdeps/unix/_exit.S: Remove file.
53468 2012-04-23  Andreas Jaeger  <aj@suse.de>
53470         [BZ #13739]
53471         * manual/Makefile: Remove make dist support, there's no
53472         need for a stand-alone documentation tar ball.
53473         (TEXI2DVI): Define always, it's not in Makeconfig.
53474         (dist): Removed.
53475         (tar-it): Removed.
53476         (edition): Removed.
53477         (glibc-doc-$(edition).tar): Removed
53478         (%.Z): Removed.
53479         (%.gz): Removed.
53480         (%.uu): Removed.
53481         (ETAGS): Remove, it's in Makeconfig.
53482         (move-if-change): Remove, it's in Makeconfig.
53484 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
53486         [BZ #13970]
53487         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
53488         (strtod, strtof, strtold, strtol, strtoul, strtoq)
53489         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
53490         (strtod_l, strtof_l, strtold_l): Remove __wur.
53491         It is not necessarily an error to ignore strtol's return value.
53492         One can reliably look at the stored endptr to decide whether
53493         the number had valid syntax.
53495 2012-04-21  Andreas Jaeger  <aj@suse.de>
53497         [BZ #13739]
53498         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
53500 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
53502         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
53503         * sysdeps/unix/sysv/Versions: Remove file.
53505 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
53507         [BZ #13927]
53508         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53510 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
53512         [BZ #7064]
53513         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
53514         version from __vm86.
53516 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
53518         * sysdeps/unix/common/lxstat.c: Remove file.
53519         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
53521         * sysdeps/unix/sysv/Makefile: Remove file.
53523         * sysdeps/unix/sysv/direct.h: Remove file.
53525         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
53526         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
53527         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
53528         * sysdeps/unix/sysv/bits/signum.h: Likewise.
53529         * sysdeps/unix/sysv/bits/stat.h: Likewise.
53530         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
53531         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
53533         * sysdeps/unix/sysv/setrlimit.c: Remove file.
53535         * sysdeps/unix/xmknod.c: Remove file.
53536         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
53538         * sysdeps/unix/sysv/settimeofday.c: Remove file.
53540         * sysdeps/unix/sysv/i386/time.S: Remove file.
53542         * sysdeps/unix/fxstat.c: Remove file.
53543         * sysdeps/unix/xstat.c: Likewise.
53544         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
53546         * sysdeps/unix/sysv/sigaction.c: Remove file.
53548         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
53549         (sysdep_headers): Remove variable.
53550         [termio.h not in sysdep_headers] (generated): Likewise.
53551         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
53552         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
53553         * sysdeps/unix/sysv/tcdrain.c: Likewise.
53554         * sysdeps/unix/sysv/tcflow.c: Likewise.
53555         * sysdeps/unix/sysv/tcflush.c: Likewise.
53556         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
53557         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
53558         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
53559         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
53560         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
53562         * sysdeps/unix/siglist.c: Remove file.
53564         * sysdeps/unix/getppid.S: Remove file.
53566         * sysdeps/unix/mkdir.c: Remove file.
53567         * sysdeps/unix/rmdir.c: Likewise.
53569 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
53571         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
53572         ERR_MAX value.
53573         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
53574         errlist-compat value.
53576 2012-04-18  David S. Miller  <davem@davemloft.net>
53578         * sysdeps/generic/memcopy.h (reg_char): Delete.
53579         * debug/strcat_chk.c: Use char, not reg_char.
53580         * debug/strcpy_chk.c: Likewise.
53581         * debug/strncat_chk.c: Likewise.
53582         * debug/strncpy_chk.c: Likewise.
53583         * string/memchr.c: Likewise.
53584         * string/memrchr.c: Likewise.
53585         * string/rawmemchr.c: Likewise.
53586         * string/strcat.c: Likewise.
53587         * string/strchr.c: Likewise.
53588         * string/strchrnul.c: Likewise.
53589         * string/strcmp.c: Likewise.
53590         * string/strcpy.c: Likewise.
53591         * string/strncat.c: Likewise.
53592         * string/strncmp.c: Likewise.
53593         * string/strncpy.c: Likewise.
53595 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53597         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
53598         __builtin_memcopy is called when src and dest ranges are known to not
53599         overlap.
53601 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53603         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
53604         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
53605         fwd_align_merge macro call.
53606         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
53607         bwd_align_merge macro call.
53608         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53610 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
53612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
53613         bwd_align_merge macros.
53614         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
53615         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
53616         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
53618 2012-04-18  David S. Miller  <davem@davemloft.net>
53620         * sysdeps/sparc/sparc64/memcopy.h: Delete.
53622 2012-04-18  Andreas Jaeger  <aj@suse.de>
53624         [BZ# 6794]
53625         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
53626         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
53627         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53629         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
53630         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
53631         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53633         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
53634         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
53635         Adjust for changed ldbl-128 files.
53637         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
53638         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
53639         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
53641 2012-04-17  David S. Miller  <davem@davemloft.net>
53643         * sysdeps/sparc/sparc32/memcopy.h: Delete.
53645 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
53647         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
53648         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
53649         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
53650         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
53651         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
53652         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
53654 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53656         [BZ #6794]
53657         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
53658         * math/libm-test.inc: Add ilogb errno and exception tests.
53659         * math/w_ilogb.c: New file: ilogb wrapper.
53660         * math/w_ilogbf.c: New file: ilogbf wrapper.
53661         * math/w_ilogbl.c: New file: ilogbl wrapper.
53662         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
53663         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
53664         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
53665         exception being thrown with 0.0 as argument.
53666         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
53667         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
53668         exception being thrown with 0.0 as argument.
53669         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
53670         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53671         exception being thrown with 0.0 as argument.
53672         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
53673         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
53674         exception being thrown with 0.0 as argument.
53675         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
53676         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
53677         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
53678         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
53679         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
53680         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
53681         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
53682         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
53683         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
53685 2012-04-17  Petr Baudis  <pasky@ucw.cz>
53687         * include/sys/uio.h: Change __vector to __iovec to avoid clash
53688         with altivec.
53690 2012-04-16  Marek Polacek  <polacek@redhat.com>
53692         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
53694 2012-04-16  Marek Polacek  <polacek@redhat.com>
53696         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
53697         operands of fdivp instruction.
53699 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53701         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
53702         * elf/tst-auditmod3b.c: Likewise.
53703         * elf/tst-auditmod4b.c: Likewise.
53704         * elf/tst-auditmod5b.c: Likewise.
53705         * elf/tst-auditmod6b.c: Likewise.
53706         * elf/tst-auditmod6c.c: Likewise.
53707         * elf/tst-auditmod7b.c: Likewise.
53708         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
53709         * sysdeps/x86_64/preconfigure.in: Likewise.
53710         * sysdeps/x86_64/preconfigure: Regenerated.
53712 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
53714         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
53715         __ILP32__.
53717 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
53719         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
53720         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
53722 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
53724         [BZ #13973]
53725         * locale/iso-639.def: Fix gl language name. Spotted by
53726         Yaron Shahrabani.
53728 2012-04-12  Roland McGrath  <roland@hack.frob.com>
53730         [BZ #2074]
53731         * libio/libio.h (__io_write_fn): Update comment.
53733 2012-04-12  Petr Baudis  <pasky@ucw.cz>
53735         [BZ #2074]
53736         * stdio.texi (Hook Functions): The user provided writer function
53737         is not allowed to return -1.
53739 2012-04-11  David S. Miller  <davem@davemloft.net>
53741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53743 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
53745         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
53746         Add a leading slash to rtkaio.
53748 2012-04-11  Jim Meyering  <meyering@redhat.com>
53750         [BZ #11959]
53751         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
53752         It is not necessarily an error to ignore fwrite's return
53753         value.  One can reliably use ferror to test for errors after
53754         the fact.
53756 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53758         * bits/types.h (__snseconds_t): New type.
53759         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
53761         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
53762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
53763         (__SNSECONDS_T_TYPE): Likewise.
53764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
53765         (__SNSECONDS_T_TYPE): Likewise.
53766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
53767         (__SNSECONDS_T_TYPE): Likewise.
53769 2012-04-10  Andreas Jaeger  <aj@suse.de>
53771         [BZ #2636]
53772         * manual/time.texi (Processor Time): Return type of times is
53773         elapsed real time since an arbitrary point in the past.
53774         (CPU Time): Move CLK_TCK from here...
53775         (Processor Time): ...to here.  Correct description.
53776         * manual/conf.texi (Constants for Sysconf): Correct description of
53777         _SC_CLK_TCK.
53779 2012-04-10  David S. Miller  <davem@davemloft.net>
53781         [BZ #13967]
53782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
53783         where the is a gap between DT_REL(A) and DT_JMPREL.
53785 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
53787         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
53788         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53789         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53791 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53793         * elf/dl-support.c (_dl_inhibit_cache): New variable.
53794         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
53795         (dl_main): Handle --inhibit-cache.
53796         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
53797         _dl_inhibit_cache.
53798         * elf/dl-load.c (_dl_map_object): Use it.
53799         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
53801 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53803         [BZ #13872]
53804         * sysdeps/i386/fpu/e_powl.S (p78): New object.
53805         (__ieee754_powl): Saturate large exponents rather than testing for
53806         overflow of y*log2(x).
53807         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53808         * math/libm-test.inc (pow_test): Do not permit spurious overflow
53809         exceptions.
53811         [BZ #11521]
53812         * math/s_ctan.c: Include <float.h>.
53813         (__ctan): Avoid internal overflow or cancellation in calculating
53814         denominator.
53815         * math/s_ctanf.c: Likewise.
53816         * math/s_ctanl.c: Likewise.
53817         * math/s_ctanh.c: Likewise.
53818         * math/s_ctanhf.c: Likewise.
53819         * math/s_ctanhl.c: Likewise.
53820         * math/libm-test.inc (ctan_test): Add more tests.
53821         (ctanh_test): Likewise.
53822         * sysdeps/i386/fpu/libm-test-ulps: Update.
53823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53825 2012-04-09  Andreas Jaeger  <aj@suse.de>
53827         [BZ #6894]
53828         * manual/filesys.texi (Directory Entries): Mention that d_namlen
53829         is an optional BSD extension.
53831         [BZ #10254]
53832         * manual/stdio.texi (Opening Streams): Document additional fopen
53833         parameters.
53835 2012-04-09  Roland McGrath  <roland@hack.frob.com>
53837         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
53838         %eax without telling the compiler.
53840 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
53842         [BZ # 13963]
53843         * manual/install.texi: Use sourceware.org.
53845 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
53847         [BZ #13873]
53848         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
53849         (__ieee754_pow): Generate overflow and underflow using huge*huge
53850         and tiny*tiny rather than just returning constant infinity or zero
53851         for large exponents.
53852         * math/libm-test.inc (pow_test): Require overflow exceptions for
53853         applicable cases of large exponents.
53855         [BZ #706]
53856         * sysdeps/i386/fpu/e_pow.S (p10): New object.
53857         (__ieee754_pow): Use iterative multiplication algorithm only for
53858         integer exponents with absolute value below 1024.  Check for odd
53859         integer exponents when using algorithm for real exponents.
53860         * math/libm-test.inc (pow_test): Add more tests.
53861         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53863 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
53865         [BZ #13705]
53866         * math/libm-test.inc (exp_test): Do not allow overflow exception
53867         on underflow test.
53869 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
53871         [BZ #13705]
53872         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
53873         instead of __kernel_standard_f.
53875 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
53877         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
53878         * sysdeps/x86_64/memset_chk.S: Likewise.
53880 2012-04-08  Andreas Jaeger  <aj@suse.de>
53882         [BZ #10153]
53883         * manual/startup.texi (Environment Access): Describe return value
53884         for putenv and setenv.
53886         [BZ #6895]
53887         * manual/filesys.texi (Directory Entries): Add description for
53888         DT_LNK.
53890         [BZ #6890]
53891         * manual/filesys.texi (Directory Entries): Clarify that it's file
53892         system not operating system in the description of DT_UNKNOWN.
53894         [BZ #6578]
53895         * manual/syslog.texi (closelog): Fix reference, it's openlog.
53897 2012-04-08  Stephen Compall  <s11@member.fsf.org>
53899         [BZ #6649]
53900         * manual/llio.texi (Opening and Closing Files): Add cross
53901         reference to explain mode argument.
53903 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
53905         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
53906         * sysdeps/x86_64/memset_chk.S: Likewise.
53908 2012-04-07  David S. Miller  <davem@davemloft.net>
53910         * elf/elf.h (R_SPARC_WDISP10): Define.
53911         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
53912         R_SPARC_SIZE32.
53913         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
53914         R_SPARC_SIZE64 and R_SPARC_H34.
53916 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
53918         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
53919         conditions and remove no longer applicable assertion.
53921 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53923         * bits/byteswap.h: Include <features.h>.
53924         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
53925         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
53927 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
53929         * bits/byteswap.h (__bswap_16): Removed.
53930         Include <bits/byteswap-16.h> to get __bswap_16.
53931         * sysdeps/i386/bits/byteswap.h: Likewise.
53932         * sysdeps/s390/bits/byteswap.h: Likewise.
53933         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53934         * bits/byteswap-16.h: New file.
53935         * sysdeps/i386/bits/byteswap-16.h: Likewise.
53936         * sysdeps/s390/bits/byteswap-16.h: Likewise.
53937         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
53938         * string/Makefile (headers): Add bits/byteswap-16.h.
53940 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
53942         [BZ #13895]
53943         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
53944         extra indirection.
53945         * nss/Makefile (tests-static, tests): Add tst-nss-static.
53946         * nss/tst-nss-static.c: New.
53948 2012-04-06  Robert Millan  <rmh@gnu.org>
53950         [BZ #6486]
53951         * manual/llio.texi (File Position Primitive): lseek
53952         refers to WHENCE when it really means OFFSET.
53954 2012-04-06  Andreas Jaeger  <aj@suse.de>
53956         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
53957         strncmp declarations.
53959         * abilist/libc.abilist: Add __poll and __ppoll.
53961 2012-04-05  David S. Miller  <davem@davemloft.net>
53963         * scripts/check-local-headers.sh: Accept a host triplet in the
53964         path matched by the exclude regexp.
53966         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
53967         definition.
53968         * sysdeps/powerpc/powerpc32/dl-machine.h
53969         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
53970         * sysdeps/s390/s390-32/dl-machine.h
53971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53972         * sysdeps/sparc/sparc32/dl-machine.h
53973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53974         * sysdeps/sparc/sparc64/dl-machine.h
53975         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
53977         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
53978         lazy binding.
53979         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
53980         undefined symbol errors.
53982         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
53983         DT_NEEDED entries.
53985 2012-04-05  Michael Matz  <matz@suse.de>
53987         [BZ #13592]
53988         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
53990 2012-04-05  Andreas Jaeger  <aj@suse.de>
53992         [BZ #13908]
53993         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
53994         comment.
53996 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
53999         which ROUND is no valid rounding mode.
54001 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54003         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
54004         read again.
54005         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
54007 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54009         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
54010         an exception using FPU order intentionally.
54012 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
54014         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
54015         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
54016         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
54017         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
54019 2012-04-05  Simon Josefsson  <simon@josefsson.org>
54021         [BZ #12340]
54022         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
54023         EINVAL when BUFLEN is too smal.
54025 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54027         [BZ #13553]
54028         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
54029         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
54031 2012-04-03  Andreas Jaeger  <aj@suse.de>
54033         [BZ #13938]
54034         * manual/setjmp.texi (System V contexts): Fix sentence.
54036         [BZ #13926]
54037         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
54038         New macro for this case.
54039         [!__GNUC__] (__bswap_64): New inline function for this case.
54040         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54041         * bits/byteswap.h: Likewise.
54042         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
54043         ull, guard with __GLIBC_HAVE_LONG_LONG.
54045         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
54046         __GLIBC_HAVE_LONG_LONG.
54048         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
54049         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
54051 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
54053         [BZ #13691]
54054         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
54055         inptr and inend, rather than using last_ch.
54057 2012-04-02  David S. Miller  <davem@davemloft.net>
54059         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
54060         * stdio-common/printf-parse.h (read_int): Change return type to
54061         'int', return -1 on INT_MAX overflow.
54062         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
54063         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
54064         overflows INT_MAX.  Check for overflow of in-format-string precision
54065         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
54066         SIZE_MAX not INT_MAX for integer overflow test.
54067         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
54068         skip the construct in the format string but do not record anything.
54069         * stdio-common/bug22.c: Adjust to test both width/prevision
54070         INT_MAX overflow as well as total length INT_MAX overflow.  Check
54071         explicitly for proper errno values.
54073 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54075         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
54076         CHAR_MAX.
54077         * string/test-strcmp.c [! WIDE]: Likewise.
54078         * time/tst-mktime2.c: Likewise for INT_MAX.
54079         * string/test-string.h: #include <sys/param.h> for MIN.
54081         * csu/init-first.c (__libc_init_first): Call __ctype_init.
54082         * sysdeps/i386/init-first.c (init): Likewise.
54083         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
54084         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
54085         * sysdeps/sh/init-first.c (init): Likewise.
54087 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
54089         * po/ru.po: Update from translation team.
54090         * po/vi.po: Likewise.
54092 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
54094         * resolv/nss_dns/dns-host.c: Merge copyright years.
54096 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54098         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54099         Optimize memcpy with prefetch if
54100         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
54101         src, dst pointers have unequal 16 byte alignments.
54103 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54105         [BZ #13928]
54106         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
54107         from a CNAME entry and return the minimum ttl for the query.
54108         (gaih_getanswer_slice): Likewise.
54110 2012-03-30  Jeff Law  <law@redhat.com>
54112         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
54113         due to long keys.
54114         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
54115         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
54117         * resolv/nss_dns/dns-host.c: Update copyright year.
54119 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
54121         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
54122         requests to save a system call.  Fix check that all bytes are sent.
54124         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
54125         comments for sendmmsg.
54127 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54129         [BZ #13691]
54130         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
54131         with only 1 character between 0x0041 and 0x01b0.
54132         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
54133         * wcsmbs/tst-mbsnrtowcs.c: New file.
54135 2012-03-29  David S. Miller  <davem@davemloft.net>
54137         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
54138         small copies by hand.
54140 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54142         [BZ #13761]
54143         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
54144         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
54145         group memberships.
54147 2012-03-28  David S. Miller  <davem@davemloft.net>
54149         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
54150         that branches into memcpy.
54151         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
54152         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
54153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
54154         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
54155         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
54156         bits.
54157         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
54158         implementation too.
54159         * sysdeps/sparc/mempcpy.S: New file.
54161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
54162         the IFUNC routine in the libc case.
54163         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
54165         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
54166         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
54167         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
54168         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
54169         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
54170         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
54171         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
54172         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
54174         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
54175         loop to 256 bytes instead of 64 bytes and fix test signedness.
54177         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
54178         * sysdeps/sparc/sparc32/Makefile: rather than here...
54179         * sysdeps/sparc/sparc64/Makefile: and here.
54181 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
54183         * malloc/mallocbug.c: Avoid warnings about unused variables.
54185 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
54187         [BZ #13760]
54188         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
54189         in the right place. Discard and retry query if response is
54190         larger than input buffer size.
54192 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
54194         [BZ #369]
54195         [BZ #2678]
54196         [BZ #3866]
54197         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
54198         x for large integer exponent.
54199         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
54200         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
54201         sign of result as needed afterwards.
54202         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
54203         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
54204         result for underflowing pow the same as for overflow.
54205         (__kernel_standard_l): Handle powl overflow and underflow here
54206         rather than calling __kernel_standard.
54207         * math/libm-test.inc (pow_test): Add more tests.
54209         [BZ #3868]
54210         [BZ #13879]
54211         [BZ #13910]
54212         [BZ #13911]
54213         [BZ #13912]
54214         [BZ #13913]
54215         [BZ #13915]
54216         [BZ #13916]
54217         [BZ #13917]
54218         [BZ #13918]
54219         [BZ #13919]
54220         [BZ #13920]
54221         [BZ #13921]
54222         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
54223         * sysdeps/ieee754/k_standard.c: Include <float.h>.
54224         (__kernel_standard_l): New function.
54225         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
54226         __kernel_standard.
54227         * math/w_acosl.c (__acosl): Likewise.
54228         * math/w_asinl.c (__asinl): Likewise.
54229         * math/w_atan2l.c (__atan2l): Likewise.
54230         * math/w_atanhl.c (__atanhl): Likewise.
54231         * math/w_coshl.c (__coshl): Likewise.
54232         * math/w_exp10l.c (__exp10l): Likewise.
54233         * math/w_exp2l.c (__exp2l): Likewise.
54234         * math/w_fmodl.c (__fmodl): Likewise.
54235         * math/w_hypotl.c (__hypotl): Likewise.
54236         * math/w_j0l.c (__j0l, __y0l): Likewise.
54237         * math/w_j1l.c (__j1l, __y1l): Likewise.
54238         * math/w_jnl.c (__jnl, __ynl): Likewise.
54239         * math/w_lgammal.c (__lgammal): Likewise.
54240         * math/w_log10l.c (__log10l): Likewise.
54241         * math/w_log2l.c (__log2l): Likewise.
54242         * math/w_logl.c (__logl): Likewise.
54243         * math/w_powl.c (__powl): Likewise.
54244         * math/w_remainderl.c (__remainderl): Likewise.
54245         * math/w_scalbl.c (sysv_scalbl): Likewise.
54246         * math/w_sinhl.c (__sinhl): Likewise.
54247         * math/w_sqrtl.c (__sqrtl): Likewise.
54248         * math/w_tgammal.c (__tgammal): Likewise.
54249         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
54250         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
54251         * math/libm-test.inc (acos_test): Add more tests.
54252         (acosh_test): Likewise.
54253         (asin_test): Likewise.
54254         (atanh_test): Likewise.
54255         (exp_test): Likewise.
54256         (exp10_test): Likewise.
54257         (exp2_test): Likewise.
54258         (expm1_test): Likewise.
54259         (lgamma_test): Likewise.
54260         (log_test): Likewise.
54261         (log10_test): Likewise.
54262         (log1p_test): Likewise.
54263         (log2_test): Likewise.
54264         (pow_test): Do not allow some spurious overflow exceptions.
54265         (sqrt_test): Add more tests.
54266         (tgamma_test): Likewise.
54267         (y0_test): Likewise.
54268         (y1_test): Likewise.
54269         (yn_test): Likewise.
54271 2012-03-27  Anton Blanchard  <anton@samba.org>
54273         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
54274         MAP_HUGETLB.
54275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54276         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54279 2012-03-27  David S. Miller  <davem@davemloft.net>
54281         * conform/Makefile: Run run-conformtest.sh using $(BASH).
54283         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
54284         have-as-vis3 check.
54286 2012-03-27  Andreas Jaeger  <aj@suse.de>
54288         * sysdeps/x86_64/elf/configure.in: Moved to ...
54289         * sysdeps/x86_64/configure.in: ... here.
54290         * sysdeps/x86_64/elf/start.S: Moved to ...
54291         * sysdeps/x86_64/start.S: ... here.
54292         * sysdeps/x86_64/elf/configure: Delete.
54294         * sysdeps/x86_64/configure.in: Merge contents from
54295         sysdeps/i386/configure.in (without i686 check).
54297         * sysdeps/i386/elf/Versions: Merge into ...
54298         * sysdeps/i386/Versions: ... this.
54299         * sysdeps/i386/elf/Versions: Delete file.
54300         * sysdeps/i386/elf/start.S: Moved to ...
54301         * sysdeps/i386/start.S: ...here.
54302         * sysdeps/i386/elf/configure.in: Merge into...
54303         * sysdeps/i386/configure.in: ...here.
54304         * sysdeps/i386/elf/configure.in: Delete file.
54305         * sysdeps/i386/elf/configure: Delete file.
54307         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
54308         * debug/backtracesyms.c: ... here.
54309         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
54310         * debug/backtracesymsfd.c: ... here.
54311         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
54312         * sysdeps/generic/ifunc-sel.h: ... here.
54314         * sysdeps/unix/i386/start.c: Delete file.
54315         * sysdeps/unix/sparc/start.c: Delete file.
54316         * sysdeps/unix/start.c: Delete file.
54318         * sysdeps/sh/elf/configure.in: Moved to ...
54319         * sysdeps/sh/configure.in: ... here.
54320         * sysdeps/sh/elf/start.S: Moved to ...
54321         * sysdeps/sh/start.S: ... here.
54322         * sysdeps/sh/elf/configure: Delete file.
54324         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
54325         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
54326         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
54327         * sysdeps/powerpc/powerpc64/entry.h: ... here.
54328         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
54329         * sysdeps/powerpc/powerpc64/start.S: here.
54330         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
54331         * sysdeps/powerpc/powerpc64/Makefile: ... this.
54332         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
54333         * sysdeps/powerpc/powerpc64/configure.in: ... this.
54334         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
54336         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
54337         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
54338         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
54339         * sysdeps/powerpc/powerpc32/start.S: ... here.
54340         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
54341         * sysdeps/powerpc/powerpc32/configure.in: ... this.
54342         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
54344         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
54345         * sysdeps/powerpc/ifunc-sel.h: ... here.
54346         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
54347         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
54349         * sysdeps/sparc/elf/configure.in: Moved to ...
54350         * sysdeps/sparc/configure.in: ... here.
54351         * sysdeps/sparc/elf/configure: Delete file.
54352         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
54353         * sysdeps/sparc/sparc32/start.S: ... here.
54354         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
54355         * sysdeps/sparc/sparc64/start.S: ... here.
54356         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
54357         * sysdeps/sparc/sparc32/Makefile: ... this.
54358         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
54359         * sysdeps/sparc/sparc64/Makefile: ... this.
54361         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
54362         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
54363         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
54364         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
54365         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
54366         * sysdeps/s390/s390-32/setjmp.S: ... here.
54367         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
54368         * sysdeps/s390/s390-32/configure.in: ... here.
54369         * sysdeps/s390/s390-32/elf/configure: Delete file.
54370         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
54371         * sysdeps/s390/s390-32/start.S: ... here.
54373         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
54374         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
54375         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
54376         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
54377         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
54378         * sysdeps/s390/s390-64/setjmp.S: ... here.
54379         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
54380         * sysdeps/s390/s390-64/configure.in: ... here
54381         * sysdeps/s390/s390-64/elf/configure: Delete file.
54382         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
54383         * sysdeps/s390/s390-64/start.S: ... here.
54384         * sysdeps/s390/s390-64/elf/configure: Delete.
54386         * configure.in: Remove support for elf directories in sysdeps.
54388         * configure: Regenerated.
54389         * sysdeps/i386/configure: Regenerated.
54390         * sysdeps/powerpc/powerpc32/configure: Regenerated.
54391         * sysdeps/powerpc/powerpc64/configure: Regenerated.
54392         * sysdeps/s390/s390-32/configure: Regenerated.
54393         * sysdeps/s390/s390-64/configure: Regenerated.
54394         * sysdeps/sh/configure: Regenerated.
54395         * sysdeps/sparc/configure: Regenerated.
54396         * sysdeps/x86_64/configure: Regenerated.
54398 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
54400         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54402         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
54403         denormal result into account.
54405 2012-03-25  Roland McGrath  <roland@hack.frob.com>
54407         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
54408         Reported by Allan McRae <allan@archlinux.org>.
54410 2012-03-23  Jeff Law  <law@redhat.com>
54412         * nss/getnssent.c (__nss_getent): Fix typo.
54414 2012-03-23  David S. Miller  <davem@davemloft.net>
54416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54418 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
54420         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
54421         to pad to uint64_t for each field.
54422         (dl_tls_index): Replace unsigned long with uint64_t.
54424 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
54425         Paul Pluzhnikov  <ppluzhnikov@google.com>
54427         [BZ #6528]
54428         * grp/Makefile (otherlibs): Don't set it.
54429         * inet/Makefile (otherlibs): Likewise.
54430         * login/Makefile (otherlibs): Likewise.
54431         * nscd/Makefile (otherlibs): Likewise.
54432         * posix/Makefile (otherlibs): Likewise.
54433         * pwd/Makefile (otherlibs): Likewise.
54434         * rt/Makefile (otherlibs): Likewise.
54435         * sunrpc/Makefile (otherlibs): Likewise.
54436         * nss/Makefile (otherlibs): Likewise.
54437         Add libnss_files to routines and static-only-routines.
54438         ($(objpfx)getent): Remove rule.
54439         * resolv/Makefile: Add libnss_dns and libresolv to routines and
54440         static-only-routines.
54442 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
54444         [BZ #13892]
54445         * math/s_cexp.c: Include <float.h>.
54446         (__cexp): Handle exp result overflowing not necessarily
54447         overflowing both real and imaginary parts of result.
54448         * math/s_cexpf.c: Likewise.
54449         * math/s_cexpl.c: Likewise.
54450         * math/libm-test.inc (cexp_test): Add more tests.
54451         * sysdeps/i386/fpu/libm-test-ulps: Update.
54452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54454 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54456         * include/link.h (ELFW): New macro.
54457         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
54458         Replace ELF64_R_TYPE with ELFW(R_TYPE).
54460 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54462         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
54463         with uint64_t.
54465 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54467         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
54468         declaration.
54469         (struct La_x32_retval): Likewise.
54471 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
54473         * sysdeps/x86_64/preconfigure.in: New file.
54474         * sysdeps/x86_64/preconfigure: New generated file.
54476 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
54478         [BZ #13824]
54479         * math/e_exp2l.c: Include <float.h>.
54480         (__ieee754_exp2l): Handle overflow and underflow cases
54481         separately.  Only pass fractional part of argument to
54482         __ieee754_expl.
54483         * math/libm-test.inc (exp2_test): Add more tests.
54485         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
54486         negating x to take absolute value.
54487         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
54488         Likewise.
54489         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
54490         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
54491         Likewise.
54492         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
54493         computing low part if x was negated.
54494         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
54496 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54498         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
54499         la_x32_gnu_pltexit.
54500         (pltexit): Cast int_retval to ptrdiff_t.
54501         * elf/tst-auditmod3b.c: Likewise.
54502         * elf/tst-auditmod4b.c: Likewise.
54503         * elf/tst-auditmod5b.c: Likewise.
54504         * elf/tst-auditmod6b.c: Likewise.
54505         * elf/tst-auditmod6c.c: Likewise.
54506         * elf/tst-auditmod7b.c: Likewise.
54508         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
54509         and x32_gnu_pltexit.
54511         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
54512         __ELF_NATIVE_CLASS.
54513         (La_x32_regs): New macro.
54514         (La_x32_retval): Likewise.
54515         (la_x32_gnu_pltenter): New function prototype.
54516         (la_x32_gnu_pltexit): Likewise.
54518 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
54520         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
54521         exponent.
54523         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54525         * configure.in (libc_cv_cc_nofma): Check for option to disable
54526         generation of FMA instructions.
54527         * configure: Regenerate.
54528         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
54529         * sysdeps/ieee754/dbl-64/Makefile: New file.
54530         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
54531         Remove brandred-fma4.
54532         (CFLAGS-brandred-fma4.c): Remove.
54533         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
54534         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
54535         define.
54536         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
54537         define.
54539 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54541         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
54542         LLONG_MAX != LONG_MAX.
54543         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54544         (_fitoa_word): Likewise.
54545         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
54546         LLONG_MAX != LONG_MAX.
54547         * stdio-common/_itowa.h: Include <_itoa.h>.
54548         (_itowa_word): Use _ITOA_WORD_TYPE on value.
54549         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
54550         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
54551         only if not defined.
54552         (_ITOA_WORD_TYPE): Likewise.
54553         (_itoa_word): Use _ITOA_WORD_TYPE on value.
54554         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
54556 2012-03-21  David S. Miller  <davem@davemloft.net>
54558         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54560 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
54562         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
54563         of x86_64 when setting libc_cv_slibdir, libdir and
54564         libc_cv_localedir.
54565         * sysdeps/unix/sysv/linux/configure: Regenerated.
54567 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54569         * manual/lang.texi (Old Varargs): Remove section.
54570         (How Variadic): Update menu.
54571         (va_start): Do not mention varargs.h.
54573 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54574             Joseph Myers  <joseph@codesourcery.com>
54576         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
54577         link test.
54578         * configure: Regenerated.
54580 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54582         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
54583         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
54584         conformtest.pl
54586 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54588         * NOTES: Remove.
54589         * Makefile (files-for-dist): Remove NOTES.
54590         (NOTES): Remove rule.
54591         * README: Don't refer to NOTES.
54592         * manual/creature.texi: Don't include macros.texi.
54593         * manual/intro.texi (creature.texi): Remove comment referring to
54594         NOTES.
54596         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
54597         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
54598         * configure: Regenerated.
54599         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
54600         LIBC_TRY_CC_OPTION.
54601         (libc_cv_as_i686): Likewise.
54602         (libc_cv_cc_avx): Likewise.
54603         (libc_cv_cc_sse2avx): Likewise.
54604         (libc_cv_cc_fma4): Likewise.
54605         (libc_cv_cc_novzeroupper): Likewise.
54606         * sysdeps/i386/configure: Regenerated.
54608         [BZ #13883]
54609         * sysdeps/i386/fpu/s_cexp.S: Remove.
54610         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
54611         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
54612         * math/libm-test.inc (cexp_test): Add more tests.
54613         * sysdeps/i386/fpu/libm-test-ulps: Update.
54614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54616 2012-03-21  Allan McRae  <allan@archlinux.org>
54618         * timezone/Makefile: Do not install iso3166.tab and zone.tab
54620 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
54622         [BZ #13871]
54623         * math/w_exp2.c: Do not include <float.h>.
54624         (o_threshold, u_threshold): Remove.
54625         (__exp2): Calculate result before checking finiteness and calling
54626         __kernel_standard.
54627         * math/w_exp2f.c: Likewise.
54628         * math/w_exp2l.c: Likewise.
54629         * math/libm-test.inc (exp2_test): Require overflow exception for
54630         1e6 input.
54632         [BZ #3866]
54633         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
54634         range of signed 64-bit integers before using fistpll.  Remove
54635         checks for whether integers fit in mantissa bits.
54636         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
54637         the range of signed 32-bit integers before using fistpl.  Remove
54638         checks for whether integers fit in mantissa bits.
54639         * sysdeps/i386/fpu/e_powl.S (p64): New object.
54640         (__ieee754_powl): Test for y outside the range of signed 64-bit
54641         integers before using fistpll.  Reduce 64-bit values to 63-bit
54642         ones as needed.
54643         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
54644         divide-by-zero is raised for zero to large negative powers.
54645         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
54646         (__ieee754_powl): Test for y outside the range of signed 64-bit
54647         integers before using fistpll.  Reduce 64-bit values to 63-bit
54648         ones as needed.
54649         * math/libm-test.inc (pow_test): Add more tests.
54651 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54653         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
54654         <stdio-common/_itoa.h>.
54655         * debug/segfault.c: Likewise.
54656         * elf/dl-cache.c: Likewise.
54657         * elf/dl-minimal.c: Likewise.
54658         * elf/dl-misc.c: Likewise.
54659         * elf/dl-sysdep.c: Likewise.
54660         * elf/dl-version.c: Likewise.
54661         * elf/rtld.c: Likewise.
54662         * hurd/hurdsock.c: Likewise.
54663         * hurd/lookup-retry.c: Likewise.
54664         * malloc/malloc.c: Likewise.
54665         * malloc/mtrace.c: Likewise.
54666         * nscd/nscd_getgr_r.c: Likewise.
54667         * nscd/nscd_getpw_r.c: Likewise.
54668         * nscd/nscd_getserv_r.c: Likewise.
54669         * posix/getopt_init.c: Likewise.
54670         * posix/wordexp.c: Likewise.
54671         * stdio-common/_itoa.c: Likewise.
54672         * stdio-common/printf_fphex.c: Likewise.
54673         * stdio-common/vfprintf.c: Likewise.
54674         * string/_strerror.c: Likewise.
54675         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
54676         * sysdeps/i386/i686/hp-timing.h: Likewise.
54677         * sysdeps/mach/_strerror.c: Likewise.
54678         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
54679         * sysdeps/mach/hurd/sethostid.c: Likewise.
54680         * sysdeps/mach/hurd/xmknodat.c: Likewise.
54681         * sysdeps/mach/xpg-strerror.c: Likewise.
54682         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54683         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54684         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
54685         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
54686         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54687         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
54688         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
54689         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
54690         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
54691         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
54692         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
54693         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
54694         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
54695         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
54696         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
54697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
54698         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
54699         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
54700         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
54701         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
54702         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
54704         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
54706         * stdio-common/_itoa.h: Moved to ...
54707         * sysdeps/generic/_itoa.h: Here.
54709         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
54711         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
54712         instead of "_itoa.h" and "_itowa.h".
54713         * stdio-common/vfprintf.: Likewise.
54715 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54717         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
54718         <bits/wordsize.h>.
54719         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
54720         (__signbit): Likwise.
54721         (llrintf): Likwise.
54722         (llrint): Likwise.
54724 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54726         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
54727         __WORDSIZE != 64.
54729 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
54731         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
54732         OVERFLOW_EXCEPTION_OK.
54733         * math/libm-test.inc ("Philosophy"): Update comment about
54734         exception testing.
54735         (OVERFLOW_EXCEPTION): Define.
54736         (OVERFLOW_EXCEPTION_OK): Likewise.
54737         (INVALID_EXCEPTION_OK): Renumber.
54738         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
54739         (IGNORE_ZERO_INF_SIGN): Likewise.
54740         (test_exceptions): Handle FE_OVERFLOW.
54741         (exp10_test): Expect overflow exceptions.
54742         (exp2_test): Likewise.
54743         (expm1_test): Likewise.
54744         (nextafter_test): Likewise.
54745         (pow_test): Likewise.
54746         (scalbn_test): Likewise.
54747         (scalbln_test): Likewise.
54749 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54751         * sysdeps/x86_64/bits/atomic.h
54752         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
54753         64bit integer.
54754         (atomic_exchange_acq): Likewise.
54755         (__arch_exchange_and_add_body): Likewise.
54756         (__arch_add_body): Likewise.
54757         (atomic_add_negative): Likewise.
54758         (atomic_add_zero): Likewise.
54760 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54762         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
54763         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
54765 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54767         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
54768         Check __x86_64__ instead of __WORDSIZE.
54770 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54772         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
54774 2012-03-19  David S. Miller  <davem@davemloft.net>
54776         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54778         * sysdeps/sparc/fpu/fenv_private.h: New file.
54779         * sysdeps/sparc/fpu/math_private.h: Use it.
54780         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
54781         Remove.
54782         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
54783         (libc_feholdexcept_setroundl): Remove.
54784         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
54785         Remove.
54786         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
54787         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
54789 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54791         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
54792         int64_t instead of long int.
54793         (INSERT_WORDS64): Likwise.
54795 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
54797         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
54798         _Unwind_GetCFA return to _Unwind_Ptr first.
54800 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
54802         [BZ #13629]
54803         * math/s_clog.c: Include <float.h>.
54804         (__clog): Scale large or subnormal inputs.
54805         * math/s_clogf.c: Likewise.
54806         * math/s_clogl.c: Likewise.
54807         * math/s_clog10.c: Include <float.h>.
54808         (M_LOG10_2): Define.
54809         (__clog10): Scale large or subnormal inputs.
54810         * math/s_clog10f.c: Likewise.
54811         * math/s_clog10l.c: Likewise.
54812         * math/libm-test.inc (clog_test): Add more tests.
54813         (clog10_test): Likewise.
54814         * sysdeps/i386/fpu/libm-test-ulps: Update.
54815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54817         [BZ #11451]
54818         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
54819         x and y.
54820         * math/libm-test.inc (atan2_test): Add another test.
54822         * Makerules (common-objdir-compile): Remove.
54823         * sysdeps/unix/Makefile (config-generated): Do not add
54824         $(unix-generated) to variable.
54825         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
54826         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
54827         Remove rule.
54828         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
54829         Likewise.
54830         [generic bits/local_lim.h] (before-compile): Do not append to
54831         variable.
54832         [generic bits/local_lim.h] (common-generated): Likewise.
54833         [generic sys/param.h] (before-compile): Do not append to variable.
54834         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
54835         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
54836         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
54837         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
54838         include.
54839         [generic sys/param.h] (sys/param.h-includes): Remove variable.
54840         [generic sys/param.h] (sys/param.h-includes): Remove rule.
54841         [generic sys/param.h] ($(addprefix
54842         $(common-objpfx),$(sys/param.h-includes))): Likewise.
54843         [generic sys/param.h] (common-generated): Do not append to
54844         variable.
54845         [generic sys/param.h] (sysdep_headers): Likewise.
54846         [generic bits/errno.h] (before-compile): Do not append to
54847         variable.
54848         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
54849         rule.
54850         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
54851         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
54852         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
54853         [generic bits/errno.h] (common-generated): Do not append to
54854         variable.
54855         [generic bits/ioctls.h] (before-compile): Do not append to
54856         variable.
54857         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
54858         rule.
54859         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
54860         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
54861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
54862         rule.
54863         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
54864         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
54865         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
54866         [generic bits/ioctls.h] (common-generated): Do not append to
54867         variable.
54868         [generic sys/syscall.h] (syscall.h): Remove variable.
54869         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
54870         rule.
54871         [generic sys/syscall.h] (before-compile): Do not append to
54872         variable.
54873         [generic sys/syscall.h] (common-generated): Likewise.
54874         * sysdeps/unix/errnos-tmpl.c: Remove file.
54875         * sysdeps/unix/errnos.awk: Likewise.
54876         * sysdeps/unix/ioctls-tmpl.c: Likewise.
54877         * sysdeps/unix/ioctls.awk: Likewise.
54878         * sysdeps/unix/mk-local_lim.c: Likewise.
54879         * sysdeps/unix/snarf-ioctls: Likewise.
54881 2012-03-19  Richard Henderson  <rth@twiddle.net>
54883         * sysdeps/i386/fpu/fenv_private.h: New file.
54884         * sysdeps/i386/fpu/math_private.h: Use it.
54885         (math_opt_barrier, math_force_eval): Remove.
54886         (libc_feholdexcept_setround_53bit): Remove.
54887         (libc_feupdateenv_53bit): Remove.
54888         * sysdeps/x86_64/fpu/math_private.h: Likewise.
54889         (math_opt_barrier, math_force_eval): Remove.
54890         (libc_feholdexcept): Remove.
54891         (libc_feholdexcept_setround): Remove.
54892         (libc_fetestexcept, libc_fesetenv): Remove.
54893         (libc_feupdateenv_test): Remove.
54894         (libc_feupdateenv, libc_feholdsetround): Remove.
54895         (libc_feresetround): Remove.
54897         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
54898         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
54900         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
54901         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
54902         (libc_feupdateenv_testl): New.
54903         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
54904         (libc_feupdateenv_testf): New.
54905         (libc_feupdateenv): Use libc_feupdateenv_test.
54906         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
54907         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
54909         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
54910         (libc_feholdsetroundf, libc_feholdsetroundl): New.
54911         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
54912         (libc_feresetround_noex): New.
54913         (libc_feresetround_noexf): New.
54914         (libc_feresetround_noexl): New.
54915         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
54916         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
54917         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
54918         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
54919         SET_RESTORE_ROUND.
54920         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54921         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
54922         (__cos): Likewise.
54923         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
54924         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
54925         SET_RESTORE_ROUND_NOEX.
54926         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
54927         SET_RESTORE_ROUND_NOEXF.
54928         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
54929         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
54930         (libc_feholdsetroundf): New.
54931         (libc_feresetround, libc_feresetroundf): New.
54933         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
54934         (libc_feholdexcept_setround_53bit): Convert from macro to function.
54935         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
54937         * sysdeps/generic/math_private.h: Include <fenv.h>.
54938         (default_libc_feholdexcept): New.
54939         (default_libc_feholdexcept_setround): New.
54940         (default_libc_fesetenv, default_libc_feupdateenv): New.
54941         (libc_feholdexcept): Only define if undefined.
54942         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
54943         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
54944         (libc_feholdexcept_setroundl): Likewise.
54945         (libc_feholdexcept_setround_53bit): Likewise.
54946         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
54947         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
54948         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
54949         (libc_feupdateenv_53bit): Likewise.
54950         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
54951         (libc_feholdexcept): Convert from macro to inline function.
54952         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
54953         (libc_fesetenv, libc_feupdateenv): Likewise.
54955         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
54956         not previously defined.
54957         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
54958         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
54959         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
54960         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
54961         * sysdeps/ieee754/flt-32/math_private.h: New file.
54962         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
54963         math_private.h below SET_FLOAT_WORD.
54964         (__isnan, __isinf_ns, __finite): Remove.
54965         (__isnanf, __isinf_nsf, __finitef): Remove.
54967 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
54969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54971 2012-03-17  David S. Miller  <davem@davemloft.net>
54973         [BZ #6471]
54974         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
54975         for 2.16.
54977 2012-03-16  David S. Miller  <davem@davemloft.net>
54979         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
54980         warnings.
54982         [BZ #6471]
54983         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
54984         properly.
54985         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
54986         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
54987         sysdep_routines when subdir is sysvipc.
54988         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
54989         __getshmlba helper.
54991         * sysdeps/sparc/fpu/libm-test/ulps: Update.
54993 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
54995         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
54996         [__LP64__].
54998 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55000         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
55001         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
55002         (__lround): Renamed to ...
55003         (__llround): This.  Replace long int with long long int.
55004         Define lround functions as aliases of llround functions.
55005         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
55007 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55009         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
55010         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
55011         adresses to uintptr_t.  Replace "long int" and "unsigned long
55012         int" with "greg_t" on va_arg.
55014 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55016         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
55017         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
55019         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
55020         Move e_machine check before EI_CLASS check.  Handle x32
55021         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
55022         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
55023         SKIP_EM_IA_64 and include
55024         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
55026         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
55027         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
55028         (add_system_dir): New macro.
55030         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
55031         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
55033 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55035         [BZ #2551]
55036         [BZ #2552]
55037         [BZ #2553]
55038         [BZ #2554]
55039         [BZ #2562]
55040         [BZ #2563]
55041         [BZ #2565]
55042         [BZ #2566]
55043         [BZ #2576]
55044         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
55045         (y0): Likewise.
55046         * math/w_j0f.c (j0f): Likewise.
55047         (y0f): Likewise.
55048         * math/w_j0l.c (__j0l): Likewise.
55049         (__y0l): Likewise.
55050         * math/w_j1.c (j1): Likewise.
55051         (y1): Likewise.
55052         * math/w_j1f.c (j1f): Likewise.
55053         (y1f): Likewise.
55054         * math/w_j1l.c (__j1l): Likewise.
55055         (__y1l): Likewise.
55056         * math/w_jn.c (jn): Likewise.
55057         (yn): Likewise.
55058         * math/w_jnf.c (jnf): Likewise.
55059         (ynf): Likewise.
55060         * math/w_jnl.c (__jnl): Likewise.
55061         (__ynl): Likewise.
55062         * math/libm-test.inc (j0_test): Add more tests.
55063         (j1_test): Likewise.
55064         (jn_test): Likewise.  Add trailing semicolon to existing test.
55065         (y0_test): Likewise.
55066         (y1_test): Likewise.
55067         * sysdeps/i386/fpu/libm-test-ulps: Update.
55068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55070         [BZ #13851]
55071         [BZ #13854]
55072         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
55073         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
55074         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
55075         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
55076         (__tanl): Set errno for infinite argument.
55077         * sysdeps/i386/fpu/mptan.c: Remove.
55078         * sysdeps/i386/fpu/s_tan.S: Likewise.
55079         * sysdeps/i386/fpu/s_tanl.S: Likewise.
55080         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
55081         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
55082         * math/libm-test.inc (tan_test): Add more tests and enable more
55083         tests for double and long double.
55084         * sysdeps/i386/fpu/libm-test-ulps: Update.
55085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55087 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
55089         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
55090         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
55092 2012-03-16  Roland McGrath  <roland@hack.frob.com>
55094         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
55095         * configure.in: Use it for both main tree and add-ons.
55096         * configure: Regenerated.
55098 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
55100         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
55102 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
55104         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
55105         in comment.
55107         [BZ #13851]
55108         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
55109         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
55110         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
55111         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
55113         infinite argument.
55114         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
55115         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
55116         != 0 for prec == 2.
55117         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
55118         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
55119         * sysdeps/i386/fpu/s_cosl.S: Likewise.
55120         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
55121         * sysdeps/i386/fpu/s_sinl.S: Likewise.
55122         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
55123         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
55124         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
55125         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
55126         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
55127         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
55128         * math/libm-test.inc (cos_test): Add more tests and enable more
55129         tests for long double.
55130         (sin_test): Likewise.
55131         (sincos_test): Likewise.
55132         * sysdeps/i386/fpu/libm-test-ulps: Update.
55133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55135 2012-03-16  David S. Miller  <davem@davemloft.net>
55137         * sysdeps/sparc/fpu/math_private.h: New file.
55139 2012-03-15  David S. Miller  <davem@davemloft.net>
55141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
55142         file.
55143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
55144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
55145         file.
55146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
55147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
55148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
55149         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
55150         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
55151         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
55152         sysdep routines.
55153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55155         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
55156         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
55158         * sysdeps/sparc/sparc-ifunc.h: New file.
55159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
55160         sparc-ifunc.h
55161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
55163         Likewise.
55164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
55165         Likewise.
55166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
55167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
55168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55170         Likewise.
55171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
55175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
55176         Likewise.
55177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
55178         Likewise.
55179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
55181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
55182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
55183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55185         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
55186         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
55187         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55188         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
55190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
55191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
55192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
55193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
55194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
55195         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
55196         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
55197         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
55198         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
55199         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
55200         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
55201         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
55202         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
55204 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
55206         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
55207         scaling.
55208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55210 2012-03-15  Andreas Jaeger  <aj@suse.de>
55212         [BZ #13852]
55213         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
55214         ieee754/flt-32 implementation for sin, cos and sincos.
55215         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
55216         * sysdeps/i386/fpu/s_cosf.S: Likewise.
55217         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
55218         * sysdeps/i386/fpu/s_sinf.S: Likewise.
55219         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
55220         ieee754/flt-32 implementation for tan.
55222         * math/libm-test.inc (cos_test): Enable some large input tests for
55223         float as well
55224         (sin_test): Likewise.
55225         (sincos_test): Likewise.
55226         (tan_test): Add tests for large input.
55228         * sysdeps/i386/fpu/libm-test-ulps: Update.
55230 2012-03-15  Andreas Jaeger  <aj@suse.de>
55232         [BZ #13658]
55233         * math/libm-test.inc (cos_test): Add more test cases.
55234         (sin_test): Likewise.
55235         (sincos_test): Likewise.
55237 2012-03-15  Andreas Jaeger  <aj@suse.de>
55239         [BZ #13837]
55240         * math/libm-test.inc (cos_test): Add a test case for large input
55241         value.
55242         (sin_test): Likewise.
55243         (sincos_test): Likewise.
55245 2012-03-15  Andreas Jaeger  <aj@suse.de>
55246             Joseph Myers  <joseph@codesourcery.com>
55248         [BZ #13658]
55249         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
55250         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
55251         * sysdeps/i386/fpu/branred.c: Likewise.
55252         * sysdeps/i386/fpu/dosincos.c: Likewise.
55253         * sysdeps/i386/fpu/mpa.c: Likewise.
55254         * sysdeps/i386/fpu/s_cos.S: Likewise.
55255         * sysdeps/i386/fpu/s_sin.S: Likewise.
55256         * sysdeps/i386/fpu/s_sincos.S: Likewise.
55257         * sysdeps/i386/fpu/sincos32.c: Likewise.
55259         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
55260         Define.
55261         (libc_feupdateenv_53bit): Define.
55262         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
55263         Define.
55264         (libc_feupdateenv_53bit): Define.
55266         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
55267         53 bit (without extend i386 double precision).
55269         * math/libm-test.inc (sincos_test): Add tests for large input.
55270         (sin): Likewise.
55271         (cos): Likewise.
55273         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
55275 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
55277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55279 2012-03-15  David S. Miller  <davem@davemloft.net>
55281         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
55282         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
55283         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
55284         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
55285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
55286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
55287         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
55288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
55289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
55290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
55291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
55292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
55293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
55294         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
55295         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
55296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
55297         file.
55298         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
55299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
55300         file.
55301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
55302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
55303         file.
55304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
55305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
55306         file.
55307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
55308         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
55309         fmin/fmax sysdep routines.
55310         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
55312 2012-03-14  David S. Miller  <davem@davemloft.net>
55314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
55315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
55316         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
55317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
55318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
55319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
55320         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
55321         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
55322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
55323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
55324         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
55325         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
55326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
55327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
55328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
55329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
55330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
55331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
55332         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
55333         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
55334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
55335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
55336         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
55337         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
55338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
55339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
55340         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
55341         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
55342         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
55343         routines.
55344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
55345         file.
55346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
55347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
55348         file.
55349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
55350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
55351         file.
55352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
55353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
55354         file.
55355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
55356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
55357         file.
55358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
55359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
55360         file.
55361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
55362         file.
55363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
55364         file.
55365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
55366         file.
55367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
55368         New file.
55369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
55370         file.
55371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
55372         file.
55373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
55374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
55375         file.
55376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
55377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
55378         file.
55379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
55380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
55381         file.
55382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
55383         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
55384         VIS3 routines.
55386         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55387         New file.
55389         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55391         * sysdeps/sparc/configure.in: New file.
55392         * sysdeps/sparc/configure: Generate.
55393         * configure.in (libc_cv_sparc_as_vis3): Substitute.
55394         * configure: Regenerate.
55395         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
55396         * config.make.in (have-as-vis3): New.
55397         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
55398         available use -Av9d instead of -Av9a.
55399         * sysdeps/sparc/sparc64/Makefile: Likewise.
55400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
55401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
55402         New file.
55403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
55404         file.
55405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
55406         New file.
55407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
55408         file.
55409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
55410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
55411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
55412         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
55413         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
55415         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
55416         fzeros/fnegs to load 0x80000000 into a float register instead of
55417         using the stack.
55418         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
55420 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
55422         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55423         bits/syscall.h.
55424         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
55425         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
55426         ($(inst_includedir)/bits/syscall.h): Remove rule.
55427         ($(objpfx)bits/syscall.d): Include instead of
55428         $(objpfx)syscall-list.d.
55429         (generated): Change syscall-list.h and syscall-list.d to
55430         bits/syscall.h and bits/syscall.d.
55432 2012-03-14  Roland McGrath  <roland@hack.frob.com>
55434         [BZ #13846]
55435         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
55437 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
55439         [BZ #13841]
55440         * math/s_csqrt.c: Include <float.h>.
55441         (__csqrt): Scale large or subnormal inputs.
55442         * math/s_csqrtf.c: Likewise.
55443         * math/s_csqrtl.c: Likewise.
55444         * math/libm-test.inc (csqrt_test): Add more tests.
55445         * sysdeps/i386/fpu/libm-test-ulps: Update.
55446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55448         [BZ #13840]
55449         * math/libm-test.inc (hypot_test): Add more tests.
55451 2012-03-13  David S. Miller  <davem@davemloft.net>
55453         [BZ #13840]
55454         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
55455         double-precision for the calculation instead of scaling.
55457 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
55459         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
55460         manipulate bits before adding and subtracting TWO52[sx].
55461         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
55462         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
55463         Likewise.
55464         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
55466 2012-03-13  David S. Miller  <davem@davemloft.net>
55468         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
55469         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
55470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
55471         rtld-global-offsets.h
55472         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
55474         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
55475         large parameters.
55477         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
55479         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
55480         'err' in the ifdef scope in which it is actually used.
55482         * nss/nss_db/db-init.c: Include string.h
55484 2012-03-12  David S. Miller  <davem@davemloft.net>
55486         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55487         masking out of the most significant byte of random value used.
55488         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55489         Fix coding style in previous change.
55491         * sysdeps/unix/sysv/linux/kernel-features.h
55492         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
55493         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
55494         expression.
55495         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
55496         later.
55498 2012-03-11  David S. Miller  <davem@davemloft.net>
55500         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
55501         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
55502         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
55503         for 'resultvar' otherwise things get truncated on 64-bit.
55505         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
55506         Fix masking out of the most significant byte of random value used.
55508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55510 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
55512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55514 2012-03-09  David S. Miller  <davem@davemloft.net>
55516         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
55517         variables with appropriate CPP guards.
55518         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
55519         from the frame pointer, not the stack pointer.  Correct layout
55520         comments.  Fix test on resulting framesize and the management of
55521         the outregs buffer for pltexit.  Preserve floating point return
55522         values across _dl_call_pltexit call.
55523         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
55524         framesize and the management of the outregs buffer for pltexit.
55525         Preserve floating point return values across _dl_call_pltexit
55526         call.
55527         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
55528         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
55529         (la_sparc64_gnu_pltexit): New functions.
55530         (print_exit): Fix format string for return register value.
55532 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
55534         * sunrpc/Makefile (others): Add rpcgen.
55535         ($(objpfx)rpcgen): Remove special build rule and dependency on
55536         libc.
55537         * sunrpc/rpcgen.c: New file.
55539 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
55541         [BZ #13673]
55542         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
55543         * stdio-common/bug-vfprintf-nargs.c: Likewise.
55544         * sysdeps/i386/crti.S: Likewise.
55545         * sysdeps/i386/crtn.S: Likewise.
55546         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
55547         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
55548         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
55549         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
55550         * sysdeps/sh/crti.S: Likewise.
55551         * sysdeps/sh/crtn.S: Likewise.
55552         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
55554         [BZ #13673]
55555         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
55556         with URL.
55557         * locale/programs/locfile-kw.gperf: Likewise.
55558         * locale/programs/charmap-kw.h: Regenerated.
55559         * locale/programs/locfile-kw.h: Likewise.
55561         [BZ #13673]
55562         * intl/plural.y: Replace FSF snail mail address with URL.
55563         * intl/plural.c: Regenerated.
55565 2012-03-09  Richard Henderson  <rth@twiddle.net>
55567         * include/math_private.h: Remove file.
55568         * math/math_private.h: Move file ...
55569         * sysdeps/generic/math_private.h: ... here.
55571         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
55572         * sysdeps/powerpc/fpu/math_private.h: Likewise.
55573         * sysdeps/x86_64/fpu/math_private.h: Likewise.
55575         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
55576         and <math_private.h>.
55577         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
55578         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
55579         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
55580         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
55581         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
55582         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
55583         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55584         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55585         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55588         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55589         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55590         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55591         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55592         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55593         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55594         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55595         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55596         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55597         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55598         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55599         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55600         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55601         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
55602         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55603         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55604         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55605         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55606         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55607         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55608         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55609         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
55610         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55611         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
55612         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
55613         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55614         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
55615         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
55616         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55617         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
55618         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
55619         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
55620         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
55621         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
55622         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
55623         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
55624         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
55625         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55626         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
55627         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
55628         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
55629         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
55630         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
55631         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
55632         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55633         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55634         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
55635         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
55636         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
55637         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55638         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
55639         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55640         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
55641         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
55642         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55643         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55644         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55645         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
55646         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
55647         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
55648         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55649         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
55650         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55651         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
55652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
55653         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
55654         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
55655         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
55656         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
55657         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
55658         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
55659         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
55660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55661         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55662         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
55663         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
55664         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
55665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55669         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55670         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55672         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55673         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55674         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55675         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55677         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55678         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55679         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55680         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55681         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55685         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55686         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55687         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55688         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55689         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55690         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55691         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
55692         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55693         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55694         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
55695         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55696         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55697         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55698         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
55699         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55700         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
55701         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55702         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
55703         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55704         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
55705         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
55706         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
55707         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
55708         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55709         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55710         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
55711         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
55712         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
55713         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55714         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
55715         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
55716         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55717         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55718         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
55719         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
55720         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
55721         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
55722         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
55723         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
55724         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
55725         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
55726         * sysdeps/ieee754/k_standard.c: Likewise.
55727         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55728         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55729         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55730         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55731         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55732         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55733         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55734         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55735         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55736         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55737         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55738         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55739         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55740         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55741         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55742         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55743         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55744         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55745         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55746         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
55747         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
55748         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
55749         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55750         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
55751         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55752         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
55753         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
55754         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
55755         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
55756         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55757         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55758         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
55759         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
55760         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
55761         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55762         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
55763         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
55764         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
55765         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
55766         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
55767         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55768         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55769         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55770         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
55771         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55772         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55773         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
55774         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
55775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
55776         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55777         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55778         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55779         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
55780         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
55781         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55782         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55783         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
55784         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
55785         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
55786         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
55787         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55788         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55789         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
55790         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55791         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55792         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55793         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55794         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55795         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55796         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55797         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55798         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55799         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55800         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55801         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55802         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55803         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
55804         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55805         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55806         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55807         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55808         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55809         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
55810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
55811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
55812         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
55813         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
55814         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
55815         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
55816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
55817         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
55818         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
55819         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
55820         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
55822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
55823         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
55824         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
55825         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
55826         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
55827         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
55828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
55829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
55831         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
55832         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55833         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55834         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
55835         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
55836         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
55837         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
55838         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
55839         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55840         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55841         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55842         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55843         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55844         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55845         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55847         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55848         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55849         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55850         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55851         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55852         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
55853         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
55854         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
55855         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
55856         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55857         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
55858         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
55859         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
55860         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
55861         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
55862         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
55863         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
55864         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
55865         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
55866         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
55867         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
55868         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
55869         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
55870         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
55871         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
55872         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
55873         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
55874         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
55875         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
55876         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
55877         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
55878         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55879         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
55880         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
55881         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
55882         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
55883         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
55884         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
55885         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
55886         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
55887         * sysdeps/ieee754/s_lib_version.c: Likewise.
55888         * sysdeps/ieee754/s_matherr.c: Likewise.
55889         * sysdeps/ieee754/s_signgam.c: Likewise.
55890         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55891         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55892         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
55893         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
55894         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
55895         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
55896         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
55897         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
55898         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
55899         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
55900         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55901         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
55902         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
55903         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
55904         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
55905         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55906         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55907         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55908         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55910         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55912 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55914         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
55915         * sunrpc/rpc_main.c: Likewise.
55916         * sunrpc/rpc_svcout.c: Likewise.
55918 2012-03-09  David S. Miller  <davem@davemloft.net>
55920         * include/math_private.h: New file.
55922 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
55924         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
55925         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
55926         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
55927         from <bits/socket_type.h>.
55928         (enum __socket_type): Don't define here.
55929         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
55930         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55931         bits/socket_type.h.
55933         [BZ #13566]
55934         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
55935         checking __USE_GNU.
55937         * Makerules ($(inst_includedir)/%.h): New rule.
55938         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
55939         (install-others): Remove variable setting.
55940         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
55942 2012-03-08  Richard Henderson  <rth@twiddle.net>
55944         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
55945         from macro to inline function; merge with the
55946         !__LIBC_INTERNAL_MATH_INLINES version.
55947         (__ieee754_sqrtf): Likewise.
55949         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
55950         to inline function.
55951         (__rintf, __floor, __floorf): Likewise.
55953         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
55954         macro to inline function.
55955         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
55957         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
55958         not <math/math_private.h>.
55960 2012-03-08  David S. Miller  <davem@davemloft.net>
55962         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
55963         copyright year.
55964         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
55966 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
55968         * resolv/gai_misc.c (handle_requests): Fix struct timespec
55969         normalization.
55970         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
55971         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
55973 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
55975         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
55976         be defined individually, they must be defined as a block.  Define
55977         S for printing a string instead of hidint the different by using a
55978         macro for adding the 'l'.
55979         * stdio-common/tst-fphex-wide.c: Adjust.
55981 2012-03-07  Marek Polacek  <polacek@redhat.com>
55983         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
55985 2012-03-08  Marek Polacek  <polacek@redhat.com>
55987         [BZ #13806]
55988         * stdio-common/Makefile (tests): Add tst-fphex-wide.
55989         * stdio-common/tst-fphex.c: Define a few macros to make the
55990         test reusable.  Use them.
55991         * stdio-common/tst-fphex-wide.c: New file.
55993 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
55995         [BZ #6911]
55996         * manual/macros.texi (gnusystems): New macro.
55997         (nongnusystems): Likewise.
55998         (gnulinuxhurdsystems): Likewise.
55999         (gnuhurdsystems): Likewise..
56000         (gnulinuxsystems): Likewise.
56001         * manual/charset.texi: Use new macros or @theglibc{} to refer to
56002         variants of the GNU system, not "GNU system".
56003         * manual/conf.texi: Likewise.
56004         * manual/errno.texi: Likewise.  Update example of errno macro
56005         expansion.
56006         * manual/filesys.texi: Likewise.
56007         (getumask): Document as specific to GNU/Hurd.
56008         * manual/install.texi: Likewise.  Reword some references to
56009         GNU/Linux.
56010         * manual/intro.texi: Likewise.
56011         * manual/io.texi: Likewise.
56012         (File Name Portability): Detail which constraints are inapplicable
56013         to all GNU systems and which are only inapplicable to GNU/Hurd.
56014         * manual/job.texi: Likewise.
56015         * manual/llio.texi: Likewise.
56016         (O_NOCTTY): Document as present on GNU/Linux.
56017         * manual/maint.texi: Likewise.
56018         * manual/memory.texi: Likewise.
56019         * manual/pattern.texi: Likewise.
56020         * manual/pipe.texi: Likewise.
56021         * manual/process.texi: Likewise.
56022         * manual/resource.texi: Likewise.
56023         (RUSAGE_CHILDREN): Remove statement about specifying a particular
56024         child on GNU/Hurd.
56025         * manual/setjmp.texi: Likewise.
56026         * manual/signal.texi: Likewise.
56027         * manual/startup.texi: Likewise.
56028         * manual/stdio.texi: Likewise.
56029         * manual/terminal.texi: Likewise.
56030         (ONLCR): Document as POSIX.
56031         (OXTABS): Document availability on GNU/Linux as XTABS.
56032         (ONOEOT): Document availability separately from other bits.
56033         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
56034         * manual/time.texi: Likewise.
56035         * manual/users.texi: Likewise.
56036         * INSTALL: Regenerated.
56037         * sysdeps/gnu/errlist.c: Regenerated.
56039         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
56040         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
56041         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
56042         puts.
56043         * configure: Regenerated.
56045 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
56047         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
56048         default includes instead of AC_HEADER_CHECK.
56049         * sysdeps/i386/configure: Regenerated.
56051         [BZ #10716]
56052         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
56053         * math/s_cacoshf.c (__cacoshf): Likewise.
56054         * math/s_cacoshl.c (__cacoshl): Likewise.
56055         * math/s_casinh.c (__casinh): Set signs of result from argument.
56056         * math/s_casinhf.c (__casinhf): Likewise.
56057         * math/s_casinhl.c (__casinhl): Likewise.
56058         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
56059         (casinh_test): Add more tests.
56060         * sysdeps/i386/fpu/libm-test-ulps: Update.
56061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56063 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
56065         * po/zh_TW.po: Update from translation team.
56067         * login/Makefile (distribute): Remove variable.
56068         * catgets/Makefile: Likewise.
56069         * mach/Makefile: Likewise.
56070         * malloc/Makefile: Likewise.
56071         * misc/Makefile: Likewise.
56072         * iconv/Makefile: Likewise.
56073         * nscd/Makefile: Likewise.
56074         * hurd/Makefile: Likewise.
56075         * manual/Makefile: Likewise.
56076         * locale/Makefile: Likewise.
56077         * intl/Makefile: Likewise.
56078         * conform/Makefile: Likewise.
56079         * nss/Makefile: Likewise.
56080         * time/Makefile: Likewise.
56081         * soft-fp/Makefile: Likewise.
56082         * dirent/Makefile: Likewise.
56083         * gmon/Makefile: Likewise.
56084         * po/Makefile: Likewise.
56085         * rt/Makefile: Likewise.
56086         * socket/Makefile: Likewise.
56087         * math/Makefile: Likewise.
56088         * signal/Makefile: Likewise.
56089         * debug/Makefile: Likewise.
56090         * elf/Makefile: Likewise.
56091         * timezone/Makefile: Likewise.
56092         * stdlib/Makefile: Likewise.
56093         * iconvdata/Makefile: Likewise.
56094         * sunrpc/Makefile: Likewise.
56095         * io/Makefile: Likewise.
56096         * argp/Makefile: Likewise.
56097         * inet/Makefile: Likewise.
56098         * hesiod/Makefile: Likewise.
56099         * grp/Makefile: Likewise.
56100         * csu/Makefile: Likewise.
56101         * wctype/Makefile: Likewise.
56102         * crypt/Makefile: Likewise.
56103         * libio/Makefile: Likewise.
56104         * string/Makefile: Likewise.
56105         * nis/Makefile: Likewise.
56106         * resolv/Makefile: Likewise.
56107         * stdio-common/Makefile: Likewise.
56108         * wcsmbs/Makefile: Likewise.
56109         * dlfcn/Makefile: Likewise.
56110         * posix/Makefile: Likewise.
56112         [BZ #6959]
56113         * timezone/Makefile: Don't install timezone files, just the programs
56114         and scripts.
56116 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
56118         * nss/databases.def: Add missing gshadow entry.
56120         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
56122 2012-03-06  Marek Polacek  <polacek@redhat.com>
56124         [BZ #13726]
56125         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
56126         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
56127         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
56128         * stdio-common/tst-long-dbl-fphex.c: New file.
56130 2012-03-06  David S. Miller  <davem@davemloft.net>
56132         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
56133         (set_obp_int): New function.
56134         (get_obp_int): New function.
56135         (__get_clockfreq_via_dev_openprom): Likewise.
56136         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
56137         Avoid unused variable warnings on 'val' and use builtin_expect.
56138         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
56139         __builtin_expect.
56140         (INLINE_CLONE_SYSCALL): Likewise.
56142 2012-03-05  David S. Miller  <davem@davemloft.net>
56144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56146 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
56148         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56150         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
56151         only for |x| >= 40.
56152         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
56154 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
56156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
56157         Replace gettimeofday with __vdso_gettimeofday.
56159         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56160         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
56161         __vdso_clock_gettime and __vdso_getcpu.
56163         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
56164         time with __vdso_time.
56166 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56168         * manual/lang.texi (size_t): Note types to which size_t may be
56169         equivalent with the GNU C Library, but do not describe when
56170         differences between them are significant.
56172 2012-03-05  Andreas Jaeger  <aj@suse.de>
56174         * sysdeps/i386/fpu/libm-test-ulps: Update.
56176 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
56178         [BZ #3976]
56179         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
56180         (__ieee754_pow): Save and restore rounding mode and use
56181         round-to-nearest for main computations.
56182         * math/libm-test.inc (pow_test_tonearest): New function.
56183         (pow_test_towardzero): Likewise.
56184         (pow_test_downward): Likewise.
56185         (pow_test_upward): Likewise.
56186         (main): Call the new functions.
56187         * sysdeps/i386/fpu/libm-test-ulps: Update.
56188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56190         [BZ #3976]
56191         * math/libm-test.inc (cosh_test_tonearest): New function.
56192         (cosh_test_towardzero): Likewise.
56193         (cosh_test_downward): Likewise.
56194         (cosh_test_upward): Likewise.
56195         (sinh_test_tonearest): Likewise.
56196         (sinh_test_towardzero): Likewise.
56197         (sinh_test_downward): Likewise.
56198         (sinh_test_upward): Likewise.
56199         (main): Call the new functions.
56200         * sysdeps/i386/fpu/libm-test-ulps: Update.
56201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56203 2012-03-05  Tom de Vries  <tom@codesourcery.com>
56205         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
56206         default stack guard is set in last bytes.
56207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
56209 2012-03-05  Kees Cook  <keescook@chromium.org>
56211         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
56213         [BZ #13656]
56214         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
56215         possibly allocate from heap instead of stack.
56216         * stdio-common/bug-vfprintf-nargs.c: New file.
56217         * stdio-common/Makefile (tests): Add nargs overflow test.
56219 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
56221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56223 2012-03-03  Marek Polacek  <polacek@redhat.com>
56225         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
56226         * math/math_private.h: Likewise.
56227         * stdlib/tst-strtod.c: Likewise.
56228         * sysdeps/i386/i486/bits/atomic.h: Likewise.
56229         * sysdeps/x86_64/bits/atomic.h: Likewise.
56231 2012-03-02  David S. Miller  <davem@davemloft.net>
56233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
56234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
56235         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
56236         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
56237         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
56238         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
56239         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
56240         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
56242 2012-03-02  Roland McGrath  <roland@hack.frob.com>
56244         [BZ #13792]
56245         * manual/examples/README: New file, says the example source files
56246         can be used under GPL>=2.
56247         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
56248         line containing just "*/".
56249         * manual/examples/add.c: Add copyright header (GPL>=2).
56250         * manual/examples/argp-ex1.c: Likewise.
56251         * manual/examples/argp-ex2.c: Likewise.
56252         * manual/examples/argp-ex3.c: Likewise.
56253         * manual/examples/argp-ex4.c: Likewise.
56254         * manual/examples/atexit.c: Likewise.
56255         * manual/examples/db.c: Likewise.
56256         * manual/examples/dir.c: Likewise.
56257         * manual/examples/dir2.c: Likewise.
56258         * manual/examples/execinfo.c: Likewise.
56259         * manual/examples/filecli.c: Likewise.
56260         * manual/examples/filesrv.c: Likewise.
56261         * manual/examples/fmtmsgexpl.c: Likewise.
56262         * manual/examples/genpass.c: Likewise.
56263         * manual/examples/inetcli.c: Likewise.
56264         * manual/examples/inetsrv.c: Likewise.
56265         * manual/examples/isockad.c: Likewise.
56266         * manual/examples/longopt.c: Likewise.
56267         * manual/examples/memopen.c: Likewise.
56268         * manual/examples/memstrm.c: Likewise.
56269         * manual/examples/mkfsock.c: Likewise.
56270         * manual/examples/mkisock.c: Likewise.
56271         * manual/examples/mygetpass.c: Likewise.
56272         * manual/examples/pipe.c: Likewise.
56273         * manual/examples/popen.c: Likewise.
56274         * manual/examples/rprintf.c: Likewise.
56275         * manual/examples/search.c: Likewise.
56276         * manual/examples/select.c: Likewise.
56277         * manual/examples/setjmp.c: Likewise.
56278         * manual/examples/sigh1.c: Likewise.
56279         * manual/examples/sigusr.c: Likewise.
56280         * manual/examples/stpcpy.c: Likewise.
56281         * manual/examples/strdupa.c: Likewise.
56282         * manual/examples/strftim.c: Likewise.
56283         * manual/examples/strncat.c: Likewise.
56284         * manual/examples/subopt.c: Likewise.
56285         * manual/examples/swapcontext.c: Likewise.
56286         * manual/examples/termios.c: Likewise.
56287         * manual/examples/testopt.c: Likewise.
56288         * manual/examples/testpass.c: Likewise.
56289         * manual/examples/timeval_subtract.c: Likewise.
56291         [BZ #13792]
56292         * manual/time.texi (Elapsed Time): Move timeval_subtract example
56293         function to ...
56294         * manual/timeval_subtract.c.texi: ... here, new file.
56296 2012-03-02  David S. Miller  <davem@davemloft.net>
56298         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
56300 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
56302         [BZ #3976]
56303         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
56304         (__sin): Save and restore rounding mode and use round-to-nearest
56305         for all computations.
56306         (__cos): Save and restore rounding mode and use round-to-nearest
56307         for all computations.
56308         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
56309         <fenv.h>.
56310         (tan): Save and restore rounding mode and use round-to-nearest for
56311         all computations.
56312         * math/libm-test.inc (cos_test_tonearest): New function.
56313         (cos_test_towardzero): Likewise.
56314         (cos_test_downward): Likewise.
56315         (cos_test_upward): Likewise.
56316         (sin_test_tonearest): Likewise.
56317         (sin_test_towardzero): Likewise.
56318         (sin_test_downward): Likewise.
56319         (sin_test_upward): Likewise.
56320         (tan_test_tonearest): Likewise.
56321         (tan_test_towardzero): Likewise.
56322         (tan_test_downward): Likewise.
56323         (tan_test_upward): Likewise.
56324         (main): Call the new functions.
56325         * sysdeps/i386/fpu/libm-test-ulps: Update.
56326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56328         [BZ #10135]
56329         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
56330         small n, then large n, before computing and testing k+n.
56331         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
56333         Likewise.
56334         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
56335         Likewise.
56336         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
56337         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
56338         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
56339         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
56340         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
56341         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
56342         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
56343         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
56344         * math/libm-test.inc (scalbn_test): Add more tests.
56345         (scalbln_test): Likewise.
56347         * manual/filesys.texi (mode_t): Describe constraints on size and
56348         signedness, not exact equivalence to a particular type.
56349         (ino_t): Likewise.
56350         (ino64_t): Likewise.
56351         (dev_t): Likewise.
56352         (nlink_t): Likewise.
56353         (blkcnt_t): Likewise.
56354         (blkcnt64_t): Likewise.
56355         * manual/llio.texi (off_t): Likewise.
56357         [BZ #3976]
56358         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
56359         (__ieee754_exp): Save and restore rounding mode and use
56360         round-to-nearest for all computations.
56361         * math/libm-test.inc (exp_test_tonearest): New function.
56362         (exp_test_towardzero): Likewise.
56363         (exp_test_downward): Likewise.
56364         (exp_test_upward): Likewise.
56365         (main): Call the new functions.
56366         * sysdeps/i386/fpu/libm-test-ulps: Update.
56367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56369 2012-03-01  Chris Demetriou  <cgd@google.com>
56371         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
56372         have predictable order.
56374 2012-03-01  David S. Miller  <davem@davemloft.net>
56376         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
56378         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
56379         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
56380         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
56381         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
56383         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
56384         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
56385         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
56386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
56387         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
56388         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
56389         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
56390         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
56391         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
56393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56395         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
56396         * sysdeps/sparc/fpu/libm-test-ulps: to here.
56397         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
56399         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
56400         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56401         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56402         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
56403         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
56404         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
56405         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
56406         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56407         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56408         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
56409         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
56410         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56411         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56412         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56413         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56415         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
56416         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
56417         * sysdeps/sparc/elf/configure: Regenerated.
56419 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
56421         * configure.in (AS, LD): Require binutils 2.20 or later.
56422         * configure: Regenerated.
56423         * manual/install.texi (Tools for Compilation): Give binutils 2.20
56424         as required minimum version.
56425         * INSTALL: Regenerated.
56427         [BZ #2541]
56428         [BZ #4108]
56429         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
56430         before squaring exponent.
56431         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
56432         bottom long double and 27 bits of top long double before squaring
56433         exponent.
56434         * math/libm-test.inc (erfc_test): Add more tests.
56435         * sysdeps/i386/fpu/libm-test-ulps: Update.
56436         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56439 2012-03-01  Kai Tietz  <ktietz@redhat.com>
56441         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
56442         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
56443         containing bit-fields.
56444         * soft-fp/extended.h (_FP_UNION_E): Likewise.
56445         * soft-fp/single.h (_FP_UNION_S): Likewise.
56446         * soft-fp/double.h (_FP_UNION_D): Likewise.
56448 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
56450         [BZ #13786]
56451         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
56452         not include ../strcmp.S.
56453         [USE_AS_STRNCASECMP_L]: Likewise.
56454         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
56455         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
56456         * sysdeps/i386/i686/multiarch/strncase_l-c.c
56457         (__strncasecmp_l_ia32): Define as alias to
56458         __strncasecmp_l_nonascii.
56460         [BZ #5794]
56461         * math/libm-test.inc (expm1_test): Add test for bug 5794.
56462         * sysdeps/i386/fpu/libm-test-ulps: Update.
56463         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56465         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
56466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56468 2012-02-29  Jeff Law  <law@redhat.com>
56470         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
56471         out of bounds read.
56473 2012-02-29  Marek Polacek  <polacek@redhat.com>
56475         [BZ #13706]
56476         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
56477         * elf/Makefile: Add rules to run tst-unused-dep.out.
56479 2012-02-28  David S. Miller  <davem@davemloft.net>
56481         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
56482         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
56483         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
56484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
56485         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
56486         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
56488 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
56490         * math/libm-test.inc (llround_test): Move one test from
56491         lround_test.  Use TEST_f_L in moved test.
56492         (lround_test): Move misplaced test to llround_test.  Add testcase
56493         from bug 2561.
56495 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
56497         * sysdeps/x86_64/fpu/e_expf.S: New file.
56498         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
56500 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
56502         [BZ #13637]
56503         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
56504         of remain_len that may cause incomplete multi-byte character and
56505         false match.
56506         * posix/bug-regex33.c: New file.
56507         * posix/Makefile (tests): Add bug-regex33.
56509 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
56511         * manual/macros.texi: New file.
56512         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
56513         * manual/libc.texinfo: Include macros.texi.
56514         * manual/creatute.texi: Likewise.
56515         * manual/install.texi: Likewise.
56516         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
56517         @glibcadj{} in references to the GNU C Library.
56518         * manual/charset.texi: Likewise.
56519         * manual/conf.texi: Likewise.
56520         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
56521         when not using those macros.
56522         * manual/creature.texi: Likewise.
56523         * manual/crypt.texi: Likewise.
56524         * manual/errno.texi: Likewise.
56525         * manual/filesys.texi: Likewise.
56526         * manual/header.texi: Likewise.
56527         * manual/install.texi: Likewise.
56528         * manual/intro.texi: Likewise.
56529         * manual/io.texi: Likewise.
56530         * manual/job.texi: Likewise.
56531         * manual/lang.texi: Likewise.
56532         * manual/libc.texiinfo: Likewise.
56533         * manual/llio.texi: Likewise.
56534         * manual/locale.texi: Likewise.
56535         * manual/maint.texi: Likewise.
56536         * manual/math.texi: Likewise.
56537         * manual/memory.texi: Likewise.
56538         * manual/message.texi: Likewise.
56539         * manual/nss.texi: Likewise.
56540         * manual/pattern.texi: Likewise.
56541         * manual/process.texi: Likewise.
56542         * manual/resource.texi: Likewise.
56543         * manual/search.texi: Likewise.
56544         * manual/setjmp.texi: Likewise.
56545         * manual/signal.texi: Likewise.
56546         * manual/socket.texi: Likewise.
56547         * manual/startup.texi: Likewise.
56548         * manual/stdio.texi: Likewise.
56549         * manual/string.texi: Likewise.
56550         * manual/sysinfo.texi: Likewise.
56551         * manual/syslog.texi: Likewise.
56552         * manual/terminal.texi: Likewise.
56553         * manual/time.texi: Likewise.
56554         * manual/users.texi: Likewise.
56555         * INSTALL: Regenerated.
56556         * NOTES: Regenerated.
56557         * sysdeps/gnu/errlist.c: Regenerated.
56559 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
56561         * include/dirent.h: Include <dirstream.h> before
56562         <dirent/dirent.h>.
56564 2012-02-28  David S. Miller  <davem@davemloft.net>
56566         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
56567         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
56568         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
56569         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
56571 2012-02-27  David S. Miller  <davem@davemloft.net>
56573         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
56574         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
56575         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
56576         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
56578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
56579         frame pointer instead of stack pointer relative arg slot.
56580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56581         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56582         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56584 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
56586         [BZ #3992]
56587         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
56589 2012-02-27  David S. Miller  <davem@davemloft.net>
56591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
56592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
56593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
56594         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
56595         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
56596         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
56597         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
56598         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
56600 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
56602         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
56603         later.  Allow versions 5-9.
56604         * configure: Regenerated.
56605         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
56606         required minimum version and 4.6 as recommended version.  Do not
56607         mention bugs in GCC 2.7 and 2.8.
56608         * INSTALL: Regenerated.
56610 2012-02-27  David S. Miller  <davem@davemloft.net>
56612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
56613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
56614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
56615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
56616         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
56617         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
56618         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
56619         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
56621         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
56622         manipulate bits before adding and subtracting TWO112[sx].
56623         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56625 2012-02-27  Roland McGrath  <roland@hack.frob.com>
56627         [BZ #13775]
56628         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
56629         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
56630         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
56631         being in POSIX, because they are in 1003.1-2008.
56633         * rt/tst-aio.c: Include <fcntl.h>.
56634         * rt/tst-aio7.c: Likewise.
56635         * rt/tst-aio64.c: Likewise.
56637         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
56639 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
56641         * manual/install.texi (--with-headers): Describe headers as
56642         interface headers, not private headers.
56643         (Specific advice for GNU/Linux systems): Describe use of headers
56644         from "make headers_install", not private headers from older
56645         kernels.
56646         * INSTALL: Regenerated.
56647         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
56648         Change to 2.6.19.
56649         * sysdeps/unix/sysv/linux/configure: Regenerated.
56651         * manual/llio.texi (fclean): Remove documentation.
56653         * manual/Makefile (libc-texi-generated): New variable.  Include
56654         version.texi.
56655         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
56656         $(libc-texi-generated), not duplicated list of files.
56657         (version.texi, stamp-version): New rules.
56658         (realclean): Remove $(libc-texi-generated), not individual files
56659         from that list.  Do not remove dir-add.texinfo.
56660         * manual/libc.texinfo: Comment out uses of edition numbers and
56661         references to printed manual.  Remove last-updated dates.
56662         (EDITION): Comment out.
56663         (ISBN): Likewise.
56664         (VERSION, UPDATED): Remove.
56665         (version.texi): Include.
56667 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
56669         * sysdeps/posix/spawni.c: Include <signal.h>.
56670         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
56671         * sysdeps/pthread/aio_fsync.c: Likewise.
56673 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
56675         * conform/Makefile (tests): Run only when not cross-compiling and
56676         when fast-check is not defined.
56678         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
56679         * conform/data/limits.h-data: Fixes for POSIX2008.
56680         * conform/run-conformtest.sh: Run all tests.
56681         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
56682         headers.
56683         * include/bits/dlfcn.h: Likewise.
56684         * include/langinfo.h: Likewise.
56685         * include/monetary.h: Likewise.
56686         * include/sys/poll.h: Likewise.
56688         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
56689         for __USE_GNU.
56690         * posix/spawn.h: Define __need_sigset_t.
56691         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
56692         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
56693         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
56694         to get sigevent_t only.
56695         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
56696         only for __USE_GNU.
56697         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56698         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
56699         process_vm_writev only for __USE_GNU.
56700         * termios/termios.h: Declare tcgetsid also for POSIX2008.
56702         * conform/Makefile: For now ignore errors from run-conformtest.
56703         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
56704         POSIX to avoid namespace pollution.  Don't prepend headers.
56705         * conform/data/aio.h-data: Fixes for POSIX testing.
56706         * conform/data/fcntl.h-data: Likewise.
56707         * conform/data/glob.h-data: Likewise.
56708         * conform/data/grp.h-data: Likewise.
56709         * conform/data/pthread.h-data: Likewise.
56710         * conform/data/pwd.h-data: Likewise.
56711         * conform/data/signal.h-data: Likewise.
56712         * conform/data/spawn.h-data: Likewise.
56713         * conform/data/stdio.h-data: Likewise.
56714         * conform/data/stdlib.h-data: Likewise.
56715         * conform/data/stropts.h-data: Likewise.
56716         * conform/data/sys/mman.h-data: Likewise.
56717         * conform/data/sys/stat.h-data: Likewise.
56718         * conform/data/sys/types.h-data: Likewise.
56719         * conform/data/sys/wait.h-data: Likewise.
56720         * conform/data/time.h-data: Likewise.
56721         * conform/data/unistd.h-data: Likewise.
56722         * conform/data/utime.h-data: Likewise.
56724         * io/sys/stat.h: fchmod was always in POSIX.
56725         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
56726         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
56727         * rt/aio.h: Define __need_timespec before including <time.h>.
56728         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
56729         struct.  Add forward declaration of pthread_attr_t and use it in
56730         sigevent.
56731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
56732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56733         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
56734         always remove CLK_TCK definition.
56736 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
56738         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
56740 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
56742         * conform/run-conformtest.sh: New file.
56743         * conform/Makefile: Run run-conformtest for tests.
56744         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
56745         support.
56747         * conform/data/uchar.h-data: New file.
56748         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
56749         * conform/data/arpa/inet.h-data: Likewise.
56750         * conform/data/assert.h-data: Likewise.
56751         * conform/data/complex.h-data: Likewise.
56752         * conform/data/cpio.h-data: Likewise.
56753         * conform/data/ctype.h-data: Likewise.
56754         * conform/data/dirent.h-data: Likewise.
56755         * conform/data/dlfcn.h-data: Likewise.
56756         * conform/data/errno.h-data: Likewise.
56757         * conform/data/fcntl.h-data: Likewise.
56758         * conform/data/float.h-data: Likewise.
56759         * conform/data/fmtmsg.h-data: Likewise.
56760         * conform/data/fnmatch.h-data: Likewise.
56761         * conform/data/ftw.h-data: Likewise.
56762         * conform/data/glob.h-data: Likewise.
56763         * conform/data/grp.h-data: Likewise.
56764         * conform/data/iconv.h-data: Likewise.
56765         * conform/data/inttypes.h-data: Likewise.
56766         * conform/data/langinfo.h-data: Likewise.
56767         * conform/data/libgen.h-data: Likewise.
56768         * conform/data/limits.h-data: Likewise.
56769         * conform/data/locale.h-data: Likewise.
56770         * conform/data/math.h-data: Likewise.
56771         * conform/data/monetary.h-data: Likewise.
56772         * conform/data/mqueue.h-data: Likewise.
56773         * conform/data/ndbm.h-data: Likewise.
56774         * conform/data/net/if.h-data: Likewise.
56775         * conform/data/netdb.h-data: Likewise.
56776         * conform/data/netinet/in.h-data: Likewise.
56777         * conform/data/nl_types.h-data: Likewise.
56778         * conform/data/poll.h-data: Likewise.
56779         * conform/data/pthread.h-data: Likewise.
56780         * conform/data/pwd.h-data: Likewise.
56781         * conform/data/regex.h-data: Likewise.
56782         * conform/data/sched.h-data: Likewise.
56783         * conform/data/search.h-data: Likewise.
56784         * conform/data/semaphore.h-data: Likewise.
56785         * conform/data/setjmp.h-data: Likewise.
56786         * conform/data/signal.h-data: Likewise.
56787         * conform/data/spawn.h-data: Likewise.
56788         * conform/data/stdarg.h-data: Likewise.
56789         * conform/data/stdio.h-data: Likewise.
56790         * conform/data/stdlib.h-data: Likewise.
56791         * conform/data/string.h-data: Likewise.
56792         * conform/data/strings.h-data: Likewise.
56793         * conform/data/stropts.h-data: Likewise.
56794         * conform/data/sys/ipc.h-data: Likewise.
56795         * conform/data/sys/mman.h-data: Likewise.
56796         * conform/data/sys/msg.h-data: Likewise.
56797         * conform/data/sys/resource.h-data: Likewise.
56798         * conform/data/sys/select.h-data: Likewise.
56799         * conform/data/sys/sem.h-data: Likewise.
56800         * conform/data/sys/shm.h-data: Likewise.
56801         * conform/data/sys/socket.h-data: Likewise.
56802         * conform/data/sys/stat.h-data: Likewise.
56803         * conform/data/sys/statvfs.h-data: Likewise.
56804         * conform/data/sys/time.h-data: Likewise.
56805         * conform/data/sys/timeb.h-data: Likewise.
56806         * conform/data/sys/times.h-data: Likewise.
56807         * conform/data/sys/types.h-data: Likewise.
56808         * conform/data/sys/uio.h-data: Likewise.
56809         * conform/data/sys/un.h-data: Likewise.
56810         * conform/data/sys/utsname.h-data: Likewise.
56811         * conform/data/sys/wait.h-data: Likewise.
56812         * conform/data/syslog.h-data: Likewise.
56813         * conform/data/tar.h-data: Likewise.
56814         * conform/data/termios.h-data: Likewise.
56815         * conform/data/utime.h-data: Likewise.
56816         * conform/data/utmpx.h-data: Likewise.
56817         * conform/data/varargs.h-data: Likewise.
56818         * conform/data/wchar.h-data: Likewise.
56819         * conform/data/wctype.h-data: Likewise.
56820         * conform/data/wordexp.h-data: Likewise.
56822         * include/stropts.h: New file.
56823         * include/uchar.h: New file.
56824         * include/aio.h: Changes to allow conformtest.pl to use the headers.
56825         * include/assert.h: Likewise.
56826         * include/ctype.h: Likewise.
56827         * include/dirent.h: Likewise.
56828         * include/dlfcn.h: Likewise.
56829         * include/fcntl.h: Likewise.
56830         * include/fnmatch.h: Likewise.
56831         * include/glob.h: Likewise.
56832         * include/grp.h: Likewise.
56833         * include/libio.h: Likewise.
56834         * include/locale.h: Likewise.
56835         * include/math.h: Likewise.
56836         * include/net/if.h: Likewise.
56837         * include/netdb.h: Likewise.
56838         * include/netinet/in.h: Likewise.
56839         * include/pthread.h: Likewise.
56840         * include/pwd.h: Likewise.
56841         * include/regex.h: Likewise.
56842         * include/sched.h: Likewise.
56843         * include/search.h: Likewise.
56844         * include/setjmp.h: Likewise.
56845         * include/signal.h: Likewise.
56846         * include/stdio.h: Likewise.
56847         * include/stdlib.h: Likewise.
56848         * include/string.h: Likewise.
56849         * include/sys/cdefs.h: Likewise.
56850         * include/sys/mman.h: Likewise.
56851         * include/sys/msg.h: Likewise.
56852         * include/sys/resource.h: Likewise.
56853         * include/sys/select.h: Likewise.
56854         * include/sys/socket.h: Likewise.
56855         * include/sys/stat.h: Likewise.
56856         * include/sys/statvfs.h: Likewise.
56857         * include/sys/time.h: Likewise.
56858         * include/sys/times.h: Likewise.
56859         * include/sys/uio.h: Likewise.
56860         * include/sys/utsname.h: Likewise.
56861         * include/sys/wait.h: Likewise.
56862         * include/termios.h: Likewise.
56863         * include/time.h: Likewise.
56864         * include/ulimit.h: Likewise.
56865         * include/unistd.h: Likewise.
56866         * include/utime.h: Likewise.
56867         * include/wchar.h: Likewise.
56868         * include/wctype.h: Likewise.
56869         * include/wordexp.h: Likewise.
56871         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
56873         * time/time.h: TIME_UTC must be a macro.
56874         Make timespec_get available for ISO C11 only as well.
56876 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
56878         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
56879         Reported by Peng Haitao <penght@cn.fujitsu.com>.
56881 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56883         * configure.in: Use -o not -a in test for unsupported multi-arch.
56885 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56887         * manual/texinfo.tex: Update to version 2012-01-19.16.
56889 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
56891         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
56893 2012-02-24  Roland McGrath  <roland@hack.frob.com>
56895         [BZ #13738]
56896         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
56897         * manual/fdl-1.3.texi: New file.
56898         * manual/fdl-1.1.texi: File removed.
56900         [BZ #13738]
56901         * manual/libc.texinfo (FDL_VERSION): New @set.
56902         Use it for mention of FDL in cover text.
56903         (Documentation License): Use it in @include file name.
56905 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56906             Roland McGrath  <roland@hack.frob.com>
56908         [BZ #5461]
56909         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
56910         (not LONG_LONG_MAX and LONG_LONG_MIN.
56911         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
56912         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
56913         name.
56914         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
56916 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56918         [BZ #2547]
56919         [BZ #11365]
56920         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
56921         manipulate bits before adding and subtracting TWO23[sx].
56922         * math/libm-test.inc (nearbyint_test): Add more tests.
56924 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56926         [BZ #2548]
56927         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
56928         bits before adding and subtracting TWO23[sx].
56929         * math/libm-test.inc (rint_test): Add more tests.
56930         (rint_test_tonearest): Likewise.
56931         (rint_test_towardzero): Likewise.
56932         (rint_test_downward): Likewise.
56933         (rint_test_upward: Likewise.
56935 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56937         [BZ #10110]
56938         * include/stdc-predef.h: New file.  Extracted from features.h.
56939         * include/features.h: Include stdc-predef.h.
56940         * Makefile (headers): Add stdc-predef.h.
56941         * CONFORMANCE (Compiler limitations): Update.
56943 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
56945         * manual/libc.texinfo (VERSION, UPDATED): Revert.
56947 2012-02-21  David S. Miller  <davem@davemloft.net>
56949         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
56950         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
56952 2012-02-20  David S. Miller  <davem@davemloft.net>
56954         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
56955         using a normal save/restore sequence, rather than allocating a
56956         dummy stack frame just to store a frame pointer and restore.
56957         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56959 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
56961         * manual/install.texi: Fix stray word in line-wrapped comment.
56963 2012-02-20  David S. Miller  <davem@davemloft.net>
56965         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
56966         both binutils and gcc support GOTDATA.
56968         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
56969         "rd %pc" in the PIC register setup sequences.
56971         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
56972         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
56973         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
56974         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
56975         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
56976         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
56977         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56978         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
56979         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
56980         (SYSCALL_ERROR_HANDLER): Likewise.
56981         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
56982         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
56983         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
56984         (SYSCALL_ERROR_HANDLER): Likewise.
56986         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
56987         (HAVE_GCC_GOTDATA): New.
56988         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
56989         relocation support in both binutils and gcc.
56990         * sysdeps/sparc/elf/configure: Regenerate.
56992         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
56993         * sysdeps/sparc/sparc32/elf/configure: Delete.
56994         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
56995         * sysdeps/sparc/sparc64/elf/configure: Delete.
56996         * sysdeps/sparc/elf/configure.in: New file.
56997         * sysdeps/sparc/elf/configure: Generate.
56999         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
57000         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
57001         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
57002         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
57003         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
57005 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57007         * manual/install.texi: Do not mention specific glibc version
57008         numbers.
57009         * manual/libc.texinfo (VERSION, UPDATED): Update.
57010         (@copying): Use @copyright{} and range of years.
57012 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
57014         [BZ #13695]
57015         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
57016         [crti.S not in sysdirs] (generated): Do not append.
57017         [crti.S not in sysdirs] (omit-deps): Likewise.
57018         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
57019         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
57020         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
57021         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
57022         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
57023         Likewise.
57024         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
57025         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
57026         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
57027         * csu/defs.awk: Remove file.
57028         * sysdeps/generic/initfini.c: Likewise.
57029         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
57030         variable.
57031         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
57032         Likewise.
57034 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57036         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
57037         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
57038         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
57039         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
57040         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
57041         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
57042         <bits/epoll.h>.
57043         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
57044         (__EPOLL_PACKED): Define to empty if not defined by
57045         <bits/epoll.h>.
57046         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
57047         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57048         bits/epoll.h.
57050 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57052         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
57053         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
57054         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
57055         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
57056         <bits/timerfd.h>.
57057         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
57058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57059         bits/timerfd.h.
57061 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
57063         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
57064         in C locale.
57065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
57066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
57067         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
57068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57070 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
57072         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57073         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
57075 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
57077         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
57078         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
57079         defined.
57080         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
57081         Likewise.
57082         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
57083         entry for 2.16.
57085 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
57087         * math/w_acos.c: Use non-signaling floating-point comparisons.
57088         * math/w_acosf.c: Likewise.
57089         * math/w_acosh.c: Likewise.
57090         * math/w_acoshf.c: Likewise.
57091         * math/w_acoshl.c: Likewise.
57092         * math/w_acosl.c: Likewise.
57093         * math/w_asin.c: Likewise.
57094         * math/w_asinf.c: Likewise.
57095         * math/w_asinl.c: Likewise.
57096         * math/w_atanh.c: Likewise.
57097         * math/w_atanhf.c: Likewise.
57098         * math/w_atanhl.c: Likewise.
57099         * math/w_exp2.c: Likewise.
57100         * math/w_exp2f.c: Likewise.
57101         * math/w_exp2l.c: Likewise.
57102         * math/w_j0.c: Likewise.
57103         * math/w_j0f.c: Likewise.
57104         * math/w_j0l.c: Likewise.
57105         * math/w_j1.c: Likewise.
57106         * math/w_j1f.c: Likewise.
57107         * math/w_j1l.c: Likewise.
57108         * math/w_jn.c: Likewise.
57109         * math/w_jnf.c: Likewise.
57110         * math/w_log.c: Likewise.
57111         * math/w_log10.c: Likewise.
57112         * math/w_log10f.c: Likewise.
57113         * math/w_log10l.c: Likewise.
57114         * math/w_log2.c: Likewise.
57115         * math/w_log2f.c: Likewise.
57116         * math/w_log2l.c: Likewise.
57117         * math/w_logf.c: Likewise.
57118         * math/w_logl.c: Likewise.
57119         * math/w_sqrt.c: Likewise.
57120         * math/w_sqrtf.c: Likewise.
57121         * math/w_sqrtl.c: Likewise.
57122         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57123         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
57124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57125         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
57126         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
57128 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57130         [BZ #9739]
57131         * manual/string.texi (strnlen): Use correct parameter name in
57132         equivalent expression.
57134 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57136         [BZ #11174]
57137         * manual/users.texi (seteuid): Consistently use neweuid for
57138         argument name.
57140 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
57142         [BZ #13704]
57143         * manual/nss.texi (Services in the NSS configuration): Correct
57144         list of services in example configuration file.
57146 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
57148         [BZ #11322]
57149         * manual/arith.texi: Remove statements about negative zero
57150         behaving identically to zero.
57152 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57154         [BZ #5993]
57155         * manual/install.texi: Do not document upgrading from libc5.
57157 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
57159         [BZ #4596]
57160         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
57162 2012-02-18  David S. Miller  <davem@davemloft.net>
57164         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
57165         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
57166         %o7 across the call.
57167         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
57168         instead.
57169         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
57170         SETUP_PIC_REG_LEAF.
57171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
57172         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
57173         * sysdeps/sparc/crtn.S: Likewise.
57175 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
57177         * aout/Makefile: Remove.
57179 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
57181         [BZ #13058]
57182         * manual/examples/argp-ex1.c (main): Format definition in GNU
57183         style.
57184         * manual/examples/argp-ex2.c (main): Likewise.
57185         * manual/examples/argp-ex3.c (main): Likewise.
57186         * manual/examples/argp-ex4.c (main): Likewise.
57187         * manual/examples/longopt.c (main): Use new-style prototype
57188         definition.
57189         * manual/examples/strncat.c (main): Specify return type and use
57190         (void) for arguments.
57191         * manual/examples/subopt.c (main): Use char **argv argument.
57193 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57195         [BZ #5077]
57196         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
57197         rounding modes.
57199 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
57201         [BZ #6907]
57202         * manual/string.texi (strchr): Change when strchrnul is
57203         recommended.
57205 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
57207         [BZ #174]
57208         * manual/locale.texi (setlocale): Document LOCPATH.
57210 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57212         [BZ #10210]
57213         * manual/process.texi (execle): Move @dots{} before last argument.
57215 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
57217         [BZ #12047]
57218         * manual/charset.texi (Generic Charset Conversion): Fix typo
57219         (LC_TYPE -> LC_CTYPE).
57221 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
57223         [BZ #5805]
57224         * manual/arith.texi (scalbn): Use @var{} on parameter names.
57225         (scalbnf): Likewise.
57226         (scalbnl): Likewise.
57227         (scalbln): Likewise.
57228         (scalblnf): Likewise.
57229         (scalblnl): Likewise.
57230         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
57231         (vwarnx): Likewise.
57232         (verr): Likewise.
57233         (verrx): Likewise.
57234         * manual/filesys.texi (telldir): Use braces around return type.
57235         * manual/llio.texi (mmap): Add space after comma.
57236         (mmap64): Likewise.
57237         * manual/math.texi (jn): Use @var{} on parameter names.
57238         (jnf): Likewise.
57239         (jnl): Likewise.
57240         (yn): Likewise.
57241         (ynf): Likewise.
57242         (ynl): Likewise.
57243         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
57244         line.
57245         * manual/resource.texi (ulimit): Use @dots{} instead of literal
57246         "...".
57247         (sched_get_priority_min): Remove semicolon on @deftypefun line.
57248         (sched_get_priority_max): Likewise.
57249         * manual/signal.texi (sigvec): Add space after comma.
57250         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
57251         names.
57252         (if_indextoname): Likewise.
57253         (if_freenameindex): Likewise.
57254         (sendto): Use ',' instead of '.' in prototype.
57255         * manual/startup.texi (syscall): Use @dots{} instead of literal
57256         "...".
57257         * manual/stdio.texi (__fpending): Separate initial words of
57258         paragraph from @deftypefun line.
57259         * manual/syslog.texi (syslog): Use @dots{} instead of literal
57260         "...".
57261         (vsyslog): Use @var{} on parameter names.
57262         * manual/terminal.texi (stty): Use @var{} on parameter names.
57263         * manual/users.texi (getutmp): Use @var{} on parameter names.
57264         (getutmpx): Likewise.
57266 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57268         [BZ #6884]
57269         * manual/stdio.texi (fopen): Fix typos in description of
57270         ",ccs=STRING".
57272 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
57274         [BZ #4026]
57275         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
57276         get clock_id definition.
57278 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
57280         [BZ #4822]
57281         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
57282         (madvise): Cast every argument to void on its own.
57284 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57286         [BZ #9902]
57287         * manual/startup.texi (Exit Status): Fix typo.
57289 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
57291         [BZ #10140]
57292         * manual/examples/argp-ex1.c: Include <stdlib.h>.
57293         * manual/examples/argp-ex2.c: Likewise.
57294         * manual/examples/argp-ex3.c: Likewise.
57296 2012-02-16  Richard Henderson  <rth@redhat.com>
57298         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
57299         * sysdeps/s390/s390-32/initfini.c: Remove.
57300         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
57301         * sysdeps/s390/s390-64/initfini.c: Remove.
57303 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57305         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
57306         compiler output for sysdeps/generic/initfini.c.
57307         * sysdeps/sh/elf/initfini.c: Remove file.
57309 2012-02-16  David S. Miller  <davem@davemloft.net>
57311         [BZ #11494]
57312         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
57314         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
57315         * sysdeps/sparc/crti.S: New file.
57316         * sysdeps/sparc/crtn.S: New file.
57317         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
57318         * sysdeps/sparc/sparc64/Makefile: Likewise.
57320 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
57322         [BZ #3335]
57323         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
57325 2012-02-15  Roland McGrath  <roland@hack.frob.com>
57327         [BZ #4822]
57328         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
57330         * mach/devstream.c (cookie_io_functions_t): Macro removed.
57331         (write, read, close): Likewise.
57332         Patch by Aurelien Jarno <aurelien@aurel32.net>.
57334 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
57336         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
57337         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
57338         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
57339         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
57340         <bits/signalfd.h>.
57341         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
57342         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57343         bits/signalfd.h.
57345 2012-02-14  Marek Polacek  <polacek@redhat.com>
57347         * sysdeps/x86_64/crti.S: New file.
57348         * sysdeps/x86_64/crtn.S: New file.
57349         * sysdeps/x86_64/elf/initfini.c: Remove file.
57351 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
57353         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
57354         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
57355         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
57356         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
57357         <bits/inotify.h>.
57358         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
57359         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57360         bits/inotify.h.
57362 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
57364         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
57365         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
57366         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
57367         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
57368         <bits/eventfd.h>.
57369         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
57370         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57371         bits/eventfd.h.
57373 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
57375         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
57376         __feraiseexcept instead of feraiseexcept.
57378         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
57379         nanosleep invocations.
57380         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
57381         strings, and add error checking for a nanosleep invocations.
57383 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
57385         Replace FSF snail mail address with URLs, as per GNU coding standards.
57386         Most of the snail mail addresses were wrong anyway, and omitting
57387         them makes the source code easier to maintain.  Almost all of the
57388         changes are to license notices and to locale LC_IDENTIFICATION
57389         addresses, except for this one:
57390         * manual/libc.texinfo: In "Published by", give the FSF's URL,
57391         not its snail mail address.
57393 2012-02-09  Richard Henderson  <rth@twiddle.net>
57395         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
57396         of kernel-features.h.
57398         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
57400 2012-02-08  Marek Polacek  <polacek@redhat.com>
57402         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
57403         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
57404         * sysdeps/gnu/_G_config.h: Likewise.
57405         * sysdeps/generic/_G_config.h: Likewise.
57407 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
57409         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
57410         tests.
57411         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57413         * sysdeps/powerpc/powerpc32/crti.S: New file.
57414         * sysdeps/powerpc/powerpc32/crtn.S: New file.
57415         * sysdeps/powerpc/powerpc64/crti.S: New file.
57416         * sysdeps/powerpc/powerpc64/crtn.S: New file.
57418         * Makeconfig (have-initfini): Don't set.
57419         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
57420         * configure.in (nopic_initfini): Don't substitute.
57421         * config.h.in (HAVE_INITFINI): Don't #undef.
57422         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
57423         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
57425 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
57427         Support crti.S and crtn.S provided directly by architectures.
57428         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
57429         [crti.S in sysdirs] (omit-deps): Likewise.
57430         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
57431         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
57432         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
57433         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
57434         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
57435         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
57436         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
57437         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
57438         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
57439         compiler output for sysdeps/generic/initfini.c.
57440         * sysdeps/i386/elf/Makefile: Remove file.
57441         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
57443 2012-02-07  Marek Polacek  <polacek@redhat.com>
57445         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
57446         * sysdeps/gnu/_G_config.h: Likewise.
57447         * sysdeps/mach/hurd/_G_config.h: Likewise.
57449 2012-02-07  Marek Polacek  <polacek@redhat.com>
57451         * math/Makefile (tests): Add tst-CMPLX2.
57452         * math/tst-CMPLX2.c: New file.
57454 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
57456         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
57458         * math/libm-test.inc (jn_test): Add missing L suffix.
57460 2012-02-06  Marek Polacek  <polacek@redhat.com>
57462         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
57463         * sysdeps/i386/fpu/e_powf.S: Likewise.
57464         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
57465         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
57466         * sysdeps/i386/fpu/e_acosh.S: Likewise.
57467         * sysdeps/i386/fpu/e_pow.S: Likewise.
57468         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
57469         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
57470         * sysdeps/i386/fpu/s_expm1.S: Likewise.
57471         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
57472         * sysdeps/i386/fpu/e_log2.S: Likewise.
57473         * sysdeps/i386/fpu/e_log2l.S: Likewise.
57474         * sysdeps/i386/fpu/e_scalb.S: Likewise.
57475         * sysdeps/i386/fpu/e_powl.S: Likewise.
57476         * sysdeps/i386/fpu/s_log1p.S: Likewise.
57477         * sysdeps/i386/fpu/e_log10f.S: Likewise.
57478         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
57479         * sysdeps/i386/fpu/e_logl.S: Likewise.
57480         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
57481         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
57482         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
57483         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
57484         * sysdeps/i386/fpu/e_log2f.S: Likewise.
57485         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
57486         * sysdeps/i386/fpu/e_log.S: Likewise.
57487         * sysdeps/i386/fpu/s_cexp.S: Likewise.
57488         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
57489         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
57490         * sysdeps/i386/fpu/e_logf.S: Likewise.
57491         * sysdeps/i386/fpu/e_log10l.S: Likewise.
57492         * sysdeps/i386/fpu/e_atanh.S: Likewise.
57493         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
57494         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
57495         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
57496         * sysdeps/i386/fpu/e_log10.S: Likewise.
57497         * sysdeps/i386/fpu/s_frexp.S: Likewise.
57498         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
57499         * sysdeps/i386/fpu/s_asinh.S: Likewise.
57500         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
57501         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
57502         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
57503         * sysdeps/i386/asm-syntax.h: Likewise.
57504         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
57505         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
57506         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
57507         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
57508         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
57509         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
57510         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
57511         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
57512         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
57513         * sysdeps/powerpc/sysdep.h: Likewise.
57514         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
57515         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
57517 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
57519         [BZ #411]
57520         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
57522 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
57524         * sysdeps/i386/sysdep.h: Include <features.h>.
57525         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
57526         version.
57528 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
57530         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
57531         Define.
57532         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
57533         LOAD_PIC_REG_STR.
57535 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57537         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
57538         (SETUP_PIC_REG): Use GET_PC_THUNK.
57539         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
57540         macro.
57542 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57544         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
57545         for non-PIC compilation.
57546         (SETUP_PIC_REG): Add .p2align directive.
57547         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
57548         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
57549         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
57550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
57551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
57552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
57553         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
57554         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57555         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
57556         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
57557         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
57558         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
57559         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
57560         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
57561         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
57562         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
57563         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
57564         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
57565         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
57566         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
57567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
57568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
57569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
57570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
57571         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
57572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
57573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
57574         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
57575         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
57576         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
57577         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
57578         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
57579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
57580         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
57581         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
57582         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
57583         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
57584         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
57585         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
57586         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
57587         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
57589 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
57591         * math/tst-CMPLX.c: Include <stdio.h>.
57593 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
57595         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
57596         float.
57597         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57598         * sysdeps/sparc/bits/mathdef.h: Likewise.
57600 2012-01-31  Marek Polacek  <polacek@redhat.com>
57602         * libio/libio.h: Don't define _PARAMS.
57603         * locale/programs/config.h: Don't define PARAMS.
57604         * stdlib/strtol_l.c: Likewise.
57605         (__strtol_l): Remove PARAMS from the prototype.
57607 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
57609         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
57610         names.  Just use the correct names.  Remove unnecessary wrapper
57611         functions.
57612         * malloc/arena.c: Likewise.
57613         * malloc/hooks.c: Likewise.
57615         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
57616         ARENA_TEST says not to.  Simplify test for creation of a new arena.
57617         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
57619 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
57621         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
57622         into tail calls.
57623         (update_get_addr): New function.
57624         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
57625         GET_ADDR_MODULE parameter.
57627 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
57629         * crypt/cert.c: Remove __STDC__ conditionals.
57630         * crypt/crypt-entry.c: Likewise.
57631         * crypt/crypt_util.c: Likewise.
57632         * libio/filedoalloc.c: Likewise.
57633         * libio/fileops.c: Likewise.
57634         * libio/genops.c: Likewise.
57635         * libio/iofclose.c: Likewise.
57636         * libio/iofdopen.c: Likewise.
57637         * libio/iofopen.c: Likewise.
57638         * libio/iofopen64.c: Likewise.
57639         * libio/iogetdelim.c: Likewise.
57640         * libio/iopopen.c: Likewise.
57641         * libio/obprintf.c: Likewise.
57642         * libio/oldfileops.c: Likewise.
57643         * libio/oldiofclose.c: Likewise.
57644         * libio/oldiofdopen.c: Likewise.
57645         * libio/oldiofopen.c: Likewise.
57646         * libio/oldiopopen.c: Likewise.
57647         * libio/wfiledoalloc.c: Likewise.
57648         * libio/wgenops.c: Likewise.
57649         * locale/programs/xmalloc.c: Likewise.
57650         * misc/syslog.c: Likewise.
57651         * stdio-common/xbug.c: Likewise.
57652         * string/memchr.c: Likewise.
57653         * string/memcmp.c: Likewise.
57654         * string/memrchr.c: Likewise.
57655         * string/rawmemchr.c: Likewise.
57656         * sysdeps/posix/getcwd.c: Likewise.
57657         * time/strftime_l.c: Likewise.
57659 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
57661         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
57662         * config.make.in (config-cflags-sse2avx): Define.
57663         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
57664         Fix typo.
57666 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
57668         * scripts/config.guess: Update from upstream config git repository.
57669         * scripts/config.sub: Likewise.
57671 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
57673         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
57674         (EM_NUM): Update.
57675         (R_TILEPRO_*, R_TILEGX_*): New macros.
57677         * scripts/firstversions.awk: Fix bug in version range handling.
57679         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
57681         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
57683         * include/sys/epoll.h: New file.
57684         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
57685         libc_hidden_def.
57687 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
57689         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
57690         Avoid unnecessary __WORDSIZE == 64 test.
57691         (fmaxf): Use VEX format if possible.
57692         (fmax): Likewise.
57693         (fminf): Likewise.
57694         (fmin): Likewise.
57696         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
57697         * math/math_private.h: Remove libc_fegetround* and
57698         libc_fesetround*.
57699         * sysdeps/i386/configure.in: Check for -msse2avx.
57700         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
57701         also if SSE2AVX is defined.
57702         Remove libc_fegetround* and libc_fesetround*.
57703         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
57704         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
57705         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
57706         of HAS_YMM_USABLE.
57707         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57708         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57709         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57710         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57713         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
57715 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57717         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
57718         size is not set.
57719         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57721 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
57723         [BZ #13618]
57724         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
57725         relocation.
57726         * Makeconfig (libm): Define.
57727         * elf/Makefile: Add rules to build and run tst-relsort1.
57728         * elf/tst-relsort1.c: New file.
57729         * elf/tst-relsort1mod1.c: New file.
57730         * elf/tst-relsort1mod2.c: New file.
57732 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
57734         * math/s_ldexp.c: Remove __STDC__ conditionals.
57735         * math/s_ldexpf.c: Likewise.
57736         * math/s_ldexpl.c: Likewise.
57737         * math/s_nextafter.c: Likewise.
57738         * math/s_nexttowardf.c: Likewise.
57739         * math/s_significand.c: Likewise.
57740         * math/s_significandf.c: Likewise.
57741         * math/s_significandl.c: Likewise.
57742         * math/w_jnl.c: Likewise.
57743         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57744         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57745         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57746         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57747         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57748         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57749         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
57750         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57751         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57752         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57753         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57754         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57755         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57756         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57757         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57758         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57759         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57760         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57761         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57762         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57763         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57764         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57765         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57766         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57767         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57768         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57769         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57770         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57771         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57772         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57773         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57774         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57775         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57776         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57777         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57778         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57779         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57780         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57781         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57782         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57783         * sysdeps/ieee754/k_standard.c: Likewise.
57784         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57785         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57786         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57787         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57788         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57789         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57790         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57791         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57792         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57793         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57794         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57795         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57796         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57797         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57798         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57799         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57800         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57801         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57802         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57803         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57804         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57805         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57806         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57807         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57808         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57809         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57810         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57812         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57813         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57814         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57815         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
57816         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57817         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57818         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57819         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57820         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
57821         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57822         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57823         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
57824         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
57825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57826         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
57827         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
57828         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57829         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
57830         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
57831         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57832         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57833         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
57834         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
57835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57837         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57838         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57839         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57840         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
57841         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57843         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57844         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57845         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57846         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57847         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57848         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57849         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57850         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57851         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57852         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57853         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57854         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57855         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57856         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57857         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57858         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57859         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57860         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57861         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57862         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57863         * sysdeps/ieee754/s_matherr.c: Likewise.
57864         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57865         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57866         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57867         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57869 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57871         * crypt/md5.h: Remove __STDC__ conditionals.
57872         * libio/libioP.h: Likewise.
57873         * locale/programs/config.h: Likewise.
57874         * sysdeps/generic/sysdep.h: Likewise.
57875         * sysdeps/i386/asm-syntax.h: Likewise.
57876         * sysdeps/s390/asm-syntax.h: Likewise.
57877         * sysdeps/unix/sysdep.h: Likewise.
57878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
57879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57881 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
57883         * libio/libio.h: Remove __STDC__ conditionals.
57884         * malloc/obstack.h: Likewise.
57885         * math/complex.h: Likewise.
57886         * math/math.h: Likewise.
57887         * sysdeps/generic/_G_config.h: Likewise.
57888         * sysdeps/gnu/_G_config.h: Likewise.
57889         * sysdeps/mach/hurd/_G_config.h: Likewise.
57890         * sysdeps/powerpc/bits/mathdef.h: Likewise.
57891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
57892         * sysdeps/sparc/bits/mathdef.h: Likewise.
57894 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
57896         [BZ #13583]
57897         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
57898         Clean up HAS_* macros.
57899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
57900         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
57901         possible.
57902         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
57903         HAS_AVX.
57904         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
57905         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
57906         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
57907         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
57908         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
57910 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
57912         * elf/tst-unique3.cc (gets): Remove declaration.
57913         * elf/tst-unique3lib.cc (gets): Likewise.
57914         * elf/tst-unique3lib2.cc (gets): Likewise.
57915         * elf/tst-unique4.cc (gets): Likewise.
57917 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
57919         * include/stdio.h: Add C++ protection.  Add gets declarations and
57920         definitions.
57921         * debug/tst-chk1.c: Don't declare gets here.
57922         * stdio-common/tst-gets.c: Likewise.
57924 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57926         * posix/glob: Remove directory.
57928 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
57930         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
57932 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
57934         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
57935         of the non-standard EPFNOSUPPORT.
57937 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57939         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
57940         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
57941         ANYWHERE set to 1 only on KERN_NO_SPACE error.
57943 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
57945         * wcsmbs/uchar.h: Test __STDC_VERSION__.
57947 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
57949         * nscd/aicache.c (addhstaiX): Do not cache negative results of
57950         transient errors.
57951         * nscd/grpcache.c (cache_addgr): Likewise.
57952         * nscd/hstcache.c (cache_addhst): Likewise.
57953         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57954         * nscd/pwdcache.c (cache_addpw): Likewise.
57955         * nscd/servicescache.c (cache_addserv): Likewise.
57957 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
57959         * malloc/malloc.c: Various cleanups.
57960         * malloc/hooks.c: Likewise.
57962         * stdlib/Makefile (tests): Add bug-fmtmsg1.
57963         * stdlib/bug-fmtmsg1.c: New file.
57965         * stdlib/fmtmsg.c (init): Add missing unlock.
57966         Patch by Peng Haitao <penght@cn.fujitsu.com>.
57968 2012-01-12  Marek Polacek  <polacek@redhat.com>
57970         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
57971         and _GNU_SOURCE.
57973 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
57975         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
57976         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
57977         macro to ensure uniqueness of label name.
57978         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
57979         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
57981 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
57983         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
57985         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
57986         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57987         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57988         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
57990 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
57992         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
57994         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
57995         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57996         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57998         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
58000         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
58001         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
58002         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
58003         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
58005         * math/bits/math-finite.h: Add ldexp support.
58007 2012-01-10  Marek Polacek  <polacek@redhat.com>
58009         * locale/programs/localedef.h (show_archive_content): Add noreturn
58010         attribute.
58012 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
58014         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
58016 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58018         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
58020         * io/Makefile (headers): Add bits/poll2.h.
58022 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
58024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
58025         typo #include statement.
58027 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58029         * include/sys/cdefs.h: Define __attribute_alloc_size.
58030         * catgets/gencat.c: Add alloc_size attribute and apply consistently
58031         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
58032         * elf/pldd.c: Likewise.
58033         * iconv/iconv_charmap.c: Likewise.
58034         * iconv/iconvconfig.c: Likewise.
58035         * iconv/strtab.c: Likewise.
58036         * locale/programs/locale.c: Likewise.
58037         * locale/programs/localedef.h: Likewise.
58038         * locale/programs/simple-hash.c: Likewise.
58039         * nscd/nscd.h: Likewise.
58040         * nss/makedb.c: Likewise.
58041         * sysdeps/generic/ldconfig.h: Likewise.
58042         * locale/programs/localedef.c: Remove xmalloc prototype.
58043         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
58045 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58047         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
58048         appropriate.
58050 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
58052         * math/Makefile (tests): Add tst-CMPLX.
58053         * math/tst-CMPLX.c: New file.
58055         * math/complex.h (CMPLXL): Fix typo.
58057         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
58058         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
58059         GLIBC_2.16.
58060         * debug/tst-chk1.c: Add poll and ppoll tests.
58061         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
58062         * include/sys/poll.h: Add hidden proto for ppoll.
58063         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
58064         * sysdeps/mach/hurd/ppoll.c: Likewise.
58065         * io/ppoll.c: Likewise.
58066         * debug/poll_chk.c: New file.
58067         * debug/ppoll_chk.c: New file.
58068         * include/bits/poll2.h: New file.
58069         * io/bits/poll2.h: New file.
58071         [BZ #1350]
58072         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
58074         * configure.in: static is always set to yes.  Remove.
58075         * config.make.in: Don't set build-static.
58076         * Makeconfig: Remove use of build-static.
58077         * dlfcn/Makefile: Likewise.
58078         * elf/Makefile: Likewise.
58079         * math/Makefile: Likewise.
58080         * misc/Makefile: Likewise.
58081         * nptl/Makefile: Likewise.
58082         * sysdeps/mach/hurd/Makefile: Likewise.
58084         * configure.in: PWD_P is not used anymore.
58085         * config.make.in: Remove PWD_P entry.
58087         * configure.in: Remove last remnants of RANLIB.
58088         No need to check for signed size_t anymore.
58089         Don't set libc_commonpagesize and libc_relro_required here for Alpha
58090         and IA-64.
58091         Remove __builtin_expect test because we require at least gcc 3.4.
58092         * aclocal.m4: Likewise.
58094         * wcsmbs/mbrtoc16.c: Implement using towc function.
58095         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
58096         * wcsmbs/wcsmbsload.c: Likewise.
58097         * iconv/gconv_simple.c: Likewise.
58098         * iconv/gconv_int.h: Likewise.
58099         * iconv/gconv_builtin.h: Likewise.
58100         * iconv/iconv_prog.c: Remove CHAR16 handling.
58102         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
58104         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
58106         * configure.in: Remove --with-elf and --enable-bounded options.
58107         Dont set base_machine for ia64.  More non-ELF conditions removed.
58108         Remove testing and setting of leading underscore information.
58109         * config.make.in (build-bounded): Set to no.
58110         * config.h.in: Remove NO_UNDERSCORES entry.
58111         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
58112         them.
58113         * csu/start.c: Remove !NO_UNDERSCORE code.
58114         * locale/localeinfo.h: Likewise.
58115         * sysdeps/generic/machine-gmon.h: Likewise.
58116         * sysdeps/generic/sysdep.h: Likewise.
58117         * sysdeps/i386/sysdep.h: Likewise.
58118         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58119         * sysdeps/mach/sysdep.h: Likewise.
58120         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58121         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58122         * sysdeps/sh/sysdep.h: Likewise.
58123         * sysdeps/sparc/sparc32/alloca.S: Likewise.
58124         * sysdeps/unix/i386/sysdep.S: Likewise.
58125         * sysdeps/unix/sparc/start.c: Likewise.
58126         * sysdeps/unix/sparc/sysdep.S: Likewise.
58127         * sysdeps/unix/sparc/sysdep.h: Likewise.
58128         * sysdeps/unix/start.c: Likewise.
58129         * sysdeps/unix/x86_64/sysdep.S: Likewise.
58130         * sysdeps/x86_64/sysdep.h: Likewise.
58132 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
58134         [BZ #13553]
58135         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
58136         for non-gcc.
58137         * argp/argp-fmtstream.h: Use const instead __const.
58138         * argp/argp.h: Likewise.
58139         * assert/assert.h: Likewise.
58140         * bits/fenv.h: Likewise.
58141         * bits/sched.h: Likewise.
58142         * bits/sigset.h: Likewise.
58143         * bits/sigthread.h: Likewise.
58144         * catgets/nl_types.h: Likewise.
58145         * conform/data/pthread.h-data: Likewise.
58146         * crypt/crypt-private.h: Likewise.
58147         * crypt/crypt.h: Likewise.
58148         * crypt/crypt_util.c: Likewise.
58149         * ctype/ctype.h: Likewise.
58150         * debug/execinfo.h: Likewise.
58151         * debug/mbsnrtowcs_chk.c: Likewise.
58152         * debug/mbsrtowcs_chk.c: Likewise.
58153         * debug/wcsnrtombs_chk.c: Likewise.
58154         * debug/wcsrtombs_chk.c: Likewise.
58155         * debug/wcstombs_chk.c: Likewise.
58156         * dirent/dirent.h: Likewise.
58157         * dlfcn/dlfcn.h: Likewise.
58158         * elf/neededtest4.c: Likewise.
58159         * grp/grp.h: Likewise.
58160         * gshadow/gshadow.h: Likewise.
58161         * iconv/gconv.h: Likewise.
58162         * iconv/gconv_int.h: Likewise.
58163         * iconv/gconv_simple.c: Likewise.
58164         * iconv/iconv.h: Likewise.
58165         * iconv/loop.c: Likewise.
58166         * iconv/skeleton.c: Likewise.
58167         * include/aio.h: Likewise.
58168         * include/aliases.h: Likewise.
58169         * include/argz.h: Likewise.
58170         * include/arpa/inet.h: Likewise.
58171         * include/assert.h: Likewise.
58172         * include/dirent.h: Likewise.
58173         * include/dlfcn.h: Likewise.
58174         * include/execinfo.h: Likewise.
58175         * include/fcntl.h: Likewise.
58176         * include/fenv.h: Likewise.
58177         * include/glob.h: Likewise.
58178         * include/grp.h: Likewise.
58179         * include/libintl.h: Likewise.
58180         * include/mntent.h: Likewise.
58181         * include/netdb.h: Likewise.
58182         * include/pwd.h: Likewise.
58183         * include/rpc/netdb.h: Likewise.
58184         * include/sched.h: Likewise.
58185         * include/search.h: Likewise.
58186         * include/shadow.h: Likewise.
58187         * include/signal.h: Likewise.
58188         * include/stdio.h: Likewise.
58189         * include/stdlib.h: Likewise.
58190         * include/string.h: Likewise.
58191         * include/sys/socket.h: Likewise.
58192         * include/sys/stat.h: Likewise.
58193         * include/sys/statfs.h: Likewise.
58194         * include/sys/statvfs.h: Likewise.
58195         * include/sys/syslog.h: Likewise.
58196         * include/sys/time.h: Likewise.
58197         * include/sys/uio.h: Likewise.
58198         * include/time.h: Likewise.
58199         * include/unistd.h: Likewise.
58200         * include/utmp.h: Likewise.
58201         * include/wchar.h: Likewise.
58202         * include/wctype.h: Likewise.
58203         * inet/aliases.h: Likewise.
58204         * inet/arpa/inet.h: Likewise.
58205         * inet/netinet/ether.h: Likewise.
58206         * inet/netinet/in.h: Likewise.
58207         * intl/libintl.h: Likewise.
58208         * io/bits/fcntl2.h: Likewise.
58209         * io/fcntl.h: Likewise.
58210         * io/ftw.h: Likewise.
58211         * io/sys/poll.h: Likewise.
58212         * io/sys/stat.h: Likewise.
58213         * io/sys/statfs.h: Likewise.
58214         * io/sys/statvfs.h: Likewise.
58215         * io/utime.h: Likewise.
58216         * libio/bits/stdio.h: Likewise.
58217         * libio/bits/stdio2.h: Likewise.
58218         * libio/libio.h: Likewise.
58219         * libio/libioP.h: Likewise.
58220         * libio/stdio.h: Likewise.
58221         * locale/lc-ctype.c: Likewise.
58222         * locale/locale.h: Likewise.
58223         * login/utmp.h: Likewise.
58224         * malloc/arena.c: Likewise.
58225         * malloc/malloc.c: Likewise.
58226         * malloc/malloc.h: Likewise.
58227         * malloc/mcheck.c: Likewise.
58228         * malloc/mtrace.c: Likewise.
58229         * math/bits/mathcalls.h: Likewise.
58230         * math/fenv.h: Likewise.
58231         * math/math_private.h: Likewise.
58232         * misc/bits/error.h: Likewise.
58233         * misc/bits/syslog.h: Likewise.
58234         * misc/err.h: Likewise.
58235         * misc/error.h: Likewise.
58236         * misc/fstab.h: Likewise.
58237         * misc/mntent.h: Likewise.
58238         * misc/regexp.h: Likewise.
58239         * misc/search.h: Likewise.
58240         * misc/sgtty.h: Likewise.
58241         * misc/sys/mman.h: Likewise.
58242         * misc/sys/syslog.h: Likewise.
58243         * misc/sys/uio.h: Likewise.
58244         * misc/sys/xattr.h: Likewise.
58245         * misc/ttyent.h: Likewise.
58246         * nis/rpcsvc/ypclnt.h: Likewise.
58247         * nss/nss.h: Likewise.
58248         * posix/bits/unistd.h: Likewise.
58249         * posix/fnmatch.h: Likewise.
58250         * posix/glob.h: Likewise.
58251         * posix/sched.h: Likewise.
58252         * posix/spawn.h: Likewise.
58253         * posix/sys/wait.h: Likewise.
58254         * posix/unistd.h: Likewise.
58255         * posix/wordexp.h: Likewise.
58256         * pwd/pwd.h: Likewise.
58257         * resolv/netdb.h: Likewise.
58258         * resource/sys/resource.h: Likewise.
58259         * rt/aio.h: Likewise.
58260         * rt/bits/mqueue2.h: Likewise.
58261         * rt/mqueue.h: Likewise.
58262         * shadow/shadow.h: Likewise.
58263         * signal/signal.h: Likewise.
58264         * socket/send.c: Likewise.
58265         * socket/sendto.c: Likewise.
58266         * socket/sys/socket.h: Likewise.
58267         * stdio-common/printf.h: Likewise.
58268         * stdlib/bits/stdlib.h: Likewise.
58269         * stdlib/fmtmsg.h: Likewise.
58270         * stdlib/monetary.h: Likewise.
58271         * stdlib/stdlib.h: Likewise.
58272         * stdlib/ucontext.h: Likewise.
58273         * streams/stropts.h: Likewise.
58274         * string/argz.h: Likewise.
58275         * string/bits/string2.h: Likewise.
58276         * string/string.h: Likewise.
58277         * string/strings.h: Likewise.
58278         * sunrpc/rpc/auth.h: Likewise.
58279         * sunrpc/rpc/auth_des.h: Likewise.
58280         * sunrpc/rpc/clnt.h: Likewise.
58281         * sunrpc/rpc/netdb.h: Likewise.
58282         * sunrpc/rpc/pmap_clnt.h: Likewise.
58283         * sunrpc/rpc/xdr.h: Likewise.
58284         * sysdeps/generic/inttypes.h: Likewise.
58285         * sysdeps/generic/net/if.h: Likewise.
58286         * sysdeps/generic/sys/swap.h: Likewise.
58287         * sysdeps/gnu/net/if.h: Likewise.
58288         * sysdeps/gnu/utmpx.h: Likewise.
58289         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
58290         * sysdeps/i386/i486/bits/string.h: Likewise.
58291         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
58292         * sysdeps/s390/bits/string.h: Likewise.
58293         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
58294         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
58295         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
58296         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
58297         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
58298         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
58299         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
58300         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
58301         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
58302         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
58303         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
58304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
58305         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
58306         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
58307         * sysdeps/unix/sysv/linux/readv.c: Likewise.
58308         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
58309         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58310         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58311         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
58312         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
58313         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58314         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
58315         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
58316         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
58317         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
58318         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
58319         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
58320         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58321         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
58322         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
58323         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
58324         * sysvipc/sys/ipc.h: Likewise.
58325         * sysvipc/sys/msg.h: Likewise.
58326         * sysvipc/sys/sem.h: Likewise.
58327         * sysvipc/sys/shm.h: Likewise.
58328         * termios/termios.h: Likewise.
58329         * time/sys/time.h: Likewise.
58330         * time/time.h: Likewise.
58331         * wcsmbs/bits/wchar2.h: Likewise.
58332         * wcsmbs/uchar.h: Likewise.
58333         * wcsmbs/wchar.h: Likewise.
58334         * wctype/wctype.h: Likewise.
58336         [BZ #13551]
58337         * Makeconfig: Remove all but ELF support including AIX support.
58338         * Makerules: Likewise.
58339         * config.h.in: Likewise.
58340         * config.make.in: Likewise.
58341         * configure: Likewise.
58342         * configure.in: Likewise.
58343         * csu/Makefile: Likewise.
58344         * csu/version.c: Likewise.
58345         * debug/Makefile: Likewise.
58346         * dlfcn/Makefile: Likewise.
58347         * elf/Makefile: Likewise.
58348         * extra-lib.mk: Likewise.
58349         * iconv/Makefile: Likewise.
58350         * include/libc-symbols.h: Likewise.
58351         * include/shlib-compat.h: Likewise.
58352         * resolv/Makefile: Likewise.
58353         * resolv/res_libc.c: Likewise.
58354         * rt/Makefile: Likewise.
58355         * sysdeps/i386/asm-syntax.h: Likewise.
58356         * sysdeps/i386/sysdep.h: Likewise.
58357         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
58358         * sysdeps/mach/sysdep.h: Likewise.
58359         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
58360         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
58361         * sysdeps/s390/asm-syntax.h: Likewise.
58362         * sysdeps/s390/s390-32/sysdep.h: Likewise.
58363         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58364         * sysdeps/sh/sysdep.h: Likewise.
58365         * sysdeps/unix/sparc/sysdep.h: Likewise.
58366         * sysdeps/wordsize-32/divdi3.c: Likewise.
58367         * sysdeps/x86_64/sysdep.h: Likewise.
58369         * argp/Versions: Remove _argp_unlock_xxx.
58371         [BZ #13559]
58372         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
58373         * abilist/libBrokenLocale.abilist: Likewise.
58374         * abilist/libanl.abilist: Likewise.
58375         * abilist/libc.abilist: Likewise.
58376         * abilist/libcrypt.abilist: Likewise.
58377         * abilist/libdl.abilist: Likewise.
58378         * abilist/libm.abilist: Likewise.
58379         * abilist/libnsl.abilist: Likewise.
58380         * abilist/libpthread.abilist: Likewise.
58381         * abilist/libresolv.abilist: Likewise.
58382         * abilist/librt.abilist: Likewise.
58383         * abilist/libthread_db.abilist: Likewise.
58384         * abilist/libutil.abilist: Likewise.
58385         * abilist/libnss_db.abilist: New file.
58387         * scripts/abilist.awk: Add support for indirect functions.
58389         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
58391         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
58393         * shlib-versions: Remove entries for ports architectures.
58395         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
58396         files in ports.
58397         * elf/stackguard-macros.h: Remove support for IA-64.
58398         * elf/tst-auditmod1.c: Likewise.
58399         * sysdeps/generic/ldsodefs.h: Likewise.
58401         * sysdeps/unix/sysv/linux/configure.in: Ports should define
58402         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
58403         configure files.
58405         [BZ #13552]
58406         * configure.in: Remove --enable-omitfp support.
58407         * FAQ.in: Adjust.
58408         * config.make.in: Likewise.
58409         * Makeconfig: Likewise.
58410         * manual/install.texi: Likewise.
58412         In case anyone cares, the IA-64 architecture could move to ports.
58413         * sysdeps/ia64/*: Removed.
58414         * sysdeps/unix/sysv/linux/ia64/*: Removed.
58415         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
58417         [BZ #13555]
58418         * configure.in: Remove entries for unsupported architectures.
58420         [BZ #13533]
58421         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
58422         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
58423         routines.
58424         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
58425         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
58426         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
58427         fall back to using wcrtomb.
58428         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
58429         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
58430         renaming.
58431         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
58432         * wcsmbs/tst-c16c32-1.c: New file.
58434         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
58435         local variable.
58437         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
58439         * elf/tst-unique3.cc: Add explicit declaration of gets.
58440         * elf/tst-unique3lib.cc: Likewise.
58441         * elf/tst-unique3lib2.cc: Likewise.
58442         * elf/tst-unique4.cc: Likewise.
58444         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
58446 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
58448         [BZ #13566]
58449         * assert/assert.h (static_assert): Don't define for C++.
58450         * libio/stdio.h (gets): Do declare for C++ <= C++11.
58451         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
58453 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
58455         * iconv/loop.c (single loop): Fix assertion in storing of
58456         remaining bytes.
58458         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
58460 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
58462         * posix/getconf.c: Update copyright year.
58463         * nss/getent.c: Likewise.
58464         * nss/makedb.c: Likewise.
58465         * iconv/iconvconfig.c: Likewise.
58466         * iconv/iconv_prog.c: Likewise.
58467         * elf/ldconfig.c: Likewise.
58468         * elf/pldd.c: Likewise.
58469         * elf/sotruss.ksh: Likewise.
58470         * catgets/gencat.c: Likewise.
58471         * csu/version.c: Likewise.
58472         * elf/ldd.bash.in: Likewise.
58473         * elf/sprof.c (print_version): Likewise.
58474         * locale/programs/locale.c: Likewise.
58475         * locale/programs/localedef.c: Likewise.
58476         * login/programs/pt_chown.c: Likewise.
58477         * nscd/nscd.c (print_version): Likewise.
58478         * debug/xtrace.sh: Likewise.
58479         * malloc/memusage.sh: Likewise.
58480         * malloc/mtrace.pl: Likewise.
58481         * debug/catchsegv.sh: Likewise.
58483 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
58485         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
58486         pure attribute.
58488 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
58490         [BZ #13533]
58491         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
58492         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
58493         transformations.
58494         * iconv/gconv_int.h: Likewise.
58495         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
58496         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
58497         from libc for GLIBC_2.16.
58498         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
58499         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
58500         * wcsmbs/uchar.h: Really define mbstate_t.
58501         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
58502         * wcsmbs/c16rtomb.c: New file.
58503         * wcsmbs/mbrtoc16.c: New file.
58504         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
58505         for C/POSIX locale.
58506         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
58507         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
58509         * wcsmbs/wchar.h: Add missing __restrict.
58511 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
58513         [BZ #13532]
58514         * time/Makefile (routines): Add timespec_get.
58515         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
58516         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
58517         timespec for ISO C11.
58518         * time/timespec_get.c: New file.
58519         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
58520         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
58522         [BZ #13531]
58523         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
58524         * stdlib/stdlib.h: Declare aligned_alloc.
58525         * Versions.def: Add GLIBC_2.16 for libc.
58526         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
58528         [BZ 13527]
58529         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
58530         ISO C11.
58532         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
58533         code.
58535         [BZ #13528]
58536         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
58538         [BZ #13529]
58539         * assert/assert.h (static_assert): Define.
58541         * version.h: Update for 2.16 development version.
58543         [BZ #13526]
58544         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
58545         _ISOC11_SOURCE.
58547         * version.h (RELEASE): Bump for 2.15 release.
58548         * include/features.h (__GLIBC_MINOR__): Bump to 15.
58550         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
58551         Patch by Marek Polacek <mpolacek@redhat.com>.
58553         * bits/byteswap.h: Protect long long constants with __extension__.
58554         * sysdeps/i386/bits/byteswap.h: Likewise.
58555         * sysdeps/ia64/bits/byteswap.h: Likewise.
58556         * sysdeps/s390/bits/byteswap.h: Likewise.
58557         * sysdeps/x86_64/bits/byteswap.h: Likewise.
58559 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58561         [BZ #13540]
58562         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
58563         destination buffer.
58564         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
58566 2011-12-23  Marek Polacek  <polacek@redhat.com>
58568         * elf/dl-addr.c (determine_info): Add inline keyword.
58569         * elf/tst-auditmod4b.c (check_avx): Likewise.
58570         * elf/tst-auditmod6b.c (check_avx): Likewise.
58571         * elf/tst-auditmod6c.c (check_avx): Likewise.
58572         * elf/tst-auditmod7b.c (check_avx): Likewise.
58574 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
58576         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
58577         !__SSE_MATH__.
58579 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58581         [BZ #13540]
58582         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
58583         processing for last bytes.
58585 2011-08-06  Bruno Haible  <bruno@clisp.org>
58587         [BZ #13061]
58588         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
58589         U+0385, not to U+1FEE.
58591         [BZ #13062]
58592         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
58593         entry for U+00A5 U+0301.
58595 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
58597         [BZ #13166]
58598         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
58599         buffer for the output is too small.
58601         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
58602         optimization.
58604         [BZ #13185]
58605         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
58606         SSE flags if possible.
58608 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58610         [BZ #13540]
58611         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
58612         processing for last bytes.
58614 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
58616         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
58617         (syscall-list-default-options, syscall-list-default-condition)
58618         (syscall-list-includes): Define.
58619         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
58620         list of ABIs and options and #if conditions for each ABI.  Do not
58621         handle common syscalls between ABIs specially.
58622         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
58623         Remove.
58624         (syscall-list-variants, syscall-list-32bit-options)
58625         (syscall-list-32bit-condition, syscall-list-64bit-options)
58626         (syscall-list-64bit-condition): Define.
58627         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
58628         (syscall-list-variants, syscall-list-32bit-options)
58629         (syscall-list-32bit-condition, syscall-list-64bit-options)
58630         (syscall-list-64bit-condition): Define.
58631         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
58632         Remove.
58633         (syscall-list-variants, syscall-list-32bit-options)
58634         (syscall-list-32bit-condition, syscall-list-64bit-options)
58635         (syscall-list-64bit-condition): Define.
58636         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
58637         Remove.
58638         (syscall-list-variants, syscall-list-32bit-options)
58639         (syscall-list-32bit-condition, syscall-list-64bit-options)
58640         (syscall-list-64bit-condition): Define.
58642 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
58644         * locale/iso-639.def: Add brx entry.
58646         [BZ #13328]
58647         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
58648         Proposed by Mariusz_Cukr <marcukr@op.pl>.
58650         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
58651         __feraiseexcept_renamed.
58653 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
58655         [BZ #13538]
58656         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
58657         EPOLLET with unsigned values.
58658         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58659         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
58661         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
58662         to large cancellation.
58663         * math/s_cacoshf.c: Likewise.
58664         * math/s_cacoshl.c: Likewise.
58666 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
58668         [BZ #13305]
58669         [BZ #12786]
58670         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
58671         * math/s_cacoshf.c: Likewise.
58672         * math/s_cacoshl.c: Likewise.
58674 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
58676         [BZ #13439]
58677         * iconv/gconv.h: Define __GCONV_SWAP.
58678         * iconvdata/unicode.c: The swap bit must be stored in __flags.
58679         * iconvdata/utf-16.c: Likewise.
58680         * iconvdata/utf-32.c: Likewise.
58682 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
58684         [BZ #13524]
58685         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
58686         numerator after shifting it by one limb.
58688 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
58690         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
58691         under [__USE_EXTERN_INLINES].
58693 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58695         [BZ #13446]
58696         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
58698 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58700         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
58701         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
58702         optimized code.
58703         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
58704         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
58705         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
58706         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
58707         for strncasecmp/strncasecmp_l compilation.
58708         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
58709         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
58711 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
58713         [BZ #13484]
58714         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
58715         of __asm__.
58717 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
58719         [BZ #13506]
58720         * time/tzfile.c (__tzfile_read): Check values from file header.
58722 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
58724         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
58725         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
58726         * powerpc/powerpc32/dl-start.S: Likewise.
58727         * powerpc/powerpc32/elf/start.S: Likewise.
58728         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
58729         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
58730         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
58731         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
58732         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
58733         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
58734         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
58735         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58736         * powerpc/powerpc32/fpu/s_round.S: Likewise.
58737         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
58738         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
58739         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
58740         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
58741         * powerpc/powerpc32/memset.S: Likewise.
58742         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
58743         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
58744         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
58745         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
58746         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
58747         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
58748         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
58749         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
58750         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
58751         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
58752         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
58753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
58754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
58756 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58758         * math/libm-test.inc: Added more nearbyint tests.
58759         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
58760         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
58761         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
58762         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
58764 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
58766         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
58767         FD_CLOEXEC.
58769 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58771         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
58772         Add wcscpy-ssse3 wcscpy-c.
58773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
58774         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
58775         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
58776         * sysdeps/x86_64/wcschr.S: New file.
58777         * sysdeps/x86_64/wcsrchr.S: New file.
58778         * string/test-strcmp.c: Remove checking of wcscmp function for
58779         wrong alignments.
58780         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
58781         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
58782         wcsrchr-sse2 wcsrchr-c.
58783         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
58784         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
58785         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
58786         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
58787         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
58788         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
58789         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
58790         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
58791         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
58792         * wcsmbc/wcschr.c (WCSCHR): New macro.
58794 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
58796         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
58797         * wcsmbs/test-wcsrchr.c: New file.
58798         * string/test-strrchr.c: Add wcsrchr support.
58799         (WIDE): New macro.
58800         * wcsmbs/test-wcscpy.c: New file.
58801         * string/test-strcpy.c: Add wcscpy support.
58802         (WIDE): New macro.
58804 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
58806         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
58807         the inner loop.
58809 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
58811         [BZ #13472]
58812         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
58814 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
58816         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
58817         Minor optimizations.
58819         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
58820         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
58821         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
58823 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
58825         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
58826         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
58827         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
58828         for gcc to avoid warnings.
58829         * inet/Makefile (tests): Add tst-checks.
58830         * inet/tst-checks.c: New file.
58832         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
58833         warning.
58835         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
58836         __wmemcmp_sse2.
58838         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
58839         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
58841         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
58843 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
58845         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
58846         problem.
58848         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
58850 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
58852         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
58853         conditional on GCC version.
58854         (__arch_compare_and_exchange_val_8_acq)
58855         (__arch_compare_and_exchange_val_16_acq)
58856         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
58857         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
58858         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
58860 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
58862         * sysdeps/sh/backtrace.c: New file.
58864 2011-12-02  Andreas Schwab  <schwab@redhat.com>
58866         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
58867         parenthesis.
58869 2011-12-01  Andreas Schwab  <schwab@redhat.com>
58871         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
58872         falling back to utime.
58874 2011-11-30  Andreas Schwab  <schwab@redhat.com>
58876         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
58877         expectations for float.
58879 2011-11-29  Andreas Schwab  <schwab@redhat.com>
58881         * locale/weight.h (findidx): Add parameter len.
58882         * locale/weightwc.h (findidx): Likewise.
58883         * posix/fnmatch_loop.c (FCT): Adjust caller.
58884         * posix/regcomp.c (build_equiv_class): Likewise.
58885         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
58886         * posix/regexec.c (check_node_accept_bytes): Likewise.
58887         * string/strcoll_l.c (STRCOLL): Likewise.
58888         * string/strxfrm_l.c (STRXFRM): Likewise.
58890 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
58892         * Makefile.in: Remove CVSOPT handling.
58893         * configure.in: Remove use of AC_REVISION.
58894         * iconvdata/Makefile (distribute): No need to filter out CVS.
58895         * scripts/list-sources.sh: Remove CVS, subversion and monotone
58896         handling.
58898 2011-11-16  Andreas Schwab  <schwab@redhat.com>
58900         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
58901         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
58902         [USE_AS_STRNCASECMP_L]: Likewise.
58903         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
58904         NO_TLS_DIRECT_SEG_REFS.
58905         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
58906         Fix argument offsets for non-PIC.
58907         [USE_AS_STRNCASECMP_L]: Likewise.
58908         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
58909         NO_TLS_DIRECT_SEG_REFS.
58911 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58913         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
58914         O_CLOEXEC.
58915         * locale/loadlocale.c (_nl_load_locale): Likewise.
58917 2011-11-15  Andreas Schwab  <schwab@redhat.com>
58919         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
58920         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
58921         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
58922         (SYSCALL_GETTIME): Set errno on error.
58924         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
58925         count references to noai6ai_cached.
58927 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
58929         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
58931         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
58932         FD_CLOEXEC for /proc/self/maps.
58934         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
58935         FD_CLOEXEC for /proc/meminfo.
58937         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
58938         gai.conf.
58940         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
58941         FD_CLOEXEC for given file.
58943         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
58945         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
58946         FD_CLOEXEC for /etc/hosts.
58947         (_gethtent): Likewise.
58949         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
58951         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
58952         cancellation and set FD_CLOEXEC for /etc/netgroup.
58954         * nss/nss_files/files-key.c (search): Don't allow cancellation when
58955         reading /etc/publickey.
58957         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
58958         allow cancellation when reading /etc/group.
58960         * nss/nss_files/files-alias.c (internal_setent): Don't allow
58961         cancellation.
58962         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
58964         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
58965         when using data file.
58967         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
58969         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
58970         (write_nis_obj): Use "c" and "e" in fopen.
58972         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
58974         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
58976         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
58978         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
58980         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
58981         locale.alias.
58983         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
58985         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
58987         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
58989         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
58990         file parsing and set FD_CLOEXEC.
58992 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
58994         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
58996 2011-11-14  Andreas Schwab  <schwab@redhat.com>
58998         * malloc/arena.c (arena_get2): Don't call reused_arena when
58999         _int_new_arena failed.
59001 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
59003         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
59004         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
59005         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
59006         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59007         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59008         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
59009         to compile strcasecmp and strncasecmp.
59010         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
59011         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
59013         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
59015 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
59017         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
59018         locale-defines.sym to gen-as-const-headers.
59019         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
59020         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
59021         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
59022         to compile strcasecmp and strncasecmp.
59023         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
59024         strcasecmp_l and strncasecmp_l.
59025         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
59026         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
59027         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
59028         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
59029         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
59030         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
59031         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
59032         * sysdeps/i386/i686/multiarch/strncase.S: New file.
59033         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
59034         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
59035         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
59037 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
59039         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
59040         result of SYSDEP_GETTIME_CPU to retval.
59041         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
59042         parameter list to macro.  Remove trailing semicolon.  Adjust users.
59044         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
59045         variable.
59047         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
59048         mantissa words.
59049         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
59051         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
59052         from unused variable.
59054         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
59055         DWARF definitions.
59056         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
59057         for assembling.
59059         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
59060         over namespaces.
59062         * sunrpc/rpc_prot.c (rejected): Fix case value.
59064         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
59065         unsigned long long int to avoid warnings in shift.
59067         * posix/regex_internal.c (re_string_reconstruct): Actually use result
59068         of use of trans.
59069         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
59070         variable tmp.
59072         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
59073         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
59074         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
59076         * nis/nis_table.c (nis_list): Use variable of correct type for
59077         result of __follow_path call.
59079 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59081         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
59082         of math functions ceil, trunc, floor, round, and sqrt, when
59083         avaliable on the platform.
59084         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
59085         name clash.
59086         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
59087         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
59088         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
59090 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
59092         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
59093         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
59095 2011-11-11  Roland McGrath  <roland@hack.frob.com>
59097         * include/unistd.h: Fix __readlink return type.
59098         Reported by Chris Metcalf <cmetcalf@tilera.com>.
59100 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
59102         * stdlib/ucontext.h: Undo last change for makecontext.
59104 2011-11-11  Andreas Schwab  <schwab@redhat.com>
59106         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
59108         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
59109         * setjmp/setjmp.h: Mark functions as non-leaf.
59110         * setjmp/bits/setjmp2.h: Likewise.
59111         * stdlib/ucontext.h: Likewise.
59113 2011-11-10  Andreas Schwab  <schwab@redhat.com>
59115         * malloc/arena.c (_int_new_arena): Don't increment narenas.
59116         (reused_arena): Don't check arena limit.
59117         (arena_get2): Atomically check arena limit.
59119 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
59121         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
59122         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
59124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
59125         instructions.
59127 2011-11-07  Andreas Schwab  <schwab@redhat.com>
59129         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
59130         handler when locking.
59132         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
59133         Fix size of allocated buffer.
59135 2011-11-04  Andreas Schwab  <schwab@redhat.com>
59137         [BZ #10103]
59138         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
59139         declarations for long double functions.
59140         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
59142         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
59144 2011-11-03  Andreas Schwab  <schwab@redhat.com>
59146         * nscd/nscd.c (main): Don't start AVC thread until credentials are
59147         installed.
59149         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
59150         is disabled.
59152 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59154         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
59156 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
59158         * include/alloca.h (stackinfo_alloca_round): Define.
59159         (extend_alloca): Use it.
59160         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
59161         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
59162         here.
59164         * scripts/check-local-headers.sh: Ignore libaudit.h.
59166         * nscd/Makefile (extra-objs): Make recursively expanded.
59168 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
59170         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
59171         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
59173         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
59174         * posix/tst-rfc3484-2.c: Likewise.
59175         * posix/tst-rfc3484-3.c: Likewise.
59177         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
59178         process_vm_writev.
59179         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
59180         process_vm_writev.
59181         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
59182         process_vm_writev from libc using GLIBC_2.15 version.
59184         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
59186 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
59188         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
59189         stack usage.
59191 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
59193         [BZ #13367]
59194         * nss/getent.c (initgroups_keys): Show error message in case no group
59195         names are given.
59197         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
59198         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
59199         __bump_nl_timestamp.
59200         * nscd/connections (nscd_init): When host database is served open
59201         netlink socket and request notification about configuration changes.
59202         (main_loop_poll): Track netlink file descriptor and bump timestamp
59203         in case data becomes available.
59204         (main_loop_epoll): Likewise.
59205         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
59206         (database_pers_head): Add extra_data fileds.
59207         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
59208         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
59209         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
59210         Adjust caller.
59211         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
59212         in6ai data, call __free_in6ai.
59213         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
59214         Add -DHAVE_NETLINK.
59215         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
59216         interface information.  Reuse previous data if netlink timestamp
59217         is not changed.
59218         (__bump_nl_timestamp): New function.
59219         (__free_in6ai): New function.
59221 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
59223         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
59224         close_not_cancel_no_status here.
59225         (__check_pf): Reorganize code a bit to not call close twice if OOM.
59227 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59229         [BZ #13276]
59230         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
59231         return value.
59233         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
59234         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
59235         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
59237 2011-07-03  Andreas Jaeger  <aj@suse.de>
59239         [BZ #10709]
59240         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
59241         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
59242         * math/libm-test.inc (sin_test): Add test case.
59244 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
59246         [BZ #13337]
59247         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
59248         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59250         * elf/chroot_canon.c (chroot_canon): Cleanups.
59252         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
59254         [BZ #13335]
59255         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
59256         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
59258         * string/test-strchr.c: Make usable for strchrnul testing.
59259         * string/test-strchrnul.c: New file.
59260         * string/Makefile (strop-tests): Add strchrnul.
59262         * po/it.po: Update from translation team.
59263         * po/es.po: Likewise.
59265 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
59267         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
59268         the three constants needed as parameters.  Drop the others.
59269         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
59270         __m128i_strloadu_tolower.
59271         Create and initialize variable zero and use it in all the places
59272         where _mm_setzero_si128 was used.
59274         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
59275         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
59276         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
59277         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
59278         anymore.
59279         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
59280         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
59281         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
59282         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
59283         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
59284         __mpranred, __mptan.
59285         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
59286         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
59287         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
59288         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
59289         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
59290         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
59291         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
59292         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
59293         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
59295 2011-10-28  Andreas Schwab  <schwab@redhat.com>
59297         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
59298         redefine if SHARED.
59299         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
59301         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
59302         wide char related routines to wcsmbs subdir.
59304 2011-10-27  Andreas Schwab  <schwab@redhat.com>
59306         [BZ #13344]
59307         * misc/sys/cdefs.h (__THROWNL): Define.
59308         * posix/unistd.h: Use __THREADNL instead of __THREAD
59309         for memory synchronization functions.
59311 2011-10-26  Roland McGrath  <roland@hack.frob.com>
59313         [BZ #13349]
59314         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
59315         doesn't exist.
59316         * manual/stdio.texi (Obstack Streams): Node removed.
59318 2011-10-26  Andreas Schwab  <schwab@redhat.com>
59320         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
59321         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59322         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59324         * math/math_private.h (math_force_eval): Allow non-addressable
59325         arguments.
59326         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
59328 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59330         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
59331         file is not needed.
59333         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
59334         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
59335         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59336         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59337         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59338         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59339         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59340         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
59341         Add AVX variants.
59342         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
59343         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
59344         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
59345         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
59346         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
59347         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
59348         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
59349         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
59350         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
59351         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
59352         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
59353         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
59354         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
59355         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
59356         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
59357         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
59358         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
59359         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
59360         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
59362         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
59363         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
59365         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
59366         place.  Use VEX encoding when compiling for AVX.
59368 2011-10-25  Andreas Schwab  <schwab@redhat.com>
59370         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
59371         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
59373         * string/test-strchr.c (do_test): Don't generate NUL bytes.
59375 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59377         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
59378         useless if() expression.
59379         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
59380         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
59381         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
59382         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59383         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
59384         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
59385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59386         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59387         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
59388         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
59389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
59390         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59391         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
59392         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59393         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
59394         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
59395         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
59396         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
59397         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
59399         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
59401 2011-10-25  Andreas Schwab  <schwab@redhat.com>
59403         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
59404         condition.
59405         * elf/dl-fini.c (_dl_sort_fini): Likewise.
59407 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
59409         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
59410         .text section.  Avoid duplicate constants.
59411         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59412         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59413         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59414         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59415         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59416         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59417         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59418         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59419         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59420         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
59421         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59422         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59423         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59424         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59425         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59426         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59427         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59428         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59429         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59431         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59432         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59433         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59434         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
59435         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
59436         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
59437         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
59438         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
59439         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
59440         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
59441         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
59442         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
59443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59444         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
59445         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
59446         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
59447         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
59448         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
59449         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
59450         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
59451         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
59452         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
59453         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
59454         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
59455         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
59457 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
59459         * sysdeps/x86_64/dla.h: Move to ...
59460         * sysdeps/x86_64/fpu/dla.h: ...here.
59461         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
59462         situations.  Use __builtin_fma only for gcc 4.6 and up.
59464         * config.make.in: Add have-mfma4 entry.
59465         * configure.in: Substitute libc_cv_cc_fma4.
59466         * math/Makefile (dbl-only-routines): Add sincostab.
59467         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
59468         Use __sincostab not sincos.
59469         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
59470         name is a macro.
59471         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59472         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59473         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59474         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
59475         using __copysign.
59476         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
59477         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
59478         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
59479         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
59480         and __inv.
59481         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
59482         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
59483         __copysign.
59484         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
59485         define aliases when function name is a macro.
59486         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
59487         sysdeps/ieee754/dbl-64/sincos.tbl.
59488         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
59489         fma4-enabled routines.
59490         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
59491         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
59492         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
59493         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
59494         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
59495         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
59496         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
59497         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
59498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
59499         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
59500         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
59501         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
59502         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
59503         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
59504         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
59505         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
59506         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
59507         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
59508         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
59509         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
59510         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
59511         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
59512         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
59513         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
59514         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
59515         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
59516         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
59517         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
59518         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
59519         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
59521         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
59522         rename.
59523         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59524         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59525         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59526         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59527         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59528         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59532 2011-10-24  Andreas Schwab  <schwab@redhat.com>
59534         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
59536 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59538         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
59540         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
59541         prediction.
59542         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
59544         * string/strnlen.c: Don't define STRNLEN, reverse logic.
59545         Remove unused variable magic_bits.
59546         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
59548         * string/strnlen.c: Define and use STRNLEN macro.
59549         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
59550         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
59551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
59552         * wcsmbs/wcslen.c: Define and use WCSLEN.
59553         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
59554         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
59555         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
59556         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
59557         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
59558         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
59559         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
59561 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59564         strnlen-sse2-no-bsf.
59565         Rename strlen-no-bsf to strlen-sse2-no-bsf.
59566         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
59567         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
59568         Add strnlen support.
59569         (USE_AS_STRNLEN): New macro.
59570         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
59571         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
59572         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
59573         * sysdeps/x86_64/wcslen.S: New file.
59575 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
59577         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
59578         XMM-moves are used for copying on small sizes.
59580 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59582         * wcsmbs/Makefile (strop-tests): Add wcschr.
59583         * wcsmbs/test-wcschr.c: New file.
59584         * string/test-strchr.c: Update.
59585         Add wcschr support.
59586         (WIDE): New macro.
59588 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59590         * wcsmbs/Makefile (strop-tests): Add wcslen.
59591         * wcsmbs/test-wcslen.c: New file.
59592         * string/test-strlen.c: Update.
59593         Add wcslen support.
59594         (WIDE): New macro.
59596 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59598         * po/it.po: Update from translation team.
59600 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59602         * sysdeps/x86_64/wcscmp.S: Update.
59603         Fix wrong comparison semantics.
59604         wcscmp shall use signed comparison not unsigned.
59605         Don't use substraction to avoid overflow bug.
59606         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
59607         * wcsmbc/wcscmp.c: Likewise.
59608         * string/test-strcmp.c: Likewise.
59609         Add new tests to check cases with negative values.
59611 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
59613         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
59614         * sysdeps/x86_64/dla.h: ...here.  New file.
59615         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
59616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59620         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59621         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59622         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59623         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59625 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
59627         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
59628         __ynl_finite aliases.
59630 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
59632         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59634         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
59635         define DLA_FMA.
59636         [DLA_FMA] (EMULV): Use DLA_FMA.
59637         [DLA_FMA] (MUL12): Use EMULV.
59638         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
59639         that are not needed.
59640         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59641         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59642         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59643         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59644         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59645         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59646         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59648 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
59650         * math/s_nan.c: Undef __nan.
59651         * math/s_nanf.c: Undef __nanf.
59652         * math/s_nanl.c: Undef __nanl.
59653         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
59654         "math_private.h".
59656 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
59658         * math/s_catan.c: Add branch predictions.
59659         * math/s_catanf.c: Likewise.
59660         * math/s_catanh.c: Likewise.
59661         * math/s_catanhf.c: Likewise.
59662         * math/s_catanhl.c: Likewise.
59663         * math/s_catanl.c: Likewise.
59664         * math/s_cexp.c: Likewise.
59665         * math/s_cexpf.c: Likewise.
59666         * math/s_cexpl.c: Likewise.
59667         * math/s_clog.c: Likewise.
59668         * math/s_clog10.c: Likewise.
59669         * math/s_clog10f.c: Likewise.
59670         * math/s_clog10l.c: Likewise.
59671         * math/s_clogf.c: Likewise.
59672         * math/s_clogl.c: Likewise.
59673         * math/s_csqrt.c: Likewise.
59674         * math/s_csqrtf.c: Likewise.
59675         * math/s_csqrtl.c: Likewise.
59676         * math/s_ctanf.c: Likewise.
59677         * math/s_ctanh.c: Likewise.
59678         * math/s_ctanhf.c: Likewise.
59679         * math/s_ctanhl.c: Likewise.
59680         * math/s_ctanl.c: Likewise.
59682         * math/math_private.h: Define __nan, __nanf, __nanl.
59683         * math/s_cacosh.c: Include <math_private.h>.
59684         * math/s_cacoshl.c: Likewise.
59685         * math/s_casinh.c: Likewise.
59686         * math/s_casinhf.c: Likewise.
59687         * math/s_casinhl.c: Likewise.
59688         * math/s_ccos.c: Rely entire on ccosh.
59689         * math/s_ccosf.c: Rely entire on ccoshf.
59690         * math/s_ccosl.c: Rely entirely on ccoshl.
59691         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
59692         Remove tests for FE_INVALID.
59693         * math/s_ccoshf.c: Likewise.
59694         * math/s_ccoshl.c: Likewise.
59695         * math/s_csin.c: Likewise.
59696         * math/s_csinf.c: Likewise.
59697         * math/s_csinh.c Likewise.
59698         * math/s_csinhf.c: Likewise.
59699         * math/s_csinhl.c: Likewise.
59700         * math/s_csinl.c: Likewise.
59701         * math/s_ctan.c: Likewise.
59702         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
59703         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
59704         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
59706 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
59708         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
59709         compilation problems.
59711         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
59712         __builtin_expect.
59714 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
59716         * sysdeps/i386/configure.in: Test for -mfma4 option.
59717         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
59718         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
59719         COMMON_CPUID_INDEX_80000001.
59720         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
59721         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
59722         use it if FMA3 is not supported.
59723         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
59725         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
59726         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59728 2011-10-20  Andreas Schwab  <schwab@redhat.com>
59730         [BZ #12892]
59731         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
59732         it would create a cycle with a link time dependency.
59734 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
59736         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
59737         instruction.
59738         * string/Makefile (strop-tests): Add rawmemchr.
59739         * string/test-rawmemchr.c: New file.
59741         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
59742         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
59743         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
59744         when compiling str{,n}casecmp and when AVX is available.  Hook up
59745         new optimized code in initializers.
59747 2011-10-19  Andreas Schwab  <schwab@redhat.com>
59749         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
59750         __feraiseexcept instead of feraiseexcept.
59752 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
59754         * math/math_private.h: Define defaults for libc_fetestexcept and
59755         libc_feupdateenv.
59756         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
59757         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
59758         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
59759         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59760         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
59761         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59762         libc_fetestexcept and libc_feupdateenv.
59764         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
59765         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
59766         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
59767         * sysdeps/x86_64/fpu/math_private.h: Define special version of
59768         libc_feholdexcept_setround.
59770         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
59771         Add s_nearbyint-c and s_nearbyintf-c.
59772         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
59773         nearbyintf inlines.
59774         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
59775         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
59776         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
59777         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
59779         * math/math_private.h: Define defaults for libc_fegetround,
59780         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
59781         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
59782         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
59783         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
59784         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
59785         standard functions.
59786         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
59787         Remove comments and hacks for old compiler versions.
59788         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
59789         libc_fegetround, libc_fesetround, libc_feholdexcept, and
59790         libc_feholdexceptl.
59792 2011-10-18  Andreas Schwab  <schwab@redhat.com>
59794         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
59795         (__feraiseexcept_renamed): Add __NTH.
59796         (feraiseexcept): Add __NTH.  Rename local variables to fix
59797         namespace violations.
59799 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
59801         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
59803         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
59805         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
59806         recently added interfaces.
59807         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
59809         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
59810         about macro parameter expansion.
59812         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
59813         __NO_MATH_INLINES is defined.  Cleanups.
59815         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
59816         and __floorf is target has SSE4.1.
59817         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
59818         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
59819         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
59820         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
59822         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
59823         name.
59824         (floorf): Likewise.
59826         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
59828 2011-10-17  Andreas Schwab  <schwab@redhat.com>
59830         * misc/sys/cdefs.h: Fix last change.
59832         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
59833         database lookup.
59835 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
59837         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
59839         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
59840         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59841         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
59843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
59844         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
59845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
59846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
59847         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
59848         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
59849         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
59850         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
59851         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
59852         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
59853         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
59854         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
59855         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
59856         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
59857         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
59858         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
59859         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
59860         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
59862         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
59863         ceil, ceilf, floor, floorf.
59865         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
59866         Perform IRELATIVE relocations last.
59868         * elf/do-rel.h: Add another parameter nrelative, replacing the
59869         local variable with the same name.  Change name of the function
59870         to end in Rel or Rela (uppercase).
59871         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
59872         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
59873         elf_dynamic_do_##reloc function.
59875 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59877         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
59878         is sufficient, at least on modern CPUs.
59880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
59882         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
59883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
59885         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
59886         __expl_finite.
59887         * math/bits/math-finite.h: Add entries for exp.
59888         * math/e_expl.c: Add __*_finite alias.
59889         * sysdeps/i386/fpu/e_exp.S: Likewise.
59890         * sysdeps/i386/fpu/e_expf.S: Likewise.
59891         * sysdeps/i386/fpu/e_expl.c: Likewise.
59892         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59893         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
59894         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
59895         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
59896         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
59897         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
59898         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
59900         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
59901         is sufficient, at least on modern CPUs.
59903         * ctype/ctype-info.c (__ctype_init): Define.
59904         * include/ctype.h (__ctype_init): Declare.
59905         (__ctype_b_loc): The variable is always initialized.
59906         (__ctype_toupper_loc): Likewise.
59907         (__ctype_tolower_loc): Likewise.
59908         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
59909         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
59911 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
59913         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
59915         * configure.in: Also look in $cxxmachine/include for C++ system
59916         headers.
59918 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59920         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
59921         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
59922         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
59923         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
59924         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
59925         (USE_AS_WMEMCMP): New macro.
59926         Fixing indents.
59927         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
59928         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
59929         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
59930         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
59931         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59932         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
59933         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
59934         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
59935         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
59936         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
59937         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
59938         (USE_AS_WMEMCMP): New macro.
59939         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
59940         * sysdeps/string/test-memcmp.c: Update.
59941         Fix simple_wmemcmp.
59942         Add new tests.
59943         * wcsmbs/wmemcmp.c: Update.
59944         (WMEMCMP): New macro.
59945         Fix overflow bug.
59947 2011-10-12  Andreas Jaeger  <aj@suse.de>
59949         [BZ #13268]
59950         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
59952 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
59954         * libio/iofwide.c (do_length): Avoid warning.
59956         * ctype/ctype.h (__isctype_f): Add missing __THROW.
59958 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
59960         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
59962         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
59963         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
59964         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
59965         * sysdeps/i386/i686/fpu/e_log.S: New file.
59966         * sysdeps/i386/i686/fpu/e_logf.S: New file.
59967         * sysdeps/i386/i686/fpu/e_logl.S: New file.
59969         * ctype/ctype.h: Add support for inlined isXXX functions when
59970         compiling C++ code.
59972 2011-10-14  Andreas Schwab  <schwab@redhat.com>
59974         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59976         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
59978 2011-10-13  Roland McGrath  <roland@hack.frob.com>
59980         [BZ #13291]
59981         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
59983 2011-10-13  Andreas Schwab  <schwab@redhat.com>
59985         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
59986         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
59987         feraiseexcept.
59989         * sysdeps/x86_64/memrchr.S: Check for zero size.
59991         * string/stratcliff.c: Add memrchr tests.
59993 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59995         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59996         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
59997         rawmemchr-sse2 rawmemchr-sse2-bsf.
59998         * sysdeps/i386/i686/multiarch/memchr.S: New file.
59999         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
60000         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
60001         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
60002         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
60003         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
60004         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
60005         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
60006         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
60007         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
60008         * string/memrchr.c (MEMRCHR): New macro.
60010 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
60012         Add integration with gcc's -ffinite-math-only and optimize wrapper
60013         functions in libm.
60014         * Versions.def: Define GLIBC_2.15 version for libm.
60015         * math/Makefile (headers): Add bits/math-finite.h.
60016         * math/bits/math-finite.h: New file.
60017         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
60018         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
60019         * math/e_acoshl.c: Add __*_finite alias.
60020         * math/e_acosl.c: Likewise.
60021         * math/e_asinl.c: Likewise.
60022         * math/e_atan2l.c: Likewise.
60023         * math/e_atanhl.c: Likewise.
60024         * math/e_coshl.c: Likewise.
60025         * math/e_exp10.c: Likewise.
60026         * math/e_exp10f.c: Likewise.
60027         * math/e_exp10l.c: Likewise.
60028         * math/e_exp2l.c: Likewise.
60029         * math/e_fmodl.c: Likewise.
60030         * math/e_gammal_r.c: Likewise.
60031         * math/e_hypotl.c: Likewise.
60032         * math/e_j0l.c: Likewise.
60033         * math/e_j1l.c: Likewise.
60034         * math/e_jnl.c: Likewise.
60035         * math/e_lgammal_r.c: Likewise.
60036         * math/e_log10l.c: Likewise.
60037         * math/e_log2l.c: Likewise.
60038         * math/e_logl.c: Likewise.
60039         * math/e_powl.c: Likewise.
60040         * math/e_sinhl.c: Likewise.
60041         * math/e_sqrtl.c: Likewise.
60042         * math/e_scalb.c: Completely rewritten and optimized.
60043         * math/e_scalbf.c: Likewise.
60044         * math/e_scalbl.c: Likewise.
60045         * math/w_acos.c: Likewise.
60046         * math/w_acosf.c: Likewise.
60047         * math/w_acosl.c: Likewise.
60048         * math/w_acosh.c: Likewise.
60049         * math/w_acoshf.c: Likewise.
60050         * math/w_acoshl.c: Likewise.
60051         * math/w_asin.c: Likewise.
60052         * math/w_asinf.c: Likewise.
60053         * math/w_asinl.c: Likewise.
60054         * math/w_atan2.c: Likewise.
60055         * math/w_atan2f.c: Likewise.
60056         * math/w_atan2l.c: Likewise.
60057         * math/w_atanh.c: Likewise.
60058         * math/w_atanhf.c: Likewise.
60059         * math/w_atanhl.c: Likewise.
60060         * math/w_exp10.c: Likewise.
60061         * math/w_exp10f.c: Likewise.
60062         * math/w_exp10l.c: Likewise.
60063         * math/w_fmod.c: Likewise.
60064         * math/w_fmodf.c: Likewise.
60065         * math/w_fmodl.c: Likewise.
60066         * math/w_j0.c: Likewise.
60067         * math/w_j0f.c: Likewise.
60068         * math/w_j0l.c: Likewise.
60069         * math/w_j1.c: Likewise.
60070         * math/w_j1f.c: Likewise.
60071         * math/w_j1l.c: Likewise.
60072         * math/w_jn.c: Likewise.
60073         * math/w_jnf.c: Likewise.
60074         * math/w_log.c: Likewise.
60075         * math/w_logf.c: Likewise.
60076         * math/w_logl.c: Likewise.
60077         * math/w_log10.c: Likewise.
60078         * math/w_log10f.c: Likewise.
60079         * math/w_log10l.c: Likewise.
60080         * math/w_log2.c: Likewise.
60081         * math/w_log2f.c: Likewise.
60082         * math/w_log2l.c: Likewise.
60083         * math/w_pow.c: Likewise.
60084         * math/w_powf.c: Likewise.
60085         * math/w_powl.c: Likewise.
60086         * math/w_remainder.c: Likewise.
60087         * math/w_remainderf.c: Likewise.
60088         * math/w_remainderl.c: Likewise.
60089         * math/w_scalb.c: Likewise.
60090         * math/w_scalbf.c: Likewise.
60091         * math/w_scalbl.c: Likewise.
60092         * math/w_sqrt.c: Likewise.
60093         * math/w_sqrtf.c: Likewise.
60094         * math/w_sqrtl.c: Likewise.
60095         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
60096         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
60097         used.
60098         * math/math_private.h: Declare __kernel_standard_f.
60099         * math/w_cosh.c: Remove cruft and optimize a bit.
60100         * math/w_coshf.c: Likewise.
60101         * math/w_coshl.c: Likewise.
60102         * math/w_exp2.c: Likewise.
60103         * math/w_exp2f.c: Likewise.
60104         * math/w_exp2l.c: Likewise.
60105         * math/w_hypot.c: Likewise.
60106         * math/w_hypotf.c: Likewise.
60107         * math/w_hypotl.c: Likewise.
60108         * math/w_lgamma.c: Likewise.
60109         * math/w_lgamma_r.c: Likewise.
60110         * math/w_lgammaf.c: Likewise.
60111         * math/w_lgammaf_r.c: Likewise.
60112         * math/w_lgammal.c: Likewise.
60113         * math/w_lgammal_r.c: Likewise.
60114         * math/w_sinh.c: Likewise.
60115         * math/w_sinhf.c: Likewise.
60116         * math/w_sinhl.c: Likewise.
60117         * math/w_tgamma.c: Likewise.
60118         * math/w_tgammaf.c: Likewise.
60119         * math/w_tgammal.c: Likewise.
60120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
60121         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
60122         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
60123         Minor optimizations.  Pretty printing.  Remove cruft.
60124         * sysdeps/i386/fpu/e_acosf.S: Likewise.
60125         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60126         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60127         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60128         * sysdeps/i386/fpu/e_acosl.c: Likewise.
60129         * sysdeps/i386/fpu/e_asin.S: Likewise.
60130         * sysdeps/i386/fpu/e_asinf.S: Likewise.
60131         * sysdeps/i386/fpu/e_atan2.S: Likewise.
60132         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
60133         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
60134         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60135         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60136         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60137         * sysdeps/i386/fpu/e_exp10.S: Likewise.
60138         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
60139         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
60140         * sysdeps/i386/fpu/e_exp2.S: Likewise.
60141         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
60142         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
60143         * sysdeps/i386/fpu/e_fmod.S: Likewise.
60144         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
60145         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
60146         * sysdeps/i386/fpu/e_hypot.S: Likewise.
60147         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
60148         * sysdeps/i386/fpu/e_log.S: Likewise.
60149         * sysdeps/i386/fpu/e_log10.S: Likewise.
60150         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60151         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60152         * sysdeps/i386/fpu/e_log2.S: Likewise.
60153         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60154         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60155         * sysdeps/i386/fpu/e_logf.S: Likewise.
60156         * sysdeps/i386/fpu/e_logl.S: Likewise.
60157         * sysdeps/i386/fpu/e_pow.S: Likewise.
60158         * sysdeps/i386/fpu/e_powf.S: Likewise.
60159         * sysdeps/i386/fpu/e_powl.S: Likewise.
60160         * sysdeps/i386/fpu/e_remainder.S: Likewise.
60161         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
60162         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
60163         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60164         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60165         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60166         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
60167         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
60168         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
60169         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
60170         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
60171         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
60172         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
60173         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
60174         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
60175         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
60176         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
60177         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
60178         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60179         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
60180         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
60181         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
60182         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
60183         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
60184         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
60185         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
60186         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
60187         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
60188         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
60189         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
60190         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
60191         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
60192         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
60193         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
60194         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
60195         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
60196         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
60197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
60198         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
60199         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
60200         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
60201         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60202         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
60203         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
60204         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
60205         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
60206         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
60207         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
60208         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
60209         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
60210         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
60211         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
60212         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
60213         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
60214         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
60215         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
60216         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
60217         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
60218         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
60219         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
60220         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
60221         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
60222         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
60224         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
60225         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
60226         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
60227         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
60228         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
60229         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
60230         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
60231         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
60232         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
60233         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
60234         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
60235         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
60236         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
60237         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
60238         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
60239         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
60240         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
60241         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
60242         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
60243         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
60244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
60245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
60246         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
60247         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
60248         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
60249         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
60250         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
60251         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
60252         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
60253         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
60254         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
60255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60256         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
60257         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60258         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
60259         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
60260         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
60261         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
60262         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
60263         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60264         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60265         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60266         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
60267         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
60268         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
60269         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
60270         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
60271         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
60272         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
60273         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60274         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60275         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60276         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60277         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
60278         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60279         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
60280         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
60281         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
60282         (__isnanf): Likewise.
60283         (__isinf_ns): Likewise.
60284         (__isinf_nsf): Likewise.
60285         (__finite): Likewise.
60286         (__finitef): Likewise.
60287         (__ieee754_sqrt): Define as macro.
60288         (__ieee754_sqrtf): Define as macro.
60289         (__ieee754_sqrtl): Define as macro.
60290         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
60291         inlined copy.
60292         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
60293         __FINITE_MATH_ONLY__ consistent.
60294         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
60296 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
60298         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
60299         of rawmemchr.
60301         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
60303 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
60305         * po/ja.po: Update from translation team.
60307 2011-10-08  Roland McGrath  <roland@hack.frob.com>
60309         * locale/programs/locarchive.c (prepare_address_space): New function.
60310         (create_archive, enlarge_archive, open_archive): Use it.
60312         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
60313         inside [SHARED], where it is used.
60315         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
60317         * nss/getent.c (netgroup_keys): Remove unused variable.
60318         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
60320 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
60322         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
60323         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
60324         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
60325         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
60326         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
60327         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
60328         * math/Makefile (libm-calls): Add s_isinf_ns.
60329         * math/divtc3.c: Use __isinf_nsl instead of isinf.
60330         * math/multc3.c: Likewise.
60331         * math/s_casin.c: Likewise.
60332         * math/s_casinf.c: Likewise.
60333         * math/s_casinl.c: Likewise.
60334         * math/s_ccos.c: Likewise.
60335         * math/s_ccosf.c: Likewise.
60336         * math/s_ccosl.c: Likewise.
60337         * math/s_ctan.c: Likewise.
60338         * math/s_ctanf.c: Likewise.
60339         * math/s_ctanh.c: Likewise.
60340         * math/s_ctanhf.c: Likewise.
60341         * math/s_ctanhl.c: Likewise.
60342         * math/s_ctanl.c: Likewise.
60343         * math/w_fmod.c: Likewise.
60344         * math/w_fmodf.c: Likewise.
60345         * math/w_fmodl.c: Likewise.
60346         * math/w_remainder.c: Likewise.
60347         * math/w_remainderf.c: Likewise.
60348         * math/w_remainderl.c: Likewise.
60349         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
60350         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
60351         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
60352         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
60353         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
60354         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
60355         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
60356         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
60358         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
60359         of the number.
60360         * stdio-common/printf_fphex.c: Likewise.
60361         * stdio-common/printf_size.c: Likewise.
60363         * math/e_exp10.c: Include math_private.h using <...> not "...".
60364         * math/e_exp10f.c: Likewise.
60365         * math/e_exp10l.c: Likewise.
60366         * math/e_exp2l.c: Likewise.
60367         * math/e_j0l.c: Likewise.
60368         * math/e_j1l.c: Likewise.
60369         * math/e_jnl.c: Likewise.
60370         * math/e_lgammal_r.c: Likewise.
60371         * math/e_rem_pio2l.c: Likewise.
60372         * math/e_scalb.c: Likewise.
60373         * math/e_scalbf.c: Likewise.
60374         * math/e_scalbl.c: Likewise.
60375         * math/k_cosl.c: Likewise.
60376         * math/k_sinl.c: Likewise.
60377         * math/k_tanl.c: Likewise.
60378         * math/s_cacoshf.c: Likewise.
60379         * math/s_catan.c: Likewise.
60380         * math/s_catanf.c: Likewise.
60381         * math/s_catanh.c: Likewise.
60382         * math/s_catanhf.c: Likewise.
60383         * math/s_catanhl.c: Likewise.
60384         * math/s_catanl.c: Likewise.
60385         * math/s_ccosh.c: Likewise.
60386         * math/s_ccoshf.c: Likewise.
60387         * math/s_ccoshl.c: Likewise.
60388         * math/s_cexp.c: Likewise.
60389         * math/s_cexpf.c: Likewise.
60390         * math/s_cexpl.c: Likewise.
60391         * math/s_clog.c: Likewise.
60392         * math/s_clog10.c: Likewise.
60393         * math/s_clog10f.c: Likewise.
60394         * math/s_clog10l.c: Likewise.
60395         * math/s_clogf.c: Likewise.
60396         * math/s_clogl.c: Likewise.
60397         * math/s_csin.c: Likewise.
60398         * math/s_csinf.c: Likewise.
60399         * math/s_csinh.c: Likewise.
60400         * math/s_csinhf.c: Likewise.
60401         * math/s_csinhl.c: Likewise.
60402         * math/s_csinl.c: Likewise.
60403         * math/s_csqrt.c: Likewise.
60404         * math/s_csqrtf.c: Likewise.
60405         * math/s_csqrtl.c: Likewise.
60406         * math/s_ctan.c: Likewise.
60407         * math/s_ctanf.c: Likewise.
60408         * math/s_ctanh.c: Likewise.
60409         * math/s_ctanhf.c: Likewise.
60410         * math/s_ctanhl.c: Likewise.
60411         * math/s_ctanl.c: Likewise.
60412         * math/s_ldexp.c: Likewise.
60413         * math/s_ldexpf.c: Likewise.
60414         * math/s_ldexpl.c: Likewise.
60415         * math/s_significand.c: Likewise.
60416         * math/s_significandf.c: Likewise.
60417         * math/s_significandl.c: Likewise.
60418         * math/w_acos.c: Likewise.
60419         * math/w_acosf.c: Likewise.
60420         * math/w_acosh.c: Likewise.
60421         * math/w_acoshf.c: Likewise.
60422         * math/w_acoshl.c: Likewise.
60423         * math/w_acosl.c: Likewise.
60424         * math/w_asin.c: Likewise.
60425         * math/w_asinf.c: Likewise.
60426         * math/w_asinl.c: Likewise.
60427         * math/w_atan2.c: Likewise.
60428         * math/w_atan2f.c: Likewise.
60429         * math/w_atan2l.c: Likewise.
60430         * math/w_atanh.c: Likewise.
60431         * math/w_atanhf.c: Likewise.
60432         * math/w_atanhl.c: Likewise.
60433         * math/w_cosh.c: Likewise.
60434         * math/w_coshf.c: Likewise.
60435         * math/w_coshl.c: Likewise.
60436         * math/w_dremf.c: Likewise.
60437         * math/w_exp10.c: Likewise.
60438         * math/w_exp10f.c: Likewise.
60439         * math/w_exp10l.c: Likewise.
60440         * math/w_exp2.c: Likewise.
60441         * math/w_exp2f.c: Likewise.
60442         * math/w_fmod.c: Likewise.
60443         * math/w_fmodf.c: Likewise.
60444         * math/w_fmodl.c: Likewise.
60445         * math/w_hypot.c: Likewise.
60446         * math/w_hypotf.c: Likewise.
60447         * math/w_hypotl.c: Likewise.
60448         * math/w_j0.c: Likewise.
60449         * math/w_j0f.c: Likewise.
60450         * math/w_j0l.c: Likewise.
60451         * math/w_j1.c: Likewise.
60452         * math/w_j1f.c: Likewise.
60453         * math/w_j1l.c: Likewise.
60454         * math/w_jn.c: Likewise.
60455         * math/w_jnf.c: Likewise.
60456         * math/w_jnl.c: Likewise.
60457         * math/w_lgamma.c: Likewise.
60458         * math/w_lgamma_r.c: Likewise.
60459         * math/w_lgammaf.c: Likewise.
60460         * math/w_lgammaf_r.c: Likewise.
60461         * math/w_lgammal.c: Likewise.
60462         * math/w_lgammal_r.c: Likewise.
60463         * math/w_log.c: Likewise.
60464         * math/w_log10.c: Likewise.
60465         * math/w_log10f.c: Likewise.
60466         * math/w_log10l.c: Likewise.
60467         * math/w_log2.c: Likewise.
60468         * math/w_log2f.c: Likewise.
60469         * math/w_log2l.c: Likewise.
60470         * math/w_logf.c: Likewise.
60471         * math/w_logl.c: Likewise.
60472         * math/w_pow.c: Likewise.
60473         * math/w_powf.c: Likewise.
60474         * math/w_powl.c: Likewise.
60475         * math/w_remainder.c: Likewise.
60476         * math/w_remainderf.c: Likewise.
60477         * math/w_remainderl.c: Likewise.
60478         * math/w_scalb.c: Likewise.
60479         * math/w_scalbf.c: Likewise.
60480         * math/w_scalbl.c: Likewise.
60481         * math/w_sinh.c: Likewise.
60482         * math/w_sinhf.c: Likewise.
60483         * math/w_sinhl.c: Likewise.
60484         * math/w_sqrt.c: Likewise.
60485         * math/w_sqrtf.c: Likewise.
60486         * math/w_sqrtl.c: Likewise.
60487         * math/w_tgamma.c: Likewise.
60488         * math/w_tgammaf.c: Likewise.
60489         * math/w_tgammal.c: Likewise.
60491         * po/ja.po: Update from translation team.
60493 2011-09-29  Andreas Jaeger  <aj@suse.de>
60495         [BZ #13179]
60496         * sunrpc/netname.c (netname2host): Fix logic.
60498         [BZ #6779]
60499         [BZ #6783]
60500         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
60501         correctly.
60502         * math/w_remainder.c (__remainder): Likewise.
60503         * math/w_remainderf.c (__remainderf): Likewise.
60504         * math/libm-test.inc (remainder_test): Add test cases.
60506 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60508         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
60509         sdiv_qrnnd.
60511 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
60513         * string/test-memcmp.c: Avoid unncessary #defines.
60514         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
60516 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60518         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
60519         Use new sse2 version for core i3 - i7 as it's faster
60520         than sse42 version.
60521         (bit_Prefer_PMINUB_for_stringop): New.
60522         * sysdeps/x86_64/rawmemchr.S: Update.
60523         Replace with faster SSE2 version.
60524         * sysdeps/x86_64/memrchr.S: New file.
60525         * sysdeps/x86_64/memchr.S: Update.
60526         Replace with faster SSE2 version.
60528 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
60530         * elf/dl-load.c (lose): Add cast to avoid warning.
60532 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
60534         * po/ca.po: Update from translation team.
60536         * inet/getnetgrent_r.c: Hook up nscd.
60537         * nscd/Makefile (routines): Add nscd_netgroup.
60538         (nscd-modules): Add netgroupcache.
60539         (CFLAGS-netgroupcache.c): Define.
60540         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
60541         (cache_search): Add const to second parameter.
60542         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
60543         INNETGR.
60544         (dbs): Add netgrdb entry.
60545         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
60546         (verify_persistent_db): Handle netgrdb.
60547         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
60548         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
60549         GETFDNETGR.
60550         (netgroup_response_header): Define.
60551         (innetgroup_response_header): Define.
60552         (datahead): Add netgroup_response_header and innetgroup_response_header
60553         elements.
60554         * nscd/nscd.conf: Add entries for netgroup cache.
60555         * nscd/nscd.h (dbtype): Add netgrdb.
60556         (_PATH_NSCD_NETGROUP_DB): Define.
60557         (netgroup_iov_disabled): Declare.
60558         (xmalloc, xcalloc, xrealloc): Move declarations here.
60559         (cache_search): Adjust prototype.
60560         Add netgroup-related prototypes.
60561         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
60562         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
60563         (__nscd_innetgr): Declare.
60564         * nscd/selinux.c (perms): Use access_vector_t as element type and
60565         add netgroup-related initializers.
60566         * nscd/netgroupcache.c: New file.
60567         * nscd/nscd_netgroup.c: New file.
60568         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
60569         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
60570         For four parameters use innetgr.
60571         * nss/nss_files/files-init.c: Add definition and callback for netgr.
60572         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
60573         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
60574         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
60576         * nscd/connections.c (register_traced_file): Don't register file
60577         for disabled databases.
60579 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
60581         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
60583         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
60584         from tree and freeing node.
60586 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
60588         * nss/nsswitch.c (__nss_database_lookup): Handle
60589         nss_parse_service_list out of memory case.
60591 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
60593         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
60594         out of memory case.
60596 2011-10-04  Andreas Schwab  <schwab@redhat.com>
60598         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
60599         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
60600         pass it down.
60601         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
60602         elf_machine_rela, elf_machine_lazy_rel.
60603         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
60604         (ELF_DYNAMIC_DO_REL): Likewise.
60605         (ELF_DYNAMIC_DO_RELA): Likewise.
60606         (ELF_DYNAMIC_RELOCATE): Likewise.
60607         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
60608         to ELF_DYNAMIC_DO_REL.
60609         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
60610         (dl_main): In trace mode always set __RTLD_NOIFUNC.
60611         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
60612         elf_machine_rela.
60613         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
60614         skip_ifunc, don't call ifunc function if non-zero.
60615         (elf_machine_rela): Likewise.
60616         (elf_machine_lazy_rel): Likewise.
60617         (elf_machine_lazy_rela): Likewise.
60618         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
60619         (elf_machine_lazy_rel): Likewise.
60620         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
60621         Likewise.
60622         (elf_machine_lazy_rel): Likewise.
60623         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60624         Likewise.
60625         (elf_machine_lazy_rel): Likewise.
60626         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
60627         (elf_machine_lazy_rel): Likewise.
60628         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
60629         (elf_machine_lazy_rel): Likewise.
60630         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
60631         (elf_machine_lazy_rel): Likewise.
60632         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
60633         (elf_machine_lazy_rel): Likewise.
60634         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
60635         (elf_machine_lazy_rel): Likewise.
60636         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
60637         (elf_machine_lazy_rel): Likewise.
60639 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
60641         * nss/nss_files/files-init.c (_nss_files_init): Use static
60642         initialization for all the *_traced_file variables.
60644 2011-09-28  Andreas Schwab  <schwab@redhat.com>
60646         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60648 2011-09-27  Roland McGrath  <roland@hack.frob.com>
60650         [BZ #13226]
60651         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
60653 2011-09-27  Andreas Schwab  <schwab@redhat.com>
60655         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60656         Reread the line before reparsing it.
60658 2011-09-26  Andreas Schwab  <schwab@redhat.com>
60660         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
60662 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
60663             Maxim Kuvyrkov  <maxim@codesourcery.com>
60664             Joseph Myers  <joseph@codesourcery.com>
60666         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
60667         if needed for __stack_chk_guard.
60669 2011-09-19  Roland McGrath  <roland@hack.frob.com>
60671         * sysdeps/posix/spawni.c (script_execute): Always define it.
60672         It will be optimized away if unused.
60673         (maybe_script_execute): New function.
60674         (__spawni): Call it.
60676         * Makerules: Don't include tls.make.
60677         (config-tls): Always set to thread.
60678         * tls.make.c: File removed.
60680 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
60682         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
60683         * config.make.in (CPPFLAGS-config): New substituted variable.
60685 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
60689         [BZ #13192]
60690         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
60691         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
60693 2011-09-15  Roland McGrath  <roland@hack.frob.com>
60695         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
60696         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
60697         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60698         (CALL_FAIL): Likewise.
60699         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
60700         (CALL_FAIL): Macro removed.
60701         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
60703 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
60705         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
60706         for __FINITE_MATH_ONLY__ == 1.
60708 2011-09-15  Andreas Schwab  <schwab@redhat.com>
60710         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
60711         __ieee754_sqrt instead of sqrt.
60712         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
60713         __ieee754_sqrtf instead of sqrtf.
60714         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
60715         __floorf instead of floorf.
60716         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
60717         __floorf, __truncf instead of floorf, truncf.
60719 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
60721         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
60723         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
60724         __extern_always_inline.
60725         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
60726         32-bit.
60728 2011-09-14  Andreas Schwab  <schwab@redhat.com>
60730         * elf/rtld.c (dl_main): Also relocate in dependency order when
60731         doing symbol dependency testing.
60733 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
60735         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60736         Always define `refsym'.
60738 2011-09-13  Andreas Schwab  <schwab@redhat.com>
60740         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
60741         (__FD_ELT): Renamed from __FDELT.
60742         * misc/bits/select2.h (__FD_ELT): Likewise.
60743         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
60744         __FD_MASK instead of __FDELT, __FDMASK.
60745         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60746         Likewise.
60747         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
60748         Likewise.
60750         * elf/Makefile (gen-ldd): Fix pattern.
60752         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
60753         (init_tls): Likewise.
60755 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
60757         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
60759 2011-09-12  Andreas Schwab  <schwab@redhat.com>
60761         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
60762         `struct cmsghdr *' instead of `void *'.
60763         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
60764         Likewise.
60766 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
60768         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
60769         if non-absolute.
60770         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
60771         ldd_rewrite_script.
60773 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
60775         * configure.in: Remove --with-tls option.
60776         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
60777         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
60778         out in case it is missing.
60779         * sysdeps/ia64/elf/configure.in: Likewise.
60780         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
60781         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
60782         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
60783         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
60784         * sysdeps/sh/elf/configure.in: Likewise.
60785         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
60786         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
60787         * sysdeps/x86_64/elf/configure.in: Likewise.
60788         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
60789         * sysdeps/mach/hurd/tls.h: Likewise.
60791         [BZ #13067]
60792         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
60794         [BZ #13090]
60795         * configure.in: Fix use of AC_INIT.
60797         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
60799 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
60801         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
60802         __set_errno.
60803         * malloc/hooks.c: Likewise.
60805         [BZ #11929]
60806         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
60807         variables statically.
60808         (narenas): Initialize.
60809         (list_lock): Initialize.
60810         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
60811         initializtion of main_arena and list_lock.  Small cleanups.
60812         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
60813         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
60814         Add initializers to main_arena and mp_.
60815         (malloc_state): Remove pagesize member.  Change all users to use
60816         GLRO(dl_pagesize).
60818         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
60819         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
60820         is always initialized.
60822         * malloc/malloc.c: Removed unused configurations and dead code.
60823         * malloc/arena.c: Likewise.
60824         * malloc/hooks.c: Likewise.
60825         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
60827         * include/tls.h: Removed.  USE___THREAD must always be defined.
60828         * bits/libc-tsd.h: Don't handle !USE___THREAD.
60829         * elf/dl-libc.c: Likewise.
60830         * elf/dl-tsd.c: Likewise.
60831         * include/errno.h: Likewise.
60832         * include/netdb.h: Likewise.
60833         * include/resolv.h: Likewise.
60834         * inet/herrno-loc.c: Likewise.
60835         * inet/herrno.c: Likewise.
60836         * malloc/arena.c: Likewise.
60837         * malloc/hooks.c: Likewise.
60838         * malloc/malloc.c: Likewise.
60839         * resolv/res-state.c: Likewise.
60840         * resolv/res_libc.c: Likewise.
60841         * sysdeps/i386/dl-machine.h: Likewise.
60842         * sysdeps/ia64/dl-machine.h: Likewise.
60843         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
60844         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
60845         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
60846         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
60847         * sysdeps/sh/dl-machine.h: Likewise.
60848         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
60849         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
60850         * sysdeps/unix/i386/sysdep.S: Likewise.
60851         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
60852         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
60853         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
60854         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
60855         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
60856         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
60857         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
60858         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
60859         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
60860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
60861         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60862         * sysdeps/x86_64/dl-machine.h: Likewise.
60863         * tls.make.c: Likewise.
60865         * configure.in: Remove --with-__thread option.  Make tests for
60866         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
60867         tls_model attribute fail if no support is available.  Remove
60868         USE_IN_LIBIO.
60869         * Makeconfig: Adjust for dropped configure option.  All features are
60870         now mandatory.
60871         * Makerules: Likewise.
60872         * Versions.def: Likewise.
60873         * argp/argp-fmtstream.c: Likewise.
60874         * argp/argp-fmtstream.h: Likewise.
60875         * argp/argp-help.c: Likewise.
60876         * assert/assert.c: Likewise.
60877         * config.h.in: Likewise.
60878         * config.make.in: Likewise.
60879         * configure: Likewise.
60880         * configure.in: Likewise.
60881         * csu/Versions: Likewise.
60882         * csu/init.c: Likewise.
60883         * elf/tst-audit2.c: Likewise.
60884         * elf/tst-tls10.c: Likewise.
60885         * elf/tst-tls10.h: Likewise.
60886         * elf/tst-tls11.c: Likewise.
60887         * elf/tst-tls12.c: Likewise.
60888         * elf/tst-tls14.c: Likewise.
60889         * elf/tst-tlsmod11.c: Likewise.
60890         * elf/tst-tlsmod12.c: Likewise.
60891         * elf/tst-tlsmod13.c: Likewise.
60892         * elf/tst-tlsmod13a.c: Likewise.
60893         * elf/tst-tlsmod14a.c: Likewise.
60894         * elf/tst-tlsmod15b.c: Likewise.
60895         * elf/tst-tlsmod16a.c: Likewise.
60896         * elf/tst-tlsmod16b.c: Likewise.
60897         * elf/tst-tlsmod7.c: Likewise.
60898         * elf/tst-tlsmod8.c: Likewise.
60899         * elf/tst-tlsmod9.c: Likewise.
60900         * gmon/gmon.c: Likewise.
60901         * grp/fgetgrent_r.c: Likewise.
60902         * grp/putgrent.c: Likewise.
60903         * hurd/fopenport.c: Likewise.
60904         * include/libc-symbols.h: Likewise.
60905         * include/tls.h: Likewise.
60906         * intl/gettextP.h: Likewise.
60907         * intl/loadinfo.h: Likewise.
60908         * locale/global-locale.c: Likewise.
60909         * locale/localeinfo.h: Likewise.
60910         * mach/devstream.c: Likewise.
60911         * malloc/arena.c: Likewise.
60912         * malloc/set-freeres.c: Likewise.
60913         * misc/err.c: Likewise.
60914         * misc/getttyent.c: Likewise.
60915         * misc/mntent_r.c: Likewise.
60916         * posix/getopt.c: Likewise.
60917         * posix/wordexp.c: Likewise.
60918         * pwd/fgetpwent_r.c: Likewise.
60919         * resolv/Versions: Likewise.
60920         * resolv/res_hconf.c: Likewise.
60921         * shadow/fgetspent_r.c: Likewise.
60922         * shadow/putspent.c: Likewise.
60923         * stdio-common/printf_fphex.c: Likewise.
60924         * stdio-common/tmpfile.c: Likewise.
60925         * stdlib/abort.c: Likewise.
60926         * stdlib/fmtmsg.c: Likewise.
60927         * sunrpc/auth_unix.c: Likewise.
60928         * sunrpc/clnt_perr.c: Likewise.
60929         * sunrpc/clnt_tcp.c: Likewise.
60930         * sunrpc/clnt_udp.c: Likewise.
60931         * sunrpc/clnt_unix.c: Likewise.
60932         * sunrpc/openchild.c: Likewise.
60933         * sunrpc/svc_simple.c: Likewise.
60934         * sunrpc/svc_tcp.c: Likewise.
60935         * sunrpc/svc_udp.c: Likewise.
60936         * sunrpc/svc_unix.c: Likewise.
60937         * sunrpc/xdr.c: Likewise.
60938         * sunrpc/xdr_array.c: Likewise.
60939         * sunrpc/xdr_rec.c: Likewise.
60940         * sunrpc/xdr_ref.c: Likewise.
60941         * sunrpc/xdr_stdio.c: Likewise.
60943 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60945         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
60947 2011-07-03  Andreas Jaeger  <aj@suse.de>
60949         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
60950         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
60951         regenerate with gen-libm-tests.pl.
60953 2010-05-12  Petr Baudis  <pasky@suse.cz>
60955         [BZ #11589]
60956         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
60957         around j0() zero points by switching to j1().
60958         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
60959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
60960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
60961         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
60963 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60965         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
60966         instead of 0.
60967         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
60968         instead of 0.
60969         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60970         Patch in part by Pavel Roskin <proski@gnu.org>.
60972         [BZ #13138]
60973         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
60974         realloc.
60975         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
60976         Free memory block if necessary.
60978         [BZ #12847]
60979         * libio/genops.c (INTDEF): For string streams the _lock pointer can
60980         be NULL.  Don't lock in this case.
60982 2011-09-09  Roland McGrath  <roland@hack.frob.com>
60984         * elf/elf.h (ELFOSABI_GNU): New macro.
60985         (ELFOSABI_LINUX): Define to that.
60987 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
60989         * string/strncat.c (strncat): Undef the symbol in case it has been
60990         defined in bits/string.h.
60992 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
60994         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
60996         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
60997         link map.
60999 2011-08-17  Andreas Jaeger  <aj@suse.de>
61001         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
61003 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61004             Ian Lance Taylor  <iant@google.com>
61006         * math/libm-test.inc (lround_test): New testcase.
61007         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
61009 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
61011         * Makefile: Remove support for automatic cvs check-ins.
61012         * Makerules: Likewise.
61013         * config.make.in: Likewise.
61014         * configure.in: Likewise.
61015         * intl/Makefile: Likewise.
61016         * locale/Makefile: Likewise.
61017         * po/Makefile: Likewise.
61018         * posix/Makefile: Likewise.
61019         * sysdeps/gnu/Makefile: Likewise.
61020         * sysdeps/mach/hurd/Makefile: Likewise.
61021         * sysdeps/sparc/sparc32/Makefile: Likewise.
61023         [BZ #13118]
61024         * posix/Makefile (bug-regex32-ENV): Define.
61025         Patch by John Stanley <jpsinthemix@verizon.net>.
61027         * misc/Makefile (headers): Add bits/select2.h.
61028         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
61029         * misc/bits/select2.h: New file.
61030         * include/bits/select2.h: New file.
61031         * debug/Makefile (routines): Add fdelt_chk.
61032         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
61033         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
61034         FD_ISSET.
61035         * debug/fdelt_chk.c: New file.
61037         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
61038         * wcsmbs/test-wmemcmp.c: Likewise.
61039         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
61040         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
61042 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61044         * string/Makefile (strop-tests): Add memcmp.
61045         * string/test-wmemcmp.c: New file.
61046         * string/test-memcmp.c: Add wmemcmp support.
61048 2011-09-08  Roland McGrath  <roland@hack.frob.com>
61050         [BZ #13153]
61051         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
61052         2011-07-19 change.
61054         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
61055         garbage value in a __mach_port_mod_refs call in the cases of the
61056         task-self and thread-self ports.
61058 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61060         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
61062 2011-09-08  Andreas Schwab  <schwab@redhat.com>
61064         * elf/dl-load.c (lose): Check for non-null L.
61066 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61068         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
61070         * elf/dl-libc.c (dlerror_run): Pass back error code from
61071         dl_catch_error.
61073         [BZ #13123]
61074         * elf/dl-load.c (lose): Free l_origin if it is valid.
61076         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
61077         names.
61078         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
61079         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61080         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61081         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61082         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
61083         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
61085 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61087         * sysdeps/powerpc/fpu/e_hypot.c: New file.
61088         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
61089         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
61090         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
61091         * sysdeps/powerpc/fpu/k_cosf.c: New file.
61092         * sysdeps/powerpc/fpu/k_sinf.c: New file.
61093         * sysdeps/powerpc/fpu/s_cosf.c: New file.
61094         * sysdeps/powerpc/fpu/s_sinf.c: New file.
61095         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
61096         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
61098 2011-08-15  Alan Modra  <amodra@gmail.com>
61100         [BZ #13092]
61101         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
61102         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
61103         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
61104         ppc_mcount to static-only-routines.
61105         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
61106         __mcount_internal.
61107         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
61108         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
61110 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
61112         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
61113         for finite and infinity parameters.
61115 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
61117         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
61118         and add nop instructions for throughput optimization.
61119         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
61121 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
61123         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
61124         aligned copy for power7 with vector-scalar instructions.
61125         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
61127 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
61129         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
61130         AVX check.
61132 2011-09-07  Andreas Schwab  <schwab@redhat.com>
61134         [BZ #13144]
61135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
61136         last change.
61138 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
61140         * sysdeps/unix/sysv/linux/x86_64/init-first.c
61141         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
61142         syscall wrapper around clock_gettime in __vdso_clock_gettime.
61143         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
61144         clock_gettime.
61146 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61148         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
61149         Forgot to demangle the pointer.
61151         * sysdeps/i386/sysdep.h: Define atom_text_section.
61152         * sysdeps/x86_64/sysdep.h: Likewise.
61153         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
61154         section with atom_text_section.
61155         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
61156         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
61157         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
61158         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61159         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
61161         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
61162         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
61163         already be defined.  Change to take two parameters and don't assign
61164         result to variable.  Adjust all users.
61165         Define INTERNAL_GETTIME if not already defined.
61166         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
61167         call.
61168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
61169         HAVE_CLOCK_GETTIME_VSYSCALL.
61170         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
61172         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
61173         gettimeofday vsyscall, just use time.
61175 2011-09-06  Andreas Schwab  <schwab@redhat.com>
61177         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
61178         <errno.h>.
61180 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
61182         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
61183         syscall on x86-64.
61184         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
61185         syscall.
61186         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
61187         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
61188         syscall if possible.
61190 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61192         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
61193         e_ident.  Don't pass to find_mapsXX.
61194         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
61196 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61199         strchr-sse2-no-bsf strrchr-sse2-no-bsf
61200         * sysdeps/x86_64/multiarch/strchr.S: Update.
61201         Check bit_slow_BSF bit.
61202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61203         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
61204         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
61206 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61208         [BZ #13134]
61209         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
61210         before glibc 2.15.
61211         (tryshell): Define.
61212         (__spawni): Change last parameter to be flag.  Test
61213         SPAWN_XFLAGS_USE_PATH flag to use path or not.
61214         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
61215         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
61216         * posix/spawni.c: Likewise.
61217         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
61218         * posix/spawnp.c: Likewise.  Change normal version to use
61219         SPAWN_XFLAGS_USE_PATH.
61220         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
61221         SPAWN_XFLAGS_TRY_SHELL.
61223         [BZ #13150]
61224         * posix/glob.h: Remove gcc 1.x support.
61226         [BZ #13068]
61227         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
61229 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61231         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61232         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
61233         strrchr-sse2-bsf
61234         * sysdeps/i386/i686/multiarch/strchr.S: New file.
61235         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
61236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
61237         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
61238         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
61239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
61241 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61243         * sysdeps/x86_64/wcscmp.S: New file.
61245         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
61246         wcscmp-c wcscmp-sse2
61247         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
61248         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
61249         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
61250         * wcsmbs/wcscmp.c: Allow renaming.
61252 2011-09-05  David S. Miller  <davem@davemloft.net>
61254         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
61255         stack slot, rather than the struct return pointer slot.
61256         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
61257         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
61258         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
61259         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
61261 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
61263         * po/ja.po: Update from translation team.
61265         [BZ #13144]
61266         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
61267         kernel in 64-bit binaries.
61269 2011-09-01  David S. Miller  <davem@davemloft.net>
61271         * elf/elf.h (HWCAP_SPARC_*): Move to..
61272         * sysdeps/sparc/sysdep.h: this new file and add new values.
61273         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
61274         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
61275         _DL_HWCAP_COUNT to 24.
61276         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
61277         entries.
61278         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
61279         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
61280         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
61281         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
61282         instead of magic constants.
61283         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
61285 2011-08-31  David S. Miller  <davem@davemloft.net>
61287         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
61288         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
61289         Reimplement to do errno handling inline.
61290         (SYSCALL_ERROR_HANDLER): New macro.
61291         (__SYSCALL_STRING): Do not do errno handling in asm.
61292         (__CLONE_SYSCALL_STRING): Delete.
61293         (__INTERNAL_SYSCALL_STRING): Delete.
61294         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
61295         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
61296         (PSEUDO): Reimplement to do errno handling inline.
61297         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
61298         (SYSCALL_ERROR_HANDLER): New macro.
61299         (__SYSCALL_STRING): Do not do errno handling in asm.
61300         (__CLONE_SYSCALL_STRING): Delete.
61301         (__INTERNAL_SYSCALL_STRING): Delete.
61302         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
61303         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
61304         i386.
61305         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
61306         (inline_syscall*): Add 'err' argument.
61307         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
61308         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
61309         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
61310         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
61312         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
61313         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
61315 2011-08-30  Andreas Schwab  <schwab@redhat.com>
61317         * elf/rtld.c (dl_main): Relocate objects in dependency order.
61319 2011-08-29  Jiri Olsa <jolsa@redhat.com>
61321         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
61322         directive.
61324 2011-08-24  David S. Miller  <davem@davemloft.net>
61326         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
61328 2011-08-24  Andreas Schwab  <schwab@redhat.com>
61330         * elf/Makefile: Add rules to build and run unload8 test.
61331         * elf/unload8.c: New file.
61332         * elf/unload8mod1.c: New file.
61333         * elf/unload8mod1x.c: New file.
61334         * elf/unload8mod2.c: New file.
61335         * elf/unload8mod3.c: New file.
61337         * elf/dl-close.c (_dl_close_worker): Reset private search list if
61338         it wasn't used.
61340 2011-08-23  David S. Miller  <davem@davemloft.net>
61342         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
61343         subtract stack bias.
61344         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
61345         %sp not %fp in calculations.
61346         (_JMPBUF_UNWINDS_ADJ): Likewise.
61348         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
61349         (aio_suspend): Call it to force an exception region around the
61350         AIO_MISC_WAIT() invocation.
61352 2011-08-23  Andreas Schwab  <schwab@redhat.com>
61354         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
61355         backslash.
61357 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
61359         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
61360         protection macro.
61361         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
61362         and <dl-machine.h>.
61363         (Elf64_FuncDesc): Remove.
61365 2011-08-22  David S. Miller  <davem@davemloft.net>
61367         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
61368         sigaltstack check, add missing cfi directives.
61369         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
61370         missing cfi directives, and sigaltstack handling.
61372 2011-08-16  Andreas Schwab  <schwab@redhat.com>
61374         [BZ #11724]
61375         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
61376         object is seen twice.
61377         * elf/dl-fini.c (_dl_sort_fini): Likewise.
61379         * elf/Makefile (distribute): Add tst-initorder2.c.
61380         (tests): Add tst-initorder2.
61381         (modules-names): Add tst-initorder2a tst-initorder2b
61382         tst-initorder2c tst-initorder2d.  Add rules to build them.
61383         ($(objpfx)tst-initorder2.out): New rule.
61384         * elf/tst-initorder2.c: New file.
61385         * elf/tst-initorder2.exp: New file.
61387 2011-08-22  Andreas Schwab  <schwab@redhat.com>
61389         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
61391         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
61392         dependencies back to end of function.
61394         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
61395         $(elfobjdir)/ld.so.
61397 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
61399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
61400         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
61401         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
61402         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
61403         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
61404         of __vdso_gettimeofday.
61405         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
61406         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
61407         attribute_hidden.
61408         (_libc_vdso_platform_setup): Remove initialization of
61409         __vdso_gettimeofday and __vdso_time.
61411 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
61413         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
61414         and fgetc_unlocked.
61415         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
61416         getc_unlocked.
61418         * elf/dl-open.c (add_to_global): Report additions to the global scope
61419         for LD_DEBUG=scopes.
61420         (dl_open_worker): Also print scope of newly loaded dependencies.
61421         (_dl_show_scope): Indicate if there is no scope.
61423         [BZ #13114]
61424         * stdio-common/Makefile (tests): Add bug24.
61425         * stdio-common/bug24.c: New file.
61427 2011-08-19  Andreas Jaeger  <aj@suse.de>
61429         [BZ #13114]
61430         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
61431         non-existant file when using close-on-exec mode.
61433 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
61435         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
61436         the very first instruction.
61438         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
61439         the CFI state in the end.
61440         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
61441         inclusion of dl-trampoline.h.
61442         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
61444 2011-08-19  Andreas Schwab  <schwab@redhat.com>
61446         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
61447         expectations for long double.
61449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
61450         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
61452 2011-08-14  David S. Miller  <davem@davemloft.net>
61454         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
61455         artificual limit depends upon the system page size.
61457 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
61459         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
61460         * resolv/Makefile: Define CFLAGS-libresolv.
61462 2011-08-17  Andreas Schwab  <schwab@redhat.com>
61464         * nss/makedb.c (compute_tables): Make variables used in nested
61465         function static.
61467 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
61469         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
61470         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
61471         if buffer was too small.
61473         * elf/pldd.c (main): Attach to all threads in the process.
61474         Rewrite /proc handling to use *at functions.
61476 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
61478         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
61479         specifies first scope to show.
61480         (dl_open_worker): Update callers.  Move printing scope of new
61481         object to before the relocation.
61482         * elf/rtld.c (dl_main): Update _dl_show_scope call.
61483         * sysdeps/generic/ldsodefs.h: Update declaration.
61485         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
61486         string for the scope number.
61488 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
61490         * nscd/servicescache.c (cache_addserv): Make sure written is always
61491         initialized.
61493 2011-08-14  Roland McGrath  <roland@hack.frob.com>
61495         * sysdeps/i386/i486/bits/atomic.h
61496         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
61497         statement expression, so as to suppress "set but not used" warning.
61498         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
61500         * string/strncat.c (STRNCAT): Use prototype definition.
61502         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
61503         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
61504         -Iprograms here.
61505         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
61506         (localedef-modules): Add localedef.
61507         (locale-modules): Add locale.
61509         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
61510         * elf/rtld.c (dl_main): Invert order of assignment in last change,
61511         to avoid a warning.
61513 2011-08-14  David S. Miller  <davem@davemloft.net>
61515         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
61516         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
61518 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
61520         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
61521         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
61522         * elf/rtld.c (dl_main): Set l_name of vDSO.
61523         Call _dl_show_scope when DL_DEBUG_SCOPES.
61524         (process_dl_debug): Recognize scopes flag and also set it for all.
61525         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
61526         Declare _dl_show_scope.
61528         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
61529         (do_dlopen): Pass caller_dlopen to dl_open.
61530         (__libc_dlopen_mode): Initialize caller_dlopen.
61532         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
61533         of libc.  Make tolower call locale-independent.  Optimize a bit by
61534         using isdigit instead of isalnum.
61535         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
61537 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
61539         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
61540         was a dependency or dynamically loaded.
61542 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
61544         * intl/l10nflist.c: Allow architecture-specific pop function.
61545         * sysdeps/x86_64/l10nflist.c: New file.
61547         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
61548         classification.
61550 2011-08-10  Andreas Schwab  <schwab@redhat.com>
61552         * include/dirent.h: Add libc_hidden_proto for scandirat and
61553         scandirat64.  Don't declare __scandirat64.
61554         * dirent/scandirat.c: Add libc_hidden_def.
61555         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
61556         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
61558 2011-08-10  David S. Miller  <davem@davemloft.net>
61560         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
61561         enum.
61562         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61563         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61564         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61566 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
61568         * Versions.def [libc]: Add GLIBC_2.15.
61569         * dirent/Makefile (routines): Add scandirat and scandirat64.
61570         * dirent/Versions [libc]: Export scandirat and scandirat64 for
61571         GLIBC_2.15.
61572         * dirent/dirent.h: Declare scandirat and scandirat64.
61573         * dirent/scandirat.c: New file.
61574         * dirent/scandirat64.c: New file.
61575         * sysdeps/wordsize-64/scandirat.c: New file.
61576         * sysdeps/wordsize-64/scandirat64.c: New file.
61577         * dirent/opendir.c: Define opendirat.
61578         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
61579         using scandirat.
61580         * dirent/scandir64.c: Adjust for scandir.c change.
61581         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
61582         __scandirat64, and __scandir_cancel_handler.
61583         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
61584         additional parameter and use openat instead of open (outside of ld.so).
61585         Add new __opendir as wrapper around __opendirat.
61586         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
61587         here without requiring old scandirat implementation.
61589 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
61591         * dirent/scandir.c (cancel_handler): Renamed to
61592         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
61593         defined.  Adjust users.
61594         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
61595         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
61597 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
61599         * string/test-string.h (IMPL): Use __STRING to expand name and then
61600         stringify it.
61602         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
61603         of cleanups.
61605 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61607         * string/Makefile: Update.
61608         (strop-tests): Append strncat.
61609         * string/test-wcscmp.c: New file.
61610         New comprehensive test for wcscmp.
61611         * string/test-strcmp.c: Update.
61612         (WIDE): New define.
61614 2011-07-22  Andreas Schwab  <schwab@redhat.com>
61616         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
61617         line.
61619 2011-07-26  Andreas Schwab  <schwab@redhat.com>
61621         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
61622         encoding to ACE if AI_IDN.
61624 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
61626         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
61627         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
61629 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61631         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
61632         Fix overflow bug in strncat.
61633         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
61635         * string/test-strncat.c: Update.
61636         Add new tests for checking overflow bugs.
61638 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61640         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61641         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
61642         * sysdeps/i386/i686/multiarch/strcat.S: New file.
61643         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
61644         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
61645         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
61646         * sysdeps/i386/i686/multiarch/strncat.S: New file.
61647         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
61648         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
61650         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
61651         (USE_AS_STRCAT): Define.
61652         Add strcat and strncat support.
61653         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
61655 2011-07-25  Andreas Schwab  <schwab@redhat.com>
61657         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
61658         __n bigger than INT_MAX+1.
61659         (__strncmp_g): Likewise.
61661 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
61663         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
61664         * libio/stido.h: Likewise.
61666         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
61667         (AF_NFC): Define.
61668         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
61669         (AF_NFC): Define.
61671         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
61672         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61673         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61674         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
61675         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61677         [BZ #13021]
61678         * scripts/test-installation.pl: Don't expect libnss_test1 to be
61679         installed.
61681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
61682         typo.
61683         (_dl_x86_64_save_sse): Likewise.
61685 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
61687         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
61688         OSXSAVE.
61689         (_dl_x86_64_save_sse): Likewise.
61691         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
61693         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
61695 2011-07-21  Andreas Schwab  <schwab@redhat.com>
61697         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
61698         change.
61699         (_dl_x86_64_save_sse): Use correct AVX check.
61701 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61703         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
61704         bug in strncpy/strncat.
61705         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
61707 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
61709         * string/tester.c (test_strcat): Add tests for different alignments
61710         of source and destination.
61711         (test_strncat): Likewise.
61713 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61715         [BZ #12852]
61716         * posix/glob.c (glob): Check passed in values before using them in
61717         expressions to avoid some overflows.
61718         (glob_in_dir): Likewise.
61720         [BZ #13007]
61721         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
61722         check for AVX enablement so that we don't crash with old kernels and
61723         new hardware.
61724         * elf/tst-audit4.c: Add same checks here.
61725         * elf/tst-audit6.c: Likewise.
61727         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
61729 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
61731         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
61733 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
61735         * po/cs.po: Update from translation team.
61736         * po/bg.po: Likewise.
61738 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
61740         * misc/sys/cdefs.h: Add support for const attribute.
61741         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
61742         to gnu_dev_{major,minor,makedev} functions.
61744 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
61746         * intl/dcigettext.c (get_output_charset): Add missing bracket.
61748 2011-07-20  Andreas Schwab  <schwab@redhat.com>
61750         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
61751         strlen results.
61753 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61755         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
61756         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
61757         register in order to avoid conflicts with the soft frame pointer
61758         being held in r11 when necessary.
61759         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
61760         (INTERNAL_VSYSCALL_NCS): Likewise.
61762 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
61764         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
61765         * elf/dl-fini.c (_dl_fini): Adjust caller.
61766         * elf/dl-close.c (_dl_close_worker): Likewise.
61767         * sysdeps/generic/ldsodefs.h: Adjust declaration.
61769 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61771         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
61772         "aux_cache->nlibs < 0".
61774         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
61775         in the reload-count case.
61777 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61780         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
61781         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
61782         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
61783         * sysdeps/x86_64/multiarch/strcat.S: New file.
61784         * sysdeps/x86_64/multiarch/strncat.S: New file.
61785         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
61786         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
61787         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
61788         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
61789         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
61790         (USE_AS_STRCAT): Define.
61791         Add strcat and strncat support.
61792         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
61793         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61794         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
61795         * string/strncat.c: Update.
61796         (USE_AS_STRNCAT): Define.
61797         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61798         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
61799         and i7.
61800         * sysdeps/x86_64/multiarch/init-arch.h
61801         (bit_Prefer_PMINUB_for_stringop): New.
61802         (index_Prefer_PMINUB_for_stringop): Likewise.
61803         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
61804         bit_Prefer_PMINUB_for_stringop.
61806 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61808         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
61809         buffer64.
61810         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
61811         of casting of buffer.
61812         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
61813         buffer32 and buffer64.
61814         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
61815         writes instead of casting of buffer.
61816         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
61817         buffer32.
61818         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
61819         casting of buffer.
61821 2011-07-19  Andreas Schwab  <schwab@redhat.com>
61823         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
61825 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
61827         * nscd/nscd.c (termination_handler): Don't do anything for a database
61828         if it has not yet been initialized.
61830 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61832         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61834 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
61836         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
61838 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
61840         * po/nl.po: Update from translation team.
61841         * po/sv.po: Likewise.
61843 2011-07-16  Roland McGrath  <roland@hack.frob.com>
61845         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
61846         now disallowed by GCC.
61848         * configure.in (use-default-link): Default to yes if a test -shared
61849         link meets our qualifications.
61850         * configure: Regenerated.
61852         * config.make.in (output-format): New variable.
61853         * configure.in: Check for ld --print-output-format support.
61854         * configure: Regenerated.
61855         * Makerules ($(common-objpfx)format.lds)
61856         [$(output-format) != unknown]: Just use $(output-format),
61857         instead of the linker-script munging.
61859 2011-07-14  Roland McGrath  <roland@hack.frob.com>
61861         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
61862         of $(common-objpfx)shlib.lds.
61863         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
61865         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
61866         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
61868         * configure.in (-z relro check): Adjust test code to add a large
61869         writable data section after it.
61870         * configure: Regenerated.
61872 2011-07-11  Roland McGrath  <roland@hack.frob.com>
61874         * configure.in (-z relro check): Fix test code to make the variable
61875         truly const.
61876         * configure: Regenerated.
61878 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
61880         * nscd/nscd.h (struct traced_file): Define.
61881         (struct database_dyn): Remove inotify_descr, reset_res, and filename
61882         elements.  Add traced_files.
61883         (inotify_fd): Declare.
61884         (register_traced_file): Declare.
61885         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
61886         (inotify_fd): Export.
61887         (resolv_conf_descr): Remove.
61888         (nscd_init): Move inotify descriptor creation to main.
61889         Don't register files for notification here.
61890         (register_traced_file): New function.
61891         (invalidate_cache): Don't use reset_res to determine whether to call
61892         res_init, go through the list of registered files.
61893         (main_loop_poll): The inotify descriptors are now stored in the
61894         structures for the traced files.
61895         (main_loop_epoll): Likewise
61896         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
61897         to __nss_disable_nscd.
61898         * nscd/cache.c (prune_cache): There is no single inotify descriptor
61899         for a database anymore.  Check the records for all the registered
61900         files instead.
61901         * nss/Makefile (libnss_files-routines): Add files-init.
61902         (libnss_db-routines): Add db-init.
61903         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
61904         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
61905         * nss/nss_db/db-init.c: New file.
61906         * nss/nss_files/files-init.c: New file.
61907         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
61908         __nss_lookup_function.
61909         (__nss_lookup_function): Call nss_load_library.
61910         (nss_load_all_libraries): New function.
61911         (__nss_disable_nscd): Take parameter with callback function for files
61912         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
61913         used for the cached services.
61914         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
61915         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
61916         options for features to all the files in nscd.
61918         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
61920 2011-07-10  Roland McGrath  <roland@hack.frob.com>
61922         * csu/elf-init.c (__libc_csu_init): Comment typo.
61924 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
61926         * po/pl.po: Update from translation team.
61927         * po/ja.po: Likewise.
61928         * po/ru.po: Likewise.
61929         * po/ko.po: Likewise.
61930         * po/fr.po: Likewise.
61932 2011-07-09  Roland McGrath  <roland@hack.frob.com>
61934         * configure.in (.ctors/.dtors header and trailer check):
61935         Use an empirical test on a built program.
61936         * configure: Regenerated.
61938         * configure.in (-z relro check): Use an empirical test on a built DSO.
61939         Detect, but do not require, on ia64.
61940         * configure: Regenerated.
61942         * configure.in (READELF): Find it with AC_CHECK_TOOL.
61943         Update tests that use readelf to use $READELF instead.
61944         * configure: Regenerated.
61946 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
61948         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
61949         if the result is not used.
61951 2011-07-05  Andreas Jaeger  <aj@suse.de>
61953         [BZ#9696]
61954         * stdlib/tst-strtod.c: Add testcase.
61956 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
61958         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
61959         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
61960         The latter has a higher limit.  Take additional parameter to pass to
61961         the new function.
61962         (__pathconf): Pass file to __statfs_link_max.
61963         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
61964         __statfs_link_max.
61965         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
61966         __statfs_link_max.
61968         [BZ #12868]
61969         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
61970         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
61971         Handle Lustre.
61972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
61973         (__statfs_filesize_max): Likewise.
61974         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
61976 2011-07-05  Andreas Jaeger  <aj@suse.de>
61978         * resolv/res_comp.c (dn_skipname): Remove unused variable.
61980 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
61982         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
61983         `status' variable.
61984         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
61985         Likewise.
61987 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
61989         * Makefile (strop-tests): Add strncat.
61990         * string/test-strncat.c: New file.
61992 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
61994         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
61996 2011-06-21  Andreas Jaeger  <aj@suse.de>
61998         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
61999         Copy rule from iconvdata/Makefile.
62001 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62003         [BZ #12922]
62004         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
62005         but no long options are defined, just return 'W'.
62007 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
62009         [BZ #9696]
62010         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
62012 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
62014         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
62015         netgroups to read.
62016         (innetgr): Likewise.
62018 2011-07-05  Roland McGrath  <roland@hack.frob.com>
62020         * config.make.in (install_root): Default to $(DESTDIR).
62022 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
62024         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
62026 2011-07-02  Roland McGrath  <roland@hack.frob.com>
62028         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
62030         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
62031         containing directory rather than embedding absolute directory names.
62033         * scripts/check-local-headers.sh: Rewritten using awk.
62034         Match by word, not by line.  Print error messages for matches.
62035         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
62037         * Makerules [shlib-lds-flags empty]:
62038         ($(common-objpfx)libc_pic.opts): New target.
62039         ($(common-objpfx)libc_pic.os.clean): New target.
62040         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
62042         * config.make.in (OBJCOPY): New variable.
62043         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
62044         * configure: Regenerated.
62046         * config.make.in (use-default-link): New variable.
62047         * configure.in (use_default_link): Grok --with-default-link to set it.
62048         * configure: Regenerated.
62049         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
62050         (shlib-lds, shlib-lds-flags): Define to empty.
62052         * Makerules (shlib-lds): New variable.
62053         (shlib-lds-flags): New variable.
62054         (build-shlib, build-moduile, build-module-asneeded): Use it.
62055         ($(common-objpfx)libc.so): Use $(shlib-lds).
62056         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
62057         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
62059         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
62060         DT_FLAGS/DT_FLAGS_1 with zero flags.
62062         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
62063         linker script munging.
62065 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
62067         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
62068         as 128-bit value.
62069         * crypt/sha512.c (sha512_process_block): Perform total addition using
62070         128-bit if possible.
62071         (__sha512_finish_ctx): Likewise.
62072         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
62073         as 64-bit value.
62074         * crypt/sha256.c (SWAP64): Define.
62075         (sha256_process_block): Perform total addition using 64-bit if
62076         possible.
62077         (__sha256_finish_ctx): Likewise.
62079 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
62081         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
62082         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62083         * nscd/hstcache.c (cache_addhst): Likewise.
62084         * nscd/grpcache.c (cache_addgr): Likewise.
62085         * nscd/aicache.c (addhstaiX): Likewise
62086         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
62088 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
62090         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
62091         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62092         * nscd/hstcache.c (cache_addhst): Likewise.
62093         * nscd/grpcache.c (cache_addgr): Likewise.
62094         * nscd/aicache.c (addhstaiX): Likewise
62096 2011-07-01  Andreas Schwab  <schwab@redhat.com>
62098         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
62099         domain only when needed.
62101 2011-06-30  Andreas Schwab  <schwab@redhat.com>
62103         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
62104         is always restored.
62106 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
62108         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
62109         are re-adding the entry.
62110         * nscd/servicescache.c (cache_addserv): Likewise.
62112 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
62114         * sysdeps/generic/dl-irel.h: fix protection against multiple
62115         inclusions.
62116         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
62118 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
62120         [BZ #12935]
62121         * malloc/memusage.sh: Fix quoting in message.
62122         * debug/xtrace.sh: Likewise.
62124         * configure.in: Remove support for --experimental-malloc option, make
62125         it the default.
62126         * config.make.in: Likewise.
62127         * malloc/Makefile: Likewise.
62129 2011-06-27  Andreas Schwab  <schwab@redhat.com>
62131         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
62132         two-byte characters.
62134 2011-06-27  Roland McGrath  <roland@hack.frob.com>
62136         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
62137         AC_CACHE_CHECK invocation.
62138         * configure: Regenerated.
62140         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
62142 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
62144         [BZ #12350]
62145         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
62146         bit from old_res_options.
62148         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
62150         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
62151         value type for setfct.
62153 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
62155         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62156         __gettimeofday instead of gettimeofday.
62158 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
62160         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
62162 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
62164         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
62166         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
62167         info.
62169 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62171         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62172         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62173         strcpy-sse2-unaligned strncpy-sse2-unaligned
62174         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
62175         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
62176         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
62177         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
62178         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
62179         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
62180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
62181         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
62182         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
62183         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
62184         (STRCPY): Support SSE2 and SSSE3 versions.
62186 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
62188         [BZ #12874]
62189         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
62190         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
62191         kernels which artificially limit size of requests.
62193 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
62195         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62196         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
62197         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
62198         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
62199         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
62200         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
62201         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
62202         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
62203         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
62204         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
62205         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
62206         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
62207         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
62208         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
62209         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
62210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62211         Enable unaligned load optimization for Intel Core i3, i5 and i7
62212         processors.
62213         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
62214         Define.
62215         (index_Fast_Unaligned_Load): Define.
62216         (HAS_FAST_UNALIGNED_LOAD): Define.
62218 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
62220         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
62222 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62224         [BZ #12907]
62225         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
62226         until it is clear that the information is realy needed.
62227         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
62229 2011-06-22  Andreas Schwab  <schwab@redhat.com>
62231         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
62233 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
62235         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
62236         /sys/devices/system/cpu/online if it is usable.
62238         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
62239         reading the information from the /proc filesystem to once a second.
62241 2011-06-21  Andreas Jaeger  <aj@suse.de>
62243         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
62244         NULL after inclusion of kernel headers.
62246 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
62248         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
62249         calls to internal_setent.
62251         [BZ #12885]
62252         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
62253         addresses using gethostbyname4_r ignore IPv4 addresses.
62255         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
62256         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
62258         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
62260 2011-06-20  David S. Miller  <davem@davemloft.net>
62262         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
62263         inclusions.
62264         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
62266         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
62267         (elf_irel): Use it.
62268         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
62269         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
62270         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
62271         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
62272         * sysdeps/x86_64/dl-irel.h: Likewise.
62274         * elf/dl-runtime.c: Use elf_ifunc_invoke.
62275         * elf/dl-sym.c: Likewise.
62277 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
62279         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
62280         need to dereference resplen2.
62282 2011-06-14  Andreas Schwab  <schwab@redhat.com>
62284         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
62286 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
62288         * Makeconfig: Define vardbdir and inst_vardbdir.
62289         * nss/Makefile: Add rules to install db-Makefile.
62291         * nss/nss_db/db-XXX.c: Cleanup.
62293         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
62294         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
62295         GLIBC_PRIVATE.
62296         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
62297         * nss/makedb.c: Implement -g option to specify that value strings
62298         are generated and should not be added to table iterated over for
62299         get*ent calls.
62300         * nss/nss_db/db-initgroups.c: New file.
62302         * nss/getent.c: Add support for initgroups lookups through getgrouplist
62303         interface.
62305         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
62306         (internal_getgrouplist): Adjust to name change.
62307         Update use_initgroups_entry if this is not the first call.
62308         * nss/databases.def: Add initgroups entry.
62310         * nss/makedb.c (compute_tables): Check result of multiple hash table
62311         sizes to minimize maximum chain length.
62313 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
62315         * Versions.def: Add entry for libnss_db.
62316         * shlib-versions: Likewise.
62317         * nss/Makefile: Add rules to build libnss_db.
62318         * nss/Versions: Add libnss_db information.  Organize libnss_files
62319         entries better.
62320         * nss/db-Makefile: Add gshadow support.  Change rules for the new
62321         makedb progra.  Some minor improvements to generate smaller files.
62322         * nss/nss_db/nss_db.h: Move NSS database header data structures to
62323         here from...
62324         * nss/makedb.c: ...here.
62325         Improve database format to be smaller and require less memory at
62326         runtime.
62327         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
62328         db anymore.
62329         * nss/nss_db/db-netgrp.c: Likewise.
62330         * nss/nss_db/db-open.c: Likewise.
62331         * nss/nss_files/flies-XXX.x: Adjust comments.
62332         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
62333         * nss/nss_files/files-grp.c: Likewise.
62334         * nss/nss_files/files-hosts.c: Likewise.
62335         * nss/nss_files/files-network.c: Likewise.
62336         * nss/nss_files/files-proto.c: Likewise.
62337         * nss/nss_files/files-pwd.c: Likewise.
62338         * nss/nss_files/files-rpc.c: Likewise.
62339         * nss/nss_files/files-service.c: Likewise.
62340         * nss/nss_files/files-sgrp.c: Likewise.
62341         * nss/nss_files/files-spwd.c: Likewise.
62342         * nss/nss_db/db-alias.c: Removed.
62343         * nss/nss_db/dummy-db.h: Removed.
62345 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
62347         * nss/makedb.c: Rewritten to not use database library.
62348         * nss/Makefile: Update to build new makedb program.
62350 2011-06-14  Andreas Jaeger  <aj@suse.de>
62352         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
62353         memset declaration.
62355 2011-06-10  Andreas Schwab  <schwab@redhat.com>
62357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
62358         tmpbuf.
62360 2011-06-10  Roland McGrath  <roland@hack.frob.com>
62362         * Makerules (shlib.lds): Fail if the linker script comes out empty.
62363         * elf/Makefile ($(objpfx)ld.so): Likewise.
62365         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
62366         Don't list ld.so twice in dependencies.
62368         * posix/bug-regex31.c: Include <stdlib.h>.
62370         * nscd/hstcache.c (cache_addhst): Remove unused variable.
62372         * nis/nss_compat/compat-spwd.c
62373         (getspent_next_nss_netgr): Remove unused variable.
62374         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
62376         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
62377         nonmembers" output to use the right array.
62379         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
62381         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
62383         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
62384         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
62385         * catgets/gencat.c (read_input_file): Likewise.
62386         * locale/programs/locarchive.c (enlarge_archive): Likewise.
62388         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
62389         variable definition inside #if's controlling its use.
62391         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
62393         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
62395         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
62397         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
62398         unreachable code.
62400         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
62402         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
62403         * configure: Regenerated.
62405         * Makerules: Revert last change.
62406         * elf/Makefile: Likewise.
62408 2011-06-09  Roland McGrath  <roland@hack.frob.com>
62410         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
62411         * elf/Makefile ($(objpfx)librtld.os): Likewise.
62412         (reloc-link): Likewise.
62414 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
62416         * elf/Makefile: Add rules to build pldd.
62417         * elf/pldd.c: New file.
62418         * elf/pldd-xx.c: New file.
62420 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
62422         * version.h: Update for 2.15 development version.
62424 2011-06-07  David S. Miller  <davem@davemloft.net>
62426         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
62427         ifuncs.
62428         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
62429         elf_machine_lazy_rel): Likewise.
62430         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
62431         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
62432         elf_machine_lazy_rel): Likewise.
62433         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
62434         dl_hwcap via passed in argument.
62435         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
62436         Likewise.
62438 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62440         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
62442 2011-06-06  Roland McGrath  <roland@hack.frob.com>
62444         [BZ #12849]
62445         * manual/fdl-1.1.texi: New file, verbatim from:
62446         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
62447         * manual/lgpl-2.1.texi: New file, verbatim from:
62448         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
62449         * manual/Makefile (licenses): New variable, list those new file names.
62450         (texis): Use it.
62451         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
62453         * manual/fdl.texi: File removed.
62454         * manual/lesser.texi: File removed.
62455         * manual/libc.texinfo (Copying, Documentation License):
62456         Use new @include file names, put @appendix directive before @include.
62458 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
62460         [BZ #12841]
62461         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
62462         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
62463         (mq_open): Add __NTH.
62465 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
62467         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62468         Assume Intel Core i3/i5/i7 processor if AVX is available.
62470 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
62472         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
62473         typo.
62475 2011-05-31  Andreas Schwab  <schwab@redhat.com>
62477         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
62478         memory.  Use alloca_account.  Fix memory leak when retrying.
62480 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
62482         * version.h (RELEASE): Bump for 2.14 release.
62483         * include/features.h (__GLIBC_MINOR__): Bump to 14.
62485         * config.make.in (RANLIB): Remove entry.
62487 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
62489         * po/Makefile (po-sed-cmd): Add ksh to extensions.
62490         (libc.pot): Work around missing support for .ksh extension in xgettext.
62492         [BZ #12684]
62493         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
62494         if both request failed.
62495         (send_dg): In case of server errors clear resplen or *resplen2.
62497         [BZ #12454]
62498         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
62499         when there are multiple maps.
62500         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
62501         (_dl_fini): Remove test here.
62503         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
62505 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
62507         [BZ #12350]
62508         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
62509         bit from old_res_options.
62510         (gaih_inet): Likewise.
62512         [BZ #11099]
62513         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
62514         as signed.
62516         * resolv/res_init.c (res_setoptions): Make the code more compact.
62518         [BZ #11558]
62519         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
62520         set RES_USEVC.
62522         [BZ #11634]
62523         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
62525         * malloc/malloc.h: Mark malloc hook variables as deprecated.
62527         [BZ #11781]
62528         * malloc/malloc.h: Declare malloc hook variables as volatile.
62530         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
62531         in last patch.
62533         [BZ #11799]
62534         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
62535         raise in the comment.
62536         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
62537         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
62538         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
62540 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
62542         [BZ #12811]
62543         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
62544         grow the buffers more if it already has to be sufficient.
62545         (build_wcs_upper_buffer): Likewise.
62546         * posix/regexec.c (check_matching): Likewise.
62547         (clean_state_log_if_needed): Likewise.
62548         (extend_buffers): Don't enlarge buffers beyond size of the input
62549         buffer.
62550         Patches mostly by Emil Wojak <emil@wojak.eu>.
62551         * posix/bug-regex32.c: New file.
62552         * posix/Makefile (tests): Add bug-regex32.
62554         * locale/findlocale.c (_nl_find_locale): Return right away if
62555         _nl_explode_name failed.
62556         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
62558         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
62560         * debug/xtrace.sh: Unify messages.
62561         * malloc/memusage.sh: Likewise.
62563         [BZ #12813]
62564         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
62565         time symbol from vDSO.  Substitute with vsyscall if not available.
62566         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
62567         __vdso_time.
62569         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
62570         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
62571         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
62572         Add sendmmsg and internal_sendmmsg.
62573         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
62574         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
62575         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
62577         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
62578         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
62579         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
62581 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
62583         [BZ #12813]
62584         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
62585         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
62586         available.
62587         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
62588         __vdso_getcpu.
62590         [BZ #12814]
62591         * iconvdata/Makefile (tests): Add bug-iconv9.
62592         * iconvdata/bug-iconv9.c: New file.
62594 2011-05-27  Andreas Schwab  <schwab@redhat.com>
62596         [BZ #12814]
62597         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
62599 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
62601         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62602         (struct user_regs_struct): Change intcs field back to cs.
62604 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
62606         * po/ja.po: Update from translation team.
62608 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
62610         [BZ #12795]
62611         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
62612         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
62614 2011-05-20  Andreas Schwab  <schwab@redhat.com>
62616         * stdlib/longlong.h: Update from GCC.
62618 2011-05-23  Andreas Schwab  <schwab@redhat.com>
62620         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
62621         parameter name.
62622         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
62623         Add parameter name.
62624         (__sysconf): Pass it down.
62626 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
62628         [BZ #12671]
62629         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
62630         some situations.
62631         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
62632         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
62633         add in in __libc_use_alloca calls.  Adjust callers.
62634         (glob): Use malloc in some situations.
62636         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
62637         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
62638         pltexit.
62640 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
62642         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
62643         and CLOCK_BOOTTIME_ALARM.
62645         [BZ #12782]
62646         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
62647         is returned.
62649         * string/_strerror.c (__strerror_r): Print negative errors as signed
62650         numbers.
62652         [BZ #12777]
62653         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
62654         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
62655         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
62657         * configure.in: Fix typo in redirection and correct removal of test
62658         files in two cases.
62660         [BZ #12788]
62661         * locale/setlocale.c (new_composite_name): Fix test to check for
62662         identical name of all categories.
62664         [BZ #12792]
62665         * libio/filedoalloc.c (local_isatty): New function.
62666         (_IO_file_doallocate): Use local_isatty.
62667         * stdio-common/perror.c (perror): In case a new stream is used
62668         forward the stream error.
62669         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
62670         error flag.
62672 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
62674         [BZ #11869]
62675         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
62676         alloca.
62677         * include/alloca.h (extend_alloca_account): Define.
62679         [BZ #11857]
62680         * posix/regex.h: Fix comments with documentation of user-accessible
62681         fields after compilation and describe correct free'ing of pattern
62682         after re_compile_pattern.
62683         Patch by Reuben Thomas <rrt@sc3d.org>.
62685 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
62687         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
62688         and -mno-altivec to prevent the compiler from using Altivec and/or
62689         VSX instructions when the corresponding registers are not available.
62691 2011-05-19  Andreas Schwab  <schwab@redhat.com>
62693         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
62695 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
62697         * libio/freopen.c (freopen): Use __dup2, not dup2.
62698         * libio/freopen64.c (freopen64): Likewise.
62700 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
62702         [BZ #12775]
62703         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
62704         * math/Makefile (tests): Add test-powl.
62705         (CFLAGS-test-powl.c): Define.
62706         * math/test-powl.c: New file.
62708 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
62710         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
62712 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
62714         [BZ #11837]
62715         * iconvdata/gb18030.c: Update to GB18020-2005.
62717 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
62719         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
62720         RE_SYNTAX_POSIX_AWK): Update to match recent development.
62721         Patch by Aharon Robbins <arnold@skeeve.com>.
62723         [BZ #11892]
62724         * stdlib/putenv.c (putenv): Don't always create copy of the variable
62725         on the stack.
62727         [BZ #11895]
62728         * misc/pselect.c (__pselect): Handle timeout value errors hidden
62729         through underflows.
62731         [BZ #12766]
62732         * misc/error.c (error_at_line): Ensure file_name and old_file_name
62733         point to strings before performing equality test for error_one_per_line
62734         mode.
62736         [BZ #11697]
62737         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
62739         [BZ #11820]
62740         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
62741         (struct user_fpregs_struct): Avoid __uint*_t types.
62743         [BZ #6420]
62744         * malloc/mtrace.c (tr_where): Add additional parameter to point to
62745         symbol info.  Use it instead of calling _dl_addr locally.
62746         (lock_and_info): New function.
62747         (tr_freehook): Call lock_and_info and pass symbol info as additional
62748         parameter to tr_where.
62749         (tr_mallochook): Likewise.
62750         (tr_reallochook): Likewise.
62751         (tr_memalignhook): Likewise.
62753         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
62754         used and couldn't be at all thread-safe.
62756 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
62758         * libio/freopen.c (freopen): Don't close old file descriptor
62759         before the new one is opened.  Instead dup the new file descriptor
62760         to the old one after the new stream is created.
62761         * libio/freopen64.c (freopen64): Likewise.
62762         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
62763         * libio/fileops.c (_IO_new_file_close_it): Handle new
62764         _IO_FLAGS2_NOCLOSE flag.
62765         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
62766         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
62767         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
62768         _IO_FLAGS2_NOCLOSE flag.
62769         * include/unistd.h: Add hidden_proto for dup3.
62770         Define __have_dup3.
62771         * io/dup3.c: Define hidden symbol.
62772         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
62774         [BZ #7101]
62775         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
62776         when an incomplete long option is used.
62777         * posix/tst-getopt_long1.c: New file.
62778         * posix/Makefile (tests): Add tst-getopt_long1.
62780         [BZ #10138]
62781         * scripts/config.guess: Update from autoconf-2.68.
62782         * scripts/config.sub: Likewise.
62784         [BZ #10157]
62785         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
62786         tests into ...
62787         (has_cpuclock): ...this.  New function.
62788         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
62789         macro here based on has_cpuclock code.
62791         [BZ #10149]
62792         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62793         First byte (not low byte) is now always NUL.
62794         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
62796         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
62797         Use non-cancelable interfaces.
62799         [BZ #9809]
62800         * locale/iso-639.def: Add entry for Sorani.
62802         [BZ #11901]
62803         * include/stdlib.h: Move include protection to the right place.
62804         Define abort_msg_s.  Declare __abort_msg with it.
62805         * stdlib/abort.c (__abort_msg): Adjust type.
62806         * assert/assert.c (__assert_fail_base): New function.  Majority
62807         of code from __assert_fail.  Allocate memory for __abort_msg with
62808         mmap.
62809         (__assert_fail): Now call __assert_fail_base.
62810         * assert/assert-perr.c: Remove bulk of implementation.  Use
62811         __assert_fail_base.
62812         * include/assert.hL Declare __assert_fail_base.
62813         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
62814         mmap.
62815         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
62817 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
62819         [BZ #11952]
62820         [BZ #12453]
62821         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
62822         until all modules are registered in the DTV.
62823         * elf/Makefile: Add rules to build and run tst-tls19.
62824         * elf/tst-tls19.c: New file.
62825         * elf/tst-tls19mod1.c: New file.
62826         * elf/tst-tls19mod2.c: New file.
62827         * elf/tst-tls19mod3.c: New file.
62828         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
62830         [BZ #12083]
62831         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
62832         correctly.
62834         [BZ #12601]
62835         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
62836         two-byte sequence errors.
62837         * iconvdata/Makefile (tests): Add bug-iconv8.
62838         * iconvdata/bug-iconv8.c: New file.
62840         [BZ #12626]
62841         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
62842         buf2 definition.
62844         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
62846         [BZ #12432]
62847         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
62848         (dummy_getcfa): New function.
62849         (init): Get _Unwind_GetCFA address, use dummy if not found.
62850         (backtrace_helper): In recursion check, also check whether CFA changes.
62851         (__backtrace): Completely initialize arg.
62853         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
62854         storing incomplete byte sequence in state object.  Avoid testing for
62855         guaranteed too small input if we know there is enough data available.
62857 2011-05-11  Andreas Schwab  <schwab@redhat.com>
62859         * Makeconfig (+link-pie): Indent.
62860         * Rules (binaries-pie): Define if $(have-fpie) and
62861         $(build-shared).
62862         (binaries-shared): Also filter out $(binaries-pie).
62863         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
62864         * nscd/Makefile (others-pie): Add nscd.
62865         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
62866         ($(objpfx)nscd): Remove command override.
62867         * login/Makefile (others-pie): Add pt_chown.
62868         ($(objpfx)pt_chown): Remove command override.
62869         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
62870         remove command overrides.
62872 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
62874         * libio/tst_putwc.c: Fix error messages.
62876         [BZ #12724]
62877         * libio/fileops.c (_IO_new_file_close_it): Always flush when
62878         currently writing and seek to current position when not.
62879         * libio/Makefile (tests): Add bug-fclose1.
62880         * libio/bug-fclose1.c: New file.
62882 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
62884         [BZ #12511]
62885         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
62886         don't set DF_1_NODELETE here.
62887         (do_lookup_x): When entering new entry test for copy relocation
62888         and if necessary set DF_1_NODELETE flag.
62889         * elf/tst-unique4.cc: New file.
62890         * elf/tst-unique4.h: New file.
62891         * elf/tst-unique4lib.cc: New file.
62892         * elf/Makefile: Add rules to build and run tst-unique4.
62893         Patch by Piotr Bury <pbury@goahead.com>.
62895 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
62897         [BZ #12052]
62898         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
62900         [BZ #12625]
62901         * misc/mntent_r.c (addmntent): Flush the stream after the output
62903         [BZ #12393]
62904         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
62905         (is_trusted_path_normalize): Skip initial colon.  Append slash
62906         to empty buffer.  Duplicate is_trusted_path code but allow
62907         constructed patch to be prefix.
62908         (is_dst): Allow $ORIGIN followed by /.
62909         (_dl_dst_substitute): Correct clearing of check_for_trusted.
62910         Correct testing of result of is_trusted_path_normalize
62911         (decompose_rpath): Fix warning.
62913 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
62915         [BZ #11257]
62916         * grp/initgroups.c (internal_getgrouplist): When we found the service
62917         list through the initgroups entry in nsswitch.conf do not always
62918         continue on a successful lookup.  Don't always use the
62919         __nss_group_database value if it is set.
62920         * nss/nsswitch.conf (initgroups): Change action for successful db
62921         lookup to continue for compatibility.
62923 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
62925         [BZ #11532]
62926         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
62927         and CP774 modules.
62928         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
62929         and CP774 modules.
62930         * iconvdata/tst-tables.sh: Likewise.
62931         * iconvdata/cp770.c: New file.
62932         * iconvdata/cp771.c: New file.
62933         * iconvdata/cp772.c: New file.
62934         * iconvdata/cp773.c: New file.
62935         * iconvdata/cp774.c: New file.
62936         * iconvdata/testdata/CP770: New file.
62937         * iconvdata/testdata/CP770..UTF8: New file.
62938         * iconvdata/testdata/CP771: New file.
62939         * iconvdata/testdata/CP771..UTF8: New file.
62940         * iconvdata/testdata/CP772: New file.
62941         * iconvdata/testdata/CP772..UTF8: New file.
62942         * iconvdata/testdata/CP773: New file.
62943         * iconvdata/testdata/CP773..UTF8: New file.
62944         * iconvdata/testdata/CP774: New file.
62945         * iconvdata/testdata/CP774..UTF8: New file.
62947         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
62948         END CHARMAP line.
62949         * iconvdata/gen-8bit-gap.sh: Likewise.
62950         * iconvdata/gen-8bit.sh: Likewise.
62952         * locale/iso-639.def: Add ary entry.
62954         [BZ #11258]
62955         * locale/C-translit.h.in: Add U20A1 transliteration.
62957         [BZ #12178]
62958         * locale/iso-639.def: Add wae entry.
62959         Patch by Kevin Bortis <bortis@translate-wae.ch>.
62961         [BZ #12545]
62962         * locale/programs/localedef.c (construct_output_path): Use ssize_t
62963         for n.
62965         [BZ #12711]
62966         * locale/C-translit.h.in: Add entry for U20B9.
62967         Patch by pravin.d.s@gmail.com.
62969 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
62971         [BZ #12713]
62972         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
62973         ENAMETOOLONG use generic getcwd.
62974         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
62975         in rtld.  Use *stat64.
62976         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
62977         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
62978         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
62979         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
62980         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
62981         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
62982         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
62983         __fstatat64 macros.
62984         * include/dirent.h: Add libc_hidden_proto for rewinddir.
62985         * dirent/rewinddir.c: Add libc_hidden_def.
62986         * sysdeps/mach/hurd/rewinddir.c: Likewise.
62987         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
62989         * include/dirent.h (__alloc_dir): Add flags parameter.
62990         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
62991         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
62992         __alloc_dir.
62993         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
62994         from fdopendir if O_CLOEXEC is already set.
62996 2011-03-15  Alan Modra  <amodra@gmail.com>
62998         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
62999         l_tls_firstbyte_offset non-zero.  Save padding offset in
63000         l_tls_firstbyte_offset for later use.
63001         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
63002         freeing static tls block.
63004 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
63006         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
63007         where #ifdef was intended.  The intent is to prevent ARG_MAX from
63008         being defined by the kernel headers.
63010 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
63012         [BZ #12734]
63013         * resolv/resolv.h: Define RES_NOTLDQUERY.
63014         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
63015         no-tld-query and set RES_NOTLDQUERY.
63016         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
63017         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
63018         modern BIND to search name as TLD unless forbidden.
63020 2011-05-07  Petr Baudis  <pasky@suse.cz>
63021             Ulrich Drepper  <drepper@gmail.com>
63023         [BZ #12393]
63024         * elf/dl-load.c (fillin_rpath): Move trusted path check...
63025         (is_trusted_path): ...to here.
63026         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
63027         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
63028         using is_trusted_path_normalize() in setuid scripts.
63030 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
63032         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
63033         __BEGIN/__END_DECLS.
63035 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
63037         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
63038         NSS_STATUS_NOTFOUND if no record was found.
63040 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63042         * sunrpc/Makefile (headers): Add rpc/netdb.h.
63043         (headers-not-in-tirpc): Remove rpc/netdb.h
63044         * resolv/netdb.h: Revert last change.
63046 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
63048         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
63049         circular dependency between libgcc.a and libc.a.
63051 2011-05-05  Andreas Schwab  <schwab@redhat.com>
63053         * resolv/netdb.h: Don't include <rpc/netdb.h>.
63054         * nis/Makefile: Don't install rpcsvc/*.
63055         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
63056         instead of <rpc/types.h>.
63057         (MAXHOSTNAMELEN): Define.
63059 2011-05-03  Andreas Schwab  <schwab@redhat.com>
63061         * elf/ldconfig.c (add_dir): Don't crash on empty path.
63063 2011-04-28  Maciej Babinski  <mbabinski@google.com>
63065         [BZ #12714]
63066         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
63067         gethostbyname4_r when IPv6 results are possible.
63069 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
63071         [BZ #12723]
63072         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
63073         _PC_PIPE_BUF handling.
63075 2011-04-30  Bruno Haible  <bruno@clisp.org>
63077         [BZ #12717]
63078         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
63079         * resolv/netdb.h (getnameinfo): Change type of flags parameter
63080         to 'int'.
63081         * inet/getnameinfo.c (getnameinfo): Likewise.
63083 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
63085         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
63086         to groups setting in database lookup.
63087         * nss/nsswitch.conf: Add initgroups entry.
63089 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
63091         [BZ #12685]
63092         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
63093         mode string.
63094         Patch by Eric Blake <eblake@redhat.com>.
63096 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
63098         * sunrpc/Makefile (need-export-routines): Add svc_run.
63099         (routines): Remove svc_run.
63100         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
63101         * sunrpc/clnt_perr.c (clnt_perrno): Export.
63102         * sunrpc/svc_run.c (svc_run): Likewise.
63103         * sunrpc/svc_udp.c (svcudp_create): Likewise.
63105 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
63107         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
63108         problem in reallocation in last patch.
63110 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
63112         * sunrpc/Makefile: Move inclusion of Rules.
63114 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63116         * nss/nss_files/files-initgroups.c: New file.
63117         * nss/Makefile (libnss_files-routines): Add files-initgroups.
63118         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
63119         _nss_files_initgroups_dyn.
63121 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
63123         * elf/elf.h (R_ARM_IRELATIVE): Define.
63125 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
63127         * po/ru.po: Update from translation team.
63129 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63131         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
63132         dependencies.
63134 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
63136         [BZ #12653]
63137         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
63138         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
63139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
63140         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
63141         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
63143 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
63145         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
63146         differing bytes.
63147         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63148         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63149         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63151 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
63153         [BZ #12420]
63154         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
63155         storing it.
63156         * stdlib/bug-getcontext.c: New file.
63157         * stdlib/Makefile: Add rules to build and run bug-getcontext.
63159 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63161         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
63162         instructions into .machine "z9-109".
63163         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
63164         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
63166 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63168         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
63169         between environment variables and auxiliary vector.
63171 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
63173         * Makefile: Add rules to build linkobj/libc.so.
63174         * include/libc-symbols.h: Define libc_hidden_nolink.
63175         * include/rpc/auth.h: Mark functions which are to be hidden.
63176         * include/rpc/auth_des.h: Likewise.
63177         * include/rpc/auth_unix.h: Likewise.
63178         * include/rpc/clnt.h: Likewise.
63179         * include/rpc/des_crypt.h: Likewise.
63180         * include/rpc/key_prot.h: Likewise.
63181         * include/rpc/pmap_clnt.h: Likewise.
63182         * include/rpc/pmap_prot.h: Likewise.
63183         * include/rpc/pmap_rmt.h: Likewise.
63184         * include/rpc/rpc_msg.h: Likewise.
63185         * include/rpc/svc.h: Likewise.
63186         * include/rpc/svc_auth.h: Likewise.
63187         * include/rpc/xdr.h: Likewise.
63188         * nis/Makefile: Link all DSOs against linkobj/libc.so.
63189         * nss/Makefile: Likewise.
63190         * sunrpc/Makefile: Don't install headers.  Build library with normal
63191         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
63192         * sunrpc/auth_des.c: Hide exported symbols by default, export some
63193         for the compat linking library.  Remove use of INTDEF/INTUSE.
63194         * sunrpc/auth_none.c: Likewise.
63195         * sunrpc/auth_unix.c: Likewise.
63196         * sunrpc/authdes_prot.c: Likewise.
63197         * sunrpc/authuxprot.c: Likewise.
63198         * sunrpc/clnt_gen.c: Likewise.
63199         * sunrpc/clnt_perr.c: Likewise.
63200         * sunrpc/clnt_raw.c: Likewise.
63201         * sunrpc/clnt_simp.c: Likewise.
63202         * sunrpc/clnt_tcp.c: Likewise.
63203         * sunrpc/clnt_udp.c: Likewise.
63204         * sunrpc/clnt_unix.c: Likewise.
63205         * sunrpc/des_crypt.c: Likewise.
63206         * sunrpc/des_soft.c: Likewise.
63207         * sunrpc/get_myaddr.c: Likewise.
63208         * sunrpc/key_call.c: Likewise.
63209         * sunrpc/key_prot.c: Likewise.
63210         * sunrpc/netname.c: Likewise.
63211         * sunrpc/pm_getmaps.c: Likewise.
63212         * sunrpc/pm_getport.c: Likewise.
63213         * sunrpc/pmap_clnt.c: Likewise.
63214         * sunrpc/pmap_prot.c: Likewise.
63215         * sunrpc/pmap_prot2.c: Likewise.
63216         * sunrpc/pmap_rmt.c: Likewise.
63217         * sunrpc/publickey.c: Likewise.
63218         * sunrpc/rpc_cmsg.c: Likewise.
63219         * sunrpc/rpc_common.c: Likewise.
63220         * sunrpc/rpc_dtable.c: Likewise.
63221         * sunrpc/rpc_prot.c: Likewise.
63222         * sunrpc/rpc_thread.c: Likewise.
63223         * sunrpc/rtime.c: Likewise.
63224         * sunrpc/svc.c: Likewise.
63225         * sunrpc/svc_auth.c: Likewise.
63226         * sunrpc/svc_authux.c: Likewise.
63227         * sunrpc/svc_raw.c: Likewise.
63228         * sunrpc/svc_run.c: Likewise.
63229         * sunrpc/svc_simple.c: Likewise.
63230         * sunrpc/svc_tcp.c: Likewise.
63231         * sunrpc/svc_udp.c: Likewise.
63232         * sunrpc/svc_unix.c: Likewise.
63233         * sunrpc/svcauth_des.c: Likewise.
63234         * sunrpc/xcrypt.c: Likewise.
63235         * sunrpc/xdr.c: Likewise.
63236         * sunrpc/xdr_array.c: Likewise.
63237         * sunrpc/xdr_float.c: Likewise.
63238         * sunrpc/xdr_intXX_t.c: Likewise.
63239         * sunrpc/xdr_mem.c: Likewise.
63240         * sunrpc/xdr_rec.c: Likewise.
63241         * sunrpc/xdr_ref.c: Likewise.
63242         * sunrpc/xdr_sizeof.c: Likewise.
63243         * sunrpc/xdr_stdio.c: Likewise.
63245 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
63247         [BZ #12650]
63248         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
63249         * sysdeps/ia64/dl-tls.h: Likewise.
63250         * sysdeps/powerpc/dl-tls.h: Likewise.
63251         * sysdeps/s390/dl-tls.h: Likewise.
63252         * sysdeps/sh/dl-tls.h: Likewise.
63253         * sysdeps/sparc/dl-tls.h: Likewise.
63254         * sysdeps/x86_64/dl-tls.h: Likewise.
63255         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
63257 2011-03-14  Andreas Schwab  <schwab@redhat.com>
63259         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
63260         rpath element also skip the following colon.
63261         (expand_dynamic_string_token): Add is_path parameter and pass
63262         down to DL_DST_REQUIRED and _dl_dst_substitute.
63263         (decompose_rpath): Call expand_dynamic_string_token with
63264         non-zero is_path.  Ignore empty rpaths.
63265         (_dl_map_object_from_fd): Call expand_dynamic_string_token
63266         with zero is_path.
63268 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
63270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
63271         Make cancelable.
63273 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
63275         [BZ #12655]
63276         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
63277         Patch by Filipe David Manana <fdmanana@apache.org>.
63279 2011-04-07  Andreas Schwab  <schwab@redhat.com>
63281         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
63282         Maintain aligned stack.
63283         (CHECK_RSP): Remove unused macro.
63285 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
63287         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
63288         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
63290 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
63292         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
63294         * include/features.h: Mention __USE_XOPEN2K8 in comment.
63296 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
63298         [BZ #12518]
63299         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
63300         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
63301         * sysdeps/x86_64/memmove.c: New file.
63302         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
63303         (memcpy): Renamed to ...
63304         (__new_memcpy): This.
63305         (memcpy): Provide GLIBC_2_14 memcpy.
63306         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
63307         (memcpy): Provide GLIBC_2_2_5 memcpy.
63309 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63311         [BZ #12631]
63312         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
63314 2011-03-30  Andreas Schwab  <schwab@redhat.com>
63316         * misc/syncfs.c: New file.
63317         * misc/Makefile (routines): Add syncfs.
63318         * posix/unistd.h: Declare syncfs.
63319         * sysdeps/unix/syscalls.list: Add syncfs.
63321 2011-04-01  Andreas Schwab  <schwab@redhat.com>
63323         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
63324         open_by_handle_at.
63325         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
63326         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63327         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63328         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63329         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
63331         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63333 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63335         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
63336         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63337         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
63338         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63339         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63340         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63341         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63343         * io/Makefile: Compile fallocate.c, fallocate64.c, and
63344         sync_file_range.c with -fexceptions.
63345         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
63346         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
63347         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
63348         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
63349         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
63350         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
63351         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
63352         sync_file_range as cancellation point
63353         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
63354         now a wrapper around __call_sync_file_range with cancellation handling.
63355         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
63356         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
63357         function name to __call_sync_file_range.
63358         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
63359         Add call_sync_file_range.
63361 2011-04-01  Andreas Schwab  <schwab@redhat.com>
63363         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63364         bits/timex.h.
63366 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
63368         * iconv/iconv.h: Fix typo in comment.
63369         * io/fcntl.h: Likewise.
63370         * libio/stdio.h: Likewise.
63371         * posix/spawn.h: Likewise.
63372         * posix/unistd.h: Likewise.
63373         * stdlib/stdlib.h: Likewise.
63374         * time/time.h: Likewise.
63375         * wcsmbs/wchar.h: Likewise.
63377         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
63378         open_by_handle): Add.
63379         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
63380         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
63381         Augment a few comments.
63382         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
63383         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
63384         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
63385         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
63386         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
63387         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
63388         open_by_handle.
63390         * io/fcntl.h (AT_EMPTY_PATH): Define.
63392 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
63394         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
63395         * sysdeps/unix/sysv/linux/bits/time.h: New file.
63396         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
63397         to...
63398         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
63399         * Versions.def: Add GLIBC_2.14.
63400         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
63401         Export.
63403 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
63405         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
63406         round counter.
63407         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63409 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
63411         [BZ #12597]
63412         * string/test-strncmp.c (do_page_test): New function.
63413         (check2): Likewise.
63414         (test_main): Call check2.
63415         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
63417 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
63419         [BZ #12587]
63420         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
63421         Handle cache information in CPU leaf 4.
63422         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
63424 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
63426         [BZ #12583]
63427         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
63428         character representation.
63429         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
63431 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
63433         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
63434         END(__isnan) to END(__isnanf) to match function entry point/label
63435         EALIGN(__isnanf,...).
63437 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
63439         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
63441 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
63443         [BZ #12510]
63444         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
63445         copy from the symbol referenced in the relocation to initialize the
63446         used variable.
63447         Patch by Piotr Bury <pbury@goahead.com>.
63448         * elf/Makefile: Add rules to build and tst-unique3.
63449         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
63450         * elf/tst-unique3.cc: New file.
63451         * elf/tst-unique3.h: New file.
63452         * elf/tst-unique3lib.cc: New file.
63453         * elf/tst-unique3lib2.cc: New file.
63455         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
63457 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
63459         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
63460         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
63461         to _start.
63463 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
63465         * elf/dl-load.c (_dl_map_object): If we are looking for the first
63466         to-be-loaded object along a path to loader is ld.so.
63468 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
63469             Ulrich Drepper  <drepper@gmail.com>
63471         * sysdeps/x86_64/memset.S: After aligning destination, code
63472         branches to different locations depending on the value of
63473         misalignment, when multiarch is enabled. Fix this.
63475 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
63477         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
63478         Set _x86_64_preferred_memory_instruction for AMD processsors.
63479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63480         Set bit_Prefer_SSE_for_memop for AMD processors.
63482 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
63484         * libio/fmemopen.c (fmemopen): Optimize a bit.
63486 2011-03-03  Andreas Schwab  <schwab@redhat.com>
63488         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
63490 2011-03-03  Roland McGrath  <roland@redhat.com>
63492         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
63494 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
63496         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
63497         __bzero_ultra1 instead of __memset_ultra1.
63499 2011-02-23  Andreas Schwab  <schwab@redhat.com>
63500             Ulrich Drepper  <drepper@gmail.com>
63502         [BZ #12509]
63503         * include/link.h (struct link_map): Add l_orig_initfini.
63504         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
63505         returning unsuccessfully.
63506         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
63507         close of a file loaded at startup, restore the original l_initfini
63508         list.
63509         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
63510         list, store the pointer.
63511         * elf/Makefile ($(objpfx)noload-mem): New rule.
63512         (noload-ENV): Define.
63513         (tests): Add $(objpfx)noload-mem.
63514         * elf/noload.c: Include <memcheck.h>.
63515         (main): Call mtrace.  Close all opened handles.
63517 2011-02-17  Andreas Schwab  <schwab@redhat.com>
63519         [BZ #12454]
63520         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
63521         dependencies are missing.
63523 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63525         Fix __if_freereq crash: Unlike the generic version which uses free,
63526         Hurd needs munmap.
63527         * sysdeps/mach/hurd/ifreq.h: New file.
63529 2011-01-27  Petr Baudis  <pasky@suse.cz>
63530             Ulrich Drepper  <drepper@gmail.com>
63532         [BZ 12445]#
63533         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
63534         to extend_alloca().
63535         * stdio-common/bug23.c: New file.
63536         * stdio-common/Makefile (tests): Add bug23.
63538 2010-09-28  Andreas Schwab  <schwab@redhat.com>
63539             Ulrich Drepper  <drepper@gmail.com>
63541         [BZ #12489]
63542         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
63543         before performing relro protection.  At old place add assertion
63544         to make sure nothing changed.
63546 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
63547             Glauber de Oliveira Costa  <glommer@gmail.com>
63549         * elf/elf.h: Add new ARM TLS relocs.
63551 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
63553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63554         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
63555         cast from r3.
63556         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
63557         'tests' variable.
63558         * sysdeps/wordsize-64/tst-writev.c: New file.
63560 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
63562         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
63563         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
63564         insns in _dl_start to prevent a TOC reference before relocs are
63565         resolved.
63567 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
63569         [BZ #12469]
63570         * Makeconfig: Remove RANLIB definition.
63571         * Makerules: Don't use RANLIB.
63572         * aclocal.m4: Remove ranlib test.
63573         * configure.in: No need to check for ranlib.
63574         * elf/rtld-Rules: Don't use RANLIB.
63576 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63578         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
63579         protection macro.
63580         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
63581         inclusion protection macro.
63583         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
63584         SIGRTMIN and SIGRTMAX and print information in that case only when
63585         SIGRTMIN is defined.
63587 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
63589         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
63590         arginfo fn returning -1.
63592         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
63593         and thousands string is zero terminated.
63595 2011-02-03  Andreas Schwab  <schwab@redhat.com>
63597         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
63598         sysdeps/unix/sysv/linux/bits/socket.h.
63600 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63602         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
63603         (__CPU_COUNT): Remove old macros.
63604         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
63605         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
63606         (__CPU_ALLOC, __CPU_FREE): Add macros.
63607         (__sched_cpualloc, __sched_cpufree): Add declarations.
63609 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
63611         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
63612         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
63613         * nscd/aicache.c (addhstaiX): Return timeout of added value.
63614         (readdhstai): Return value of addhstaiX call.
63615         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
63616         (addgrbyX): Return value returned by cache_addgr.
63617         (readdgrbyname): Return value returned by addgrbyX.
63618         (readdgrbygid): Likewise.
63619         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
63620         (addpwbyX): Return value returned by cache_addpw.
63621         (readdpwbyname): Return value returned by addhstbyX.
63622         (readdpwbyuid): Likewise.
63623         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
63624         (addservbyX): Return value returned by cache_addserv.
63625         (readdservbyname): Return value returned by addservbyX:
63626         (readdservbyport): Likewise.
63627         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
63628         (addhstbyX): Return value returned by cache_addhst.
63629         (readdhstbyname): Return value returned by addhstbyX.
63630         (readdhstbyaddr): Likewise.
63631         (readdhstbynamev6): Likewise.
63632         (readdhstbyaddrv6): Likewise.
63633         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
63634         (readdinitgroups): Return value returned by addinitgroupsX.
63635         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
63636         (prune_cache): Keep track of timeout value of re-added entries.
63637         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
63638         * nscd/nscd.h: Adjust prototypes of readd* functions.
63640 2011-02-04  Roland McGrath  <roland@redhat.com>
63642         * nis/nis_server.c (nis_servstate): Use the right name for 0.
63643         (nis_stats): Likewise.
63644         * nis/nis_modify.c (nis_modify): Likewise.
63645         * nis/nis_remove.c (nis_remove): Likewise.
63646         * nis/nis_add.c (nis_add): Likewise.
63648         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
63650         * posix/fnmatch_loop.c: Add some consts.
63652         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
63654 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
63656         [BZ #12460]
63657         * config.make.in (config-cflags-novzeroupper): Define.
63658         * configure.in: Substitute libc_cv_cc_novzeroupper.
63659         * elf/Makefile (AVX-CFLAGS): Define.
63660         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
63661         (CFLAGS-tst-auditmod4a.c): Likewise.
63662         (CFLAGS-tst-auditmod4b.c): Likewise.
63663         (CFLAGS-tst-auditmod6b.c): Likewise.
63664         (CFLAGS-tst-auditmod6c.c): Likewise.
63665         (CFLAGS-tst-auditmod7b.c): Likewise.
63666         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
63668 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
63670         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
63671         function to the callback.
63672         Patch partly by Jiri Olsa <jolsa@redhat.com>.
63674 2011-02-02  Andreas Schwab  <schwab@redhat.com>
63676         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
63677         of errno.
63679 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
63681         [BZ #11724]
63682         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
63683         of constructors.
63684         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
63685         of destructors.
63686         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
63688         [BZ #11724]
63689         * elf/Makefile: Add rules to build and run new test.
63690         * elf/tst-initorder.c: New file.
63691         * elf/tst-initorder.exp: New file.
63692         * elf/tst-initordera1.c: New file.
63693         * elf/tst-initordera2.c: New file.
63694         * elf/tst-initordera3.c: New file.
63695         * elf/tst-initordera4.c: New file.
63696         * elf/tst-initorderb1.c: New file.
63697         * elf/tst-initorderb2.c: New file.
63698         * elf/tst-order-a1.c: New file.
63699         * elf/tst-order-a2.c: New file.
63700         * elf/tst-order-a3.c: New file.
63701         * elf/tst-order-a4.c: New file.
63702         * elf/tst-order-b1.c: New file.
63703         * elf/tst-order-b2.c: New file.
63704         * elf/tst-order-main.c: New file.
63705         New test case by George Gensure <werkt0@gmail.com>.
63707 2010-10-01  Andreas Schwab  <schwab@redhat.com>
63709         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63710         decoding ACE if AI_CANONIDN.
63712 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
63714         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
63716 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
63718         * version.h (RELEASE): Bump for 2.13 release.
63719         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
63721         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
63723         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
63724         MADV_NOHUGEPAGE.
63725         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
63726         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
63727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
63728         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
63729         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
63730         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63732         * posix/getconf.c: Update copyright year.
63733         * catgets/gencat.c: Likewise.
63734         * csu/version.c: Likewise.
63735         * debug/catchsegv.sh: Likewise.
63736         * debug/xtrace.sh: Likewise.
63737         * elf/ldconfig.c: Likewise.
63738         * elf/ldd.bash.in: Likewise.
63739         * elf/sprof.c (print_version): Likewise.
63740         * iconv/iconv_prog.c: Likewise.
63741         * iconv/iconvconfig.c: Likewise.
63742         * locale/programs/locale.c: Likewise.
63743         * locale/programs/localedef.c: Likewise.
63744         * malloc/memusage.sh: Likewise.
63745         * malloc/mtrace.pl: Likewise.
63746         * nscd/nscd.c (print_version): Likewise.
63747         * nss/getent.c: Likewise.
63749         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
63750         PF_CAIF, and PF_ALG.
63751         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
63753 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
63755         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
63756         (modules-names): Use them.
63757         (ifunc-test-modules, ifunc-pie-tests): Define.
63758         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
63759         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
63760         (test-extras): Likewise.
63761         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
63762         $(compile-command.c).
63763         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
63764         (all-built-dso): Define.
63765         (check-textrel.out, check-execstack.out): Depend on it.
63767         * configure.in: Don't override --enable-multi-arch.
63769 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
63771         [BZ #6812]
63772         * nscd/hstcache.c (tryagain): Define.
63773         (cache_addhst): Return tryagain not notfound for temporary errors.
63774         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
63775         failed.
63777 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
63779         [BZ #10563]
63780         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
63781         to make the syscall.
63782         * sysdeps/unix/sysv/linux/setgroups.c: New file.
63784         [BZ #12378]
63785         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
63786         and fall back to matching as normal character if the string ends before
63787         the matching ']' is found.  This is what POSIX requires.
63788         * posix/testfnm.c: Adjust test result.
63789         * posix/globtest.sh: Adjust test result.  Add new test.
63790         * posix/tst-fnmatch.input: Likewise.
63791         * posix/tst-fnmatch2.c: Add new test.
63793 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
63795         * elf/Makefile (check-execstack): Revert last change.  Depend on
63796         check-execstack.h.
63797         (check-execstack.h): New target.
63798         (generated): Add check-execstack.h.
63799         * elf/check-execstack.c: Include "check-execstack.h".
63800         (main): Revert last change.
63801         (handle_file): Return zero if GNU_STACK is absent and
63802         DEFAULT_STACK_PERMS doesn't include PF_X.
63804 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
63806         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
63807         in child fails because the descriptor is already closed.
63808         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
63809         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
63810         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
63812         [BZ #12397]
63813         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
63814         syscall.
63816         [BZ #10484]
63817         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
63818         temporary buffer used to handle multi lookups locally.
63819         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
63821 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63823         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
63824         loader is ld.so.
63826 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
63828         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
63829         alignment for SSE2.
63831 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
63833         [BZ #12394]
63834         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
63835         characters.  When rounding increased number of integer digits recompute
63836         number of groups.
63837         * stdio-common/tst-grouping.c: New file.
63838         * stdio-common/Makefile: Add rules to build and run tst-grouping.
63840 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
63842         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
63843         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
63845         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
63846         void.
63847         * bits/select.h: Likewise.
63849 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
63851         * po/ja.po: Update from translation team.
63853 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
63855         [BZ #11155]
63856         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
63857         implementation just like for lxstat, fxstatat, et al.
63859 2010-12-27  Jim Meyering  <meyering@redhat.com>
63861         [BZ #12348]
63862         * posix/regexec.c (build_trtable): Return failure indication upon
63863         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
63865 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
63867         [BZ #12201]
63868         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
63869         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
63870         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
63871         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
63873         [BZ #12207]
63874         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
63876         [BZ #12204]
63877         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
63878         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
63880 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
63882         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
63883         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
63884         script has SORT_BY_INIT_PRIORITY.
63885         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
63886         NO_CTORS_DTORS_SECTIONS is defined.
63887         * elf/soinit.c: Likewise.
63888         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
63889         NO_CTORS_DTORS_SECTIONS is defined.
63890         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
63891         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
63892         * sysdeps/sh/init-first.c: Likewise.
63893         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
63895 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
63897         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
63898         always use the slow path.
63900 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
63902         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
63903         similar rule which adds the sysdep directories to the header search in
63904         order to pick up the correct platform stackinfo.h.
63905         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
63906         perform test if it is, otherwise return successfully without testing.
63907         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
63908         DEFAULT_STACK_PERMS define in stackinfo.h.
63909         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
63910         defined in stackinfo.h.
63911         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
63912         DEFAULT_STACK_PERMS defined in stackinfo.h.
63913         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
63914         * sysdeps/ia64/stackinfo.h: Likewise.
63915         * sysdeps/s390/stackinfo.h: Likewise.
63916         * sysdeps/sh/stackinfo.h: Likewise.
63917         * sysdeps/sparc/stackinfo.h: Likewise.
63918         * sysdeps/x86_64/stackinfo.h: Likewise.
63919         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
63920         PF_X for powerpc64.  Retain PF_X for powerpc32.
63922 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
63924         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
63925         accurately.
63926         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
63927         GETDENTS_64BIT_ALIGNED.
63929 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
63931         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
63933 2010-12-10  Andreas Schwab  <schwab@redhat.com>
63935         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
63936         _GNU_SOURCE.
63938         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
63939         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
63940         Remove __restrict.
63941         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
63942         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
63944 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
63946         [BZ #11655]
63947         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
63948         are initialized.
63950 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
63952         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
63954 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
63956         * po/it.po: Update from translation team.
63958 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
63960         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
63961         unused codes.
63963 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
63965         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
63967 2010-11-24  Andreas Schwab  <schwab@redhat.com>
63969         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
63970         specially.
63971         (gaih_getanswer_slice): Likewise.
63973 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
63975         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
63977 2010-05-31  Petr Baudis  <pasky@suse.cz>
63979         [BZ #11149]
63980         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
63981         silently even in the chroot mode.
63983 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
63985         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
63986         last patch a bit.  Pretty printing
63988 2010-05-31  Petr Baudis <pasky@suse.cz>
63990         [BZ #10085]
63991         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
63992         initialization of skip_initgroups_dyn.
63994 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
63996         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
63997         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
63999 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
64001         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
64003 2010-11-11  Andreas Schwab  <schwab@redhat.com>
64005         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
64006         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
64007         (tst-fnmatch-ENV): Set MALLOC_TRACE.
64008         ($(objpfx)tst-fnmatch-mem): New rule.
64009         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
64010         * posix/tst-fnmatch.c (main): Call mtrace.
64012 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
64014         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64015         Support Intel processor model 6 and model 0x2c.
64017 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
64019         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
64020           signed comparison.
64022 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
64024         [BZ #12205]
64025         * string/test-strncasecmp.c (check_result): New function.
64026         (do_one_test): Use it.
64027         (check1): New function.
64028         (test_main): Use it.
64029         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
64030         Support strcasecmp and strncasecmp.
64032 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
64034         [BZ #12194]
64035         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
64036         * sysdeps/x86_64/bits/byteswap.h: Likewise.
64038 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
64040         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
64041         IFUNC support.
64042         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64043         memset-x86-64.
64044         * sysdeps/x86_64/multiarch/bzero.S: New file.
64045         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
64046         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
64047         * sysdeps/x86_64/multiarch/memset.S: New file.
64048         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
64049         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64050         Set bit_Prefer_SSE_for_memop for Intel processors.
64051         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
64052         Define.
64053         (index_Prefer_SSE_for_memop): Define.
64054         (HAS_PREFER_SSE_FOR_MEMOP): Define.
64056 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
64058         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
64059         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
64061 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
64063         [BZ #12191]
64064         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64065         (__x86_64_raw_data_cache_size_half): Likewise.
64066         (__x86_64_raw_shared_cache_size): Likewise.
64067         (__x86_64_raw_shared_cache_size_half): Likewise.
64069         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
64070         (__x86_64_raw_data_cache_size_half): Likewise.
64071         (__x86_64_raw_shared_cache_size): Likewise.
64072         (__x86_64_raw_shared_cache_size_half): Likewise.
64073         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
64074         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
64075         and __x86_64_raw_shared_cache_size_half.  Round
64076         __x86_64_data_cache_size_half, __x86_64_data_cache_size
64077         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
64078         to multiple of 256 bytes.
64080 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
64082         [BZ #12167]
64083         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
64084         of inacessible symlinks.  Verify result of symlink before returning it.
64085         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
64086         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
64088 2010-10-28  Erich Ritz  <erichritz@gmail.com>
64090         * math/math.h (isinf): Fix typo in comment.
64092 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
64094         * po/da.po: Update from translation team.
64096 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
64098         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
64099         is added to the list.
64101 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64102             Ulrich Drepper  <drepper@gmail.com>
64104         * elf/dl-object.c (_dl_new_object): Don't append the new object to
64105         the global list here.  Move code to...
64106         (_dl_add_to_namespace_list): ...here.  New function.
64107         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
64108         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
64109         * elf/dl-load.c (lose): Don't remove the element from the list.
64110         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
64111         (_dl_map_object): Likewise.
64113 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
64115         [BZ #12159]
64116         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
64117         into all bytes of SSE register.
64118         Patch by Richard Li <richardpku@gmail.com>.
64120 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
64122         [BZ #12140]
64123         * malloc/malloc.c (_int_free): Fill correct number of bytes when
64124         perturbing.
64126 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
64128         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
64129         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
64130         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
64131         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
64132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
64133         submachine.
64134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
64136 2010-10-22  Andreas Schwab  <schwab@redhat.com>
64138         * include/dlfcn.h (__RTLD_SECURE): Define.
64139         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
64140         mode & __RTLD_SECURE instead.
64141         (open_path): Rename preloaded parameter to secure.
64142         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
64143         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
64144         * elf/dl-deps.c (openaux): Likewise.
64145         * elf/rtld.c (struct map_args): Remove is_preloaded.
64146         (map_doit): Don't use it.
64147         (dl_main): Likewise.
64148         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
64149         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
64151 2010-09-09  Andreas Schwab  <schwab@redhat.com>
64153         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
64154         (sysd-rules-targets): Remove duplicates.
64155         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
64156         rtld-%.$o dependency.
64158 2010-10-18  Andreas Schwab  <schwab@redhat.com>
64160         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
64161         _dl_map_object do it.
64163 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
64165         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
64166         fast fma builtins, define the macros in the C99 standard.
64167         (FP_FAST_FMAF): Likewise.
64168         (FP_FAST_FMAL): Likewise.
64169         * sysdeps/x86_64/bits/mathdef.h: Likewise.
64171         * bits/mathdef.h: Update copyright year.
64172         * sysdeps/powerpc/bits/mathdef.h: Likewise.
64174 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
64176         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
64177         builtins, define the macros in the C99 standard.
64178         (FP_FAST_FMAF): Likewise.
64179         (FP_FAST_FMAL): Likewise.
64180         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
64181         multiply/add.
64182         (FP_FAST_FMAF): Likewise.
64184 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
64186         [BZ #3268]
64187         * math/libm-test.inc (fma_test): Some new testcases.
64188         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
64189         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
64190         y and infinite z.  Do multiplication by C already in long double.
64191         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
64192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
64193         y and infinite z.  Do bitwise or of inexact bit into u.d.
64194         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
64195         * sysdeps/i386/fpu/s_fmaf.S: Removed.
64196         * sysdeps/i386/fpu/s_fma.S: Removed.
64197         * sysdeps/i386/fpu/s_fmal.S: Removed.
64199 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
64201         [BZ #3268]
64202         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
64203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
64204         computation is not scheduled after fetestexcept.  Fix value
64205         of minimum denormal long double.
64207 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
64209         [BZ #3268]
64210         * math/libm-test.inc (fma_test): Add some more tests.
64211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
64212         correctly.
64214 2010-10-15  Andreas Schwab  <schwab@redhat.com>
64216         * scripts/data/localplt-s390-linux-gnu.data: New file.
64217         * scripts/data/localplt-s390x-linux-gnu.data: New file.
64219 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
64221         [BZ #3268]
64222         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
64223         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
64224         instead of dbl-64.
64225         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
64226         inlines.
64227         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
64228         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
64229         if one of x and y is very large and the other is subnormal.
64230         * sysdeps/s390/fpu/s_fmaf.c: New file.
64231         * sysdeps/s390/fpu/s_fma.c: New file.
64232         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
64233         * sysdeps/powerpc/fpu/s_fma.S: New file.
64234         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
64235         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
64236         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
64238 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
64240         [BZ #3268]
64241         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
64242         fma tests.
64243         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
64244         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
64245         * sysdeps/i386/i686/multiarch/s_fma.c: Include
64246         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
64247         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
64248         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
64249         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
64251 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
64253         [BZ #12078]
64254         * posix/regcomp.c (parse_branch): One more memory leak plugged.
64255         * posix/bug-regex31.input: Add test case.
64257 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
64259         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
64260         * posix/bug-regex31.input: New file.
64262         [BZ #12078]
64263         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
64264         (parse_sub_exp): Fix last change, use postorder.
64266         * posix/bug-regex31.c: New file.
64267         * posix/Makefile: Add rules to build and run bug-regex31.
64269         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
64271         [BZ #12078]
64272         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
64274         [BZ #12108]
64275         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
64276         to have entries in sys_siglist.
64278         [BZ #12093]
64279         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
64280         be NULL.
64282 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
64284         [BZ #3268]
64285         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
64286         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
64287         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
64288         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
64289         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
64290         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
64291         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
64292         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
64293         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
64294         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
64295         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
64296         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
64297         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
64298         * math/ftestexcept.c (fetestexcept): Likewise.
64299         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
64300         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
64301         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
64302         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
64303         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
64304         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
64305         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
64307 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
64309         [BZ #12107]
64310         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
64311         newline.
64313 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
64315         * string/bug-strstr1.c: New file.
64316         * string/Makefile: Add rules to build and run bug-strstr1.
64318 2010-10-05  Eric Blake  <eblake@redhat.com>
64320         [BZ #12092]
64321         * string/str-two-way.h (two_way_long_needle): Always clear memory
64322         when skipping input due to the shift table.
64324 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
64326         [BZ #12005]
64327         * malloc/mcheck.c: Handle large requests.
64329         [BZ #12077]
64330         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
64331         for strncmp and strncasecmp.
64332         * string/stratcliff.c: Add tests for strcmp and strncmp.
64333         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
64335 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
64337         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
64338         __set_fpscr.
64340 2010-09-30  Andreas Jaeger  <aj@suse.de>
64342         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
64343         (CGROUP_SUPER_MAGIC): Define.
64344         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64345         Handle btrfs and cgroup file systems.
64346         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
64347         Likewise.
64349 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
64351         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
64352         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
64354 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64356         [BZ #12067]
64357         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
64358         trying to locate the ELF header.
64360 2010-09-27  Andreas Schwab  <schwab@redhat.com>
64362         [BZ #11611]
64363         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
64364         Mask out sign-bit copies when constructing f_fsid.
64366 2010-09-24  Petr Baudis <pasky@suse.cz>
64368         * debug/stack_chk_fail_local.c: Add missing licence exception.
64369         * debug/warning-nop.c: Likewise.
64371 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
64373         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
64374         implementing getdents64 using getdents syscall, set d_type if
64375         __ASSUME_GETDENTS32_D_TYPE.
64377 2010-09-16  Andreas Schwab  <schwab@redhat.com>
64379         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
64380         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
64382 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
64384         [BZ #12037]
64385         * posix/unistd.h: Undo change of feature selection for ftruncate from
64386         2010-01-11.
64388 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
64390         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
64391         detection.
64393 2010-09-20  Andreas Schwab  <schwab@redhat.com>
64395         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
64396         fanotify_mark.
64397         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64399 2010-09-14  Andreas Schwab  <schwab@redhat.com>
64401         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
64402         variables after CHECK_SP call.
64403         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
64405 2010-09-13  Andreas Schwab  <schwab@redhat.com>
64406             Ulrich Drepper  <drepper@redhat.com>
64408         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
64409         re-relocationg ld.so.
64410         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
64411         _dl_init_paths call.
64412         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
64413         here anymore.
64415 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
64417         * resolv/res_init.c (__res_vinit): Count the default server we added.
64419 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
64420             Ulrich Drepper  <drepper@redhat.com>
64422         [BZ #11968]
64423         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
64424         (____longjmp_chk): Use %ebx for saving value across system call.
64425         Add unwind info.
64427 2010-09-06  Andreas Schwab  <schwab@redhat.com>
64429         * manual/Makefile: Don't mix pattern rules with normal rules.
64431 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64433         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
64434         operation.
64435         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
64436         * libio/iofopncook.c (_IO_cookie_init): Likewise.
64437         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
64438         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
64439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
64440         Likewise.
64442 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
64444         [BZ #11979]
64445         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
64446         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
64448 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
64450         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
64451         * sysdeps/x86_64/addmul_1.S: Likewise.
64452         * sysdeps/x86_64/lshift.S: Likewise.
64453         * sysdeps/x86_64/mul_1.S: Likewise.
64454         * sysdeps/x86_64/rshift.S: Likewise.
64455         * sysdeps/x86_64/sub_n.S: Likewise.
64456         * sysdeps/x86_64/submul_1.S: Likewise.
64458 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64460         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
64461         Define __sched_param instead of SCHED_* and sched_param when
64462         <bits/sched.h> is included with __need_schedparam defined.
64463         * bits/sched.h [__need_schedparam]
64464         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
64465         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
64466         (__defined_schedparam): Define to 1.
64467         (__sched_param): New structure, identical to sched_param.
64468         (__need_schedparam): Undefine.
64470 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
64472         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
64473         (epoll_create1): Declare.
64475         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
64477 2010-08-31  Andreas Schwab  <schwab@redhat.com>
64479         [BZ #7066]
64480         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
64481         shifting retval into place.
64483 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
64485         * nis/rpcsvc/nis.h: Update copyright notice.
64486         * nis/rpcsvc/nis.x: Likewise.
64487         * nis/rpcsvc/nis_callback.h: Likewise.
64488         * nis/rpcsvc/nis_callback.x: Likewise.
64489         * nis/rpcsvc/nis_object.x: Likewise.
64490         * nis/rpcsvc/nis_tags.h: Likewise.
64491         * nis/rpcsvc/yp.h: Likewise.
64492         * nis/rpcsvc/yp.x: Likewise.
64493         * nis/rpcsvc/ypupd.h: Likewise.
64494         * nis/yp_xdr.c: Likewise.
64495         * nis/ypupdate_xdr.c: Likewise.
64497         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
64498         mainly the body of pmap_getport.  Add parameters to specify timeouts.
64499         (pmap_getport): Use __libc_rpc_getport.
64500         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
64501         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
64502         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
64504 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
64506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
64507         fanotify_mark.
64509 2010-08-27  Roland McGrath  <roland@redhat.com>
64511         * sysdeps/i386/i686/multiarch/Makefile
64512         (CFLAGS-varshift.c): New variable.
64514 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
64516         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
64517         * sysdeps/i386/i686/multiarch/varshift.c: New file.
64519         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
64521         * sysdeps/x86_64/strlen.S: Minimal code improvement.
64523 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
64525         * sysdeps/x86_64/strlen.S: Unroll the loop.
64526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
64527         strlen-sse2 strlen-sse2-bsf.
64528         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
64529         __strlen_no_bsf if bit_Slow_BSF is set.
64530         (__strlen_sse42): Removed.
64531         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
64532         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
64534 2010-08-25  Roland McGrath  <roland@redhat.com>
64536         * sysdeps/x86_64/multiarch/varshift.S: File removed.
64537         * sysdeps/x86_64/multiarch/varshift.c: New file.
64538         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
64539         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
64540         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
64541         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
64543 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
64545         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64546         strlen-sse2 strlen-sse2-bsf.
64547         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
64548         __strlen_sse2_bsf if bit_Slow_BSF is unset.
64549         (__strlen_sse2): Removed.
64550         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
64551         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
64552         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64553         bit_Slow_BSF for Atom.
64554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
64555         (index_Slow_BSF): Define.
64556         (HAS_SLOW_BSF): Define.
64558 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
64560         [BZ #10851]
64561         * resolv/res_init.c (__res_vinit): When no server address at all
64562         is given default to loopback.
64564 2010-08-24  Roland McGrath  <roland@redhat.com>
64566         * configure.in: Remove config-name.h generation.
64567         * configure: Regenerated.
64568         * config-name.in: File removed.
64569         * scripts/config-uname.sh: New file.
64570         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
64571         ($(objdir)config-name.h): New target.
64573         * sunrpc/rpc_parse.h: Avoid nested comment.
64575 2010-08-24  Richard Henderson  <rth@redhat.com>
64576             Ulrich Drepper  <drepper@redhat.com>
64577             H.J. Lu  <hongjiu.lu@intel.com>
64579         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
64580         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
64581         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
64582         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
64583         _mm_alignr_epi8 with _mm_loadu_si128.
64584         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
64585         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
64586         (__m128i_shift_right): Removed.
64587         * sysdeps/i386/i686/multiarch/varshift.h: New file.
64588         * sysdeps/i386/i686/multiarch/varshift.S: New file.
64589         * sysdeps/x86_64/multiarch/varshift.h: New file.
64590         * sysdeps/x86_64/multiarch/varshift.S: New file.
64592 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
64594         * configure.in: Move assembler checks to before sysdep dir checking.
64596 2010-08-20  Petr Baudis  <pasky@suse.cz>
64598         * LICENSES: Sync the sunrpc license.
64600 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
64602         * sunrpc/auth_des.c: Update copyright notice once again.
64603         * sunrpc/auth_none.c: Likewise.
64604         * sunrpc/auth_unix.c: Likewise.
64605         * sunrpc/authdes_prot.c: Likewise.
64606         * sunrpc/authuxprot.c: Likewise.
64607         * sunrpc/bindrsvprt.c: Likewise.
64608         * sunrpc/clnt_gen.c: Likewise.
64609         * sunrpc/clnt_perr.c: Likewise.
64610         * sunrpc/clnt_raw.c: Likewise.
64611         * sunrpc/clnt_simp.c: Likewise.
64612         * sunrpc/clnt_tcp.c: Likewise.
64613         * sunrpc/clnt_udp.c: Likewise.
64614         * sunrpc/clnt_unix.c: Likewise.
64615         * sunrpc/des_crypt.c: Likewise.
64616         * sunrpc/des_soft.c: Likewise.
64617         * sunrpc/get_myaddr.c: Likewise.
64618         * sunrpc/getrpcport.c: Likewise.
64619         * sunrpc/key_call.c: Likewise.
64620         * sunrpc/key_prot.c: Likewise.
64621         * sunrpc/openchild.c: Likewise.
64622         * sunrpc/pm_getmaps.c: Likewise.
64623         * sunrpc/pm_getport.c: Likewise.
64624         * sunrpc/pmap_clnt.c: Likewise.
64625         * sunrpc/pmap_prot.c: Likewise.
64626         * sunrpc/pmap_prot2.c: Likewise.
64627         * sunrpc/pmap_rmt.c: Likewise.
64628         * sunrpc/rpc/auth.h: Likewise.
64629         * sunrpc/rpc/auth_unix.h: Likewise.
64630         * sunrpc/rpc/clnt.h: Likewise.
64631         * sunrpc/rpc/des_crypt.h: Likewise.
64632         * sunrpc/rpc/key_prot.h: Likewise.
64633         * sunrpc/rpc/netdb.h: Likewise.
64634         * sunrpc/rpc/pmap_clnt.h: Likewise.
64635         * sunrpc/rpc/pmap_prot.h: Likewise.
64636         * sunrpc/rpc/pmap_rmt.h: Likewise.
64637         * sunrpc/rpc/rpc.h: Likewise.
64638         * sunrpc/rpc/rpc_des.h: Likewise.
64639         * sunrpc/rpc/rpc_msg.h: Likewise.
64640         * sunrpc/rpc/svc.h: Likewise.
64641         * sunrpc/rpc/svc_auth.h: Likewise.
64642         * sunrpc/rpc/types.h: Likewise.
64643         * sunrpc/rpc/xdr.h: Likewise.
64644         * sunrpc/rpc_clntout.c: Likewise.
64645         * sunrpc/rpc_cmsg.c: Likewise.
64646         * sunrpc/rpc_common.c: Likewise.
64647         * sunrpc/rpc_cout.c: Likewise.
64648         * sunrpc/rpc_dtable.c: Likewise.
64649         * sunrpc/rpc_hout.c: Likewise.
64650         * sunrpc/rpc_main.c: Likewise.
64651         * sunrpc/rpc_parse.c: Likewise.
64652         * sunrpc/rpc_parse.h: Likewise.
64653         * sunrpc/rpc_prot.c: Likewise.
64654         * sunrpc/rpc_sample.c: Likewise.
64655         * sunrpc/rpc_scan.c: Likewise.
64656         * sunrpc/rpc_scan.h: Likewise.
64657         * sunrpc/rpc_svcout.c: Likewise.
64658         * sunrpc/rpc_tblout.c: Likewise.
64659         * sunrpc/rpc_util.c: Likewise.
64660         * sunrpc/rpc_util.h: Likewise.
64661         * sunrpc/rpcinfo.c: Likewise.
64662         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
64663         * sunrpc/rpcsvc/key_prot.x: Likewise.
64664         * sunrpc/rpcsvc/klm_prot.x: Likewise.
64665         * sunrpc/rpcsvc/mount.x: Likewise.
64666         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
64667         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
64668         * sunrpc/rpcsvc/rex.x: Likewise.
64669         * sunrpc/rpcsvc/rstat.x: Likewise.
64670         * sunrpc/rpcsvc/rusers.x: Likewise.
64671         * sunrpc/rpcsvc/sm_inter.x: Likewise.
64672         * sunrpc/rpcsvc/spray.x: Likewise.
64673         * sunrpc/rpcsvc/yppasswd.x: Likewise.
64674         * sunrpc/rtime.c: Likewise.
64675         * sunrpc/svc.c: Likewise.
64676         * sunrpc/svc_auth.c: Likewise.
64677         * sunrpc/svc_authux.c: Likewise.
64678         * sunrpc/svc_raw.c: Likewise.
64679         * sunrpc/svc_run.c: Likewise.
64680         * sunrpc/svc_simple.c: Likewise.
64681         * sunrpc/svc_tcp.c: Likewise.
64682         * sunrpc/svc_udp.c: Likewise.
64683         * sunrpc/svc_unix.c: Likewise.
64684         * sunrpc/svcauth_des.c: Likewise.
64685         * sunrpc/xcrypt.c: Likewise.
64686         * sunrpc/xdr.c: Likewise.
64687         * sunrpc/xdr_array.c: Likewise.
64688         * sunrpc/xdr_float.c: Likewise.
64689         * sunrpc/xdr_mem.c: Likewise.
64690         * sunrpc/xdr_rec.c: Likewise.
64691         * sunrpc/xdr_ref.c: Likewise.
64692         * sunrpc/xdr_sizeof.c: Likewise.
64693         * sunrpc/xdr_stdio.c: Likewise.
64695         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
64696         handling.
64698 2010-08-19  Andreas Schwab  <schwab@redhat.com>
64700         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
64702 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
64704         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
64705         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
64706         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
64707         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
64708         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
64709         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
64710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
64711         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
64712         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
64713         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
64714         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
64715         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
64716         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
64717         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
64719 2010-07-26  Anton Blanchard  <anton@samba.org>
64721         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
64722         * malloc/arena.c (heap_trim): Likewise.
64724 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
64726         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
64727         here.  Not...
64728         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
64729         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
64731 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
64733         * sysdeps/i386/elf/Makefile: New file.
64735 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64737         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
64738         from fanotify_init.
64739         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
64740         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64742 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
64744         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
64745         of strncasecmp_l.
64746         * sysdeps/multiarch/strcmp.S: Likewise.
64748 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
64750         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64751         strncase_l-nonascii.
64752         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64753         Add strncase_l-ssse3.
64754         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
64755         * sysdeps/x86_64/strcmp.S: Likewise.
64756         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
64757         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
64758         * sysdeps/x86_64/strncase.S: New file.
64759         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
64760         * sysdeps/x86_64/strncase_l.S: New file.
64761         * string/Makefile (strop-tests): Add strncasecmp.
64762         * string/test-strncasecmp.c: New file.
64764         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
64765         warning.
64767         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
64768         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
64770 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
64772         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
64774 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
64776         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
64777         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
64778         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
64780 2010-05-01  Alan Modra  <amodra@gmail.com>
64782         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
64783         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
64784         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
64785         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
64786         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
64787         tidying.  Don't tail-call __sigjmp_save for static lib.
64788         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
64789         save location.
64790         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
64791         (CALL_MCOUNT): Add eh info, and nop after bl.
64792         (TAIL_CALL_SYSCALL_ERROR): New macro.
64793         (PSEUDO_RET): Use it.
64794         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
64795         Correct save location of integer regs and cr.
64796         (_dl_profile_resolve): Correct cr save location.  Delete nops
64797         after bl when SHARED.  Reduce cfi size a little by better
64798         placement of cfi directives.
64799         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
64800         make a stack frame.  Instead use parm save area as a temp.
64801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
64802         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
64803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
64804         Don't make a stack frame for parent, use parm save area.
64805         Increase child stack frame to 112 bytes.  Don't save unused reg,
64806         and adjust reg usage.  Set up cfi on error recovery and
64807         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
64808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64809         (__makecontext): Add dummy nop after jump to exit.
64810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
64811         Use correct parm save area and cr save, reduce stack frame.
64812         Correct cfi for possible PSEUDO_RET frame setup.
64813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
64814         Branch to local label emitted by PSEUDO_RET rather than
64815         __syscall_error.
64817 2010-08-12  Andreas Schwab  <schwab@redhat.com>
64819         [BZ #11904]
64820         * locale/programs/locale.c (print_assignment): New function.
64821         (show_locale_vars): Use it.
64823 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
64825         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
64826         field.
64827         (struct statfs64): Likewise.
64828         (_STATFS_F_FLAGS): Define.
64829         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
64830         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
64831         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
64832         (ST_VALID): Define locally.
64833         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
64834         __statvfs_getflags, use the provided value.
64835         * sysdeps/unix/sysv/linux/kernel-features.h: Define
64836         __ASSUME_STATFS_F_FLAGS.
64838         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
64840         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
64841         Add sys/fanotify.h.
64842         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
64843         fanotify_mask for GLIBC_2.13.
64844         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
64845         fanotify_init and fanotify_mark.
64846         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
64847         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
64849         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
64850         Add prlimit.
64851         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
64852         prlimit64 for GLIBC_2.13.
64853         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
64854         prlimit64.
64855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
64856         syscall.
64857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
64858         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
64859         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
64860         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
64861         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
64862         add prlimit alias.
64863         * sysdeps/unix/sysv/linux/prlimit.c: New file.
64865         [BZ #11903]
64866         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
64867         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
64869         * nss/Makefile: Add rules to build and run tst-nss-test1.
64870         * shlib-versions: Add entry for libnss_test1.
64871         * nss/nss_test1.c: New file.
64872         * nss/tst-nss-test1.c: New file.
64874         * nss/nsswitch.c (__nss_database_custom): Define new variable.
64875         (__nss_configure_lookup): Set appropriate entry in
64876         __nss_configure_lookup to true.
64877         * nss/nsswitch.h: Define enum with indeces of databases in
64878         databases and __nss_database_custom arrays.  Declare
64879         __nss_database_custom.
64880         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
64881         to avoid using nscd when custom rules are installed.
64882         * nss/getXXbyYY_r.c: Likewise.
64883         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64885         * nss/nss_files/files-parse.c: Whitespace fixes.
64887 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
64889         [BZ #11883]
64890         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
64891         * posix/fnmatch_loop.c: Likewise.
64893 2010-07-17  Andi Kleen  <ak@linux.intel.com>
64895         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
64896         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
64897         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
64898         * Versions.def [GLIBC_2.13]: Add.
64900 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
64902         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
64903         Also fail if tpwd after pwuid call is NULL.
64905 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64907         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
64908         when converting to ms.
64910 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64912         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
64913         EOPNOTSUPP errors with ENOTTY.
64914         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
64915         EOPNOTSUPP errors with ENOTTY.
64917 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
64919         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
64920         Add strcasecmp_l-ssse3.
64921         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
64922         strcasecmp.
64923         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
64924         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
64925         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
64927 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
64929         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
64931         * string/Makefile (strop-tests): Add strcasecmp.
64932         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
64933         strcasecmp_l-nonascii.
64934         (gen-as-const-headers): Add locale-defines.sym.
64935         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
64936         * sysdeps/x86_64/strcasecmp.S: New file.
64937         * sysdeps/x86_64/strcasecmp_l.S: New file.
64938         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
64939         * sysdeps/x86_64/locale-defines.sym: New file.
64940         * string/test-strcasecmp.c: New file.
64942         * string/test-strcasestr.c: Test both ends of the range of characters.
64943         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
64945 2010-07-29  Roland McGrath  <roland@redhat.com>
64947         [BZ #11856]
64948         * manual/locale.texi (Yes-or-No Questions): Fix example code.
64950 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
64952         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
64953         for ld.so.
64955 2010-07-27  Andreas Schwab  <schwab@redhat.com>
64957         * manual/memory.texi (Malloc Tunable Parameters): Document
64958         M_PERTURB.
64960 2010-07-26  Roland McGrath  <roland@redhat.com>
64962         [BZ #11840]
64963         * configure.in (-fgnu89-inline check): Set and substitute
64964         gnu89_inline, not libc_cv_gnu89_inline.
64965         * configure: Regenerated.
64966         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
64968 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
64970         * string/test-strnlen.c: New file.
64971         * string/Makefile (strop-tests): Add strnlen.
64972         * string/tester.c (test_strnlen): Add a few more test cases.
64973         * string/tst-strlen.c: Better error reporting.
64975         * sysdeps/x86_64/strnlen.S: New file.
64977 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
64979         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
64980         lower-latency instructions.
64982 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
64984         * string/test-strcasestr.c: New file.
64985         * string/test-strstr.c: New file.
64986         * string/Makefile (strop-tests): Add strstr and strcasestr.
64987         * string/str-two-way.h: Don't undefine MAX.
64988         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
64990 2010-07-21  Andreas Schwab  <schwab@redhat.com>
64992         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
64993         strcasestr-nonascii.
64994         (CFLAGS-strcasestr-nonascii.c): Define.
64995         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
64996         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
64997         Remove unused attribute.
64999 2010-07-20  Roland McGrath  <roland@redhat.com>
65001         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
65002         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
65003         ld.so.cache was broken.  With it, there is no way to disable dsocaps
65004         like LD_HWCAP_MASK can disable hwcaps.
65006 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65008         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
65010 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
65012         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
65013         call in strcasestr.
65014         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
65015         __strcasestr_sse42_nonascii.
65016         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
65017         strcasestr-nonascii.c.
65018         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
65020 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
65022         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
65023         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
65024         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
65025         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
65027 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
65029         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
65030         fcntl.
65032 2010-07-06  Andreas Schwab  <schwab@redhat.com>
65034         [BZ #11577]
65035         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
65036         dl_signal_cerror.
65038 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
65040         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
65041         _PC_PIPE_BUF using F_GETPIPE_SZ.
65043 2010-07-05  Roland McGrath  <roland@redhat.com>
65045         * manual/arith.texi (Rounding Functions): Fix rint description
65046         implicit in round description.
65048 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
65050         * elf/Makefile: Fix linking for a few tests to make recent linker
65051         happy.
65053 2010-06-30  Andreas Schwab  <schwab@redhat.com>
65055         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
65056         $(common-objpfx)libc_nonshared.a.
65058 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
65060         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
65061         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
65062         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65063         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65064         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
65065         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
65066         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65067         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
65069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
65070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
65071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
65072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
65073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
65074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
65075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
65076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
65077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
65078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
65079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
65080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
65081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
65082         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
65083         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
65084         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
65085         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
65086         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
65087         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
65088         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
65089         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
65090         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
65091         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
65092         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
65093         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
65094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
65095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
65096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
65097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
65098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
65099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
65100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
65101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
65102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
65103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
65104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
65105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
65106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
65107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
65109 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
65111         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
65112         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
65113         * string/memmove.c (memmove): Renamed to ...
65114         (MEMMOVE): ...this.  Default to memmove.
65115         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
65116         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
65117         (END_CHK): Define.
65118         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65119         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
65120         mempcpy-ssse3-back memmove-ssse3-back.
65121         * sysdeps/x86_64/multiarch/bcopy.S: New file .
65122         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
65123         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
65124         * sysdeps/x86_64/multiarch/memcpy.S: New file.
65125         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
65126         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
65127         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
65128         * sysdeps/x86_64/multiarch/memmove.c: New file.
65129         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
65130         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
65131         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
65132         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
65133         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
65134         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
65135         Define.
65136         (index_Fast_Copy_Backward): Define.
65137         (HAS_ARCH_FEATURE): Define.
65138         (HAS_FAST_REP_STRING): Define.
65139         (HAS_FAST_COPY_BACKWARD): Define.
65141 2010-06-21  Andreas Schwab  <schwab@redhat.com>
65143         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
65144         Restore proper fallback handling.
65146 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
65148         [BZ #11701]
65149         * posix/group_member.c (__group_member): Correct checking loop.
65151         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
65152         OOM in getpwuid_r correctly.  Return error number when the caller
65153         should return, otherwise -1.
65154         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
65155         call returning > 0 value.
65156         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
65158 2010-06-07  Andreas Schwab  <schwab@redhat.com>
65160         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
65161         libc_nonshared.a from targets in modules-names.
65163 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
65165         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
65166         requires it.
65168 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
65170         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
65171         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
65172         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
65173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
65175 2010-06-02  Andreas Schwab  <schwab@redhat.com>
65177         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
65179 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
65181         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
65182         and F_GETPIPE_SZ.
65183         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65185         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65187         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65188         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
65190 2010-06-14  Roland McGrath  <roland@redhat.com>
65192         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
65194 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
65196         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
65197         __REDIRECT followed by __THROW.
65198         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
65199         * posix/getopt.h (getopt): Likewise.
65201 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
65203         * hurd/lookup-at.c (__file_name_lookup_at): Accept
65204         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
65205         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
65206         in AT_FLAGS.
65207         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
65208         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
65210 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
65212         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
65214 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
65216         [BZ #11640]
65217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65218         Properly check family and model.
65220 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
65222         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
65224 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
65226         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
65228 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
65230         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
65231         symbol reference.
65233 2010-05-19  Andreas Schwab  <schwab@redhat.com>
65235         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
65236         symbol reference.
65238 2010-05-21  Andreas Schwab  <schwab@redhat.com>
65240         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
65241         and internal_recvmmsg.
65242         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
65243         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
65244         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
65245         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
65247         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
65248         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
65249         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
65251 2010-05-20  Andreas Schwab  <schwab@redhat.com>
65253         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
65255 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
65257         POWER7 optimizations.
65258         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
65259         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
65261 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
65263         * version.h: Update for 2.13 development version.
65265 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
65267         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
65268         exceptions.  Return 0.
65270 2010-05-07  Roland McGrath  <roland@redhat.com>
65272         * elf/ldconfig.c (main): Add a const.
65274 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
65276         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
65277         (args_options): Add no-idn option.
65278         (ahosts_keys_int): Add idn_flags to ai_flags.
65279         (parse_option): Handle 'i' option to clear idn_flags.
65281         * malloc/malloc.c (_int_free): Possible race in the most recently
65282         added check.  Only act on the data if no current modification
65283         happened.
65285 See ChangeLog.17 for earlier changes.